[FFmpeg-devel] [PATCH]Do not detect mpegts-in-mov as mov
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Oct 22 16:36:34 CEST 2012
Michael Niedermayer <michaelni <at> gmx.at> writes:
> On Mon, Oct 22, 2012 at 11:11:53AM +0200, Carl Eugen Hoyos wrote:
> > Hi!
> >
> > Attached patch fixes ticket #987 for me.
>
> please check for mpegts like its done for mpegps OR remove the mpegps
> code and adjust the scores if this is possible. But dont mix the 2
> approuches
mpeg-ts in mov start with a mdat atom, apart from that there is nothing
that reminds me of a mov (no other atom iirc). Both sample files we have
are detected by the mpegts probe code with a score of 100 when testing
2048 bytes. But the mov detection is "quicker" although the files cannot
be read at all, only an error message is shown on ffmpeg -i input
mpeg-ps in mov are real mov files with all kinds of atoms describing the
files and the mov demuxer was always able to read the files (it just
couldn't actually decode them).
I don't think the same approach can be used for both type of strams.
Carl Eugen
More information about the ffmpeg-devel
mailing list