2013/6/6 Kalileo <kali...@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
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to