[FFmpeg-trac] #5239(avformat:closed): support options for MPEGTS muxer when using RTP_MPEGTS
FFmpeg
trac at avcodec.org
Thu Apr 8 13:38:38 EEST 2021
#5239: support options for MPEGTS muxer when using RTP_MPEGTS
-------------------------------------+------------------------------------
Reporter: mattdicken | Owner:
Type: enhancement | Status: closed
Priority: normal | Component: avformat
Version: git-master | Resolution: fixed
Keywords: rtp_mpegts | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 1 |
-------------------------------------+------------------------------------
Comment (by wolfgang_bauer):
With the `-mpegts_muxer_options` it would look like this:
(I've altered the OP's code to emphasize the usage of the new
`-mpegts_muxer_options`.
FYI:
OP's value for `mpegts_pmt_start_pid` was `0x001E` which is `30` in
decimal. But minimum is `0x0020` which is `32` in decimal.)
'''MPEGTS over RTP'''
{{{
ffmpeg -i "input" -c:v libx264 -b:v 1M -b:a 384k ^
-mpegts_muxer_options
"muxrate=8000k:mpegts_pmt_start_pid=32:mpegts_transport_stream_id=1:mpegts_original_network_id=65281:mpegts_service_id=1:mpegts_start_pid=256:mpegts_service_type=digital_radio"
^
-metadata service_provider="Provider" -metadata service_name="Service 1"
rtp://239.118.0.20:11820?pkt_size=1316
}}}
''I've added the windows cmd line breaks `^` for readability. Use `\` for
*nix OS.''
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5239#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list