-
Re-stream RPT to HTTP Live streaming
Hello everybody.
I have a problem streaming video to iPhones and iPads.
I have a server with CentOS installed and it recieves live video stream with RTP protocol on 8888 port. In VLC I've used rtp://@:8888 to open that stream.
I need to transcode this stream to H.264 video and AAC audio with MPEG-TS incapsulation so iPhones and iPads could play it.
Is it possible to do with Wowza? I've used VLC, but it's not fail-safe and there is a bug with idr_pic_id (x264 bug) which is the purpose of problems with playing stream. I'm looking for alternative and want to know, if it possible to re-stream my RTP stream to HTTP Live streaming with Wowza Media Server. And if it's possible, how to configure Wowza for this aim. I've tried to find any guide, but I didn't find any suitable guide.
I'll appreciate any help.
Thanks.
-
Wowza does not do any transcoding. If the original RTP stream is encoded as H.264/AAC, Wowza can packetize it and transmit it for iPhone/iPad via HLS. To do this, you'd want to use the rtp-live application type and enable cupertino packetizer and streamer in your Application.xml.
Several folks posting here have had success with VLC and ffmpeg for transcoding a live stream, but those methods aren't officially supported. If you dig around, you can probably find a config that works for you.
-ian
-
Thanks for the reply.
Original RTP stream is encoded as H.264/MP3, I'm not sure that iPhones would "understand" this, but I'm ready to try.
As I understood you the right way, you're advicing to use this guide: http://www.wowzamedia.com/quickstart...live-ip-camera step-by-step, but enabling cupertino and streamer, right? Is that guide is fully for me?
Could you advice, how to set Wowza for listening 8888 RTP stream on port? I should put rtp://@:8888 into [install-dir]/content/camera.stream?
Thanks again.
-
Ok, now that's what I've done.
I've followed this guide: http://www.wowzamedia.com/forums/content.php?37 - it contains rtp stream as input and mpeg-ts stream as output, so I've decided to use this guide.
In step: "4. Using a text editor create the file [install-dir]/content/mpegts.stream set the contents of this file to udp://0.0.0.0:10000 (if you are receiving a multicast stream, change the 0.0.0.0 part to the multicast address of the stream)"
I've typed rtp://0.0.0.0:8888
I made everything the same as in that guide and when I'm trying to open http://[wowza-address]:1935/live/mpe.../playlist.m3u8 in browser, it says that page not found.
Why is that? What I've done wrong? I've opened 1935 port and 8086 - is it necessary to open any other ports?
Original RTP stream is encoded with VLC and it's H.264/AAC (RTP/MPEG Transport Team as destination).
Help me if somebody met with such case of using Wowza.
Thanks.
-
An http url ending with /playlist.m3u8 is for Cupertino (IPhone, etc) streaming. If won't work in a browser.
Try the Wowza LiveVideoStreaming Example player:
Server: rtmp://[wowza-address]:1935/live
Stream: mpegts.stream
Richard
-
One way to test it in a browser would be to use Safari and an HTML5 <VIDEO> tag.
http://www.w3schools.com/html5/tag_video.asp
If you do src="http://.....m3u8", you should be able to see the HLS video. Only works in Safari/Mac, though, and you need a pretty recent version of OSX.
Last edited by ianbeyer; 10-24-2010 at 06:46 AM.
-
See http://discovervideo.com/transcoder
Now working with adaptive bit rate streaming (Smoothstreaming)
-
-
ping me at rmavro@discovervideo.com and I'll send you a live link. Don't want to post it here (it is bandwidth limited right now).
-
Thanks to everybody who helped me.
I've done it - with the guide I linked above, I recieve RPT/MPEG-TS packed stream with H.264/AAC and successfully re-stream it to iPhone app.
But there is one more thing - I have mistiming of sound and video. Sound has a delay in ~0.5-0.8 sec. It's quite a big amount. Is there a way to avoid this?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules