[FFmpeg-user] rtp_mpegts metadata copying and pmt_pid/pcr_pid setting

Micael Silva micaelsilva at gmail.com
Tue Jun 11 22:39:49 EEST 2019


On Tue, Jun 11, 2019 at 4:27 PM Felipe W Damasio <felipewd at taghos.com.br>
wrote:

> Hi all,
>
>  I've trying to use ffmpeg to replicate a signal from one multicast RTP
> (using MPEGTS) to another, just to act as a kind of mirror signal.
>
>   I'm having to problems with this. First one is that the metadata isn't
> being copied. I understand that there's a bug[1] and even a proposed
> patch[2], but no final solution. Does any know how is this going?
>
>  Also, the rtp_mpegts muxer is setting pmt_pid and pcr_pid  (using ffprobe
> -show_programs) to default values. 4096 and 256 respectively .I'd like to
> set them to the same value as the source (which is 598 and 801, if it
> matters). Usually this can be done using the mpegts muxer, but with
> rtp_mpegts there doesn't seem to be any option. Does anyone know how can
> this be done?
>
>  We need this for a satellite encoder which requires the same values in
> order to detect the streams.
>
>  Thanks!
>
>  Felipe Damasio
>
>
>  [1]https://trac.ffmpeg.org/ticket/7293
>  [2] http://ffmpeg.org/pipermail/ffmpeg-user/2018-July/040417.html
>
>
Did the output option -streamid has some use on this case?


More information about the ffmpeg-user mailing list