regarding decodebin

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

regarding decodebin

Jyoti-2
Hi All,

I have a mpeg media file with audio and video content.
video caps = video/mpeg, systemstream=(boolean)true, mpegversion=(int)1
audio caps = audio/mpeg, mpegversion=(int)1.

I am using the below pipeline to play the file

gst-launch filesrc location=/home/Alien.mpg ! decodebin name=dec dec. ! queue ! ffmpegcolorspace ! xvimagesink dec. ! queue ! audioconvert ! autoaudiosink -v

But file doesn't play with this launch line. The video freezes after the first frame and I don't hear any audio too.
But when I am constructing the pipeline using the plugins used by decodebin the file plays well. I don't understand whats the difference. Below is the pipeline constructed using the plugins used by decodebin for this particular file.

gst-launch filesrc location=/home/Alien.mpg ! mpegpsdemux name=demux demux. ! queue ! mpeg2dec ! ffmpegcolorspace ! xvimagesink demux. ! queue ! mp3parse ! mad ! audioconvert ! autoaudiosink

Thanks

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel