不支持 DVCPRO HD 编码的 ffmpeg 错误

ffmpeg error on DVCPRO HD encoding is not supported

请帮忙,我正在尝试对视频流进行编码,并使用与输入相同的格式输出视频:

ffmpeg -i input.mov -c:v dvvideo -pix_fmt yuv422p -b:v 115084915 -maxrate 115084915 -minrate 115084915 -r 29.97 -top 1 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -vtag dvh6 -c:a copy -c:s copy -y output.mov

这是输出:

DVCPRO HD encoding is not supported.\n[dvvideo @ 0x7ffaee815c00] ff_frame_thread_encoder_init failed\nError initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height\nConversion failed!\n"

您使用的是旧版本的 ffmpeg。

在最近的版本中,DV 编码器支持以下组合:

 Frame size: 720x480; pixel format: yuv411p, framerate: 30000/1001     
 Frame size: 720x576; pixel format: yuv420p, framerate: 25/1           
 Frame size: 720x576; pixel format: yuv411p, framerate: 25/1           
 Frame size: 720x480; pixel format: yuv422p, framerate: 30000/1001     
 Frame size: 720x576; pixel format: yuv422p, framerate: 25/1           
 Frame size: 1280x1080; pixel format: yuv422p, framerate: 30000/1001   
 Frame size: 1440x1080; pixel format: yuv422p, framerate: 25/1         
 Frame size: 960x720; pixel format: yuv422p, framerate: 60000/1001     
 Frame size: 960x720; pixel format: yuv422p, framerate: 50/1           
 Frame size: 720x576; pixel format: yuv420p, framerate: 25/1