Is not possible convert completely a video file format MATROX, because the
output file duration is smaller than the input file.
I noticed that in the input description the duration of the video is not the
real one
In the test below I have converted video and audio with the same duration.
Command line:
ffmbc -i Matrox_Mpeg2_iframe_15Mbs.avi -i pcm_s16le_1536kbs.wav -target imx50
IMX50_From_Matrox.mxf
Output:
FFmbc version 0.6.1
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
[avi @ 0x252dbf0] non-interleaved AVI
[mpeg2video @ 0x25305d0] mpeg_decode_postinit() failure
Input #0, avi, from 'Matrox_Mpeg2_iframe_15Mbs.avi':
Metadata:
encoder: Matrox MQSink Filter For MPEG. Format: 4. Build: 2.0.0.271
Duration: 00:18:22.84, start: 0.000000, bitrate: 103317 kb/s
Stream #0.0(und): Video: mpeg2video, yuv422p, 720x576i tff [PAR 16:15 DAR 4:3], 14999 kb/s, 25.00 fps
Input #1, wav, from 'pcm_s16le_1536kbs.wav':
Duration: 02:06:05.64, start: 0.000000, bitrate: 1536 kb/s
Stream #1.0(und): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
auto-rescaling to IMX resolution
[pad @ 0x2534d90] w:720 h:576 -> w:720 h:608 x:0 y:32 color:0x108080FF[yuva]
Warning, QMAT_SHIFT is larger than 21, overflows possible
Last message repeated 1 times
Output #0, mxf_d10, to 'IMX50_From_Matrox.mxf':
Metadata:
encoder: FFmbc 0.6.1
Stream #0.0(und): Video: mpeg2video, yuv422p, 720x608i tff [PAR 152:135 DAR 4:3], cbr, 50000 kb/s, 25.00 fps
Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x25305d0] mpeg_decode_postinit() failure
frame= 1413 fps=126 q=1.0 Lsize= 431324kB time=00:00:56.44 bitrate=62595.8kbits
video:344971kB audio:10584kB global headers:0kB muxing overhead 21.310178%
I'm using Ubuntu 10.10 (64bit)
I was compiling with --enable-gpl (GCC 4.4.5)
Original issue reported on code.google.com by
rebaglia...@gmail.comon 21 Oct 2011 at 8:58