[gst-devel] flutsmux/flutsdemux

Marc Leeman marc.leeman at gmail.com
Mon Sep 22 10:12:54 CEST 2008


(resend from Friday, my ISP smtp server seems to be acting up, I didn't
see this getting on the ML yet.)



I am trying to grab a TS over RTP stream from the networki (10 Mbps,
I-only), strip it and send it back out as ES over RTP. For some reason,
I always get stuck when using flutsdemux (or around there).

This is one of the latest pipelines I've been using:

gst-launch-0.10 -v gstrtpbin name=rtpbin \
    latency=200 gstrtpbin \
    name=sendrtpbin \
    latency=200 \
    udpsrc multicast-group=226.255.0.9 \
    port=50200 caps="application/x-rtp,clock-rate=(int)90000" ! \
    rtpbin.recv_rtp_sink_0 rtpbin. caps="application/x-rtp" ! \
    rtpmp2tdepay ! \
    flutsdemux ! \
    flutsmux ! \
    rtpmp2tpay ! \
    sendrtpbin.send_rtp_sink_1 \
    sendrtpbin.
caps="application/x-rtp/x-rtp,clock-rate=(int)90000,system=0\ ! \
    udpsink host=226.255.12.0 port=5000

Quality is poor and packets get dropped (gstreamer, mplayer and vlc).
Replacing "flutsdemux ! flutsmux ! rtpmp2tpay" with "flutsdemux !
rtpmpvpay"
(combination I want to test/use), the visual result is the same as the
above.

When leaving out the flutsdemux/flutsmux; the quality is fine.

Simplified, this is (same poor visual result):
gst-launch udpsrc multicast-group=226.255.0.8 port=50100 \
    caps="application/x-rtp,clock-rate=(int)90000"  \
    ! .recv_rtp_sink_0 gstrtpbin \
    ! typefind  \
    ! rtpmp2tdepay  \
    ! flutsdemux \
    ! rtpmpvpay \
    ! udpsink host=226.255.12.0 port=5000

Again, leaving out flutsdemux shows perfect video quality:
gst-launch udpsrc multicast-group=226.255.0.8 port=50100 \
    caps="application/x-rtp,clock-rate=(int)90000"  \
    ! .recv_rtp_sink_0 gstrtpbin \
    ! typefind  \
    ! rtpmp2tdepay  \
    ! rtpmp2tpay \
    ! udpsink host=226.255.12.0 port=5000

I've tried playing around with queues (suggestion from IRC), rtpbins,
... to no avail. Is this a known issue, or something I missed?

[mleeman at bane ~]$ dpkg -l |grep gstreamer |cut -c 4-60
 gstreamer-tools                      0.10.20-1
 gstreamer0.10-alsa                   0.10.19-2
 gstreamer0.10-ffmpeg                 0.10.4-3
 gstreamer0.10-fluendo-mp3            0.10.7.debian-1
 gstreamer0.10-fluendo-mpegdemux      0.10.15-1
 gstreamer0.10-fluendo-mpegmux        0.10.4-1
 gstreamer0.10-gnomevfs               0.10.20-1
 gstreamer0.10-plugins-bad            0.10.7-2
 gstreamer0.10-plugins-base           0.10.20-1
 gstreamer0.10-plugins-farsight       0.12.8-1
 gstreamer0.10-plugins-good           0.10.8-4
 gstreamer0.10-plugins-ugly           0.10.8-1
 gstreamer0.10-sdl                    0.10.7-2
 gstreamer0.10-tools                  0.10.20-1
 gstreamer0.10-x                      0.10.20-1
 libgstreamer-plugins-base0.10-0      0.10.20-1
 libgstreamer-plugins-base0.10-dev    0.10.20-1
 libgstreamer0.10-0                   0.10.20-1
 libgstreamer0.10-0-dbg               0.10.20-1
 libgstreamer0.10-dev                 0.10.20-1

-- 
br, marc.




More information about the gstreamer-devel mailing list