problem live streaming

Angel Martin amartin at vicomtech.org
Wed Sep 18 02:16:05 PDT 2013


Do you have a live source like a webcam or a video file you want to
broadcast like a live event?

If your scenario is the second one:

The RTSP Server launches the pipeline to Playing when there is at least one
connection. This means:

-if you do not set shared -> the first, second, third, ... connections will
watch the video file from the beginning

- if you set shared ->  the first connection will watch the video file from
the beginning while the second, third,... connections will watch at the
same point the first is

If you want to simulate a live broadcast of a video file a simple solution
is to set shared and have a fake vlc client in the server.

Best,

Angel


2013/9/11 Chuck Crisler <ccrisler at mutualink.net>

> I am not familiar with test-mp4.c. The examples supplied with the
> GStreamer RTSP server only work with somewhat static video sources. If you
> want a live source, you need to change the pipeline. Use something like:
> v4l2src device=/dev/video0 !
> 'video/x-raw-yuv,width=640,height=480,framerate=30000/1001' ! rtph264pay
> pt=96,name=pay0
>
> This should work with many webcams. Test the string with gst-launch to get
> it right, then code it into an example. It should do what you want.
>
> Chuck
>
>
> On Wed, Sep 11, 2013 at 10:13 AM, adam <okhtas at gmail.com> wrote:
>
>> I've managed to make rtsp server with gstRTSPserver to see examples of
>> test-mp4.c, but there is a little problem that is, when the client plays
>> the
>> video with vlc rtsp://192.168.10.2:8554/test, the video playback from the
>> beginning.
>> but what I want is when the client plays such as live streaming video ..
>>
>> please help me to fix the code so that plays like a live video streaming
>>
>> thank you for all the attention
>>
>>
>>
>> --
>> View this message in context:
>> http://gstreamer-devel.966125.n4.nabble.com/problem-live-streaming-tp4661952.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130918/a2a94351/attachment.html>


More information about the gstreamer-devel mailing list