On Fri, Jun 23, 2017 at 4:42 PM, <ffm...@a.legko.ru> wrote: > > Hi! > (corrected version of the patch.) > > 1. adding missed but required options for libavformat/mpegts encoder in > ffmpeg_opt.c. also, it makes it possible to add pcr_pid for separate > program inside TS. > options are: > service_provider: any provider name (only default FFMPEG is present in > original code) > service_name: alias for title, used in mpegtsenc.c. it is present > there, but never defined. > pcr_pid: if required, it is possible to set the PCR pid for separate > program inside TS > > 2. ffmpeg.c, when encoding multiple streams, stops encoding threads even > when loop counter is set for separate input stream. adding corresponding > function to correct the situation. > > 3. libavformat/mpegtsenc.c: adding multiprogram TS mode; thus, streams > can be organized into progs as it is done in DVB streams. for that, PCR > selection (auto) algo was changed (according to TS standart, each prog > must have PCR pid inside). old PCR selection (auto) mode remains for > 1-prog case. > > 4. possible to set default title|service_name/service_provider/pcr_pid > via -metadata option (as in example below for the last prog). metadata > options are used in 1-prog stream. > > >
Individual changes should be submitted as seperate patches. Having several unrelated changes in one patch makes it impossible to apply or even properly review it. - Hendrik _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel