Timeshift with a growing file - seeking in a TS stream
Posted: 29 Aug 2011 21:09
I've made a simple timeshift script using a growing file of saved TS stream coming from my TV card. One thing I'd really like to implement would be a function to automatically skip to realtime, which means a few seconds from the end of the file. Since VLC can't read timing information from TS streams, the only thing that works here is to pass the command "seek 99%" to VLC. The problem here is that the seek command isn't accurate enough - if it would understand floating point it would be easy to calculate a reasonable buffer from the file size. But when you have a hours long timeshift file, one percent will mean several minutes.
Is there anything useful that I'm missing? Is it possible to tell VLC to skip to a certain byte position of the file, for example?
Is there anything useful that I'm missing? Is it possible to tell VLC to skip to a certain byte position of the file, for example?