Re: RTSP issues



Hello again,
I have moved my priorities from RTSP to the underlying RTP. I hadn't
noticed until the other day that neither totem nor playbin (nor rygel)
are capable of handling rtp:// URIs.
I have read in another mail
(http://mail.gnome.org/archives/rygel-list/2010-July/msg00005.html) it
is a TODO which needs some work.
As I just have basic knowledge of GStreamer, I am not sure how does it
need to be handled. Do I have to treat RTP URIs as a special case when
establishing the pipeline in each transcoder?
I would like to contribute to fix this issue as am very interested in
RTP support in Rygel.
I have achieved to play the video in a RTP stream from vlc
(cvlc /media/datos/cuatro_rtp.ts
--sout='#rtp{mux=ts,dst=239.239.239.239,port=5004}') using a gst-laucnh
command (gst-launch-0.10 udpsrc port=5004
multicast-group=239.239.239.239
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" ! .recv_rtp_sink_0 gstrtpbin ! rtpmp2tdepay ! mpegtsdemux ! decodebin2 ! autovideosink).
But I have no way to use this pipeline in Rygel setting part of the
pipeline line as in the test-plugin:

public class Rygel.Test.RTPVideo : Rygel.VideoItem {
    public string launch_line { get; protected set; }

    public RTPVideo (MediaContainer parent
                     string name) {
		base (parent.id + ":" + name, parent, name);

		this.mime_type = "video/mpeg";
		this.dlna_profile = "AVC_TS_HD_EU_ISO";

		this.launch_line = "udpsrc port=5004 multicast-group=239.239.239.239
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" ! .recv_rtp_sink_0 gstrtpbin ! rtpmp2tdepay ! mpegtsdemux";

    }

    public override Element? create_stream_source () {
		return this.create_source ();
    }
}

Any hint?


Thanks in advance,
Daniel.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]