Has Anyone Been Successful in Streaming From Gstreamer to a Wowza Server in Windows?
wmetcalf at niftytv.com
Wed Jul 20 14:46:59 PDT 2011
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.
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).
> On Wed, 2011-07-20 at 14:57 -0500, William Metcalf wrote:
>> 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,
>> 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
>>> ./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:
>>> 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,
>>>> gstreamer-devel mailing list
>>>> gstreamer-devel at lists.freedesktop.org
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
More information about the gstreamer-devel