[FFmpeg-devel] [PATCH 3/3] Mobotix MxPEG decoder, parser, demuxer

Reimar Döffinger Reimar.Doeffinger
Mon Aug 16 21:22:25 CEST 2010


On Mon, Aug 16, 2010 at 10:53:08PM +0400, Anatoly Nenashev wrote:
> On 16.08.2010 21:13, Michael Niedermayer wrote:
> >On Sat, Aug 14, 2010 at 03:32:33AM +0400, Anatoly Nenashev wrote:
> >>Here is MxPEG clip file demuxer implementation.
> >this demuxer already scans for ffxx so why is a seperate parser needed?
> >
> 
> Because of Reimar Doeffinger comment in thread  "[PATCH] Mobotix
> .mxg demixer and MxPEG decoder basic    implementation" :
> 
> "Splitting into individual frames really does not belong into the demuxer,
> it should be done in a parser.
> A demuxer should only do things like splitting audio and video,
> and if available process pts, dts, metadata, keyframe flags etc.
> This is doubly true for JPEG where I think there are still issues
> with interlaced JPEG and this could not benefit from
> any fixes to that."

It's mostly the last part, however that of course means that
the JPEG parser would have to be reused for this, a completely
new parser would not be of any advantage (I did not look
at the new patch so far, so I don't know what is done).



More information about the ffmpeg-devel mailing list