[FFmpeg-user] XDCAMHD422 Syntax questions - qmin qmax

Marton Balint cus at passwd.hu
Wed Jun 20 01:18:41 EEST 2018



On Tue, 19 Jun 2018, Christoph Gerstbauer wrote:

> Hello;
>
> I am using this syntax to generate a XDCAMHD422 file:
>
> ffmpeg -i inputfile.avi -map 0:v -map 0:a  -c:v mpeg2video -r 25 -pix_fmt
> yuv422p -s 1920x1080 -aspect 16:9 -minrate 50000k -maxrate 50000k -b:v
> 50000k -g 12 -flags +ildct+ilme -intra_vlc 1 -dc 10 -non_linear_quant 1 -bf
> 2 -qmin 1 -qmax 3 -top 1 -dc 10 -bufsize 36408333 -rc_max_vbv_use 1
> -rc_min_vbv_use 1 -lmin "1*QP2LAMBDA" -vtag xd5c -c:a pcm_s24le -ar 48000
> -vf "setfield=tff" -top 1 D:\targets\ffmpegXDCAM.mxf

Bufsize seems wrong, you should check ffmbc for ideas how to create valid 
and compatible xdcam hd...

https://github.com/bcoudurier/FFmbc/blob/ffmbc/ffmbc.c#L5215

I personally use qmax 12, but I don't remember where that comes from.

Regards,
Marton


More information about the ffmpeg-user mailing list