[FFmpeg-user] 10 bit DNXHD encoding

Matthieu Bouron matthieu.bouron at gmail.com
Thu Jan 17 14:09:42 CET 2013


On Wed, Jan 16, 2013 at 11:12:27PM -0500, Dave Rice wrote:
> On Jan 16, 2013, at 5:20 PM, Matthieu Bouron wrote:
> 
> > On Wed, Jan 16, 2013 at 5:40 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> >> Dave Rice <dave <at> dericed.com> writes:
> >> 
> >>> I'd like to encode to 10 bit DNXHD but get an error.
> >> 
> >> You have to specify the bitrate:
> >> -vb 175M or 185M or 365M or 440M
> >> 
> >> (A patch that explains this is welcome!)
> >> 
> > 
> > I can do it if no one is already working on this.
> 
> I don't know if anyone else is working on it, but I would find it very helpful. I like how clear the output is with other picky codecs, such as:
> ffmpeg -f lavfi -i testsrc=d=5 testsrc.dv

Would something like this be ok ?

Video parameters incompatible with DNxHD. Valid DNxHD profiles:
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 175Mbps; pixel format: yuv422p10le; framerate: 24000/1001
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 115Mbps; pixel format: yuv422p;     framerate: 24000/1001
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 175Mbps; pixel format: yuv422p;     framerate: 24000/1001
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 36Mbps;  pixel format: yuv422p;     framerate: 24000/1001
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 185Mbps; pixel format: yuv422p10le; framerate: 25/1
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 120Mbps; pixel format: yuv422p;     framerate: 25/1
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 185Mbps; pixel format: yuv422p;     framerate: 25/1
[dnxhd @ 0x345aec0] Frame size: 1920x1080i; bitrate: 185Mbps; pixel format: yuv422p10le; framerate: 25/1
[dnxhd @ 0x345aec0] Frame size: 1920x1080i; bitrate: 120Mbps; pixel format: yuv422p;     framerate: 25/1
[dnxhd @ 0x345aec0] Frame size: 1920x1080i; bitrate: 185Mbps; pixel format: yuv422p;     framerate: 25/1
[dnxhd @ 0x345aec0] Frame size: 1920x1080i; bitrate: 220Mbps; pixel format: yuv422p10le; framerate: 30000/1001
[dnxhd @ 0x345aec0] Frame size: 1920x1080i; bitrate: 145Mbps; pixel format: yuv422p;     framerate: 30000/1001
[dnxhd @ 0x345aec0] Frame size: 1920x1080i; bitrate: 220Mbps; pixel format: yuv422p;     framerate: 30000/1001
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 365Mbps; pixel format: yuv422p10le; framerate: 50/1
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 240Mbps; pixel format: yuv422p;     framerate: 50/1
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 365Mbps; pixel format: yuv422p;     framerate: 50/1
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 440Mbps; pixel format: yuv422p10le; framerate: 60000/1001
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 290Mbps; pixel format: yuv422p;     framerate: 60000/1001
[dnxhd @ 0x345aec0] Frame size: 1920x1080p; bitrate: 440Mbps; pixel format: yuv422p;     framerate: 60000/1001
[dnxhd @ 0x345aec0] Frame size: 1280x720p;  bitrate: 60Mbps;  pixel format: yuv422p;     framerate: 24000/1001
[dnxhd @ 0x345aec0] Frame size: 1280x720p;  bitrate: 90Mbps;  pixel format: yuv422p;     framerate: 24000/1001
[dnxhd @ 0x345aec0] Frame size: 1280x720p;  bitrate: 90Mbps;  pixel format: yuv422p10le; framerate: 24000/1001
[dnxhd @ 0x345aec0] Frame size: 1280x720p;  bitrate: 60Mbps;  pixel format: yuv422p;     framerate: 25/1
[dnxhd @ 0x345aec0] Frame size: 1280x720p;  bitrate: 90Mbps;  pixel format: yuv422p;     framerate: 25/1
[dnxhd @ 0x345aec0] Frame size: 1280x720p;  bitrate: 90Mbps;  pixel format: yuv422p10le; framerate: 25/1
[dnxhd @ 0x345aec0] Frame size: 1280x720p;  bitrate: 120Mbps; pixel format: yuv422p;     framerate: 50/1
[dnxhd @ 0x345aec0] Frame size: 1280x720p;  bitrate: 185Mbps; pixel format: yuv422p;     framerate: 50/1
[dnxhd @ 0x345aec0] Frame size: 1280x720p;  bitrate: 185Mbps; pixel format: yuv422p10le; framerate: 50/1
[dnxhd @ 0x345aec0] Frame size: 1280x720p;  bitrate: 145Mbps; pixel format: yuv422p;     framerate: 60000/1001
[dnxhd @ 0x345aec0] Frame size: 1280x720p;  bitrate: 220Mbps; pixel format: yuv422p;     framerate: 60000/1001
[dnxhd @ 0x345aec0] Frame size: 1280x720p;  bitrate: 220Mbps; pixel format: yuv422p10le; framerate: 60000/1001

Regards,
Matthieu

[...]


More information about the ffmpeg-user mailing list