mirror of https://git.ffmpeg.org/ffmpeg.git
e24d768a76
Some filtered mpegts streams may erroneously include PMTs for programs that are not advertised in the PAT. This confuses ffmpeg and most players because multiple audio/video streams are created and it is unclear which ones actually contain data. See for example https://tmm1.s3.amazonaws.com/unknown-pmts.ts In this sample, the PAT advertises exactly one program. But the pid it points to for the program's PMT contains PMTs for other programs as well. This is because the broadcaster decided to re-use the same pid for multiple program PMTs. The hardware that filtered the original multi-program stream into a single-program stream did so by rewriting the PAT to contain only the program that was requested. But since it just passed through the PMT pid referenced in the PAT, multiple PMTs are still present for the other programs. Before: Input #0, mpegts, from 'unknown-pmts.ts': Duration: 00:00:10.11, start: 80741.189700, bitrate: 9655 kb/s Program 4 Stream #0:2[0x41]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 11063 kb/s, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc Stream #0:3[0x44](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:4[0x45](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 128 kb/s No Program Stream #0:0[0x31]: Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv), 90k tbr, 90k tbn, 90k tbc Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 0 channels, fltp Stream #0:5[0x51]: Video: mpeg2video ([2][0][0][0] / 0x0002), none, 90k tbr, 90k tbn Stream #0:6[0x54](eng): Audio: ac3 (AC-3 / 0x332D4341), 0 channels With skip_unknown_pmt=1: Input #0, mpegts, from 'unknown-pmts.ts': Duration: 00:00:10.11, start: 80741.189700, bitrate: 9655 kb/s Program 4 Stream #0:0[0x41]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 11063 kb/s, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc Stream #0:1[0x44](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:2[0x45](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 128 kb/s Signed-off-by: Aman Gupta <aman@tmm1.net> |
||
---|---|---|
.. | ||
doxy | ||
examples | ||
.gitignore | ||
APIchanges | ||
Doxyfile | ||
Makefile | ||
authors.texi | ||
bitstream_filters.texi | ||
bootstrap.min.css | ||
build_system.txt | ||
codecs.texi | ||
decoders.texi | ||
default.css | ||
demuxers.texi | ||
developer.texi | ||
devices.texi | ||
doxy-wrapper.sh | ||
encoders.texi | ||
errno.txt | ||
faq.texi | ||
fate.texi | ||
fate_config.sh.template | ||
ffmpeg-bitstream-filters.texi | ||
ffmpeg-codecs.texi | ||
ffmpeg-devices.texi | ||
ffmpeg-filters.texi | ||
ffmpeg-formats.texi | ||
ffmpeg-protocols.texi | ||
ffmpeg-resampler.texi | ||
ffmpeg-scaler.texi | ||
ffmpeg-utils.texi | ||
ffmpeg.texi | ||
ffmpeg.txt | ||
ffplay.texi | ||
ffprobe.texi | ||
ffprobe.xsd | ||
fftools-common-opts.texi | ||
filter_design.txt | ||
filters.texi | ||
formats.texi | ||
general.texi | ||
git-howto.texi | ||
indevs.texi | ||
issue_tracker.txt | ||
lexicon | ||
libav-merge.txt | ||
libavcodec.texi | ||
libavdevice.texi | ||
libavfilter.texi | ||
libavformat.texi | ||
libavutil.texi | ||
libswresample.texi | ||
libswscale.texi | ||
mailing-list-faq.texi | ||
metadata.texi | ||
mips.txt | ||
multithreading.txt | ||
muxers.texi | ||
nut.texi | ||
optimization.txt | ||
outdevs.texi | ||
patchwork | ||
platform.texi | ||
print_options.c | ||
protocols.texi | ||
rate_distortion.txt | ||
resampler.texi | ||
scaler.texi | ||
snow.txt | ||
style.min.css | ||
swresample.txt | ||
swscale.txt | ||
t2h.init | ||
t2h.pm | ||
tablegen.txt | ||
texi2pod.pl | ||
texidep.pl | ||
undefined.txt | ||
utils.texi | ||
writing_filters.txt |