New issue 64 by rebaglia...@gmail.com: input Matrox avi problem
http://code.google.com/p/ffmbc/issues/detail?id=64
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)
I used your newer version (0.7-rc3) ,but the errors are duplicated
Command line:
ffmbc -i Matrox_Mpeg2_iframe_15Mbs.avi -i pcm_s16le_1536kbs.wav -target
imx50 IMX50_From_Matrox.mxf
Output:
FFmbc version 0.7-rc3
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
[avi @ 0x287e600] non-interleaved AVI
[mpeg2video @ 0x2880680] 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 (4:2:2), 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
File 'IMX50_From_Matrox.mxf' already exists. Overwrite ? [y/N] y
auto-rescaling to IMX resolution
[pad @ 0x2886720] 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.7
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, [?] for help
[mpeg2video @ 0x2880680] mpeg_decode_postinit() failure
[mpeg2video @ 0x2880680] ac-tex damaged at 44 35
[mpeg2video @ 0x2880680] Warning MVs not available
[mpeg2video @ 0x2880680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2880680] ac-tex damaged at 44 35
[mpeg2video @ 0x2880680] concealing 45 DC, 45 AC, 45 MV errors
frame= 63 fps= 0 q=1.0 size= 18946kB time=00:00:02.49
bitrate=62181.8kbits/s eta=00:03:43.11
[mpeg2video @ 0x2880680] ac-tex damaged at 44 35
[mpeg2video @ 0x2880680] Warning MVs not available
[mpeg2video @ 0x2880680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2880680] ac-tex damaged at 44 35
[mpeg2video @ 0x2880680] concealing 45 DC, 45 AC, 45 MV errors
frame= 127 fps=126 q=1.0 size= 38498kB time=00:00:05.05
bitrate=62376.5kbits/s eta=00:03:38.59
[mpeg2video @ 0x2880680] ac-tex damaged at 44 35
[mpeg2video @ 0x2880680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2880680] ac-tex damaged at 44 35
[mpeg2video @ 0x2880680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2880680] ac-tex damaged at 44 35
[mpeg2video @ 0x2880680] concealing 45 DC, 45 AC, 45 MV errors
frame= 191 fps=126 q=1.0 size= 58050kB time=00:00:07.61
bitrate=62440.4kbits/s eta=00:03:37.21
[mpeg2video @ 0x2880680] ac-tex damaged at 44 35
[mpeg2video @ 0x2880680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2880680] ac-tex damaged at 44 35
[mpeg2video @ 0x2880680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2880680] ac-tex damaged at 44 35
[mpeg2video @ 0x2880680] concealing 45 DC, 45 AC, 45 MV errors
frame= 264 fps=125 q=1.0 Lsize= 80317kB time=00:00:10.49
bitrate=62686.1kbits/s 00:03:39.21
video:64453kB audio:1968kB global headers:0kB muxing overhead 20.920184%
Comment #2 on issue 64 by baptiste...@gmail.com: input Matrox avi problem
http://code.google.com/p/ffmbc/issues/detail?id=64
This file seems damaged. In any case I need the file to confirm the issue
I looked for another file Matrox because the first one was too big.
How can I get you the file with size 300Mb, it is the smallest file that I
have.
Command line:
ffmbc -i Matrox_Mpeg2_iframe_15Mbs.avi -i pcm_s16le_1536kbs.wav -target
imx50 IMX50_From_Matrox.mxf
Output:
FFmbc version 0.7-rc4
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
[avi @ 0x208e600] non-interleaved AVI
[mpeg2video @ 0x2090680] 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:02:32.24, start: 0.000000, bitrate: 15069 kb/s
Stream #0.0(und): Video: mpeg2video (4:2:2), yuv422p, 720x576i tff [PAR
16:15 DAR 4:3], 14999 kb/s, 25.00 fps
Input #1, wav, from 'pcm_s16le_1536kbs.wav':
Duration: 00:02:32.24, start: 0.000000, bitrate: 1536 kb/s
Stream #1.0(und): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
File 'IMX50_From_Matrox.mxf' already exists. Overwrite ? [y/N] y
Auto-rescaling to imx50 resolution
[pad @ 0x2096720] 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.7
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, [?] for help
[mpeg2video @ 0x2090680] mpeg_decode_postinit() failure
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] Warning MVs not available
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] Warning MVs not available
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
frame= 59 fps= 0 q=1.0 size= 17724kB time=00:00:02.32
bitrate=62440.6kbits/s eta=00:00:32.83
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
frame= 121 fps=120 q=1.0 size= 36360kB time=00:00:04.80
bitrate=62053.6kbits/s eta=00:00:31.06
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
frame= 184 fps=121 q=1.0 size= 55912kB time=00:00:07.33
bitrate=62412.9kbits/s eta=00:00:30.00
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x2090680] ac-tex damaged at 44 35
[mpeg2video @ 0x2090680] concealing 45 DC, 45 AC, 45 MV errors
frame= 262 fps=121 q=1.0 Lsize= 79698kB time=00:00:10.41
bitrate=62712.8kbits/s 00:00:29.66
video:63965kB audio:1952kB global headers:0kB muxing overhead 20.906194%
I noticed that HD Matrox intraframe wrapped in AVI are not recognized at
all:
Stream #0.0(und): Video: unknown (M705), 1920x1080p, 25fps
Regards
Sorry, I need the file anyway to be able to look at it.
How can I get you the file with size 300Mb?
The Max. attachments per comment is 10.0 MB
Upload the file to medafire or something like that, and mail me the link.
I noticed that the version 6.1 doesn't create image artefacts.
Comment #9 on issue 64 by baptiste...@gmail.com: input Matrox avi problem
http://code.google.com/p/ffmbc/issues/detail?id=64
I'll have a look, thanks for the sample
Btw, can you share a small sample with M705 fourcc ? So I can add support.
Here you go: http://min.us/mbgSk2nfPY, a very small Matrox M705 file.
1920x1080, 50i
SD files should be supported now. HD is different I need to investigate
more.
Hi Baptiste, Thanks! now it's fine.
But if I use a much longer file, ffmbc doesn't read the correct duration
and it doesn't encode the entire file.
Below you can see the output of the test.
Command Line:
ffmbc -v 3 -i Test.avi -i Test.wav -target imx50 -tff -aspect 4:3 -acodec
pcm_s16le Test.mxf -map_audio_channel 1:0:0:0:1:0 -map_audio_channel
1:0:1:0:1:1 -map_audio_channel 1:0:0:0:1:2 -map_audio_channel 1:0:1:0:1:3
Output:
FFmbc version 0.7-rc5
Copyright (c) 2008-2011 Baptiste Coudurier and the FFmpeg developers
[avi @ 0x1d94600] non-interleaved AVI
[mpeg2video @ 0x1d96620] mpeg_decode_postinit() failure
Input #0, avi, from 'Test.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 (4:2:2), yuv422p, 720x576i tff [PAR
16:15 DAR 4:3], 14999 kb/s, 25.00 fps
Input #1, wav, from 'Test.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 imx50 resolution
[pad @ 0x1d96060] 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 'Test.mxf':
Metadata:
encoder: FFmbc 0.7
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, 4 channels, s16, 3072 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1 [channel: 0 -> 0]
Stream #1.0 -> #0.1 [channel: 1 -> 1]
Stream #1.0 -> #0.1 [channel: 0 -> 2]
Stream #1.0 -> #0.1 [channel: 1 -> 3]
Press [q] to stop, [?] for help
[mpeg2video @ 0x1d96620] mpeg_decode_postinit() failure
frame= 288 fps=124 q=1.0 Lsize= 87681kB time=00:00:11.47
bitrate=62582.4kbits/s 00:03:40.01
video:70312kB audio:4304kB global headers:0kB muxing overhead 17.508255%
Can you please upload the file somewhere ? Thanks