HLS to Local UDP using FFMpeg
This is how to use FFMPEG to take an HLS (or any Network Source) and "re-direct" it as a local standard UDP for the Recorder:
This typical command will take ALL the streams in the source and they will be accessible locally as a standard Transport Stream
- -reconnect 1 = reconnects to stream if disconnected
- -reconnect_at_eof 1 = reconnects to stream at End Of File
- -reconnect_streamed 1 = reconnect to streamed session
- -reconnect_delay_max 2 = reconnection delay if stream failed
The following are commands on what the local Stream will appear like:
- -c:v libx264 = make any video input be a standard H264
- -c:a aac = make any audio input into a standard AAC
- -b:a 64k = make any audio input use 64k Bitrate
- -ar 48000 = make any audio input into 48khz
- -map 0 = makes all inputs available for the recorder
Using the -map 0:xx command, you can specify which exact streams you want to use, if you only need a few of them to be available for the Recorder
Related Articles
HLS Streams for Testing
NEW Streaming - Tested January 2, 2023 Perfect Test Channel: http://www.nacentapps.com/m3u8/index.m3u8 http://srv6.zoeweb.tv:1935/z330-live/stream/playlist.m3u8 http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8 SD ...
TSDuck - MPEG Transport Stream Toolkit
TSDuck is an extensible toolkit for MPEG/DVB transport streams. TSDuck is used in digital television systems for test, monitoring, integration, debug, lab, demo. This toolkit contains many variables, here we will currently focus on HLS streams ...
ActTS - Automatic Uploading of EPG/Guide
Step 1: SystemConfig - Creating the TS Go to the C:\Actus\Bin folder and run the SystemConfig tool If your system has an active license of Transport Stream, then you will have that section appearing in the left panel SystemConfig - TS ...
DekTec - DVB Configuration
1) In order to configure a DekTec DVB type card, we must first install the DtInfo tool and open it, first screen will look similar to this: 2) From this screen we can take important information that will be used for the configuration (eg: Bus and ...
ActTS - Channel Configuration
ActTS tool allows the system to Capture Transport Stream (.ts) sources directly without encoding involved, preserving all the source quality and information. In order to do this, we need to edit two configuration files: ActControl.cfg - This will ...