2017-02-03, 11:20 PM
spaceghost2000 Wrote:So I'm wondering what the tv channel feed would have to do with the duration not being tagged on a local .TS file (your item #2)?It's not uncommon for players to misreport the duration of .ts files recorded from digital broadcast tv. How accurate the duration will depend on player, and what the broadcaster is doing in the stream.
There is no "duration" information stored in a .ts file... All through the file though, there is timestamps on the audio and video data. A basic player often looks at the first and last timestamps in the file, and assumes the duration is the difference between the two. Unfortunately that is not always true, since broadcasters often reset the timestamps mid stream (like when they've spliced in other video content, with a different timestamp range). Some players just report a duration of zero if the end timestamp is smaller than the start timestamp.
More sophisicated players consider these timestamps, but also look at things like the bitrate and size of the file to make a best guess of duration.
NextPVR is just recording a bit for bit copy of whatever the digital broacast contained, including timestamps. When you run it through tsmuxer, you're effectively rewriting the timestamps from the broadcast with newly calculated timestamps.
That said, most broadcasters a pretty good with this stuff, and broadcast a nice monotonically increasing timestamp. If you're seeing these types of issues often, it's likely your broadcaster isn't as well behaved on this front.