[FFmpeg-devel] [HACK] mov.c: Handle MPEG-in-MOV (#241 and friends)
h.leppkes at gmail.com
Tue Oct 16 18:43:50 CEST 2012
On Tue, Oct 16, 2012 at 5:18 PM, Petter Ericson
<petter.ericson at codemill.se> wrote:
> Attached is a patch that handles the files provided in #241 and duplicates.
> Needless to say, it is extremely hacky and would benefit from improvements,
> but as it stands, it checks for the two places I have found the m1s tag, and
> forces continued probing until mpegps_probe gets enough data to find its
> own header. I considered using the mpegps demuxer as a "subprocess" simliar
> to how DVDemuxer is used, but this proved to be too much trouble for me,
> given that it really isn't made to work in that way, and the above
> approach got the desired result.
> Improvements (rudimentary MOV parsing in the probe?) very welcome.
The fixed offset of the tag in the file seems rather arbitrary to me.
Did you confirm on multiple samples that its in that exact spot every
More information about the ffmpeg-devel