[FFmpeg-devel] [PATCH]Do not detect mp2 in mxf as mpeg2video

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Dec 10 01:51:45 CET 2011


Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> On Thu, Dec 08, 2011 at 02:37:37PM +0100, Carl Eugen Hoyos wrote:
> > Attached patches fix ticket #721.
> 
> Hm, I really should read mail before starting hacking.

> I think that the split should be done, as in the second patch.

As said, this does not work anymore (=the patch does not fix the issue since
yesterday). Your patch does not help either for me...

> However I find the match_len value suspicious as well, the possibly
> should still be increased.

This also does not help with current git head.

Carl Eugen

With your patch applied:
$ ffmpeg -i mp2.mxf
ffmpeg version N-35607-g5b98ea1, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 10 2011 01:39:22 with gcc 4.5.3
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil    51. 31. 0 / 51. 31. 0
  libavcodec   53. 42. 0 / 53. 42. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 52. 0 /  2. 52. 0
  libswscale    2.  1. 0 /  2.  1. 0
[mxf @ 0x13a57a0] Could not find codec parameters (Video: mpeg2video, 720x288)
[mxf @ 0x13a57a0] Could not find codec parameters (Audio: mp2, 48000 Hz, 2
channels, s16)
mp2.mxf: could not find codec parameters



More information about the ffmpeg-devel mailing list