Disabling synchronization in udpsink for reverse playback
sam shmayev
shmayev at gmail.com
Thu Sep 27 05:54:38 PDT 2012
Windows:
gst-launch-0.10 version 0.10.31
GStreamer 0.10.31
Ubuntu:
gst-launch-0.10 version 0.10.36
GStreamer 0.10.36
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
I just want to play rtsp stream from IP camera with audio and video.
*On Windows it works with the following syntax (but I don't need Windows)*
// using playbin2
gst-launch playbin2 uri=rtsp://
administrator:123123 at 192.168.1.170:554/nphMpeg4/g726-640x480 -vvv
// using decodebin2 (*full freeze on Ubuntu*)
gst-launch rtspsrc location=rtsp://
administrator:123123 at 192.168.1.253:554/nphMpeg4/g726-640x480 latency=0
name=demux demux. ! application/x-rtp,media=audio ! queue2 ! decodebin2 !
audioresample ! autoaudiosink demux. ! application/x-rtp,media=video !
queue2 ! decodebin2 ! ffmpegcolorspace ! autovideosink -vvv
Attachments contain debug info from Ubuntu.
Thank you.
On Thu, Sep 27, 2012 at 1:40 PM, Krause, Mathias <Mathias.Krause at xse.de>wrote:
> Hi,
>
> I don't exactly know, what you're trying to do. But as far as I can say:
>
> If you turn the sync option off, that means, that udpsink does sent the
> data through UDP as fast as possible, instead of keep sending the data in
> sync with the own clock. That means, that you get a lot of traffic, if the
> source provides enough data. For a live source, you may disable the sync,
> but I don't exactly understand, what you're trying to archive with that.
>
> Regards,
> Mathias
>
>
>
>
> From: gstreamer-devel-bounces+mathias.krause=xse.de at lists.freedesktop.org[mailto:
> gstreamer-devel-bounces+mathias.krause=xse.de at lists.freedesktop.org] On
> Behalf Of Muzzu Daniela
> Sent: Friday, September 21, 2012 10:46 AM
> To: gstreamer-devel at lists.freedesktop.org
> Subject: Disabling synchronization in udpsink for reverse playback
>
> Hi,
>
> I have a question related to the following bug (marked as INVALID), where
> it was proposed to disable sync in udpsink for live streams:
> https://bugzilla.gnome.org/show_bug.cgi?id=665435
>
> It has been replied that sync should be set to TRUE in all cases.
> But, what about reverse playback? The server has to send chunks in reverse
> order, with a non-regular increase of timestamps. Does it make sense to set
> sync property to FALSE in this case?
>
> Thanks,
> Daniela
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
--
*S.Shmayev*
*
*
*Office:* +972-72-2777239
*Mobile:* +972-54-6216356
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120927/a175090c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ubuntu_decodebin2
Type: application/octet-stream
Size: 15802 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120927/a175090c/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ubuntu_playbin2
Type: application/octet-stream
Size: 27015 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120927/a175090c/attachment-0003.obj>
More information about the gstreamer-devel
mailing list