Precise cleaning with HTTP Live Streaming

I use HTTP Streaming for my iPhone application (as Apple requires). However, cleaning the video is noticeably inaccurate. Whenever I look for time in a video, it goes to the beginning of the time of the nearest segment. This happens with both MPMoviePlayerController and AVPlayer (using seekToTime: with a tolerance of 0).

Have others got a problem? Has anyone found a way to get accurate cleanup using HTTP Live Streaming? I am willing to go low if necessary. The Youtube app has an accurate cleanup, but I don't think it uses HTTP Live Streaming. Can anyone confirm / deny?

Update: I am using a mediafilesegmenter with default settings (10 sec / piece). My master .m3u8 looks like

#EXTM3U #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=957267 http://[...].m3u8?file_urlkey=[...] #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=258157 http://[...].m3u8?file_urlkey=[...] #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=53220 http://[...].m3u8?file_urlkey=[...] 

Customized .m3u8s look like

 #EXTM3U #EXT-X-ALLOW-CACHE:YES #EXT-X-TARGETDURATION:10 #EXTINF:9.9988149305, http://[...].ts?bytes=0-1195491 #EXTINF:9.9988149305, http://[...].ts?bytes=1195492-2390983 #EXTINF:9.9988149305, http://[...].ts?bytes=2390984-3586475 #EXTINF:9.9988149305, http://[...].ts?bytes=3586476-4781967 #EXTINF:9.9988149305, http://[...].ts?bytes=4781968-5977459 #EXTINF:0.345925347493, http://[...].ts?bytes=5977460-6018819 #EXT-X-ENDLIST 

Thanks!

+4
source share
2 answers

Searching in the middle of segments is not possible using HTTP Live Streaming - I confirmed Apple’s ad on WWDC.

But they said search accuracy would be improved in iOS5.

+2
source

We use HTTP Live Streaming and cleanup. What did you use to decode / segment your videos? Since I assume this is more a playlist file (m3u8) problem, not the implementation itself.

+2
source

All Articles