help: about rtp

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

help: about rtp

shirie
hi, all. I'm trying the rtp plugin refer to the doc at:

http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtp/README?revision=1.13&view=markup

Here's my simple pipeline:
gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \
d. ! { queue ! rtpmp4vpay ! udpsink port=5000 } \
d. ! { queue ! rtpmp4gpay ! udpsink port=5002 }

but after it's run, here is the output:

Setting pipeline to PAUSED ...
/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)3831296950, clock-base=(guint)4106776350, seqnum-base=(guint)53267, 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/queue1.sink: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000, channels=(int)2
/pipeline0/queue1.src: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000, channels=(int)2
/pipeline0/rtpmp4gpay0.src: caps = application/x-rtp, media=(string)audio, payload=(int)96, clock-rate=(int)32000, encoding-name=(string)MPEG4-GENERIC, ssrc=(guint)3458294825, clock-base=(guint)2594580451, seqnum-base=(guint)42905, encoding-params=(string)2, streamtype=(string)5, profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
/pipeline0/rtpmp4gpay0.sink: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000, channels=(int)2
/pipeline0/udpsink1.sink: caps = application/x-rtp, media=(string)audio, payload=(int)96, clock-rate=(int)32000, encoding-name=(string)MPEG4-GENERIC, ssrc=(guint)3458294825, clock-base=(guint)2594580451, seqnum-base=(guint)42905, encoding-params=(string)2, streamtype=(string)5, profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
/pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, ssrc=(guint)3831296950, clock-base=(guint)4106776350, seqnum-base=(guint)53267, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

According to the doc, there should be udpsink0 and udpsink1, but I only have one udpsink in the output.
Is there anything wrong  with my pipeline? I'm fairly new with gstreamer. Can anyone hlep me? Thanks very much.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: help: about rtp

Thiago Sousa Santos-2


On Wed, Apr 15, 2009 at 12:07 AM, Zibo SHI <[hidden email]> wrote:
hi, all. I'm trying the rtp plugin refer to the doc at:

http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtp/README?revision=1.13&view=markup

Here's my simple pipeline:
gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \
d. ! { queue ! rtpmp4vpay ! udpsink port=5000 } \
d. ! { queue ! rtpmp4gpay ! udpsink port=5002 }

but after it's run, here is the output:

Setting pipeline to PAUSED ...
/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)3831296950, clock-base=(guint)4106776350, seqnum-base=(guint)53267, 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/queue1.sink: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000, channels=(int)2
/pipeline0/queue1.src: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000, channels=(int)2
/pipeline0/rtpmp4gpay0.src: caps = application/x-rtp, media=(string)audio, payload=(int)96, clock-rate=(int)32000, encoding-name=(string)MPEG4-GENERIC, ssrc=(guint)3458294825, clock-base=(guint)2594580451, seqnum-base=(guint)42905, encoding-params=(string)2, streamtype=(string)5, profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
/pipeline0/rtpmp4gpay0.sink: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000, channels=(int)2
 
 
here

/pipeline0/udpsink1.sink: caps = application/x-rtp, media=(string)audio, payload=(int)96, clock-rate=(int)32000, encoding-name=(string)MPEG4-GENERIC, ssrc=(guint)3458294825, clock-base=(guint)2594580451, seqnum-base=(guint)42905, encoding-params=(string)2, streamtype=(string)5, profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
 

and here

/pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, ssrc=(guint)3831296950, clock-base=(guint)4106776350, seqnum-base=(guint)53267, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34
 

Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

According to the doc, there should be udpsink0 and udpsink1, but I only have one udpsink in the output.
Is there anything wrong  with my pipeline? I'm fairly new with gstreamer. Can anyone hlep me? Thanks very much.

Look again, there they are!
 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Thiago Sousa Santos

Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: help: about rtp

shirie
sorry, I mispaste the output. Here is the correct:
THe pipeline is :
gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \
d. ! { queue ! rtpmp4gpay ! udpsink port=5000 }  \
d. ! { queue ! rtpmp4vpay ! udpsink port=5002 }

and the output is;
Setting pipeline to PAUSED ...
/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/rtpmp4gpay0.src: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MPEG4-GENERIC, ssrc=(guint)80355967, clock-base=(guint)309711442, seqnum-base=(guint)5287, streamtype=(string)4, profile-level-id=(string)1, mode=(string)generic, config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
/pipeline0/rtpmp4gpay0.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)MPEG4-GENERIC, ssrc=(guint)80355967, clock-base=(guint)309711442, seqnum-base=(guint)5287, streamtype=(string)4, profile-level-id=(string)1, mode=(string)generic, config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
Pipeline is PREROLLING ...

There is really only one udpsink. What's problem?

thiagoss wrote
On Wed, Apr 15, 2009 at 12:07 AM, Zibo SHI <shizibo@gmail.com> wrote:

> hi, all. I'm trying the rtp plugin refer to the doc at:
>
>
> http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtp/README?revision=1.13&view=markup
>
> Here's my simple pipeline:
> gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \
> d. ! { queue ! rtpmp4vpay ! udpsink port=5000 } \
> d. ! { queue ! rtpmp4gpay ! udpsink port=5002 }
>
> but after it's run, here is the output:
>
> Setting pipeline to PAUSED ...
> /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)3831296950, clock-base=(guint)4106776350,
> seqnum-base=(guint)53267, 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/queue1.sink: caps = audio/mpeg, mpegversion=(int)4,
> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
> channels=(int)2
> /pipeline0/queue1.src: caps = audio/mpeg, mpegversion=(int)4,
> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
> channels=(int)2
> /pipeline0/rtpmp4gpay0.src: caps = application/x-rtp, media=(string)audio,
> payload=(int)96, clock-rate=(int)32000, encoding-name=(string)MPEG4-GENERIC,
> ssrc=(guint)3458294825, clock-base=(guint)2594580451,
> seqnum-base=(guint)42905, encoding-params=(string)2, streamtype=(string)5,
> profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290,
> sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
> /pipeline0/rtpmp4gpay0.sink: caps = audio/mpeg, mpegversion=(int)4,
> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
> channels=(int)2



here

>
> /pipeline0/udpsink1.sink: caps = application/x-rtp, media=(string)audio,
> payload=(int)96, clock-rate=(int)32000, encoding-name=(string)MPEG4-GENERIC,
> ssrc=(guint)3458294825, clock-base=(guint)2594580451,
> seqnum-base=(guint)42905, encoding-params=(string)2, streamtype=(string)5,
> profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290,
> sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3



and here

>
> /pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video,
> payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
> ssrc=(guint)3831296950, clock-base=(guint)4106776350,
> seqnum-base=(guint)53267, profile-level-id=(string)1,
> config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34



>
> Pipeline is PREROLLING ...
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
>
> According to the doc, there should be udpsink0 and udpsink1, but I only
> have one udpsink in the output.
> Is there anything wrong  with my pipeline? I'm fairly new with gstreamer.
> Can anyone hlep me? Thanks very much.
>

Look again, there they are!


>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>


--
Thiago Sousa Santos

Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: help: about rtp

Thiago Sousa Santos-2


On Wed, Apr 15, 2009 at 10:44 PM, shirie <[hidden email]> wrote:

sorry, I mispaste the output. Here is the correct:
THe pipeline is :
gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \
d. ! { queue ! rtpmp4gpay ! udpsink port=5000 }  \
d. ! { queue ! rtpmp4vpay ! udpsink port=5002 }

and the output is;
Setting pipeline to PAUSED ...
/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/rtpmp4gpay0.src: caps = application/x-rtp, media=(string)video,
payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MPEG4-GENERIC,
ssrc=(guint)80355967, clock-base=(guint)309711442, seqnum-base=(guint)5287,
streamtype=(string)4, profile-level-id=(string)1, mode=(string)generic,
config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
/pipeline0/rtpmp4gpay0.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)MPEG4-GENERIC,
ssrc=(guint)80355967, clock-base=(guint)309711442, seqnum-base=(guint)5287,
streamtype=(string)4, profile-level-id=(string)1, mode=(string)generic,
config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
Pipeline is PREROLLING ...

There is really only one udpsink. What's problem?

Try setting the queue's max size to a greater value.
 



thiagoss wrote:
>
> On Wed, Apr 15, 2009 at 12:07 AM, Zibo SHI <[hidden email]> wrote:
>
>> hi, all. I'm trying the rtp plugin refer to the doc at:
>>
>>
>> http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtp/README?revision=1.13&view=markup
>>
>> Here's my simple pipeline:
>> gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \
>> d. ! { queue ! rtpmp4vpay ! udpsink port=5000 } \
>> d. ! { queue ! rtpmp4gpay ! udpsink port=5002 }
>>
>> but after it's run, here is the output:
>>
>> Setting pipeline to PAUSED ...
>> /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)3831296950, clock-base=(guint)4106776350,
>> seqnum-base=(guint)53267, 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/queue1.sink: caps = audio/mpeg, mpegversion=(int)4,
>> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>> channels=(int)2
>> /pipeline0/queue1.src: caps = audio/mpeg, mpegversion=(int)4,
>> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>> channels=(int)2
>> /pipeline0/rtpmp4gpay0.src: caps = application/x-rtp,
>> media=(string)audio,
>> payload=(int)96, clock-rate=(int)32000,
>> encoding-name=(string)MPEG4-GENERIC,
>> ssrc=(guint)3458294825, clock-base=(guint)2594580451,
>> seqnum-base=(guint)42905, encoding-params=(string)2,
>> streamtype=(string)5,
>> profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290,
>> sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
>> /pipeline0/rtpmp4gpay0.sink: caps = audio/mpeg, mpegversion=(int)4,
>> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>> channels=(int)2
>
>
>
> here
>
>>
>> /pipeline0/udpsink1.sink: caps = application/x-rtp, media=(string)audio,
>> payload=(int)96, clock-rate=(int)32000,
>> encoding-name=(string)MPEG4-GENERIC,
>> ssrc=(guint)3458294825, clock-base=(guint)2594580451,
>> seqnum-base=(guint)42905, encoding-params=(string)2,
>> streamtype=(string)5,
>> profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290,
>> sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
>
>
>
> and here
>
>>
>> /pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video,
>> payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
>> ssrc=(guint)3831296950, clock-base=(guint)4106776350,
>> seqnum-base=(guint)53267, profile-level-id=(string)1,
>> config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34
>
>
>
>>
>> Pipeline is PREROLLING ...
>> Pipeline is PREROLLED ...
>> Setting pipeline to PLAYING ...
>> New clock: GstSystemClock
>>
>> According to the doc, there should be udpsink0 and udpsink1, but I only
>> have one udpsink in the output.
>> Is there anything wrong  with my pipeline? I'm fairly new with gstreamer.
>> Can anyone hlep me? Thanks very much.
>>
>
> Look again, there they are!
>
>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> High Quality Requirements in a Collaborative Environment.
>> Download a free trial of Rational Requirements Composer Now!
>> http://p.sf.net/sfu/www-ibm-com
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>
>
> --
> Thiago Sousa Santos
>
> Embedded Systems and Pervasive Computing Lab (Embedded)
> Center of Electrical Engineering and Informatics (CEEI)
> Federal University of Campina Grande (UFCG)
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>

--
View this message in context: http://www.nabble.com/help%3A-about-rtp-tp23051783p23070080.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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
Thiago Sousa Santos

Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)

------------------------------------------------------------------------------
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: help: about rtp

Thiago Sousa Santos-2


On Wed, Apr 15, 2009 at 11:11 PM, thiagoss <[hidden email]> wrote:


On Wed, Apr 15, 2009 at 10:44 PM, shirie <[hidden email]> wrote:

sorry, I mispaste the output. Here is the correct:
THe pipeline is :
gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \
d. ! { queue ! rtpmp4gpay ! udpsink port=5000 }  \
d. ! { queue ! rtpmp4vpay ! udpsink port=5002 }

and the output is;
Setting pipeline to PAUSED ...
/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/rtpmp4gpay0.src: caps = application/x-rtp, media=(string)video,
payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MPEG4-GENERIC,
ssrc=(guint)80355967, clock-base=(guint)309711442, seqnum-base=(guint)5287,
streamtype=(string)4, profile-level-id=(string)1, mode=(string)generic,
config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
/pipeline0/rtpmp4gpay0.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)MPEG4-GENERIC,
ssrc=(guint)80355967, clock-base=(guint)309711442, seqnum-base=(guint)5287,
streamtype=(string)4, profile-level-id=(string)1, mode=(string)generic,
config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
Pipeline is PREROLLING ...

There is really only one udpsink. What's problem?

Try setting the queue's max size to a greater value.
Also, it seems that your second queue (the audio one) doesn't receive any data. Did you try another file? Maybe one that data is interleaved?

I guess that the first udpsink is waiting to sync with the other one that never receives data because the video queue has blocked (already is full) and consequently might block the demuxer. But I might be wrong, I haven't gone far in gst in clock/sync issues.

 



thiagoss wrote:
>
> On Wed, Apr 15, 2009 at 12:07 AM, Zibo SHI <[hidden email]> wrote:
>
>> hi, all. I'm trying the rtp plugin refer to the doc at:
>>
>>
>> http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtp/README?revision=1.13&view=markup
>>
>> Here's my simple pipeline:
>> gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \
>> d. ! { queue ! rtpmp4vpay ! udpsink port=5000 } \
>> d. ! { queue ! rtpmp4gpay ! udpsink port=5002 }
>>
>> but after it's run, here is the output:
>>
>> Setting pipeline to PAUSED ...
>> /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)3831296950, clock-base=(guint)4106776350,
>> seqnum-base=(guint)53267, 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/queue1.sink: caps = audio/mpeg, mpegversion=(int)4,
>> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>> channels=(int)2
>> /pipeline0/queue1.src: caps = audio/mpeg, mpegversion=(int)4,
>> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>> channels=(int)2
>> /pipeline0/rtpmp4gpay0.src: caps = application/x-rtp,
>> media=(string)audio,
>> payload=(int)96, clock-rate=(int)32000,
>> encoding-name=(string)MPEG4-GENERIC,
>> ssrc=(guint)3458294825, clock-base=(guint)2594580451,
>> seqnum-base=(guint)42905, encoding-params=(string)2,
>> streamtype=(string)5,
>> profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290,
>> sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
>> /pipeline0/rtpmp4gpay0.sink: caps = audio/mpeg, mpegversion=(int)4,
>> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>> channels=(int)2
>
>
>
> here
>
>>
>> /pipeline0/udpsink1.sink: caps = application/x-rtp, media=(string)audio,
>> payload=(int)96, clock-rate=(int)32000,
>> encoding-name=(string)MPEG4-GENERIC,
>> ssrc=(guint)3458294825, clock-base=(guint)2594580451,
>> seqnum-base=(guint)42905, encoding-params=(string)2,
>> streamtype=(string)5,
>> profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290,
>> sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
>
>
>
> and here
>
>>
>> /pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video,
>> payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
>> ssrc=(guint)3831296950, clock-base=(guint)4106776350,
>> seqnum-base=(guint)53267, profile-level-id=(string)1,
>> config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34
>
>
>
>>
>> Pipeline is PREROLLING ...
>> Pipeline is PREROLLED ...
>> Setting pipeline to PLAYING ...
>> New clock: GstSystemClock
>>
>> According to the doc, there should be udpsink0 and udpsink1, but I only
>> have one udpsink in the output.
>> Is there anything wrong  with my pipeline? I'm fairly new with gstreamer.
>> Can anyone hlep me? Thanks very much.
>>
>
> Look again, there they are!
>
>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> High Quality Requirements in a Collaborative Environment.
>> Download a free trial of Rational Requirements Composer Now!
>> http://p.sf.net/sfu/www-ibm-com
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>
>
> --
> Thiago Sousa Santos
>
> Embedded Systems and Pervasive Computing Lab (Embedded)
> Center of Electrical Engineering and Informatics (CEEI)
> Federal University of Campina Grande (UFCG)
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>

--
View this message in context: http://www.nabble.com/help%3A-about-rtp-tp23051783p23070080.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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
Thiago Sousa Santos

Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)



--
Thiago Sousa Santos

Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)

------------------------------------------------------------------------------
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: help: about rtp

shirie
How to set the queue size and how large it should be ok?

I don't know what's going on. I just do what the doc says. I want to test transmitting video use rtp. So how should I built a proper pipeline?
Thanks.

thiagoss wrote
On Wed, Apr 15, 2009 at 11:11 PM, thiagoss <thiagossantos@gmail.com> wrote:

>
>
> On Wed, Apr 15, 2009 at 10:44 PM, shirie <shizibo@gmail.com> wrote:
>
>>
>> sorry, I mispaste the output. Here is the correct:
>> THe pipeline is :
>> gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \
>> d. ! { queue ! rtpmp4gpay ! udpsink port=5000 }  \
>> d. ! { queue ! rtpmp4vpay ! udpsink port=5002 }
>>
>> and the output is;
>> Setting pipeline to PAUSED ...
>> /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/rtpmp4gpay0.src: caps = application/x-rtp, media=(string)video,
>> payload=(int)96, clock-rate=(int)90000,
>> encoding-name=(string)MPEG4-GENERIC,
>> ssrc=(guint)80355967, clock-base=(guint)309711442,
>> seqnum-base=(guint)5287,
>> streamtype=(string)4, profile-level-id=(string)1, mode=(string)generic,
>>
>> config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
>> sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
>> /pipeline0/rtpmp4gpay0.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)MPEG4-GENERIC,
>> ssrc=(guint)80355967, clock-base=(guint)309711442,
>> seqnum-base=(guint)5287,
>> streamtype=(string)4, profile-level-id=(string)1, mode=(string)generic,
>>
>> config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
>> sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
>> Pipeline is PREROLLING ...
>>
>> There is really only one udpsink. What's problem?
>
>
> Try setting the queue's max size to a greater value.
>
Also, it seems that your second queue (the audio one) doesn't receive any
data. Did you try another file? Maybe one that data is interleaved?

I guess that the first udpsink is waiting to sync with the other one that
never receives data because the video queue has blocked (already is full)
and consequently might block the demuxer. But I might be wrong, I haven't
gone far in gst in clock/sync issues.


>
>>
>>
>>
>> thiagoss wrote:
>> >
>> > On Wed, Apr 15, 2009 at 12:07 AM, Zibo SHI <shizibo@gmail.com> wrote:
>> >
>> >> hi, all. I'm trying the rtp plugin refer to the doc at:
>> >>
>> >>
>> >>
>> http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtp/README?revision=1.13&view=markup
>> >>
>> >> Here's my simple pipeline:
>> >> gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \
>> >> d. ! { queue ! rtpmp4vpay ! udpsink port=5000 } \
>> >> d. ! { queue ! rtpmp4gpay ! udpsink port=5002 }
>> >>
>> >> but after it's run, here is the output:
>> >>
>> >> Setting pipeline to PAUSED ...
>> >> /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)3831296950, clock-base=(guint)4106776350,
>> >> seqnum-base=(guint)53267, 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/queue1.sink: caps = audio/mpeg, mpegversion=(int)4,
>> >> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>> >> channels=(int)2
>> >> /pipeline0/queue1.src: caps = audio/mpeg, mpegversion=(int)4,
>> >> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>> >> channels=(int)2
>> >> /pipeline0/rtpmp4gpay0.src: caps = application/x-rtp,
>> >> media=(string)audio,
>> >> payload=(int)96, clock-rate=(int)32000,
>> >> encoding-name=(string)MPEG4-GENERIC,
>> >> ssrc=(guint)3458294825, clock-base=(guint)2594580451,
>> >> seqnum-base=(guint)42905, encoding-params=(string)2,
>> >> streamtype=(string)5,
>> >> profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290,
>> >> sizelength=(string)13, indexlength=(string)3,
>> indexdeltalength=(string)3
>> >> /pipeline0/rtpmp4gpay0.sink: caps = audio/mpeg, mpegversion=(int)4,
>> >> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>> >> channels=(int)2
>> >
>> >
>> >
>> > here
>> >
>> >>
>> >> /pipeline0/udpsink1.sink: caps = application/x-rtp,
>> media=(string)audio,
>> >> payload=(int)96, clock-rate=(int)32000,
>> >> encoding-name=(string)MPEG4-GENERIC,
>> >> ssrc=(guint)3458294825, clock-base=(guint)2594580451,
>> >> seqnum-base=(guint)42905, encoding-params=(string)2,
>> >> streamtype=(string)5,
>> >> profile-level-id=(string)2, mode=(string)AAC-hbr, config=(string)1290,
>> >> sizelength=(string)13, indexlength=(string)3,
>> indexdeltalength=(string)3
>> >
>> >
>> >
>> > and here
>> >
>> >>
>> >> /pipeline0/udpsink0.sink: caps = application/x-rtp,
>> media=(string)video,
>> >> payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
>> >> ssrc=(guint)3831296950, clock-base=(guint)4106776350,
>> >> seqnum-base=(guint)53267, profile-level-id=(string)1,
>> >>
>> config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34
>> >
>> >
>> >
>> >>
>> >> Pipeline is PREROLLING ...
>> >> Pipeline is PREROLLED ...
>> >> Setting pipeline to PLAYING ...
>> >> New clock: GstSystemClock
>> >>
>> >> According to the doc, there should be udpsink0 and udpsink1, but I only
>> >> have one udpsink in the output.
>> >> Is there anything wrong  with my pipeline? I'm fairly new with
>> gstreamer.
>> >> Can anyone hlep me? Thanks very much.
>> >>
>> >
>> > Look again, there they are!
>> >
>> >
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> This SF.net email is sponsored by:
>> >> High Quality Requirements in a Collaborative Environment.
>> >> Download a free trial of Rational Requirements Composer Now!
>> >> http://p.sf.net/sfu/www-ibm-com
>> >> _______________________________________________
>> >> gstreamer-devel mailing list
>> >> gstreamer-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> >>
>> >>
>> >
>> >
>> > --
>> > Thiago Sousa Santos
>> >
>> > Embedded Systems and Pervasive Computing Lab (Embedded)
>> > Center of Electrical Engineering and Informatics (CEEI)
>> > Federal University of Campina Grande (UFCG)
>> >
>> >
>> ------------------------------------------------------------------------------
>> > This SF.net email is sponsored by:
>> > High Quality Requirements in a Collaborative Environment.
>> > Download a free trial of Rational Requirements Composer Now!
>> > http://p.sf.net/sfu/www-ibm-com
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > gstreamer-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/help%3A-about-rtp-tp23051783p23070080.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@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
>
>
> --
> Thiago Sousa Santos
>
> Embedded Systems and Pervasive Computing Lab (Embedded)
> Center of Electrical Engineering and Informatics (CEEI)
> Federal University of Campina Grande (UFCG)
>



--
Thiago Sousa Santos

Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)

------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: help: about rtp

ved kpl
Hi,

Does
"gst-launch filesrc location=shake.mp4 ! decodebin name=bin !
ffmpegcolorspace ! xvimagesink bin. !  audioconvert ! alsasink -v"
work?
Can you attach the logs of the above pipeline?

~ Regards
Ved


On Thu, Apr 16, 2009 at 8:00 AM, shirie <[hidden email]> wrote:

>
> How to set the queue size and how large it should be ok?
>
> I don't know what's going on. I just do what the doc says. I want to test
> transmitting video use rtp. So how should I built a proper pipeline?
> Thanks.
>
>
> thiagoss wrote:
>>
>> On Wed, Apr 15, 2009 at 11:11 PM, thiagoss <[hidden email]>
>> wrote:
>>
>>>
>>>
>>> On Wed, Apr 15, 2009 at 10:44 PM, shirie <[hidden email]> wrote:
>>>
>>>>
>>>> sorry, I mispaste the output. Here is the correct:
>>>> THe pipeline is :
>>>> gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \
>>>> d. ! { queue ! rtpmp4gpay ! udpsink port=5000 }  \
>>>> d. ! { queue ! rtpmp4vpay ! udpsink port=5002 }
>>>>
>>>> and the output is;
>>>> Setting pipeline to PAUSED ...
>>>> /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/rtpmp4gpay0.src: caps = application/x-rtp,
>>>> media=(string)video,
>>>> payload=(int)96, clock-rate=(int)90000,
>>>> encoding-name=(string)MPEG4-GENERIC,
>>>> ssrc=(guint)80355967, clock-base=(guint)309711442,
>>>> seqnum-base=(guint)5287,
>>>> streamtype=(string)4, profile-level-id=(string)1, mode=(string)generic,
>>>>
>>>> config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
>>>> sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
>>>> /pipeline0/rtpmp4gpay0.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)MPEG4-GENERIC,
>>>> ssrc=(guint)80355967, clock-base=(guint)309711442,
>>>> seqnum-base=(guint)5287,
>>>> streamtype=(string)4, profile-level-id=(string)1, mode=(string)generic,
>>>>
>>>> config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34,
>>>> sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3
>>>> Pipeline is PREROLLING ...
>>>>
>>>> There is really only one udpsink. What's problem?
>>>
>>>
>>> Try setting the queue's max size to a greater value.
>>>
>> Also, it seems that your second queue (the audio one) doesn't receive any
>> data. Did you try another file? Maybe one that data is interleaved?
>>
>> I guess that the first udpsink is waiting to sync with the other one that
>> never receives data because the video queue has blocked (already is full)
>> and consequently might block the demuxer. But I might be wrong, I haven't
>> gone far in gst in clock/sync issues.
>>
>>
>>>
>>>>
>>>>
>>>>
>>>> thiagoss wrote:
>>>> >
>>>> > On Wed, Apr 15, 2009 at 12:07 AM, Zibo SHI <[hidden email]> wrote:
>>>> >
>>>> >> hi, all. I'm trying the rtp plugin refer to the doc at:
>>>> >>
>>>> >>
>>>> >>
>>>> http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtp/README?revision=1.13&view=markup
>>>> >>
>>>> >> Here's my simple pipeline:
>>>> >> gst-launch -v filesrc location=shake.mp4 ! qtdemux name=d \
>>>> >> d. ! { queue ! rtpmp4vpay ! udpsink port=5000 } \
>>>> >> d. ! { queue ! rtpmp4gpay ! udpsink port=5002 }
>>>> >>
>>>> >> but after it's run, here is the output:
>>>> >>
>>>> >> Setting pipeline to PAUSED ...
>>>> >> /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)3831296950, clock-base=(guint)4106776350,
>>>> >> seqnum-base=(guint)53267, 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/queue1.sink: caps = audio/mpeg, mpegversion=(int)4,
>>>> >> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>>>> >> channels=(int)2
>>>> >> /pipeline0/queue1.src: caps = audio/mpeg, mpegversion=(int)4,
>>>> >> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>>>> >> channels=(int)2
>>>> >> /pipeline0/rtpmp4gpay0.src: caps = application/x-rtp,
>>>> >> media=(string)audio,
>>>> >> payload=(int)96, clock-rate=(int)32000,
>>>> >> encoding-name=(string)MPEG4-GENERIC,
>>>> >> ssrc=(guint)3458294825, clock-base=(guint)2594580451,
>>>> >> seqnum-base=(guint)42905, encoding-params=(string)2,
>>>> >> streamtype=(string)5,
>>>> >> profile-level-id=(string)2, mode=(string)AAC-hbr,
>>>> config=(string)1290,
>>>> >> sizelength=(string)13, indexlength=(string)3,
>>>> indexdeltalength=(string)3
>>>> >> /pipeline0/rtpmp4gpay0.sink: caps = audio/mpeg, mpegversion=(int)4,
>>>> >> framed=(boolean)true, codec_data=(buffer)1290, rate=(int)32000,
>>>> >> channels=(int)2
>>>> >
>>>> >
>>>> >
>>>> > here
>>>> >
>>>> >>
>>>> >> /pipeline0/udpsink1.sink: caps = application/x-rtp,
>>>> media=(string)audio,
>>>> >> payload=(int)96, clock-rate=(int)32000,
>>>> >> encoding-name=(string)MPEG4-GENERIC,
>>>> >> ssrc=(guint)3458294825, clock-base=(guint)2594580451,
>>>> >> seqnum-base=(guint)42905, encoding-params=(string)2,
>>>> >> streamtype=(string)5,
>>>> >> profile-level-id=(string)2, mode=(string)AAC-hbr,
>>>> config=(string)1290,
>>>> >> sizelength=(string)13, indexlength=(string)3,
>>>> indexdeltalength=(string)3
>>>> >
>>>> >
>>>> >
>>>> > and here
>>>> >
>>>> >>
>>>> >> /pipeline0/udpsink0.sink: caps = application/x-rtp,
>>>> media=(string)video,
>>>> >> payload=(int)96, clock-rate=(int)90000,
>>>> encoding-name=(string)MP4V-ES,
>>>> >> ssrc=(guint)3831296950, clock-base=(guint)4106776350,
>>>> >> seqnum-base=(guint)53267, profile-level-id=(string)1,
>>>> >>
>>>> config=(string)000001b001000001b58913000001000000012000c48d88007d0a041e1463000001b24c61766335312e34302e34
>>>> >
>>>> >
>>>> >
>>>> >>
>>>> >> Pipeline is PREROLLING ...
>>>> >> Pipeline is PREROLLED ...
>>>> >> Setting pipeline to PLAYING ...
>>>> >> New clock: GstSystemClock
>>>> >>
>>>> >> According to the doc, there should be udpsink0 and udpsink1, but I
>>>> only
>>>> >> have one udpsink in the output.
>>>> >> Is there anything wrong  with my pipeline? I'm fairly new with
>>>> gstreamer.
>>>> >> Can anyone hlep me? Thanks very much.
>>>> >>
>>>> >
>>>> > Look again, there they are!
>>>> >
>>>> >
>>>> >>
>>>> >>
>>>> >>
>>>> ------------------------------------------------------------------------------
>>>> >> This SF.net email is sponsored by:
>>>> >> High Quality Requirements in a Collaborative Environment.
>>>> >> Download a free trial of Rational Requirements Composer Now!
>>>> >> http://p.sf.net/sfu/www-ibm-com
>>>> >> _______________________________________________
>>>> >> gstreamer-devel mailing list
>>>> >> [hidden email]
>>>> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>> > --
>>>> > Thiago Sousa Santos
>>>> >
>>>> > Embedded Systems and Pervasive Computing Lab (Embedded)
>>>> > Center of Electrical Engineering and Informatics (CEEI)
>>>> > Federal University of Campina Grande (UFCG)
>>>> >
>>>> >
>>>> ------------------------------------------------------------------------------
>>>> > This SF.net email is sponsored by:
>>>> > High Quality Requirements in a Collaborative Environment.
>>>> > Download a free trial of Rational Requirements Composer Now!
>>>> > http://p.sf.net/sfu/www-ibm-com
>>>> > _______________________________________________
>>>> > gstreamer-devel mailing list
>>>> > [hidden email]
>>>> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>> >
>>>> >
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/help%3A-about-rtp-tp23051783p23070080.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
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Thiago Sousa Santos
>>>
>>> Embedded Systems and Pervasive Computing Lab (Embedded)
>>> Center of Electrical Engineering and Informatics (CEEI)
>>> Federal University of Campina Grande (UFCG)
>>>
>>
>>
>>
>> --
>> Thiago Sousa Santos
>>
>> Embedded Systems and Pervasive Computing Lab (Embedded)
>> Center of Electrical Engineering and Informatics (CEEI)
>> Federal University of Campina Grande (UFCG)
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>>
>
> --
> View this message in context: http://www.nabble.com/help%3A-about-rtp-tp23051783p23070414.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
> [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
Reply | Threaded
Open this post in threaded view
|

Re: help: about rtp

shirie
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.
Reply | Threaded
Open this post in threaded view
|

Re: help: about rtp

ved kpl
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 <[hidden email]> 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
> [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
Reply | Threaded
Open this post in threaded view
|

Re: help: about rtp

shirie
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@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@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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: help: about rtp

ved kpl
Hi,

Try setting async = FALSE on the udpsinks



On Fri, Apr 17, 2009 at 1:19 PM, shirie <[hidden email]> 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 <[hidden email]> 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
>>> [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
>>
>>
>
> --
> 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
> [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
Reply | Threaded
Open this post in threaded view
|

Re: help: about rtp

shirie
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@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@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@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@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@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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel