[Libav-user] Setting mpegts_pmt_start_pid for hls segment/mpegts muxer or programmatically ?
Andrey Utkin
andrey.krieger.utkin at gmail.com
Thu Jun 6 14:26:27 CEST 2013
2013/6/6 Kalileo <kalileo at universalx.net>:
> Is there any way to set the PMT pid programmatically ?
AVDictionary *opts = NULL;
av_dict_set(&opts, "mpegts_pmt_start_pid", "0x2000" /* example value */, 0);
/* more av_dict_set() calls same way */
int ret = avformat_write_header(muxer_context, &opts);
av_dict_free(&opts);
--
Andrey Utkin
More information about the Libav-user
mailing list