[gst-devel] help: about rtp

shirie shizibo at gmail.com
Sat Apr 18 08:05:56 CEST 2009


I think you mean "sync=FALSE" right? I do it as:

gst-launch -v filesrc location=beau.mp4 ! qtdemux name=d \
d. ! { queue ! rtpmp4gpay ! udpsink port=5000 sync=FALSE} \
d. ! { queue ! rtpmp4vpay ! udpsink port=5002 sync=FALSE}

but the pipeline cannot work. 
There is a waring:
WARNING: erroneous pipeline: could not set property "sync" in element
"udpsink0" to "FALSE}"


ved kpl wrote:
> 
> Hi,
> 
> Try setting async = FALSE on the udpsinks
> 
> 
> 
> On Fri, Apr 17, 2009 at 1:19 PM, shirie <shizibo at gmail.com> wrote:
>>
>> yes, it works. Actually it is same with part of my original pipeline. I
>> tested it before.
>> Here is the output:
>> etting pipeline to PAUSED ...
>> Pipeline is PREROLLING ...
>> /pipeline0/queue0.sink: caps = video/mpeg, mpegversion=(int)4,
>> systemstream=(boolean)false,
>> codec_data=(buffer)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
>> width=(int)320, height=(int)240, framerate=(fraction)15/1
>> /pipeline0/queue0.src: caps = video/mpeg, mpegversion=(int)4,
>> systemstream=(boolean)false,
>> codec_data=(buffer)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
>> width=(int)320, height=(int)240, framerate=(fraction)15/1
>> /pipeline0/rtpmp4vpay0.src: caps = application/x-rtp,
>> media=(string)video,
>> payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
>> ssrc=(guint)504891211, clock-base=(guint)1805442126,
>> seqnum-base=(guint)25303, profile-level-id=(string)1,
>> config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34
>> /pipeline0/rtpmp4vpay0.sink: caps = video/mpeg, mpegversion=(int)4,
>> systemstream=(boolean)false,
>> codec_data=(buffer)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
>> width=(int)320, height=(int)240, framerate=(fraction)15/1
>> /pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video,
>> payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
>> ssrc=(guint)504891211, clock-base=(guint)1805442126,
>> seqnum-base=(guint)25303, profile-level-id=(string)1,
>> config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34
>> Pipeline is PREROLLED ...
>>
>> receive it with the udpsrc, I can see the vedio image but without sound.
>>
>>
>> ved kpl wrote:
>>>
>>> Hi,
>>>
>>> Ok, Now just try if
>>> "gst-launch -v filesrc location=shake.mp4 ! qtdemux !  queue !
>>> rtpmp4vpay ! udpsink port=5000 -v"
>>> works?
>>>
>>> On Fri, Apr 17, 2009 at 7:13 AM, shirie <shizibo at gmail.com> wrote:
>>>>
>>>> Yes, the pipeline works well. Here is the output:
>>>>
>>>> Setting pipeline to PAUSED ...
>>>> /pipeline0/bin/typefind.src: caps = video/quicktime
>>>> Pipeline is PREROLLING ...
>>>> /pipeline0/bin/queue0.sink: caps = video/mpeg, mpegversion=(int)4,
>>>> systemstream=(boolean)false,
>>>> codec_data=(buffer)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
>>>> width=(int)320, height=(int)240, framerate=(fraction)15/1
>>>> /pipeline0/bin/queue0.src: caps = video/mpeg, mpegversion=(int)4,
>>>> systemstream=(boolean)false,
>>>> codec_data=(buffer)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
>>>> width=(int)320, height=(int)240, framerate=(fraction)15/1
>>>> /pipeline0/bin/ffdec_mpeg40.sink: caps = video/mpeg,
>>>> mpegversion=(int)4,
>>>> systemstream=(boolean)false,
>>>> codec_data=(buffer)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
>>>> width=(int)320, height=(int)240, framerate=(fraction)15/1
>>>> /pipeline0/bin/ffdec_mpeg40.src: caps = video/x-raw-yuv,
>>>> width=(int)320,
>>>> height=(int)240, framerate=(fraction)15/1, format=(fourcc)I420,
>>>> pixel-aspect-ratio=(fraction)1/1
>>>> /pipeline0/ffmpegcsp0.src: caps = video/x-raw-yuv, width=(int)320,
>>>> height=(int)240, framerate=(fraction)15/1, format=(fourcc)I420,
>>>> pixel-aspect-ratio=(fraction)1/1
>>>> /pipeline0/ffmpegcsp0.sink: caps = video/x-raw-yuv, width=(int)320,
>>>> height=(int)240, framerate=(fraction)15/1, format=(fourcc)I420,
>>>> pixel-aspect-ratio=(fraction)1/1
>>>> /pipeline0/bin.src0: caps = video/x-raw-yuv, width=(int)320,
>>>> height=(int)240, framerate=(fraction)15/1, format=(fourcc)I420,
>>>> pixel-aspect-ratio=(fraction)1/1
>>>> /pipeline0/bin.src0.proxypad1: caps = video/x-raw-yuv, width=(int)320,
>>>> height=(int)240, framerate=(fraction)15/1, format=(fourcc)I420,
>>>> pixel-aspect-ratio=(fraction)1/1
>>>> /pipeline0/bin/queue1.sink: caps = audio/mpeg, mpegversion=(int)4,
>>>> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>>>> channels=(int)2
>>>> /pipeline0/bin/queue1.src: caps = audio/mpeg, mpegversion=(int)4,
>>>> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>>>> channels=(int)2
>>>> /pipeline0/bin/faad0.sink: caps = audio/mpeg, mpegversion=(int)4,
>>>> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>>>> channels=(int)2
>>>> /pipeline0/bin/faad0.src: caps = audio/x-raw-int, endianness=(int)1234,
>>>> signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)32000,
>>>> channels=(int)2, channel-positions=(GstAudioChannelPosition)<
>>>> GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT,
>>>> GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT >
>>>> /pipeline0/audioconvert0.src: caps = audio/x-raw-int,
>>>> endianness=(int)1234,
>>>> signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)32000,
>>>> channels=(int)2, channel-positions=(GstAudioChannelPosition)<
>>>> GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT,
>>>> GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT >
>>>> /pipeline0/audioconvert0.sink: caps = audio/x-raw-int,
>>>> endianness=(int)1234,
>>>> signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)32000,
>>>> channels=(int)2, channel-positions=(GstAudioChannelPosition)<
>>>> GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT,
>>>> GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT >
>>>> /pipeline0/bin.src1: caps = audio/x-raw-int, endianness=(int)1234,
>>>> signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)32000,
>>>> channels=(int)2, channel-positions=(GstAudioChannelPosition)<
>>>> GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT,
>>>> GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT >
>>>> /pipeline0/bin.src1.proxypad2: caps = audio/x-raw-int,
>>>> endianness=(int)1234,
>>>> signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)32000,
>>>> channels=(int)2, channel-positions=(GstAudioChannelPosition)<
>>>> GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT,
>>>> GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT >
>>>> /pipeline0/alsasink0.sink: caps = audio/x-raw-int,
>>>> endianness=(int)1234,
>>>> signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)32000,
>>>> channels=(int)2, channel-positions=(GstAudioChannelPosition)<
>>>> GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT,
>>>> GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT >
>>>> /pipeline0/xvimagesink0.sink: caps = video/x-raw-yuv, width=(int)320,
>>>> height=(int)240, framerate=(fraction)15/1, format=(fourcc)I420,
>>>> pixel-aspect-ratio=(fraction)1/1
>>>> Pipeline is PREROLLED ...
>>>> Setting pipeline to PLAYING ...
>>>> New clock: GstAudioSinkClock
>>>>
>>>> So how can I add rtp-related elements to it? THanks.
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/help%3A-about-rtp-tp23051783p23089705.html
>>>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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
>>>> gstreamer-devel at lists.sourceforge.net
>>>> 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
>>> gstreamer-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/help%3A-about-rtp-tp23051783p23092807.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>> gstreamer-devel at lists.sourceforge.net
>> 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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 

-- 
View this message in context: http://www.nabble.com/help%3A-about-rtp-tp23051783p23109706.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.





More information about the gstreamer-devel mailing list