Page 1 of 1

Transcoding BRAW to MP4

PostPosted: Wed Dec 15, 2021 7:15 pm
by pzoani
Hi All, this is my first post here.

I'm trying to find a command line tool to transcode the new braw files to mp4 h264 in order to produce small proxies. It looks like ffmpeg does not support this type of conversion until now. Any ideas how to this?

Thanks in advance,

Pablo

Re: Transcoding BRAW to MP4

PostPosted: Wed Dec 15, 2021 10:55 pm
by Mark Foster
resolve?

Re: Transcoding BRAW to MP4

PostPosted: Wed Dec 15, 2021 11:47 pm
by pzoani
Mark Foster wrote:resolve?


Is it a command line tool? I need to call it from the terminal (from another application which is written in java).

Thanks!

Re: Transcoding BRAW to MP4

PostPosted: Thu Dec 16, 2021 1:07 am
by Uli Plank
I'd also suggest DaVinci Resolve, try Media Management.

Re: Transcoding BRAW to MP4

PostPosted: Thu Dec 16, 2021 1:13 pm
by pzoani
Hi,

I need to call the function from the command line in Windows or Linux.
Does resolve provide a command line tool? I'm not able to find it.

Thanks a lot,

Pablo

Re: Transcoding BRAW to MP4

PostPosted: Thu Dec 16, 2021 8:52 pm
by Mark Foster
no, there is no command line tool

viewtopic.php?f=3&t=112635

Re: Transcoding BRAW to MP4

PostPosted: Fri Dec 17, 2021 4:01 am
by Peter Chamberlain
moved to Resolve forum

you can do this in resolve with scripting.. see the help menu, documentation, dev docs, scripting

Re: Transcoding BRAW to MP4

PostPosted: Fri Dec 17, 2021 3:09 pm
by ZRGARDNE
Do realize, blindly trascoding any raw footage to H.265 or even DNxHR can do irrecoverable damage.

BRaw allows you to change white balance and ISO as if it was done in camera. There is also additional highlight data that can be brought back with 'highlight recovery'. In addition to just being high bit depth, 14 bit?

H.265 offers none of this. 10 bit is the best you can do.

Ideal workflow would be to perform at least your base color grade before transcoding to make sure Exposure and WB are 90% there before throwing away that data.

Of course unless you are just using the h.265 files as intermediaries to throw away and perform actual grade and export with native Braw.

Re: Transcoding BRAW to MP4

PostPosted: Fri Dec 17, 2021 3:24 pm
by Uli Plank
He was asking for proxies, Zeb.

Re: Transcoding BRAW to MP4

PostPosted: Mon Feb 20, 2023 6:37 pm
by drewgandy
I'm looking for something in a similar vein. I want to set up a remote "preview" capability for our media storage server. The idea being that we can look through footage that we've transferred to the server without having to be on site. Bit rates on a lot of the original content limits what we can do over the internet but I've found that Filestash can connect to object storage AND do on the fly ffmpeg transcoding. This seems to work ok for most content. But BRAW, I think, presents a challenge (haven't actually tested BRAW yet).

I should probably be asking this on the ffmpeg sites but figured I'd post here in case someone has any thoughts or info about ffmpeg and BRAW compatibility.

Re: Transcoding BRAW to MP4

PostPosted: Mon Feb 20, 2023 10:13 pm
by CaptainHook
If someone doesn't want to use Resolve scripting for whatever reason then in the Blackmagic RAW download one of the sample code apps we have is OpenEXRTranscode - this compiles into a command line transcode tool that will create OpenEXR sequences from Blackmagic RAW clips with various options.

Someone could take this sample code and modify it to work with ffmpeg.