[FFmpeg-devel] [PATCH v2] * mpegts demuxer recognizes private streams on demand

Hendrik Leppkes h.leppkes at gmail.com
Thu Jun 4 01:04:04 CEST 2015


On Thu, Jun 4, 2015 at 12:52 AM, Wolfgang Lorenz <wl-chmw at gmx.de> wrote:
> Here is a new version, that doesn't touch the way ffmpeg behaves
> without further user actions:
>
> I added a new flag to AVFormatContext, that activates the check for
> private streams, when set. It can be used like this:
>
>     AVFormatContext * formatContext = avformat_alloc_context();
>     formatContext->flags |= AVFMT_FLAG_MPEGTS_RECOGNIZE_PRIVATE_STREAMS;
>     avformat_open_input(&formatContext, fileName, NULL, NULL);
>

Please make this a private option to the mpegts demuxer instead of a
mpegts specific flag in global space.

- Hendrik


More information about the ffmpeg-devel mailing list