This example uses EFP (ElasticFramingProtocol)
Kissnet for sending/recieving UDP packets
and a patched Akanchis TS-Demuxer for muxing/demuxing MPEG-TS.
This simple example 'ts2efp' expects a H264 video stream and at least one AAC stream in the MPEG-TS data 127.0.0.1:8080. The example maps one video and one audio to EFP and sends the EFP data to 127.0.0.1:8090.
The example 'efp2ts' expects EFP arriving at 127.0.0.1:8090 and multiplexes the data to mpeg-ts and sends it to 127.0.0.1:8100.
Release:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config Release
Debug:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build . --config Debug
Run the system:
- Start a MPEG-TS generator (Example script streamts.sh)
- start the TS -> EFP program (ts2efp)
- start the EFP -> TS program (efp2ts)
- start ffmplay or any other mpeg-ts player udp://127.0.0.1:8100
MIT
Read LICENSE.md for details