HLS Output Setup

QUESTION:

How does HLS work, and how can I set up my application to stream it?

ANSWER:

First, the HLS is looks for the static keyframe rate for segmentation. Then it looks for audio for segmentation.  After the input commands please use the following example output commands:

Video (H.264) can be copied or explicit.
vcodec copy -acodec copy
-muxdelay 0.0 -rtsp_transport tcp -f rtsp rtsp://output_ip:8554/live/stream2

Audio (aac) can be copied or explicit.
-vcodec copy -acodec aac -muxdelay 0.0 -rtsp_transport tcp -f rtsp rtsp://output_ip:8554/live/stream2

In order to use HLS please take a look at our HLS Plugin.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.