Compressing Canon ML raw video

cpc

Well-known member
Using Adobe DNG Converter to reduce raw video size without loss of quality has been talked here before. One of the issues with DNG Converter is that it adds useless bytes to the compressed frames. So I've written a small tool (DNGStrip) to get rid of thе chaff.
Download here (both Mac and Win versions), also more details in the text: Lossless compression for dng raw video
Space gained after running DNGStrip on DNGConverter compressed files is 114kb per fullHD (16:9) dng frame. Gains only depend on aspect ratio.
Test footage (narrative, 5dm3, 2:1 frames) was reduced to 56.2% with DNG Converter, then down to 53.1% with DNGStrip. That's lossless compression, end result is 1:1 same pixels as original files. Compatible with ACR and Resolve.
 
Using Adobe DNG Converter to reduce raw video size without loss of quality has been talked here before. One of the issues with DNG Converter is that it adds useless bytes to the compressed frames. So I've written a small tool (DNGStrip) to get rid of thе chaff.
Download here (both Mac and Win versions), also more details in the text: Lossless compression for dng raw video
Space gained after running DNGStrip on DNGConverter compressed files is 114kb per fullHD (16:9) dng frame. Gains only depend on aspect ratio.
Test footage (narrative, 5dm3, 2:1 frames) was reduced to 56.2% with DNG Converter, then down to 53.1% with DNGStrip. That's lossless compression, end result is 1:1 same pixels as original files. Compatible with ACR and Resolve.

Brilliant! This is just what I've been looking for, the only problem I'm having is when I try to run the program I'm receiving the following message.

" The program can't start because MSVCP120.dll is missing from your computer"

I would be eternally grateful if you could provide a solution? This is window 7 (x64) based.

EDIT:

I figured out a solution myself, just need to download the file from http://www.microsoft.com/en-us/download/confirmation.aspx?id=40784

I choose the vcredist_x86.exe version even though i'm using an x64 operating system and it worked.
 
Last edited:
Thanks cpc!

I have a feature with many 5D3-raw shots & plan on converting because I'm running out of space.

Just to be sure...I won't lose any quality with the DNG Converter render as long as I don't click "Use lossy compression" right?

I'd love to stick with a single 4TB drive instead of doubling up with a dual enclosure.
 
Brilliant! This is just what I've been looking for, the only problem I'm having is when I try to run the program I'm receiving the following message.

" The program can't start because MSVCP120.dll is missing from your computer"

I would be eternally grateful if you could provide a solution? This is window 7 (x64) based.

EDIT:

I figured out a solution myself, just need to download the file from http://www.microsoft.com/en-us/download/confirmation.aspx?id=40784

I choose the vcredist_x86.exe version even though i'm using an x64 operating system and it worked.

I should have pointed this in the post in the first place. DNGStrip for Windows needs the standard C and C++ runtime (Visual C/C++ 2013 version) so they need to be installed if missing on the PC. As Visual Studio 2013 is relatively new, it is quite possible these two DLLs are missing on the system, esp. if there isn't any newish software isntalled lately.
Microsoft x86 VC redistributable is fine as DNGStrip is a 32-bit app, compatible with both 32 and 64 bit systems. Mac version is obviously 64 bit.
I updated the article with a couple of lines about DLL dependencies. Thanks for posting the link to the redistributable and I hope you find the app useful.

Ryan Lightbourn said:
Thanks cpc!

I have a feature with many 5D3-raw shots & plan on converting because I'm running out of space.

Just to be sure...I won't lose any quality with the DNG Converter render as long as I don't click "Use lossy compression" right?

I'd love to stick with a single 4TB drive instead of doubling up with a dual enclosure.


Yes, that is correct.
DNG lossless compression is an entropy compression. Not a single bit of the original pixel data is lost.
I suggest you play with a bit of footage first to make yourself comfortable with the process.

 
cpc- you could also link to static libraries to avoid DLL issues.

Very cool tool and compression ratios. How about a custom 14-bit 444 XAVC compressor/decompressor (or H.265)? ;)
 
cpc- you could also link to static libraries to avoid DLL issues.

I actually did exactly this silently and updated the zip. ;)
But left the note there anyway just in case someone already downloaded the dynamically linked version. And yes, while dynamic linking has advatanges it is probably no really worth it for a program so small and only using a very limited subset of the standard libraries.

jcs said:
How about a custom 14-bit 444 XAVC compressor/decompressor (or H.265)? ;)
Not likely, but I have some other things up my sleeve.
I am sure h.265 will be all over the place soon anyway. :)
 
Yes, that is correct.
DNG lossless compression is an entropy compression. Not a single bit of the original pixel data is lost.
I suggest you play with a bit of footage first to make yourself comfortable with the process.
[/COLOR]

Tested & loving it. Thanks again man.
 
Back
Top