Playbin stuck on buffering

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Playbin stuck on buffering

kobalt
I'm trying to play an video file on an arm board using the following command:
gst-launch playbin uri=http://192.168.0.1/audio/mediaexample.mpg -v

The problem is that it stucks on buffering. here is the output of the command:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/mpeg, systemstream=(boolean)true, mpegversion=(int)1
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegPSDemux:mpegpsdemux0.GstPad:sink: caps = video/mpeg, systemstream=(boolean)true, mpegversion=(int)1
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstQueue:queue0.GstPad:sink: caps = video/mpeg, mpegversion=(int)1, systemstream=(boolean)false
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstQueue:queue0.GstPad:src: caps = video/mpeg, mpegversion=(int)1, systemstream=(boolean)false
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstQueue:queue1.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstQueue:queue1.GstPad:src: caps = audio/mpeg, mpegversion=(int)1
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMPEGAudioParse:mpegaudioparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMPEGAudioParse:mpegaudioparse0.GstPad:src: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)2, rate=(int)48000, channels=(e
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstOmxMp2Dec:omxmp2dec0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)2, rate=(int)48000, channels=(int)2, pae
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstOmxMpeg2Dec:omxmpeg2dec0.GstPad:sink: caps = video/mpeg, mpegversion=(int)1, systemstream=(boolean)false
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstOmxMpeg2Dec:omxmpeg2dec0.GstPad:sink: caps = video/mpeg, mpegversion=(int)1, systemstream=(boolean)false
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstQueue:queue0: max-size-bytes = 18352
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstQueue:queue0: max-size-bytes = 36704
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstQueue:queue0: max-size-bytes = 73408
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstQueue:queue0: max-size-bytes = 146816
/GstPlayBin:playbin0/GstDecodeBin:decodebin0.GstGhostPad:src1: caps = audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)48000, signed=(boolean)true, endianness=(int)1234, channels=(int)2
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstOmxMp2Dec:omxmp2dec0.GstPad:src: caps = audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)48000, signed=(boolean)true, endianness=(int)1234, 2
/GstPlayBin:playbin0/GstStreamSelector:selector_audio_src1.GstPlaybinSelectorPad:sink0: caps = audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)48000, signed=(boolean)true, endianness=(int2
/GstPlayBin:playbin0/GstDecodeBin:decodebin0.GstGhostPad:src1.GstProxyPad:proxypad2: caps = audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)48000, signed=(boolean)true, endianness=(int)122
/GstPlayBin:playbin0/GstStreamSelector:selector_audio_src1.GstPad:src: caps = audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)48000, signed=(boolean)true, endianness=(int)1234, channels=(2
/GstPlayBin:playbin0/GstStreamSelector:selector_audio_src1.GstPad:src: caps = audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)48000, signed=(boolean)true, endianness=(int)1234, channels=(2
/GstPlayBin:playbin0/GstQueue:preroll_audio_src1.GstPad:sink: caps = audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)48000, signed=(boolean)true, endianness=(int)1234, channels=(int)2
buffering... 0%  

If i try the same command but using playbin2 everything works perfectly. Is there a solution to make this work on playbin, or is this an issue known by gstreamer-dev team?

Thank You,
Cornel
Reply | Threaded
Open this post in threaded view
|

Re: Playbin stuck on buffering

Marco Ballesio
Hi,

On Thu, Jan 13, 2011 at 3:20 PM, kobalt <[hidden email]> wrote:

..snip..

>
> buffering... 0%
>
> If i try the same command but using playbin2 everything works perfectly. Is
> there a solution to make this work on playbin, or is this an issue known by
> gstreamer-dev team?

It is, point your browser to:

http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-playbin.html

and scroll until the first note in a green box. You'll read:

"This element is deprecated and no longer supported. You should use
the playbin2 element instead."

Google is your friend ;).

Regards,
Marco


>
> Thank You,
> Cornel
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Playbin-stuck-on-buffering-tp3215817p3215817.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel