Seeking in mpeg-ts over http
Posted: 10 Oct 2018 11:52
Hi,
I have been struggeling with this now for several days and I just can't get it to work as I would like.
The problem I have is with setPosition. I is VERY unreliable. I have been using a simple test where i just use setPosition(0.5f) to be able to seek to the middle of the stream. It does seek but not as expected. The larger the stream the more off it is - about 20 seconds for an hour long stream.
I have been trying with every option I can figure out (--no-ts-trust-pcr, --ts-seek-percent …) but the result is always the same. setTime() does not seem to work at all.
Is there anything I can do here to be able to get a normal working seek working? I am using the Android implementation if that is of any use.
Suggestions are much appreciated!
I have been struggeling with this now for several days and I just can't get it to work as I would like.
The problem I have is with setPosition. I is VERY unreliable. I have been using a simple test where i just use setPosition(0.5f) to be able to seek to the middle of the stream. It does seek but not as expected. The larger the stream the more off it is - about 20 seconds for an hour long stream.
I have been trying with every option I can figure out (--no-ts-trust-pcr, --ts-seek-percent …) but the result is always the same. setTime() does not seem to work at all.
Is there anything I can do here to be able to get a normal working seek working? I am using the Android implementation if that is of any use.
Suggestions are much appreciated!