[FFmpeg-user] Convert images to DNXHD 444

Wayne Poll WPoll at nhnz.tv
Tue Apr 10 00:38:56 EEST 2018


> -----Original Message-----
> From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Matt Kitcat
> Sent: Tuesday, 10 April 2018 9:17
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Convert images to DNXHD 444
>
> Hi Wayne
> Can you expand on that a little, or perhaps give me an example based on my command line. Sorry but I am a little un-familiar with ffmpeg.
> Thanks for the response.
>

I haven't tried this - I'm only commenting on  what might be possible. 

Something that is worth making yourself familiar with is the Avid DnxHD white paper - http://www.avid.com/~/media/avid/files/whitepaper-pdf/dnxhd.pdf?la=en&v20170331132307

The ffmpeg command line would look something like...

ffmpeg -i input_files -c:v dnxhd -vf scale=1920x1080,fps=24000/1001,format=yuv422p10 -b:v 350M output.mov 

The actual command line parameters will depend on the libraries that ffmpeg was compiled with. And note in my example above, the colour sub-sampling is 4:2:2 and not 4:4:4 - I have not spotted an example of 4:4:4 encoding with DNxHD (although the DNxHD spec. allows for 4:4:4 colour sub-sampling, it may not have been implemented in ffmpeg - not sure).

Wayne...

>
> -----Original Message-----
> From: Wayne Poll
> Sent: Monday, April 9, 2018 10:08 PM
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Convert images to DNXHD 444
>
> -----Original Message-----
> From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of 
> Matt Kitcat
> Sent: Tuesday, 10 April 2018 6:30
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Convert images to DNXHD 444
>
> ffmpeg -r 23.976 -i
> C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif -c:v dnxhd 
> -profile:v dnxhr_444  -s 1920x1080 -r 23.976  -y 
> C:\Users\Matt\Desktop\Newfolder\bt.mov
>
> This creates a file similar to quicktime export setting: 1080/23.976 
> DNxHD
> 444 10 bit
>
> ffmpeg reports
> Supported pixel formats: yuv422p yuv422p10le yuv444p10le gbrp10le
>
> So in fact I don't really want to create DNxHR but DNxHD 444 format. I 
> would have thought that could be possible?
>

It is possible but the 440 profile isn't valid for 23.98fps material - you should be using DNxHD 350x for 10-bit 4:4:4 RGB @ 23.98fps. The DNxHD 440
(8-bit) and DNxHD 440x (10-bit) are only valid at higher frame rates, such as 29.97p, 59.94p and 60p

Wayne Poll

>
> -----Original Message-----
> From: Gonzalo Garramuño
> Sent: Monday, April 9, 2018 6:44 PM
> To: Matt Kitcat ; FFmpeg user questions
> Subject: Re: [FFmpeg-user] Convert images to DNXHD 444
>
>
>
> El 09/04/18 a las 14:38, Matt Kitcat escribió:
> Hi All
> I have been trying to convert an image sequence (16 bit tiff) to DNXHD 
> 444. It can be done with Quicktime pro on Windows but I have 
> completely failed with ffmpeg.
>
> ffmpeg -r 23.976 -i
> C:\Users\Matt\Desktop\Newfolder\104_0020gn_01_X1_0%3d.tif -c:v dnxhd 
> -profile:v 3  -s 1920x1080 -r 23.976  -y 
> C:\Users\Matt\Desktop\Newfolder\bt.mov
>
> Your -profile is wrong.  Try:
>
> -profile:v dnxhr_444
>
> --
> Gonzalo Garramuño

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe". 

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list