Streaming webcam using rtsp protocol
Robert Unguran
unguranr at gmail.com
Wed Jul 25 09:00:40 PDT 2012
Hi,
Thanks for your replay, that was the problem, I have one more question,
I tested this on the same PC, but I'm getting 3-4s delay, is it possible
to reduce this delay, I tried to change the size(width, height) but
still the same delay, for me the quality is not that important as the
speed. Is it possible to reduce this delay?
Regards,
Robert
On 07/25/2012 05:49 PM, Daniel Díaz wrote:
> Hello!
>
>
> On Wed, Jul 25, 2012 at 9:22 AM, Róbert Ungurán <unguranr at gmail.com> wrote:
>> Hi,
>> I'm trying to stream my webcam using rtsp protocol, but when I would like to
>> display the stream using vlc I'm receivin one or two frames and after that
>> I'm getting the following error messages:
>> vlc rtsp://localhost:8554/test
> [...]
>> This is the code of the server:
> [...]
>> gst_rtsp_media_factory_set_launch (factory, "( "
>> "v4l2src device=/dev/video0 !
>> video/x-raw-yuv,width=320,height=240,framerate=30/1 ! "
>> "x264enc ! queue ! rtph264pay name=pay0 pt=96 ! audiotestsrc !
>> audio/x-raw-int,rate=8000 ! alawenc ! rtppcmapay name=pay1 pt=97 "")");
> [...]
>> Where did I make the mistake(s)?
> I don't know about the rest, as I get good results with
> gst-rtsp-server's test-launch example, but this pipeline looks wrongly
> linked:
> [...] ! rtph264pay name=pay0 pt=96 ! audiotestsrc !
> audio/x-raw-int,rate=8000 ! [...]
> should be:
> [...] ! rtph264pay name=pay0 pt=96 audiotestsrc !
> audio/x-raw-int,rate=8000 ! [...]
> with no exclamation mark before audiotestsrc.
>
> Greetings!
>
> Daniel Díaz
> yosoy at danieldiaz.org
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list