Closed IanDBird closed 8 years ago
The media is strange, in that many PES packets within the stream don't declare pts timestamps. In other words, ptsFlag
is false here.
It's probably possible to work around the issue specifically where the first PES packet does declare a pts timestamp and where the frame duration is known. Fixing wont be high priority, however.
@AquilesCanta - This would be a good thing to fix. In the case that PesReader sees a packet where ptsFlag isn't set, it sets timeUs to 0 and ends up propagating this to its payload reader. It should probably propagate a "not set" constant of some kind. This would allow the payload reader to increment time by itself in the case that it knows the sample duration (as is the case here).
A fix will be available in the next release.
I'll send the file separately, but we have found a playback issue on the Nvidia Shield when playing some MPEG2 content via HLS. Playback basically stutters and only shows a frame every 2-3 seconds. The audio appears to play back correctly though.
The media information:
I'll send the HLS files separately...