[FFmpeg-devel] [PATCH] Support playing SMV files.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Aug 28 08:48:16 CEST 2011


On Sun, Aug 28, 2011 at 03:21:32AM +0200, Michael Niedermayer wrote:
> On Sat, Aug 27, 2011 at 11:56:26PM +0200, Reimar Döffinger wrote:
> > Quite hackish, audio and video are not properly interleaved.
> 
> how badly are they interleaved?
> demuxers need to return data that is not too badly interleaved
> like 30min appart is not ok

Depends completely on the file. I don't know if anyone ever created
such a file with more than 30 minutes. For the sample file it seemed
to end up with video going ahead 10s per 30s played.
It should be not too hard to fix if there's a way to get a reliable pts
value for the audio part.
On the other hand I have to say I don't like lavf design much, it seems
rather non-optimal that each demuxer supporting non-interleaved (avi,
mov, this one) has to come up with their own hack to do the
interleaving. Though I am not sure there's a solution that fits all of
them.


More information about the ffmpeg-devel mailing list