Author Topic: SlimRaw – CDNG compression tool  (Read 37652 times)

eyeland

  • Member
  • ***
  • Posts: 154
  • 5D Mark Spree
Re: SlimRaw – CDNG compression tool
« Reply #50 on: January 30, 2016, 01:52:45 AM »
Nice work!
Would someone care to make a size comparison between Slimraw lossless cDNG and log Pro Ress 4444 XQ ?
Daybreak broke me loose and brought me back...

hjfilmspeed

  • Senior
  • ****
  • Posts: 469
  • 5D III and IV
Re: SlimRaw – CDNG compression tool
« Reply #51 on: January 30, 2016, 04:58:39 AM »
@cpc  "(I am now getting 150+ fps when compressing 14-bit FullHD raw on an i7 4770), so updating is recommended even if you don't care for lossy compression."
I don't get this. Not even close! I would settle for real time. How are you getting this?

Kharak

  • Hero Member
  • *****
  • Posts: 722
Re: SlimRaw – CDNG compression tool
« Reply #52 on: January 30, 2016, 11:50:22 AM »
Compress on the fastest drive you have, preferably SSD to get High speed Compression.
once you go raw you never go back

cpc

  • New to the forum
  • *
  • Posts: 37
Re: SlimRaw – CDNG compression tool
« Reply #53 on: January 30, 2016, 08:36:19 PM »
@eyeland:
Lossless CinemaDNG size varies with content, but if we assume an average compression ratio of 2:1 for ML raw, the calculation goes like this:
FullHD 14-bit lossless CinemaDNG: 1920*1080*14/8*24/2 ~= 43.5 MB/s (at 24fps)
FullHD 12-bit ProRess4444XQ: 396 mb/s = 49.5 MB/s (at 24fps)

@hjfilmspeed:
As noted by Kharak, you need a very fast storage setup to hit these speeds. For 150fps you'll need almost 550MB/s sustained storage reading speed and around half of this rate on the output end. This means very high end SSD, and preferably a RAID of SSDs. For real time processing, you need a sustained reading throughput of around 87 MB/s (at 24fps). If you are processing straight from the CF card (mounting raw through MLVFS), you are most likely limited by the throughput of your CF card + CF reader combination (many readers are way slower than the CF card itself).

reddeercity

  • Hero Member
  • *****
  • Posts: 1437
Re: SlimRaw – CDNG compression tool
« Reply #54 on: January 30, 2016, 09:27:33 PM »
MLV --> Cdng 16bit -->Log ProRes4444XQ+alpha=16bit  ;)
Which would be the Very best format to keep your ML files archive as
Since it's Linear , there's really no advantage to keep MLV file's or compressing the Cdng's

Plus All Apps (Mac) (some on PC if you have the PC ProResXQ Ver.) , support ProResXQ now , and there no need to have expensive hardware .
Just standard SSD or fast spindle drive e.g. WD VelociRaptor  600GB 10K RPM (I have 2 in a raid 0 on MP5.1)
Just about any midrange Laptop/desktop will do.

cpc

  • New to the forum
  • *
  • Posts: 37
Re: SlimRaw – CDNG compression tool
« Reply #55 on: January 31, 2016, 12:26:02 AM »
Quote
MLV --> Cdng 16bit -->Log ProRes4444XQ+alpha=16bit

Color channels in ProRes4444XQ are 12-bit. Only alpha is 16-bit and it is optional, you will generally want to skip it, cause it only inflates size in this case. :)

eyeland

  • Member
  • ***
  • Posts: 154
  • 5D Mark Spree
Re: SlimRaw – CDNG compression tool
« Reply #56 on: January 31, 2016, 01:17:40 AM »
Lossless CinemaDNG size varies with content, but if we assume an average compression ratio of 2:1 for ML raw, the calculation goes like this:
FullHD 14-bit lossless CinemaDNG: 1920*1080*14/8*24/2 ~= 43.5 MB/s (at 24fps)
FullHD 12-bit ProRess4444XQ: 396 mb/s = 49.5 MB/s (at 24fps)
Thanks, Thats really nice :) I second the suggestion above about a container to avoid having to store them as individual files :)
Daybreak broke me loose and brought me back...

mothaibaphoto

  • Senior
  • ****
  • Posts: 335
  • pesky kid
Re: SlimRaw – CDNG compression tool
« Reply #57 on: January 31, 2016, 08:30:09 AM »
Comparing DNG with prores or any other delivery/intermediate format is just like comparing apples and oranges: DNG allows me to reprocess the raw data anytime later, while others - not. The result of processing the raw data very depends on a) software used b) personal skills. Both things tend to develop vastly. Debayer software evolves rapidly. Just look what a progress Resolve did. I just reprocessed in 4K a dozen of timilapses I shot a long time ago on 400D and I managed to get better results than in HD that time. And when new version of Resolve or ACR, or maybe MLVProducer will bring new debayer feature, I can reprocess my files again, to get better image.

Danne

  • Hero Member
  • *****
  • Posts: 3613
Re: SlimRaw – CDNG compression tool
« Reply #58 on: January 31, 2016, 10:19:01 AM »
@motbaiphoto +1.

PeteAG

  • Just arrived
  • *
  • Posts: 2
Re: SlimRaw – CDNG compression tool
« Reply #59 on: February 02, 2016, 05:57:11 AM »
Hi, I made a little quality comparison video yesterday to see how well SlimRAW behaves against the original CDNG and all ProRes flavors.

https://vimeo.com/153739453

I have a lot of Footage from my recent Iceland trip and really want to archive my RAW files as small in size but best quality as possible.
SlimRaw is a superb tool and the support is fast and professional.

The downside is that compressed CNDGs are only up to Resolve at the moment (don't know much about the Windows and Linux side).

cpc

  • New to the forum
  • *
  • Posts: 37
Re: SlimRaw – CDNG compression tool
« Reply #60 on: April 01, 2016, 02:47:52 PM »
New version 1.5 is now released with some improvements. Release notes here: http://www.slimraw.com/relnotes.html

strikermed

  • New to the forum
  • *
  • Posts: 3
Re: SlimRaw – CDNG compression tool
« Reply #61 on: May 12, 2016, 05:21:19 PM »
I have a few questions before I commit to purchasing SlimRAW.  The first and most important is about performance in Premiere and After Effects.  Currently I have an i7 3930K and have a server feeding a 10GbE pipe with 650MB/s of read and write performance.  As it stands I get choppy, and drop frame performance reading 16bit CDNG content on Premiere Pro.  I converted these the MLV files using RAW2CDNG (which I has proven to be the best performance and reliable out of all the options out there).  I want to know if this will actually improve performance, as resolve plays the files fine, and PPcc has hiccups.  This has lead me to believe that PPcc is the issue over file size and data rates.  So, can anyone give me a reasonable explanation about why slimraw would make playback and editing better in PPcc?

Second, I would like to know if anyone has had any issues with crashing or bad frames in the compression process.  I've had my fair share of issues finding the right software to do the conversions from MLV, and I finally found a version of raw2cdng that works pretty reliably.

Third, how does licensing work?  I generally shoot for myself, but I use a computer at work to process footage occasionally.  Do I need to purchase two separate licenses, or will it allow me to use the same license on each computer (like Adobe products) as long as I don't have both using the same license at the same time?

Thanks, looks like a cool product to save some expensive RAID storage.
 

cpc

  • New to the forum
  • *
  • Posts: 37
Re: SlimRaw – CDNG compression tool
« Reply #62 on: May 16, 2016, 09:47:47 PM »
Quote
I have a few questions before I commit to purchasing SlimRAW.  The first and most important is about performance in Premiere and After Effects.  Currently I have an i7 3930K and have a server feeding a 10GbE pipe with 650MB/s of read and write performance.  As it stands I get choppy, and drop frame performance reading 16bit CDNG content on Premiere Pro.  I converted these the MLV files using RAW2CDNG (which I has proven to be the best performance and reliable out of all the options out there).  I want to know if this will actually improve performance, as resolve plays the files fine, and PPcc has hiccups.  This has lead me to believe that PPcc is the issue over file size and data rates.  So, can anyone give me a reasonable explanation about why slimraw would make playback and editing better in PPcc?

Second, I would like to know if anyone has had any issues with crashing or bad frames in the compression process.  I've had my fair share of issues finding the right software to do the conversions from MLV, and I finally found a version of raw2cdng that works pretty reliably.

Third, how does licensing work?  I generally shoot for myself, but I use a computer at work to process footage occasionally.  Do I need to purchase two separate licenses, or will it allow me to use the same license on each computer (like Adobe products) as long as I don't have both using the same license at the same time?

Thanks, looks like a cool product to save some expensive RAID storage.

re: Premiere performance
Strange that you don't get realtime playback in Premiere with your specs. I haven't tried 16-bit uncompressed files, but I get smooth playback of 14-bit losslessly compressed 1080p DNG on my quad i7 4770. Have you tried processing from local storage? Could be Premiere doesn't like the network storage setup for whatever reason?
To answer your question, it is possible that using lossless DNG will improve the situation since Premiere would need to stream significantly less data, and the lossless compresson will be no problem for your hexcore cpu.

re: stability
FWIW, I've never had a crash report in the year and more that slimRAW's been out. Obviously, if you have a bad frame before compression, it will stay bad after compression. No way around this.

re: licensing
slimRAW can be used on all your computers with one license, and this includes both Mac and Windows platforms.

cpc

  • New to the forum
  • *
  • Posts: 37
Re: SlimRaw – CDNG compression tool
« Reply #63 on: July 18, 2016, 02:21:38 PM »
New version 1.6 is now out with 4 new compression modes.
Added 5:1 lossy compression and two variable bit rate lossy modes. But perhaps most interesting for ML users will be the new 10-bit log encoded lossless mode. The linear 14-bit signal is mapped to a 10-bit coding space using a log tonal curve, similarly to Canon C500 10-bit log raw. Log data is then losslessly compressed. This results in 20-30% smaller files than straight lossless compression, while preserving high image quality. The log tranform is transparent, it is reversed by the raw processor on import; no workflow changes required. The output is compatible with pretty much all DNG capable video software.

All lossy compression now also uses a non-linear transform, which allows higher levels of compression by keeping stress off dark tones.

More about the different compression modes here: http://www.slimraw.com/article-cdngmodes.html

Danne

  • Hero Member
  • *****
  • Posts: 3613
Re: SlimRaw – CDNG compression tool
« Reply #64 on: July 18, 2016, 02:57:41 PM »
And command line options updated as well. Great. Will test asap.

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3067
  • 5D3 / M1 / 7D / 70D / SL1
SlimRaw – CDNG compression tool
« Reply #65 on: July 19, 2016, 02:16:56 AM »
Finally this one last update finally pushed me over the edge ... Look forward to hear from me @cpc as I'll soon be purchasing this from you and @Danne will then be able to give me a script to include this within MLP, right? [emoji1]
5D3.113 • 5D3.123 • EOSM.203 • 7D.203 • 70D.112 • 100D.101

cpc

  • New to the forum
  • *
  • Posts: 37
Re: SlimRaw – CDNG compression tool
« Reply #66 on: July 19, 2016, 01:03:25 PM »
Feedback is always welcome. :)

jmanord

  • New to the forum
  • *
  • Posts: 44
Re: SlimRaw – CDNG compression tool
« Reply #67 on: July 26, 2016, 05:50:57 PM »
After seeing Danne's post, I was curious as to where, or if, there is documentation for command line options for slimraw. The Lossless 10bit log compression is awesome!

cpc

  • New to the forum
  • *
  • Posts: 37
Re: SlimRaw – CDNG compression tool
« Reply #68 on: July 28, 2016, 11:03:42 AM »
Quote
After seeing Danne's post, I was curious as to where, or if, there is documentation for command line options for slimraw. The Lossless 10bit log compression is awesome!

Command line is not "officially" supported and is only available on Mac, you can list the available command line options (including a short description) with something like this (just put a dummy option after the program name, it will dump the full options list in the terminal):
path-to-the-app/slimraw.app/contents/macos/slimraw blabla


PeteAG

  • Just arrived
  • *
  • Posts: 2
Re: SlimRaw – CDNG compression tool
« Reply #69 on: August 11, 2016, 12:11:26 PM »
I made another little test using the newest version 1.6 and it's various compression nodes.

https://vimeo.com/178435652

yobarry

  • New to the forum
  • *
  • Posts: 5
Re: SlimRaw – CDNG compression tool
« Reply #70 on: September 24, 2016, 09:05:29 AM »
Currently I use MLVFS for MLV -> CDNG, I'm debating whether to add SlimRaw for compression to save on HDD space. The biggest advantage for me would be the ability to delete my original MLV files afterwards and save the compressed CDNGs for offline/online editing. But I read in this thread many users advising to keep the original MLV files, is this because later advances/improvements to programs such as MLVFS will increase the quality of the original CDNGs?

Can someone explain this to me? Thanks

cpc

  • New to the forum
  • *
  • Posts: 37
Re: SlimRaw – CDNG compression tool
« Reply #71 on: November 10, 2016, 02:50:18 PM »
And another update v1.7 is now released. Adds DNG downscale to half the horizontal and vertical resolution. Not particularly useful for ML raw footage, but it can be handy for reducing the excessive size of raw timelapses (will have to convert cr2 to dng first), particularly when going for hd/2k deliveries, as well as for raw proxies in general. Here is a post on using raw proxies: http://www.slimraw.com/article-proxies.html

Also, some optimizations here and there, so update anyway, even if you don't care for rescales.

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3067
  • 5D3 / M1 / 7D / 70D / SL1
Re: SlimRaw – CDNG compression tool
« Reply #72 on: November 17, 2016, 07:30:48 PM »
Thanks for the update (v1.7) and you may have noticed that I've finally bit the $50 bullet to purchase this wonderful tool.

Thanks for all that you do @cpc and I am looking forward to using this magic together with @Danne's apps (MLP & cr2hdr.app).
5D3.113 • 5D3.123 • EOSM.203 • 7D.203 • 70D.112 • 100D.101

cpc

  • New to the forum
  • *
  • Posts: 37
Re: SlimRaw – CDNG compression tool
« Reply #73 on: February 23, 2017, 04:21:33 PM »
New version 1.8 is now released with support for ML in-camera lossless dng stills. Also, a new 7:1 compression option and a small performance boost for all lossy compression.
Upgrade here: http://www.slimraw.com/download.html