[gst-devel] mpeg4videoparse in decodebin(2)

Arnout Vandecappelle arnout at mind.be
Wed Apr 15 18:21:23 CEST 2009

 Hoi all,

 I've posted a bug about this: 
but before starting on a fix I need some advice.

 I repeat the problem: when streaming MPEG4 from an IP camera over http, 
decodebin(2) doesn't insert an mpeg4videoparse element in the pipeline, which 
results in faulty decoding (by ffdec_mpeg4).

 I'm prepared to fix this, but I need some input about what would be the best 

1. don't fix it - application should insert mpeg4videoparse;

2. modify typefind and ffdec_mpeg4 (any others?) so they have 
parsed=(boolean)... in their caps;

3. increase rank of mpeg4videoparse, and modify decodebin2 so it will not 
chain multiple mpeg4videoparse elements;

4. do parsing in ffdec_mpeg4;

5. something else still.

 Option 2 seems to be the simplest to implement, but may affect other mpeg4 
elements that I don't know about.  It could also be considered an API change.  
Option 3 is the most generic (applies to other codecs too, and could be used 
to autoplug convertors, perhaps).

Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  D206 D44B 5155 DF98 550D  3F2A 2213 88AA A1C7 C933

More information about the gstreamer-devel mailing list