MPEG-TS streaming problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MPEG-TS streaming problem

ldac

    Hi all,

I am trying to send video streaming but I am having the following problem: I send H264 video into a MPEG2-TS container using 'flutsmux' and a 'udpsrc', I do this:

video_capture ! video_encoder ! ! h264parse ! queue ! mux.  ffmux_mpegts name=mux ! udpsink  host=192.168.0.100 port=5000 

    In the receiver, the pipeline is:

 gst-launch-0.10 udpsrc port=5000 ! flutsdemux ! decodebin ! queue ! autovideosink

    But the video that I can see goes really slow and with worse quality that if in the sender pipeline I just change the 'udpsink' by a 'filesink' and save the output (if I do that, resulting file is fine).

    So I guess that problem could be a missing 'queue' (I have tried placing it in a few places and no better results were obtained), or the UDP is missing packets (impossible, both PCs are connected directly to a gigabit router and there are no more traffic), or the pair flutsmux/flutsdemux needs something else, or ... ???

    I have tried to change the "flutsmux ! udpsink / udpsrc ! flutsdemux" with "rtph264pay ! udpsink / udpsrc ! rtph264depay" and then works fine ...

    Any suggestion?

    Thanks in advance, thank you very much.
    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