how to output rtp stream from a wav file by gstreamer pipeline

Soho Soho123 soho123.2012 at gmail.com
Sun Aug 26 23:09:42 PDT 2012


Hi Emile,


Thank you for your input!
the gst-launch command I will use:
gst-launch-0.10 -v filesrc location=/bin/audio_src_48k_le.wav !
wavparse ! rtpL16pay ! udpsink

How about to set the client ip and port?

And in advance about VLC,
Do you know how to inpur sdp information for VLC?
Since I have try to google the information about sdp for vlc. no any
helpful information about sdp.
the rtp payload type is 96 always.
Do you have idea?

Thanks!
Soho


2012/8/27 Emile Semmes <emile.semmes at e6group.com>:
> If your wav file is basically uncompressed audio (LPCM), if you take the src
> pad from wavparse, you can payload it as L16 audio. For example:
>
> filesrc ! wavparse ! rtpL16pay ! udpsink
>
> You'll have to play with that pipeline a bit, but it should be enough to get
> you started. Especially since you're streaming from a file, you'll need to
> make sure you throttle it so the file seems like a live source and it
> doesn't send it as fast as possible.
>
> Also, VLC probably won't know the stream unless you provide it an .sdp file
> with the media and payload defined in it.
>
> HTH,
> Emile
>
> --
> Emile Semmes
> Software Consultant
> e6 Group, LLC
> www.e6group.com
>
>
> On 8/26/2012 7:20 PM, Soho Soho123 wrote:
>>
>> Hi all,
>>
>> Does anyone have idea about :
>> using gst-launch command to output rtp stream from a wav file?
>> I just like to get rtp stream only for my rtp receiver,
>> When I try to use VLC to output a rtp stream, it will use dynamic RTP
>> payload type (96) for every rtp packet.
>> It seems does not correct type.
>> I would like to use gstreamer to generate a rtp stream for my rtp receiver
>> .
>> Any ideas ?
>> Or where I can find the example?
>>
>> Thanks!
>>
>> Best Regards,
>> Soho
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list