HTTP Live Streaming encoders - http

I'm developing an iPhone app which helps you stream videos from IP camera into your iPhone. Here I need to use HTTP Live streaming. I wanted to know about any encoders required to convert ip camera output to MPEG-2 transport stream. Thanks.

Might sound obvious but you could push the camera stream to some media server like Wowza, and transcode it to HLS there easily. HLS is "native" for iOS so your iPhone won't be having any troubles with playback.

Related

How to convert udp mpeg ts stream to http stream?

I'm trying to stream a live video on a website and I already have a udp mpeg-ts. I cannot show this stream on html so I wanna convert this stream to http on server then send it to clients. how can I do that using ffmpeg?
any other solution accepted too.
thank you
The key question is - do you need a low latency live streaming or 15-30 seconds latency is OK for you. If you don't need low latency, use ffmpeg to ingest your udp mpeg-ts and output HLS.
For low latency live streaming to web browsers, you will have to install a media server software, such as Wowza / Unreal Media Server / Red5 or similar.
The media server will ingest your udp mpeg-ts and will convert it to WebRTC streams playable by web browsers.

Hls stream -> Nginx (free) -> Rtsp stream

Is that even possible? I would like to stream a 4K Stereo video and although VLC seems to work i want a more stable option like NGINX.

How to force stream RTP video with vlc over tcp protocol?

I'm trying to stream a video via rtp with vlc, the default protocol is UDP, but its performance is very low (bitrate, resolution, smooth,..)
So, I want to use vlc with rtp to stream video over tcp protocol to gain higher performance.
Are there anyone can help me to force vlc streaming rtp over tcp protocol.
Please help me if you have any idea.
Thank you so much!
If you're using the command-line client then add the --rtsp-tcp options:
vlc --rtsp-tcp rtsp://path/to/stream
This article may be useful:
https://web.archive.org/web/20151117041313/http://www.wowza.com/forums/content.php?64-How-to-configure-VLC-media-player-for-RTSP-RTP-playback-(RTSP-RTP-interleaved-and-tuning)
This article explains how to configure the VideoLAN VLC media player to stream live or on demand streams through RTSP/RTP over TCP (RTSP/RTP interleaved). While HTTP streaming is a newer standard offering more features, RTSP/RTP streaming may work better when streaming through a firewall/router, which doesn't have UDP streaming open.

Playing RTP stream in flex

I am trying to play the RTP playload in flex but no success. Can some enlighten me how to achieve this without using RTMP Server as middle ware.
You can't do that without using an RTMP server. The NetConnection class you find in Flex can send and receive RTMP streams, and those streams can have the same payload you find in RTP packets. Although, to unpack RTP packets and create RTMP packets you need an RTMP server like Wowza Media Server, or something alike.
There are several open source media servers you can use:
Red5
Wowza
RTMPD
Any of these would suit your purpose. Flex makes the client side pretty trivial too.

Video stream over ethernet

I have several video servers connected to each other over 1Giga bit ethernet cable.
Video clips can be send from one server to another or live broadcasting.
What best protocol should I use (UDP, TCP...) to achive real time transfering of HD video frames?
RTSP or a new combination like RTP over ZeroMQ.

Resources