Re: Why does ffmpeg expose PID 0x1FFF (null packets) as a selectable audio stream on Blu-ray playback?
Hello all, Following up with my findings. 2026年1月21日(水) 11:31 桃源老師 <xanadu6291@gmail.com>:
When playing a Blu-ray ISO / BDMV structure created with tsMuxeR using ffplay, ffmpeg reports an extra audio stream:
This behavior is not only visible in ffplay, but also affects mpv, since it relies on ffmpeg library. In mpv, the null-packet PID becomes selectable as an audio track, and switching to it results in silence and potential user confusion. Playback itself is not broken, but from a UX perspective, it seems undesirable for null packets to be exposed as audio streams.
I tested the same source using different versions of tsMuxeR: - *tsMuxeR 2.7.0* inserts MPEG-TS NULL packets in the generated BDMV streams, which leads to playback warnings / timing issues in software players. - *tsMuxeR 1.12.14b (final 1.x)* does not insert NULL packets, and the resulting Blu-ray plays back without any issues. The input and Blu-ray structure are identical; only the tsMuxeR version differs. Although NULL packets are valid per MPEG-TS specification, in this case they negatively affect UX. Based on this comparison, the issue comes from a behavior change in tsMuxeR 2.x, not from ffmpeg/ffplay. Just sharing this in case it helps others. Best regards, Togen-Roushi
participants (1)
-
桃源老師