On Jun 6, 2013, at 19:26 , Andrey Utkin wrote:

> 2013/6/6 Kalileo <[email protected]>:
>> 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);
> 

Thanks Andrey, that's exactly what I needed!

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to