mpeg4videoparse in decodebin(2)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

mpeg4videoparse in decodebin(2)

Arnout Vandecappelle
 Hoi all,

 I've posted a bug about this:
http://bugzilla.gnome.org/show_bug.cgi?id=578926
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
solution:

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

 Regards,
 Arnout
--
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

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel