MPEG2-TS streaming

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

MPEG2-TS streaming

ldac
   Hello,

this is the second part of a previous question named 'flutsmux video time'. I want to do streaming over the network with my MPEG2-TS video/audio.

    What I am doing is to substitute in my pipeline the 'filesink' by an 'udpsink' (with ip and port), so the pipeline is something like this (just video):

gst-launch-0.10 videotestsrc is-live=true ! video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1 ! \
                 videorate ! queue ! x264enc ! h264parse ! queue ! mux. \
                 flutsmux name=mux ! udpsink ip=192.168.0.2 port=5001
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64


    To receive and display the video (being at 192.168.0.2), I am doing this:

gst-launch-0.10 udpsrc port=5001 ! flutsdemux name=demux demux. ! rtph264depay ! decodebin ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: FluTSClock


    But both pipelines stay like showed in blue forever! Any suggestion? What am I doing wrong?

    Thanks in advance (again!).
    Regards.
    LD.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: MPEG2-TS streaming

Wim Taymans
On Fri, 2009-04-17 at 17:49 +0200, ldac wrote:

>    Hello,
>
> this is the second part of a previous question named 'flutsmux video
> time'. I want to do streaming over the network with my MPEG2-TS
> video/audio.
>
>     What I am doing is to substitute in my pipeline the 'filesink' by
> an 'udpsink' (with ip and port), so the pipeline is something like
> this (just video):
>
> gst-launch-0.10 videotestsrc is-live=true !
> video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1 ! \
>                  videorate ! queue ! x264enc ! h264parse ! queue !
> mux. \
>                  flutsmux name=mux ! udpsink ip=192.168.0.2 port=5001
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> x264 [info]: using SAR=1/1
> x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3
> Cache64
>
>     To receive and display the video (being at 192.168.0.2), I am
> doing this:
>
> gst-launch-0.10 udpsrc port=5001 ! flutsdemux name=demux demux. !
> rtph264depay ! decodebin ! autovideosink

Remove rtph264depay

Wim

> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: FluTSClock
>
>     But both pipelines stay like showed in blue forever! Any
> suggestion? What am I doing wrong?
>
>     Thanks in advance (again!).
>     Regards.
>     LD.
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel