Streaming from Gstreamer to VLC

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

Streaming from Gstreamer to VLC

Favila Deba

    Hi all,

I would like to stream video from a PC and to receive it using VLC in another machine. But it does not work, why??? Any help? Thank you.

    Sender:  gst-launch-0.10 v4l2src ! 'video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1' ! x264enc ! h264parse ! rtph264pay ! udpsink host=192.168.0.1

    Receiver (does not work):  vlc <a class="moz-txt-link-freetext" href="rtp://@:1234">rtp://@:1234
    Receiver (does not work):  vlc udp://@:1234

    [[Receiver with gstreamer, it works: gst-launch-0.10 udpsrc port=1234 ! rtph264depay ! decodebin ! xvimagesink]]

    Regards,
    Favila.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Streaming from Gstreamer to VLC

Sudarshan Bisht
      Hi ,
          You are not using any port number on sender side , so by default is will take 4951 and on receiver side you  are receiving data on port number 1234.
 
     Either use default port or use the same port number on both the sides.

On Fri, May 15, 2009 at 7:12 PM, Favila Deba <[hidden email]> wrote:

    Hi all,

I would like to stream video from a PC and to receive it using VLC in another machine. But it does not work, why??? Any help? Thank you.

    Sender:  gst-launch-0.10 v4l2src ! 'video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1' ! x264enc ! h264parse ! rtph264pay ! udpsink host=192.168.0.1

    Receiver (does not work):  vlc rtp://@:1234
    Receiver (does not work):  vlc udp://@:1234

    [[Receiver with gstreamer, it works: gst-launch-0.10 udpsrc port=1234 ! rtph264depay ! decodebin ! xvimagesink]]

    Regards,
    Favila.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Streaming from Gstreamer to VLC

Favila Deba

    Hi all,

port number is not the problem (probably I missed the port when copying the pipeline), I have tried again and VLC  (0.9.4) is not able to receive the streaming generated by Gstreamer (0.10.21).

    Sender: gst-launch-0.10 v4l2src ! 'video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1' ! x264enc ! h264parse ! rtph264pay ! udpsink host=192.168.0.1 port=1234

    Receiver (192.168.0.1) (does not work):  vlc rtp://@:1234
    Receiver (192.168.0.1) (does not work):  vlc udp://@:1234
    [[Receiver with gstreamer, it works: gst-launch-0.10 udpsrc port=1234 ! rtph264depay ! decodebin ! xvimagesink]]

    To improve the sender pipeline, where should I place "queue" element/s??

    Thanks all (specially, thanks to Sudarshan).
    Favila.

      Hi ,
          You are not using any port number on sender side , so by default is will take 4951 and on receiver side you  are receiving data on port number 1234.
 
     Either use default port or use the same port number on both the sides.

On Fri, May 15, 2009 at 7:12 PM, Favila Deba <[hidden email]> wrote:

    Hi all,

I would like to stream video from a PC and to receive it using VLC in another machine. But it does not work, why??? Any help? Thank you.

    Sender:  gst-launch-0.10 v4l2src ! 'video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1' ! x264enc ! h264parse ! rtph264pay ! udpsink host=192.168.0.1

    Receiver (does not work):  vlc rtp://@:1234
    Receiver (does not work):  vlc udp://@:1234

    [[Receiver with gstreamer, it works: gst-launch-0.10 udpsrc port=1234 ! rtph264depay ! decodebin ! xvimagesink]]

    Regards,
    Favila.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects

_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel