Wednesday, April 29, 2015

Clearing the Android Clipboard on Samsung GS5 Running Lollipop

clear clipboard

Clear clipboard… get it? HA!

Since I started using crazy long, unmemorable passwords for just about everything, I started using KeePass on my Galaxy S5.  The problem is, when you copy a password to the clipboard to fill in a password field, Android holds that password in the clipboard. Even worse, the clipboard actually holds multiple items!  This means simply hitting “paste” will populate any field with the password you are trying to keep secret.  It also means those copied passwords (multiple passwords) are being stored on your Android clipboard.

http://keepass.info/images/icons/keepass_256x256.pngKeePass has a setting that allows you to set the time that Android should keep the password on the clipboard (settings: “Clipboard Timeout” with options 30 seconds, 1 minute, 5 minutes, and never), but the setting doesn’t seem to do anything (it simply doesn’t work).  My GS5 running Lollipop will keep a password on the clipboard indefinitely, even though I have “1 minute” selected in the KeePass settings (and have tried all the other options as well).

Supposedly Lollipop has implemented new API functionality that allows programs to copy/paste a password without using the clipboard.  I learned this from a post about 1Password which stated:

In Lollipop, 1Password can fill your information directly, without using the clipboard. Therefore, it isn’t possible for a third party to obtain your passwords by snooping on what 1Password’s doing.

The problem is, KeePass doesn’t seem to have implemented this “cool feature” yet, and my password is left hanging on the clipboard (to be accessed by malware, a user, or a clipboard manager).

In researching this issue, most posts on the topic say that you can simply long press in a text field to access the options “paste” and “clipboard” (or something similar), but on my device, this is not the case.  When I long press in a text field, I only get the “paste” option (thus, no option to clear my clipboard).

Other posts state that you can access the clipboard via an icon on your keyboard, however, the Google Keyboard has no such icon or accessibility (there is no button that gets you from the Google Keyboard to the clipboard).

If I switch to the Samsung Keyboard (which I hate), I can long press the second button to the left of the space bar (which can be assigned several different options), and one of the options is an icon of a clipboard.  Pressing this button does in fact gain me access to the clipboard (and quite a long and disturbing list of things stored there, including 10 or so passwords!).  WTF?!

So… I guess the problem is that the Google Keyboard ignores clipboard access functionality.  In order to access (and clear) your clipboard, you need to use a NON-Google keyboard, or a clipboard management app.

Obviously the best solution would be if KeePass just started using the Lollipop API that allowed for “non-clipboard” copied password storage… not to mention actually clearing the copied password after a certain amount of time like it’s supposed to.

Sunday, April 5, 2015

ACL Settings in Thecus NAS Prevent Connections

Yesterday I set up protections on shared folders in my Thecus N5550 NAS using the ACL settings (you can set permissions for specific users created in your NAS GUI).  Today I tried to access these folders on my NAS, and Windows 7 wouldn’t let me!  There was no option to enter the login credentials I created for the folders yesterday, and no way to make the NAS recognize my Windows credentials.

I searched for a while and found this (mysterious and not very solid) answer on the Thecus Forums:

1. Opened Network and Sharing Center
2. Opened Change Advanced Sharing....
3. Changed the last setting to "Use user accounts and passwords..."
4. Closed that and changed my active network type from "home" to "work"

Not sure exactly why it worked, but it did. Now I can enter my username (no need to add @thecus.com after the username) and pw to browse my ACL protected folder.

Thanks to user jonathan.morris for posting!  I too am not sure why this works, as I have not set up the ACL on the folders with my Windows credentials, nor did I enter the NAS user credentials I set up yesterday, but suddenly there is no issue accessing the NAS Share Folders directly via Explorer (which has me wondering how effective the ACL setting could be since I’m accessing the folders without entering any user/pass).

Windows advises that you should let it monitor and control your home network, but if I can’t USE my home network to access my NAS, Windows certainly isn’t doing its job correctly.

Monday, February 2, 2015

Cheap LED Kino Type Lighting

As a filmmaker builds his/her kit, one usually starts with whatever is available (cheap) and then moves up to “real” equipment over time.  As such, I have a lighting kit that consists largely of things cobbled together from what I could buy at Lowe’s and Harbor Freight and on eBay and Craigslist.

500wHalogenHalogen work lights are the easiest way to get a lot of light, but they consume a lot of energy (500 watts per light for the regular sized ones and 250 or 150 watts per light for the smaller ones), so you’re really drawing a lot of electricity from each circuit at your location.  You’ll also be white balancing for tungsten, which I often actually prefer (shooting warm) because it’s easier to incorporate practicals (lights already present on “set”).  The higher wattage of halogen work lights also means you’ll need more dimmers, or more expensive dimmers that can handle higher wattage.  The highest “cheap” dimmer from the local home store goes for around $10 and handles 600 watts (so only one big light).  HFrouterspeedcontrollerYou can use a router speed control unit from Harbor Freight ($25 but often on sale for $20) as a higher wattage light dimmer (15 amp x 120v so just shy of 2k at around 1,800 watts), but the output control isn’t as precise as an actual lighting dimmer.

I have started using more Chinese manufactured four socket CFL bulb lights with soft boxes.  While they are cheap, cast a nice, soft light, and consume far less energy, they take a while to warm up for full light output.  Not only that, but when shooting at high shutter speeds (like 240fps) you run the risk of getting a lot of flicker.  Also, with fluorescents, dimming is best with just on/off (number of bulbs on), because dimmable CFL’s are quite expensive… and they cause even more flicker when dimmed.

Recently I ran across “LED Shop Lights” from Feit on sale at Costco.  They are basically a four foot shop light replacement intended for garages and work shops.  As LED, there is “no flicker” (like a cold fluorescent) and no warm up delay, period.  They are normally $39, but on sale they are $33.  The same light goes for around $60 on Amazon, so this is nearly HALF the cost (and I don’t see anything else listed that’s even close).  Even at full price ($39) they seem like a decent deal.

Each “bulb” has 60 LEDs, so each light has 120 LED’s and are rated at 3700 lumens and 4100K temperature (“cool white,” though not daylight, which is 5600K).

Direct comparisons to other kinds of lights are kind of difficult.  It seems like LED light drops off a lot faster than incandescent and fluorescent (the light gets dimmer more quickly the farther you get from the source).  Thus, when a light is rated 3700 lumens, I think it depends a LOT on how far from the light you are taking the measurement (and less so with halogens, for instance).  So even though the packing says these lights put our 3700 lumens, you have to keep the lights MUCH closer to your subject than you would with fluorescent or halogen/incandescent.

I’m also having a hard time putting together a cost comparison of these lights and the strip-on-a-roll kits you can purchase from eBay and Amazon.  With those, you would have to figure out how to mount and diffuse, which is not hard, but ads to the cost.  You also have to purchase plugs/converters, etc., whereas this shop light just plugs into the wall.  The strip-on-a-roll would seem to be cheaper at first glance, but I have a feeling that once all is said and done, this shop light is a pretty close price point when purchased for $33.

The housing for the shop light is metal with plastic over the electronics.  The LEDs are actually mounted to a metal strip, not a flexible plastic strip, and that metal strip slides extremely securely into the plastic diffuser tube, which is opaque on the back half and translucent on the front.

Most LED strip kits I’ve seen require giant transformers (like you’d use with a laptop), so the fact that this shoplight has very small electrical components (easily hidden) is great.  You could definitely reduce the size of the ends (where the electronics are housed) if you wanted to.

20150202_13225720150202_13230720150202_13231720150202_13233020150202_132356_120150202_13241020150202_13241920150202_132432_120150202_13245520150202_132513

I tried hooking these up to my incandescent dimmers (which work fine with my LED PAR38 bulbs) and the LED’s in these shop lights definitely freaked out; I’m not sure how they’d work with LED specific dimmers (hopefully I’ll get a chance to test that soon).

Tuesday, January 27, 2015

Windows Doesn’t Always Load ICC Color Profile for Monitor

I recently installed a new EVGA GeForce 750Ti video card in an older machine.  I had some points on a credit card that would make a card in the sub $200 range “free,” so I did some research on video cards and upgraded my rather ancient GTX 260 (which I actually used while cutting our feature film in 2009!) to decrease my rendering times and allow for a bit more oomph when utilizing CUDA processing for effects and on-the-fly rendering in Adobe Premiere.

The GeForce 750Ti is basically the “sweet spot” for cost/power in gaming cards, which are the poor man’s video-editing cards (though, as of this posting, NVIDIA has released the GTX 960, which is the new sweet spot in this category).  I would have loved to install a higher-end “Adobe Approved” Quadro card(s), but this option is cost is prohibitive at the moment (we’re putting money into camera equipment), so this is a decent band-aid for this particular editing rig.

We use Xrite EyeOnes (i1) with EyeOne Match 3 (v.3.6.2) software to calibrate our monitors.  However, after installing the card, I kept getting the dreaded “pink screen” hue almost every time I’d reboot the machine after calibration.  The most common cause for this malady is a bad video cable (I’m using a super-thick (24AWG) and fairly long 15 foot DVI Cable, so this was definitely a possibility).  However, I checked my cables (using DVI, HDMI, and even Display Port), and the cable was not the issue.

I also checked my system defaults to be sure Windows was calling up the custom i1 color profile as the profile for the monitor.  The profile was marked as the default and appeared to be the active profile in the color settings, so I assumed it was being used.

I couldn’t figure out what was going on, so I thought maybe it was the card.  I RMA’d the card, and Amazon sent a new one.  p.s. I really appreciate their policy of sending a replacement before they require you to send the defective unit back.  They give you a month to return the item once they send out the new one, so I didn’t have to go without a video card while waiting for the replacement (yes, I could have put the old one back in, but I was enjoying the decreased rendering times too much).

The new card arrived. I installed it and ran color calibration on the monitor.  For a couple of days, everything seemed great, until one day… the dreaded pink screen had returned.  I spent three more days researching the issue before I finally came across the solution.

It turns out there are not one, but TWO places where Windows 7 64-bit has settings for loading the monitor’s ICC color profile.

Yes, you can set your monitor’s ICC color profile at Control Panel>Appearance and Personlization: Adjust screen resolution>Advanced settings>Color Management (tab)>Color Management (button), but there is another place you need to do some tweaking in order to tell Win7 to actually USE these settings.  How stupid is that?!

So on the Advanced tab where you can select your defaults, there is a button at the bottom called “Change system defaults…”

Advanced Color Profile

In that panel, there is an “Advanced” tab, and at the bottom right of that panel there is a box called “Use Windows display calibration.” You must tick that box to get Windows to actually use your ICC monitor calibration setting each time it starts (even though it would appear, from the previous panel, that Windows IS using the default).  Unbelievable.  Why even have the option to set a default if the system isn’t going to USE that default without this “secret setting?!”  It’s not really a default if you aren’t using it, is it. Grrrrrr.

Color Management Advanced Defaults

Many thanks to user “badspell68” for posting the solution to this problem in this thread:

http://www.sevenforums.com/general-discussion/162431-color-profiles-calibration.html

p.s.  I think it’s worth nothing that the “pink hue” we experience when the EyeOne custom ICC profile isn’t properly being utilized is a result of the physical monitor settings.  I usually just calibrate the monitors using the “easy” setting in the EyeOne software, but at one point I actually went through the “advanced” setup which involves calibrating your calibration device to the ambient light in the room (our room is currently fairly warm on the color spectrum) as well as adjusting the physical settings on the monitor (not just changing the settings using software).  When I did this, EyeOne had me set the red hue of the monitor higher than it had previously been (higher than what looks good to the eye), thus when the custom color profile is not being utilized (when the monitor is displaying “as physically set”), the screen has a pink (red) hue in the white areas.

Saturday, January 10, 2015

7D WiFi with TP-Link and DSLR Controller

[1-14-15: see update at end of post]

I put my 7D on a 12 foot jib arm quite often.  I use a 25ft. HDMI cable to run video signal to my 7” Lilliput monitor.  This means I can see what I’m doing, but there’s no pulling focus or starting/stopping the camera.  Thus, I set focus (pull the camera down, adjust focus, push it up, check, try again, repeat) and when I finally achieve focus lock, I start the camera, then put the camera up in the air and let it run.  “Burning Film” isn’t that big a deal in this age of ultra-cheap storage, but leaving the camera running kills battery and and the focus thing is a major PItA.

Thus, when I saw DSLRController (a remote control for your DSLR via USB and your tablet or smart phone), I got very excited about the possibility of starting/stopping the camera remotely via a long USB cable.

To be sure, DSLR Controller does SO. MUCH. MORE.

But this post is about adding WiFi capability to your 7D… so you can use DSLR Controller WIRELESSLY.

51RoV2I0wnL._SL1280_I ordered my TP-Link TL-MR3040 portable wireless router on Amazon ($40), and received it in the mail a couple days ago.  I flashed the firmware on the router according to the easy to follow instructions on the DSLRController webpage, and in about 15 minutes I was up and running.

I am astounded by how well this set up works.  Not only that, but you can run HDMI out (monitor) and USB out (DSLR Controller) at THE SAME TIME.

Yes, I am confirming that you can monitor video via USB and HDMI at the same time.

Thus, I can run an HDMI cable to video village, while still having a 7” field monitor (my LG GPad 8.3) with touch screen controls for shutter, focus (yes, focus… even focus “a” to “b” with the push of a button), histograms, etc… In fact, most of the “everyday” controls of the camera can be accessed via my tablet touch screen.  Again… wirelessly.

Freaking fantastic.

TP-LinkMount

I also glued a 1/4” nut from a hot shoe mount to the TP-Link with PC-7 epoxy so I can easily mount the TP-Link to the hot shoe mount on my 7D.

The battery in the TP-Link will likely last as long as I’ll ever be shooting on the jib, but to be safe, I also ordered an Anker® 2nd Gen Astro E5 16000mAh Portable Charger External Battery Power Bank and received the smaller Anker® Astro E1 5200mAh Ultra Compact Portable Charger for free (total cost for both, $40).  Thus, I now have plenty of power for my tablet and the wifi router when I’m in the field.

 51LQlocF15L._SL1000_51puhByakeL._SL1000_

[UPDATE 1-14-15]  After using this set up for an 8 hour shoot last weekend, I would have to modify my glowing endorsement and qualify this as “not yet ready for prime time.”  I’m not where exactly the fault lies (the router, the tablet, the app), but often the link between camera and app would be lost, or (more often) the app would simply lock up and/or black out.  Since I was in charge of the shoot, it wasn’t the worst thing in the world to troubleshoot while working (especially since I expected some hiccups since I was using it “live” for the first time), but had I had a producer/director/cinematographer breathing down my neck while I was trying to figure out what the hell was going on, it would not have been a fun situation.

I had the 7D mounted to a 12 foot Kessler Crane.  I can’t imagine that the range was the problem (when it was working, it was working great).  It really seemed like either the tablet (LG Gpad 8.3) or the app was what was choking each time it crapped out.

Word to the wise: this set up is FANTASTIC when it’s working… but it doesn’t always work.

FWIW, my second camera said he had experienced similar problems with a GoPro and the GoPro wifi app… when it worked (during his tests at home) it was awesome, but when it fails on set and the production is burning more than $90/minute for cast and crew… no good.

Tuesday, December 9, 2014

Change Premiere Pro Sequence Clips from 29.97 to 23.976 and Retain the Edit

Who knows if anyone else will EVER need to do this, but…

Recently I was editing a project for someone who had shot the footage at 29.97 fps.  I started composing my edit, and then decided I wanted to use the “Modify>Interpret Footage…” option to change the frame rate to 23.976 (meaning the footage would display 80% slower).

Since I had already chopped up and composed all the footage, there was really no good way to simply “make Premiere do it” automatically, so I had to figure out a way to have all the in and out points of my 29.97 footage correspond to the exact frames of my 23.976 footage.

If one were to simply reinterpret the footage (in the Project Window) of the clips already used, the clips would not update properly on the timeline (every clip would shift inside itself and all the clip in/out points would be wrong).

I only had 15 clips (around 25 minutes of footage), so the work around I came up with was to duplicate each clip, and then place the duplicates in a bin called “23.976.”  I then used the “(Right-Click) Modify>Interpret Footage…” command on each clip in this new bin to change each clip from 29.97 to 23.976 (you can do it as a bulk command by selecting all the clips in the bin and right clicking to make the change to all clips at once).

On my 29.97 clip timeline I then placed each 23.976 clip above it’s corresponding 29.97 clip.  I then moused over the original 29.97 clip audio (unmodified in length) to determine the original clip length, and then used the “(Right-Click) Speed/Duration…” command to change the 23.976 clip length to be exactly the same as that of the original 29.97 clip (use actual min/sec/frames instead of percentage).

Next, one needs to make sure that the 23.976 clip on the time line matches the clip in the 23.976 bin exactly.  To reiterate… when you change the speed of the clip on the timeline, it DOES NOT change the clip in the bin, thus you need to update the clip in the bin with the correct “Speed/Duration…” setting.

Before changing the length of the clip in the 23.976 bin, you will need to clear any in/out points that may have been created and left over during the original edit/composition. This means you’ll need to double-click on the clip in the 23.976 bin to open it in your Source Monitor, then right click and select “Clear In and Out.”

You could skip placing the 23.976 clip on the timeline by simply mousing over the 29.97 clip to determine the original clip length and then just changing the “Speed/Duration…” of the clip in the 23.976 bin, but I placed the 23.976 clip on the timeline so that I could verify that the 29.97 and 23.976 clips were identical frame by frame.

Mouse over the corresponding 23.976 clip on your timeline to see the full clip duration.  Right click on the clip and select “Reveal in Project” to go to the corresponding clip in your Project Window (in the 23.976 bin).  Right click on the clip and select “Speed/Duration…” and make sure the clip in the bin is the exact same length as the corresponding clip on the timeline (which has already had its speed altered to match the 29.97 clip).

At this point you can go to your composition timeline, double click a clip to open it in your Source monitor and then make note of the in/out points.  Next double click the corresponding clip in your 23.976 bin to open that clip in the Source monitor and set your in/out points to match the 29.97 clip, and drag the clip to your composition timeline (you can grab the video between your in/out points by grabbing and dragging the little “film strip” icon right below your source window).  You now have a time altered (Speed/Duration) 23.976 clip to match the regular 29.97 clip.  Be sure to put your clips on alternating tracks so that when you expand your 23.976 clips back to their original speed (80% slower) there is room on the time line for this expansion.

Finally, select your clips and reset them back to 100% (from their altered times to match the 29.97 clips) and line up the in/out points of each clip.

What a pain in the ass.  If someone knows of an easier way to accomplish the above, PLEASE post in the comments!