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

Anatoly Nenashev nenashev_as
Mon Aug 16 20:53:08 CEST 2010

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."

I need a final decision about this. If splitting into individual frames 
can be done in demuxer - I will do it there. Otherwise, I will leave it 
in parser.


More information about the ffmpeg-devel mailing list