[FFmpeg-user] MXF with XDCAM HD422

Robert Krüger krueger at lesspain.de
Wed Jul 3 17:50:54 CEST 2013


On Wed, Jul 3, 2013 at 2:52 PM, Alex <doenerbudenchef at yahoo.de> wrote:
> Hi all,
>
> I want to encode a prores 422 file (1080p/25) to MXF with OP1a (SMPTE 378M).
> Compression should be a XDCAM HD422 (MPEG2) with 4:2:2, 50 Mbit/s and
> Long-GOP. I tried the following and got several error messages:
>
> Command:
>
> ffmpeg -i test.mov -pix_fmt yuv422p -vcodec mpeg2video -non_linear_quant 1
> -flags +ildct+ilme -top 1 -dc 10 -intra_vlc 1 -qmax 3 -lmin "1*QP2LAMBDA"
> -vtag xd5c -rc_max_vbv_use 1 -rc_min_vbv_use 1 -g 12 -b:v 50000k -minrate
> 50000k -maxrate 50000k -bufsize 8000k -acodec pcm_s16le -ar 48000 -bf 2 -ac
> 2 -f mxf_d10 output.mxf
>
> Output:
>
> ffmpeg version N-54207-ge59fb3f Copyright (c) 2000-2013 the FFmpeg
> developers
>   built on Jun 25 2013 21:55:00 with gcc 4.7.3 (GCC)
>   configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
> --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
> --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
> --enable-libmodplug --
> ble-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libopenjpeg --enable-libopus --enable-librtmp
> --enable-libschroedinger --enable-libsoxr --enable-libspeex
> --enable-libtheora --enable-libtwolame --enable-libvo-aacenc
> --enable-libvo-amrwbenc --enable-libvorbis --enable-
> vpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
>   libavutil      52. 37.101 / 52. 37.101
>   libavcodec     55. 17.100 / 55. 17.100
>   libavformat    55. 10.100 / 55. 10.100
>   libavdevice    55.  2.100 / 55.  2.100
>   libavfilter     3. 77.101 /  3. 77.101
>   libswscale      2.  3.100 /  2.  3.100
>   libswresample   0. 17.102 /  0. 17.102
>   libpostproc    52.  3.100 / 52.  3.100
> [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003be4a0] Stream #1: not enough frames to
> estimate rate; consider increasing probesize
> [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003be4a0] Stream #2: not enough frames to
> estimate rate; consider increasing probesize
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov':
>   Metadata:
>     major_brand     : qt
>     minor_version   : 537199360
>     compatible_brands: qt
>     creation_time   : 2013-03-18 13:06:32
>   Duration: 00:03:08.96, start: 0.000000, bitrate: 184313 kb/s
>     Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le,
> 1920x1080, 182769 kb/s, SAR 1920:1920 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25
> tbc
>     Metadata:
>       creation_time   : 2013-03-18 13:06:32
>       handler_name    : Apple Alias Data Handler
>       timecode        : 00:00:00:01
>     Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
> stereo, s16, 1536 kb/s
>     Metadata:
>       creation_time   : 2013-03-18 13:06:32
>       handler_name    : Apple Alias Data Handler
>       timecode        : 00:00:00:01
>     Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
>     Metadata:
>       creation_time   : 2013-03-18 13:18:27
>       handler_name    : Apple Alias Data Handler
>       timecode        : 00:00:00:01
> File 'output.mxf' already exists. Overwrite ? [y/N] y
> Output #0, mxf_d10, to 'output.mxf':
>   Metadata:
>     major_brand     : qt
>     minor_version   : 537199360
>     compatible_brands: qt
>     encoder         : Lavf55.10.100
>     Stream #0:0(eng): Video: mpeg2video (xd5c / 0x63356478), yuv422p,
> 1920x1080 [SAR 1:1 DAR 16:9], q=2-3, 50000 kb/s, 25 tbn, 25 tbc
>     Metadata:
>       creation_time   : 2013-03-18 13:06:32
>       handler_name    : Apple Alias Data Handler
>       timecode        : 00:00:00:01
>     Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
>     Metadata:
>       creation_time   : 2013-03-18 13:06:32
>       handler_name    : Apple Alias Data Handler
>       timecode        : 00:00:00:01
> Stream mapping:
>   Stream #0:0 -> #0:0 (prores -> mpeg2video)
>   Stream #0:1 -> #0:1 (pcm_s16le -> pcm_s16le)
> Press [q] to stop, [?] for help
> cannot fill d-10 video packete=   32999kB time=00:00:05.24
> bitrate=51589.3kbits/s
> cannot fill d-10 video packete=   41614kB time=00:00:06.04
> bitrate=56440.7kbits/s
> cannot fill d-10 video packete=   41971kB time=00:00:06.40
> bitrate=53722.3kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 17 times
> cannot fill d-10 video packete= 1001931kB time=00:02:12.04
> bitrate=62161.6kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 8 times
> cannot fill d-10 video packete= 1012526kB time=00:02:13.28
> bitrate=62234.5kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
> cannot fill d-10 video packete= 1014452kB time=00:02:13.56
> bitrate=62222.1kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 10 times
> cannot fill d-10 video packete= 1023922kB time=00:02:14.52
> bitrate=62354.8kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 1 times
> cannot fill d-10 video packete= 1024994kB time=00:02:14.84
> bitrate=62271.9kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 10 times
> cannot fill d-10 video packete= 1034857kB time=00:02:15.88
> bitrate=62390.0kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
> cannot fill d-10 video packete= 1035996kB time=00:02:16.20
> bitrate=62311.9kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 10 times
> cannot fill d-10 video packete= 1045977kB time=00:02:17.32
> bitrate=62399.1kbits/s
> cannot fill d-10 video packete= 1047529kB time=00:02:17.64
> bitrate=62346.4kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 8 times
> cannot fill d-10 video packete= 1057005kB time=00:02:18.80
> bitrate=62384.6kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 1 times
> cannot fill d-10 video packete= 1059597kB time=00:02:19.12
> bitrate=62393.8kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 8 times
> cannot fill d-10 video packete= 1068043kB time=00:02:19.88
> bitrate=62549.4kbits/s
> cannot fill d-10 video packete= 1068377kB time=00:02:20.20
> bitrate=62426.1kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 14 times
> cannot fill d-10 video packete= 1079824kB time=00:02:21.60
> bitrate=62471.2kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 13 times
> cannot fill d-10 video packete= 1090319kB time=00:02:22.64
> bitrate=62618.4kbits/s
> cannot fill d-10 video packete= 1091266kB time=00:02:23.00
> bitrate=62515.0kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 10 times
> cannot fill d-10 video packete= 1101488kB time=00:02:24.28
> bitrate=62540.8kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 6 times
> cannot fill d-10 video packete= 1107846kB time=00:02:24.60
> bitrate=62762.6kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 3 times
> cannot fill d-10 video packete= 1113141kB time=00:02:25.44
> bitrate=62698.4kbits/s
> cannot fill d-10 video packete= 1114526kB time=00:02:25.80
> bitrate=62621.4kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 9 times
> cannot fill d-10 video packete= 1124328kB time=00:02:27.00
> bitrate=62656.4kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 12 times
> cannot fill d-10 video packete= 1135578kB time=00:02:28.20
> bitrate=62771.0kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
> cannot fill d-10 video packete= 1137198kB time=00:02:28.56
> bitrate=62708.1kbits/s
> [mxf_d10 @ 000000000249e7a0] cannot fill d-10 video packet
>     Last message repeated 9 times
> frame= 4457 fps= 17 q=1.0 Lsize= 1366084kB time=00:02:58.24
> bitrate=62785.9kbits/s
>

Why the "-f mxf_d10" in there? I must admit, I was not aware of this
muxer but D10 is an SD format and certainly not XDCAM. I just looked
at your output briefly but the error messages contained a lot of
"d-10" stuff. I'd try again just without the "-f mxf_d10".

HTH,

Robert


More information about the ffmpeg-user mailing list