[FFmpeg-devel] [PATCH] avformat/mpegts: add skip_unknown_pmt option

Devin Heitmueller dheitmueller at kernellabs.com
Fri May 18 20:28:07 EEST 2018

> The issue is that the PMT PID advertised in the PAT contains multiple PMTs
> for different programs. This is because the broadcaster decided to re-use
> the same PID for multiple program PMTs.

Ugh, ok.  I understand the case you're talking about now.  Thanks for

> To be clear, this issue is specific to _filtered_ mpegts streams. In this
> case, my tuner hardware is trying to filter the mpegts stream from the
> broadcaster to include only the program I care about.

This is actually what I assumed, but I thought you were referring to
the broken behavior found in some of the LinuxTV command line tools
which allow you to save the TS but they don't include the PAT in the
list of filtered PIDs.

Now that I understand what you're trying to do, the approach you've
proposed makes sense.  I withdrawal any objections.


Devin J. Heitmueller - Kernel Labs

More information about the ffmpeg-devel mailing list