sl_asher 0 Posted April 19, 2019 Share Posted April 19, 2019 (edited) Hello. Seeking an RTSP stream (vod actually) is very slow. You have to wait double the TS segment duration. For example: Say each segment duration is 3 seconds. 1. I'm currently at 11.ts (~33 seconds) and I seek to 40.ts (~120 seconds) - Here player stalls for 40.ts (~120 seconds) and only starts playing after 80.ts. 2. I'm currently at 100.ts (~300 seconds) and I seek to 300.ts (~900 seconds) - Here player stalls for 300.ts (~900 seconds) and only starts playing after 301.ts. I tried 3 different streams and all produces same result. I can seek without problem using MPV, VLC and ffplay. So I don't think there's a problem with the stream. Here's a sample stream if you want to test it: rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov Attached log is for the first example. Emby Server: 4.1.0.26 IPTV Plugin: 1.1.9.0 Hopefully my explanation made sense. embyserver.txt ffmpeg-transcode-1690ecaa-7d09-4421-b491-ef533ecd333c_1.txt ffmpeg-transcode-a8f2a41f-e83c-466b-bfe0-cff7d34555a5_1.txt Edited April 19, 2019 by sl_asher Link to comment Share on other sites More sharing options...
sl_asher 0 Posted April 19, 2019 Author Share Posted April 19, 2019 6b80d57c0f64b00e9f86c9a27ee213da.m3u8 file before seeking #EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-ALLOW-CACHE:YES #EXT-X-TARGETDURATION:4 #EXTINF:3.375000, 6b80d57c0f64b00e9f86c9a27ee213da0.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da1.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da2.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da3.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da4.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da5.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da6.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da7.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da8.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da9.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da10.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da11.ts 6b80d57c0f64b00e9f86c9a27ee213da.m3u8 file after seeking complete #EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-ALLOW-CACHE:YES #EXT-X-TARGETDURATION:4 #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da40.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da41.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da42.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da43.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da44.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da45.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da46.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da47.ts #EXTINF:3.416667, 6b80d57c0f64b00e9f86c9a27ee213da48.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da49.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da50.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da51.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da52.ts #EXTINF:2.916667, 6b80d57c0f64b00e9f86c9a27ee213da53.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da54.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da55.ts #EXTINF:2.750000, 6b80d57c0f64b00e9f86c9a27ee213da56.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da57.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da58.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da59.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da60.ts #EXTINF:2.916667, 6b80d57c0f64b00e9f86c9a27ee213da61.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da62.ts #EXTINF:3.375000, 6b80d57c0f64b00e9f86c9a27ee213da63.ts #EXTINF:2.833333, 6b80d57c0f64b00e9f86c9a27ee213da64.ts #EXTINF:3.250000, 6b80d57c0f64b00e9f86c9a27ee213da65.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da66.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da67.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da68.ts #EXTINF:2.541667, 6b80d57c0f64b00e9f86c9a27ee213da69.ts #EXTINF:3.166667, 6b80d57c0f64b00e9f86c9a27ee213da70.ts #EXTINF:3.166667, 6b80d57c0f64b00e9f86c9a27ee213da71.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da72.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da73.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da74.ts #EXTINF:2.958333, 6b80d57c0f64b00e9f86c9a27ee213da75.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da76.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da77.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da78.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da79.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da80.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da81.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da82.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da83.ts #EXTINF:3.000000, 6b80d57c0f64b00e9f86c9a27ee213da84.ts #EXTINF:1.083333, 6b80d57c0f64b00e9f86c9a27ee213da85.ts #EXT-X-ENDLIST Maybe it has something to do with seek overwriting the playlist file? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now