[FFmpeg-devel] [PATCH] avformat: Add rtp_mpegtsraw (MPEG-TS RAW Stream output)

Andreas Håkon andreas.hakon at protonmail.com
Fri Jan 13 14:57:28 EET 2017


Hi,

I resend the attachment with the correct mime type: text/plain
Sorry!




-------- Original Message --------
Subject: [PATCH] avformat: Add rtp_mpegtsraw (MPEG-TS RAW Stream output)
From: andreas.hakon at protonmail.com
To: ffmpeg-devel at ffmpeg.org <ffmpeg-devel at ffmpeg.org>

Hi,

This patch adds a new MUXER named "rtp_mpegtsraw". This new muxer works with
the "mpegtsraw" input demuxer. The objective is enable direct bitstream
input-output of MPEG-TS for RTP+FEC. Using the recent support for Pro-MPEG CoP
FEC protocol, you can now use FFmpeg for streaming any UDP/RTP MPEG-TS stream.

Example:

ffmpeg -f mpegtsraw -i udp://239.8.8.8:12345 -map 0 -c copy -f rtp_mpegtsraw -fec prompeg=l=8:d=8 rtp://239.9.9.9:10000

In this example FFmpeg reads from the network one stream in UDP o RTP format
from the multicast address 239.8.8.8:12345 and re-encapsulates it without
remuxing to the multicast address 239.9.9.9 using RTP+FEC
(ports 10000 & 10001 are for the base RTP, port 10002 are for "row" and 10004
are for "column").

If you ever have had the need to do use FFmpeg in plain "bitstream" mode
with MPEG-TS streams, you have luck: know you can!

Please comment,
Andreas Håkon
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-avformat-Add-rtp_mpegtsraw-MPEG-TS-RAW-Stream-output.patch.txt
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170113/ac9585fc/attachment.txt>


More information about the ffmpeg-devel mailing list