AW: Has Anyone Been Successful in Streaming From Gstreamer to a WowzaServer in Windows?

Matthias Dodt MDodt at xion-medical.com
Thu Jul 21 00:41:24 PDT 2011


Hi William!

I also checked the OSSBuild repository for the RTSP Server. It seems that it's still under development- but you can find it after checking out the repository in:

[ossbuild_trunk]\Main\GStreamer\Source\gst-rtsp-server

There is a README file for a start but you will have to do some implementation in C i guess. I did not use it yet but I would like to in the future- let me know if you manage to get it run-

Best,

mat

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel-bounces+mdodt=xion-medical.com at lists.freedesktop.org [mailto:gstreamer-devel-bounces+mdodt=xion-medical.com at lists.freedesktop.org] Im Auftrag von William Metcalf
Gesendet: 20 July 2011 23:47
An: nicolas at cim.mcgill.ca; Discussion of the development of and with GStreamer
Betreff: Re: Has Anyone Been Successful in Streaming From Gstreamer to a WowzaServer in Windows?

I am unable to find the GstRTSPServer for windows.  I searched it some 
on google and I checked OSSBuilds but I was not able to find it.  Could 
you please provide with a link or some more information on how to get 
the rtsp server in Windows.

Thanks again,
William

On 7/20/2011 3:52 PM, Nicolas Bouillot wrote:
> payloading is done during transmission. The audio video encoding can be
> done during transmission, as in my previous example, or encoded before.
> This second option saves CPU since encoding is done only one time, not
> each time a client access the stream.
>
> To do that:
> 1) Encode the video file to be streamed:
> gst-launch filesrc location=<your video file>  ! decodebin2 ! x264enc \
> bitrate=500 ! ffmux_ipod ! filesink location=encoded_video_file.mp4
>
> 2) Encode the audio file:
> gst-launch filesrc location=<your audio file>  ! decodebin2 ! faac ! \
> ffmux_ipod ! filesink location=encoded_audio_file.mp4
>
> 3) lunch the RTSP server as follow:
> ./test-launch "( filesrc location=encoded_video_file.mp4 ! qtdemux ! \
> h264parse ! rtph264pay name=pay0   \
> filesrc location=encoded_audio_file.mp4 ! qtdemux ! aacparse ! \
> rtpmp4gpay name=pay1 )"
>
> Also to be more specific, "repacked" means that wowza is not re-encoding
> audio and video, but just converting network packet header the
> appropriate format during transmission, depending on which protocol the
> client access the wowza server (Flash streaming or others).
>
> Nicolas
>
> On Wed, 2011-07-20 at 14:57 -0500, William Metcalf wrote:
>> Nicolas,
>>
>> Thank you for your response.  I just have a few questions.  I have not
>> used the gst rtsp server before..  From a little bit of research it
>> seems like I can just create the rtsp server in a gstreamer
>> application.  So I will need to encode my audio and video into aac/h264,
>> then payload them with the respective rtp payloaders, and then I can use
>> the rtsp server to send the payloaded data to the wowza server where it
>> will be repackaged.  Does that sound correct to you?
>>
>> Thank you,
>> William
>>
>> On 7/20/2011 2:40 PM, Nicolas Bouillot wrote:
>>> On Linux yes, maybe the following can help for windows. But you need
>>> anyway to have your data encoded to h264/aac.
>>>
>>> With the rtsp server, you can try the following (it worked for me with
>>> gst-rtsp-0.10.5):
>>> ./test-launch "( audiotestsrc ! audio/x-raw-int, endianness=(int)1234, \
>>> signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, \
>>> channels=(int)2 ! queue ! faac ! rtpmp4gpay name=pay0 videotestsrc ! \
>>> video/x-raw-yuv, format=(fourcc)I420, width=(int)640, height=(int)480, \
>>> framerate=(fraction)15/1 ! queue ! x264enc bitrate=500 ! rtph264pay \
>>> name=pay1 )"
>>>
>>> Then wowza can forward (by repacking) this RTSP stream:
>>> http://www.wowzamedia.com/forums/showthread.php?4403-Re-streaming-an-RTSP-stream-through-Wowza-Pro-%28RTSP-RTP%29
>>>
>>> Nicolas
>>>
>>> On Wed, 2011-07-20 at 14:04 -0500, William Metcalf wrote:
>>>> Hello all,
>>>>
>>>> I have been reading through various forums on the Internet, and it seems
>>>> that many people are having problems using GStreamer to stream a feed to
>>>> a Wowza server.  Some posts seem to show that people have been able to
>>>> stream a feed and are having problems with syncing issues, but most
>>>> posts seem to show that people are having a very tough time trying to
>>>> get a feed to stream correctly.  I am just wondering if anybody on the
>>>> forum has actually been able to successfully stream video and/or audio
>>>> from a gstreamer application to a wowza server, and if so, what elements
>>>> you used to accomplish this task.  Also, if you have not been able to
>>>> connect gstreamer to wowza successfully, has anybody been able to
>>>> connect gstreamer to any other streaming media service such as WMS or Helix?
>>>>
>>>> Thank you all for your help,
>>>> William
>>>> _______________________________________________
>>>> 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
>> _______________________________________________
>> 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

_______________________________________________
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