Saturday, April 13, 2013

How to wait for a BlackMagic Camera, Part 1


  Like the night before Christmas, I find myself too excited to sleep after deciding to go through with my pre-order of the Black Magic Pocket Cinema Camera.  I keep scouring the internet looking for any information I can as if they were hints to a present under the tree and keep a tab of my email box open eyeing it like I used to eye the chimney in hopes of catching an early glimpse of Santa Claus.

  I've found in these situations it's best to stay productive, so I decided to 'bake the cookies and pour the milk' by figuring out exactly how this new camera will impact my existing workflow.
Process showing how an imaging sensor captures color
   All the footage I currently work with has already gone through a de-bayer process (or de-mosaic) in camera, this actually creates a file 3x bigger than the RAW image data so the colors are usually 'sub-sampled' down to a lower level of information in order to reduce the file's size which helps storage capacity and bandwidth requirements.  Although this processes results in only vaguely lower visual quality it unfortunately throws away pixel data and replaces them with 'interpolation'(pixel clones), causing a 'baked-in' look straight out the camera that makes the image very fragile to edit which causes graphic glitches when pushed too far.
The recipe for required bandwidth and storage capacity is relatively simple for a RAW image compared to 'baking' an interpolated image.   

Take one full cup of resolution, which in the case of the BMPocketCC is 1920x1080, and multiply the horizontal pixels by the vertical pixels. So in this case 1920 x 1080 = 2,073,600 total pixels per frame.  
 Mix in the recording color depth, the BMPocketCC has a choice of 10 bit or 12 bit, then multiply the total pixels by the color depth. 2,073,600 x 12 = 24,883,200 total bits per frame. 
 Next add a dash of recording frame-rate, the BMPocketCC has options ranging for 23.976 to 29.97 ATSC standard frames per second, now multiply the total bits by the recording frame-rate. 24,883,200 x 23.976 = 596,599,603.2 bits per second.  
Then divide them up into equal portions for 8 bit servings, storage media such as memory cards and hard drives can only take 8 bit 'bites'(aka 1 Byte) at a time,  do this by dividing  a Byte into the bits per second.  596,599,603.2 / 8 = 74,574,950.4 Bytes per second.
Bake the ingredients together at the specified compression ratio , BMPocketCC plans to use a 1.2:1 or 1.5:1 1.3 compression ratio,  divide the total Bytes per second by the compression ratio.  74,574,950.4 / 1.3 = 57,365,346.5 Bytes per second (rounded up to 57 MegaBytes per second).
 There you have it, and to figure out how many cards your footage will feed divide the MegaBytes per second into a card's storage capacity, for example a 64GB SD card would be 59.604** / 0.057 = 1039 seconds (rounded down to 17 minutes and 18 seconds) of RAW footage per 64GB card.  Yikes! this is going to require a lot of expensive cards!  Many people complained about the 12 minute recording limit on DSLRs which have thankfully been fixed in the newest models but with the BMPocketCC recording RAW video we'll be right back there.  Hopefully the Secure Digital Card industry will catchup to this technology quickly and start to offer larger capacity high-speed cards and lower prices. 
**1,000,000,000 bytes is actually 1,073,741,824 bytes (1024 Bytes in a KB, 1024 KB in a MB, 1024 MB in a GB) so 64,000,000,000 / 1,073,741,824 = 59.604 GBs
  The first hurdle to incorporate a BMPocketCC would seem to be storage capacity.  Card storage is very important in the field and not having enough can make or break a camera's reliability as a primary shot capturing 'A-Cam' or secondary shot saving 'B-Cam', the 'main cameras' on a typical shoot.  I'm used to 50Mbps footage while the BMPocketCC's RAW recordings will yield about 600Mbps footage; that will require roughly 12x more space to store the same 'runtime'.  Currently I'm getting by on projects with a handful of $20 16 GigaByte memory cards for my 'main cameras', I usually fill up one per camera before I can get the time to sit down with my laptop to dump the footage and I always keep a second on hand so that I can continue recording while the files transfer. The 50Mbps recording cameras provide at least a 42 minute and 30 second runtime per card,  the BMPocketCC's RAW video can only record up to 15 minutes of runtime to one $120 64 GigaByte card, which is today's highest  capacity SD card fast enough to write the RAW footage.  I will need at least three 64GB SD cards to match the record times that I require to run the BMPocketCC's Raw recording as a reliable main camera.
   An equal concern is archival storage capacity; my current project archival system is 1.5 TeraBytes and is setup for projects with up to 100 GigaBytes a piece, since they utilize 50Mbps that is roughly 266 minutes of runtime. However if I were to replace my main cameras (A-Cam & B-Cam) with BMPocketCCs that would require 1.2 TeraBytes to store one project, almost my entire archive!  To add another 1,200 GigaBytes per project into my system is one tough cookie to swallow and not the most practical solution for me; a better solution for me would be to attempt only replacing my 'B-Cam' with a BMPocketCC, which usually equates to about 40 percent of my project, that way the added file sizes would only impact about 110 minutes of my project's footage requiring an extra 416 GigaBytes and 500 GigaBytes per project is sightly more palatable.
Thankfully Black Magic Design had the foresight to include not only a RAW recording option but also a 'lossy compression codec' with medium levels of interpolation that tries to preserve as much information as possible and manages to reduce file sizes down to 220Mbps for situations when a manageable size is more important than higher image quality.  Using Apple's 'ProRes HQ' codec the BMPocketCC will preform a '4:2:2 color subsampling', which throws away every other horizontal pixel then clones what's left over to the neighboring column, and opens 10 bits of bandwidth for color capturing, making color reproduction 4x less accurate than 12 bit RAW.  This iteration of 'ProRes HQ' preforms a perfectly centered balancing act between 12 bit RAW and the AVC codec found in all current DSLRs and many Professional Camcorders, giving half the image quality of RAW but twice the quality of AVC codec footage found in DSLRs.
Examples of color accuracy
Examples of subsampling
















To help prepare ourselves for what to expect with the BMPocketCC, I've compiled a list of SD Card options and their approximate footage capacities.


For CinemaDNG (1.2:1~63MB/s):
SanDisk "Extreme Pro 95MB/s" 64GB 90MB/s write ($119.99) holds almost 16 mins
SanDisk "Extreme Pro 95MB/s" 32GB 90MB/s write ($60.13) holds almost 8 mins
Toshiba "Exceria Type 1" 32GB 90MB/s write ($60.99) holds almost 8 mins
Panasonic "Gold Pro" 32GB 80MB/s write (EU only) holds almost 8 mins
Toshiba "Exceria Type 1" 16GB 90MB/s write ($34.99) holds almost 4 mins
SanDisk "Extreme Pro 95MB/s" 16GB 90MB/s write ($37.95) holds almost 4 mins
SanDisk "Extreme Pro 95MB/s Micro" 16GB 80MB/s write ($49.43) holds almost 4 mins
Panasonic "Gold Pro" 16GB 80MB/s write (EU only) holds almost 4 mins
Toshiba "Exceria Type 1" 8GB 90MB/s write ($ ) holds almost 2 mins
SanDisk "Extreme Pro 95MB/s" 8GB 90MB/s write ($20.95) holds  almost 2 mins
SanDisk "Extreme Pro 95MB/s Micro" 8GB 80MB/s write ($25.15) holds  almost 2 mins
Panasonic "Gold Pro" 8GB 80MB/s write (EU only) holds  almost 2 mins
----------------------------------------------------------------------------------------
For ProRes HQ (220Mbps~27.5MB/s):
Lexar "Professional 600x" 256GB 40MB/s write ($594.80) holds 155 mins
SanDisk "Extreme Pro 45MB/s" 128GB 45MB/s write ($139.94) holds 77 mins
PNY "Professional X 233x" 128GB 35MB/s write ($144.99) holds 77 mins 
Transcend "Ultimate UHS-1(red card)" 64GB 40MB/s write ($54.95) holds 38 mins*Most Practical solution
PNY "Professional X 233x" 64GB 35MB/s write ($69.99) holds 38 mins (Write Speed Tested with Blackmagic Speed Test App at 61MB/s but choppy for Blackmagic Pocket's ProRes422 HQ (27.5MB/s) recordings)
SanDisk "Extreme Pro 45MB/s" 64GB 45MB/s write ($72.95) holds 38 mins (Write Speed Tested with Blackmagic Speed Test App at 43MB/s and is not choppy for Blackmagic Pocket's ProRes422 HQ (27.5MB/s) recordings)
Sony "UHS-1 94MB/s" 64GB 45MB/s write ($73.67) holds 38 mins
SanDisk "Extreme Pro 95MB/s" 64GB 90MB/s write ($119.99) holds 38 mins
ADATA "Premier Pro" 32GB 44MB/s write ($35.99) holds 19 mins
Sony "UHS-1 94Mb/s" 32GB 45MB/s write ($39.02) holds 19 mins
SanDisk "Extreme 45MB/s" 32GB 45MB/s write ($39.95) holds 19 mins
Transcend "Ultimate UHS-1(red card)" 32GB 40MB/s write ($39.99) holds 19 mins
SanDisk "Extreme Pro 95MB/s" 32GB 90MB/s write ($60.13) holds 19 mins
Toshiba "Exceria Type 1" 32GB 90MB/s write ($60.99) holds 19 mins
Panasonic "Gold Pro" 32GB 80MB/s write (EU only) holds 19 mins
SanDisk "Extreme Pro 45MB/s" 32GB 45MB/s write ($73.95) holds 19 mins
PNY  "Pro-Elite Plus 80MB/s" 32GB 35MB/s write ($139.99) holds 19 mins
Lexar "Professional 600x" 32GB 40MB/s write ($ ) holds 19 mins
SanDisk "Extreme 45MB/s" 16GB 45MB/s write ($22.95) holds 9 mins 30 seconds
Toshiba "Exceria Type 1" 16GB 90MB/s write ($34.99) holds 9 mins 30 seconds
SanDisk "Extreme Pro 95MB/s" 16GB 90MB/s write ($37.95) holds 9 mins 30 seconds
SanDisk "Extreme Pro 95MB/s Micro" 16GB 80MB/s write ($49.43) holds 9 mins 30 seconds
PNY  "Pro-Elite Plus 80MB/s" 16GB 35MB/s write ($65.99) holds 9 mins 30 seconds
Transcend "Ultimate UHS-1(red card)" 16GB 40MB/s write ($ ) holds 9 mins 30 seconds
Panasonic "Gold Pro" 16GB 80MB/s write (EU only) holds 9 mins 30 seconds
SanDisk "Extreme Pro 95MB/s" 8GB 90MB/s write ($20.95) holds 4 min 45 seconds
SanDisk "Extreme Pro 95MB/s Micro" 8GB 80MB/s write ($25.15) holds 4 min 45 seconds
PNY  "Pro-Elite Plus 80MB/s" 8GB 35MB/s write ($34.99) holds 4 min 45 seconds
Transcend "Ultimate UHS-1(red card)" 8GB 40MB/s write ($ ) holds 4 mins 45 seconds
Toshiba "Exceria Type 1" 8GB 90MB/s write ($ ) holds 4 min 45 seconds
Panasonic "Gold Pro" 8GB 80MB/s write (EU only) holds 4 min 45 seconds
Transcend "Ultimate UHS-1(red card)" 4GB 40MB/s write ($ ) holds 2 mins 22 seconds
--------------------------------------------------------------------------------------------------
These Cards are too slow:
SanDisk "Extreme 30MB/s UHS-1" 
SanDisk "Ultra 30MB/s UHS-1"
Transcend "Premium UHS-1 (dark blue card)"
Class 10 SD Cards and below

If anyone knows anymore suitable cards please post them, I'll be updating this list over time.