[gst-devel] State change issues when asking for a RTSP stream with VLC

Zaheer Merali zaheerabbas at merali.org
Fri Mar 6 16:17:16 CET 2009


On Fri, Mar 6, 2009 at 2:12 PM, Javier Gálvez Guerrero
<javier.galvez.guerrero at gmail.com> wrote:
> Thanks for your answer, Zaheer.
>
> How can I know which plugins/elements are installed in my system? I know
> I've installed the core-, base-, ugly- and bad-plugins packages, but how can
> I know which elements they provide? I have looked at the GStreamer 0.10
> Plugins reference manual but I don't see neither mpegpsdemux nor mpegtsdemux
> in the bad plugins reference manual.

gst-inspect

>
> I would like to know how to find this kind of information as it may be
> useful for my future development tasks (I need to start with the basic
> ideas...=) )
>
>
> Thank you all,
> Javi

Zaheer
>
>
> 2009/3/6 Zaheer Merali <zaheerabbas at merali.org>
>>
>> On Fri, Mar 6, 2009 at 10:56 AM, Javier Gálvez Guerrero
>> <javier.galvez.guerrero at gmail.com> wrote:
>> > Hi,
>> >
>> > I solved it. I have installed the "bad" plugins compilation and now I
>> > get
>> > smooth RTP/MPEG-TS playback. I suppose it is because the mplex element.
>> >
>> > Regards,
>> > Javi
>>
>> It was probably one of the mpeg demuxers mpegpsdemux or mpegtsdemux
>> inside gst-plugins-bad that solved your problem.
>>
>> Zaheer
>>
>> >
>> > 2009/3/5 Javier Gálvez Guerrero <javier.galvez.guerrero at gmail.com>
>> >>
>> >> Gstreamer MPEG demuxing is in charge of ffmpeg, isn't it? I have
>> >> updated
>> >> ffmpeg to the latest git version but it hasn't solved anything. I have
>> >> also
>> >> uninstalled the fluendo MPEG muxers and demuxers plugins with no
>> >> positive
>> >> results.
>> >>
>> >> On the other hand, multicast streaming (not RTSP) MPEG over UDP is
>> >> played
>> >> back smoothly, as local files do.
>> >>
>> >> Has anyone any idea about why I could play properly RTSP/RTP streaming
>> >> contents before and now I get choppy playback?
>> >>
>> >>
>> >> Thank you for your time and sorry for the inconvenience,
>> >> Javi
>> >>
>> >>
>> >> 2009/3/5 Javier Gálvez Guerrero <javier.galvez.guerrero at gmail.com>
>> >>>
>> >>> Thanks for your answer, Wim.
>> >>>
>> >>> So, Gstreamer 0.8 MPEG demuxers worked but those used in 0.10 are not
>> >>> working properly?
>> >>>
>> >>>
>> >>> Regards,
>> >>> Javi
>> >>>
>> >>> 2009/3/5 Wim Taymans <wim.taymans at gmail.com>
>> >>>>
>> >>>> On Thu, 2009-03-05 at 10:28 +0100, Javier Gálvez Guerrero wrote:
>> >>>> > Hi,
>> >>>> >
>> >>>> > I managed this issue by installing the UGLY plugins. However, I
>> >>>> > don't
>> >>>> > know if this is the proper way to solve my issue.
>> >>>> >
>> >>>> > Now I can get the RTSP stream (both from VLC and Live555 RTSP
>> >>>> > servers)
>> >>>> > but the video framerate is lower than the original and not stable.
>> >>>> > I
>> >>>> > have checked that all RTP packets are received (sequence numbers
>> >>>> > are
>> >>>> > ok) and I get neither error nor warning messages from Gstreamer, so
>> >>>> > I
>> >>>> > don't know what is happening and how I could get a smooth video
>> >>>> > playback in RTSP streaming (the same video played locally works
>> >>>> > smoothly).
>> >>>> >
>> >>>> > As said before, I have these problems since I updated Gstreamer
>> >>>> > from
>> >>>> > 0.8 to 0.10, so I don't know if there is any related issue with
>> >>>> > these
>> >>>> > problems or if I'm missing something. Anyway, I would like anyone
>> >>>> > to
>> >>>> > help me getting things working, either downgrading to 0.8 (I don't
>> >>>> > know where to find this version) or managing with the current 0.10
>> >>>> > version I've just installed.
>> >>>> >
>> >>>>
>> >>>> The mpeg demuxers don't support demuxing live streams yet and screw
>> >>>> up
>> >>>> the timestamps, which makes the result rather choppy.
>> >>>>
>> >>>> Wim
>> >>>> >
>> >>>> > Thank you all,
>> >>>> > Javi
>> >>>> >
>> >>>> >
>> >>>> > 2009/3/4 Javier Gálvez Guerrero <javier.galvez.guerrero at gmail.com>
>> >>>> >         Hi there,
>> >>>> >
>> >>>> >         I was using the Gstreamer framework (version 0.8) to get
>> >>>> > some
>> >>>> >         tests. I used Gstreamer as client and VLC (0.9.4) as RTSP
>> >>>> >         server and it worked smoothly. The problem has arised when
>> >>>> >         updating Gstreamer to 0.10.21. When I launch
>> >>>> > "gst-launch-0.10
>> >>>> >         playbin uri=rtsp://IP:PORT/content it never starts playing
>> >>>> > the
>> >>>> >         media. Using VLC as a client works ok.
>> >>>> >
>> >>>> >         I can see with Wireshark the RTSP message exchange (PAUSE
>> >>>> > and
>> >>>> >         then TEARDOWN) and I get these error messages where
>> >>>> > launching
>> >>>> >         Gstreamer:
>> >>>> >
>> >>>> >         Estableciendo el flujo a PAUSADO ... (PAUSED)
>> >>>> >         El flujo es en vivo y no necesita PRECACHEADO ...
>> >>>> > (PRECACHED)
>> >>>> >         Estableciendo el flujo para REPRODUCCIÓN ... (PLAY)
>> >>>> >         New clock: GstSystemClock
>> >>>> >         ERROR: desde el
>> >>>> >         elemento
>> >>>> >
>> >>>> > /GstPlayBin:playbin0/GstDecodeBin:decodebin0/ffdec_mpegvideo:ffdec_mpegvideo0:
>> >>>> > Internal GStreamer error: negotiation problem.  Please file a bug
>> >>>> > at
>> >>>> > http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
>> >>>> >         Información adicional de depurado:
>> >>>> >         gstffmpegdec.c(2339): gst_ffmpegdec_chain
>> >>>> >         ():
>> >>>> >
>> >>>> > /GstPlayBin:playbin0/GstDecodeBin:decodebin0/ffdec_mpegvideo:ffdec_mpegvideo0:
>> >>>> >         ffdec_mpegvideo: input format was not set before data start
>> >>>> >         Execution ended after 887032082 ns.
>> >>>> >         Estableciendo el flujo a PAUSADO ...
>> >>>> >         Estableciendo pipeline a READY...
>> >>>> >         Estableciendo pipeline a NULL...
>> >>>> >         LIBERANDO pipeline ... (FREEING)
>> >>>> >
>> >>>> >
>> >>>> >         I would like to know how I can solve this issue and, in
>> >>>> > case
>> >>>> >         the only solution is downgrading to gstreamer 0.8, could
>> >>>> >         anybody tell me where can I find it?
>> >>>> >
>> >>>> >         By the way, as you may have noted, I am a newbie in the
>> >>>> >         Gstreamer framework, but I am quite interested in succeedin
>> >>>> >         using it. Any help would be much appreciated.
>> >>>> >
>> >>>> >
>> >>>> >         Thank you,
>> >>>> >         Javi
>> >>>> >
>> >>>> >
>> >>>> >
>> >>>> >
>> >>>> > ------------------------------------------------------------------------------
>> >>>> > Open Source Business Conference (OSBC), March 24-25, 2009, San
>> >>>> > Francisco, CA
>> >>>> > -OSBC tackles the biggest issue in open source: Open Sourcing the
>> >>>> > Enterprise
>> >>>> > -Strategies to boost innovation and cut costs with open source
>> >>>> > participation
>> >>>> > -Receive a $600 discount off the registration fee with the source
>> >>>> > code: SFAD
>> >>>> > http://p.sf.net/sfu/XcvMzF8H
>> >>>> > _______________________________________________ gstreamer-devel
>> >>>> > mailing list gstreamer-devel at lists.sourceforge.net
>> >>>> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> ------------------------------------------------------------------------------
>> >>>> Open Source Business Conference (OSBC), March 24-25, 2009, San
>> >>>> Francisco, CA
>> >>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>> >>>> Enterprise
>> >>>> -Strategies to boost innovation and cut costs with open source
>> >>>> participation
>> >>>> -Receive a $600 discount off the registration fee with the source
>> >>>> code:
>> >>>> SFAD
>> >>>> http://p.sf.net/sfu/XcvMzF8H
>> >>>> _______________________________________________
>> >>>> gstreamer-devel mailing list
>> >>>> gstreamer-devel at lists.sourceforge.net
>> >>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> >>>
>> >>
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Open Source Business Conference (OSBC), March 24-25, 2009, San
>> > Francisco, CA
>> > -OSBC tackles the biggest issue in open source: Open Sourcing the
>> > Enterprise
>> > -Strategies to boost innovation and cut costs with open source
>> > participation
>> > -Receive a $600 discount off the registration fee with the source code:
>> > SFAD
>> > http://p.sf.net/sfu/XcvMzF8H
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > gstreamer-devel at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> >
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>> CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>> Enterprise
>> -Strategies to boost innovation and cut costs with open source
>> participation
>> -Receive a $600 discount off the registration fee with the source code:
>> SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>




More information about the gstreamer-devel mailing list