Bug #1818

HLS playing hangs if you seek over the end of item playtime if autoplay is enabled (all platforms)

Added by Leonid Protasov almost 7 years ago. Updated almost 7 years ago.

Status:FixedStart date:01/02/2014
Priority:HighDue date:
Assignee:Andreas Smas% Done:

100%

Category:Playqueue
Target version:4.4
Found in version:4.3.602 Platform:Linux

Description

I highlighted seek events. But I seek only first item. Why second and third show seeks - is a mistery for me. After first item ended - you see black screen. If you leave it in that state - ST completely hangs after some time. MP4 RTMP are not affected by that bug.

vp [DEBUG]: Playing videoparams:{"title":"Зверюшки–добрюшки - Серия 1. Знакомство","canonicalUrl":"megogo:video:1066801:Серия 1. Знакомство","imdbid":null,"sources":[{"url":"http://vs32.vcdn.biz/021838e2ee4eb0e956111afae62c2d58_megogo/vod/fs/o/2030571/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8"}]} flags:0x1
Video [DEBUG]: Playing http://vs32.vcdn.biz/021838e2ee4eb0e956111afae62c2d58_megogo/vod/fs/o/2030571/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8
media [DEBUG]: Settings initialized for URL megogo:video:1066801:Серия 1. Знакомство
AVSYNC [DEBUG]: Set to 0 ms
SVSYNC [DEBUG]: Set to 0s
thread [DEBUG]: Created thread: audio decoder
Subscanner [DEBUG]: Starting subtitle scan for Зверюшки–добрюшки - Серия 1. Знакомство (imdbid:<unknown>;) year:0 season:-1 episode:-1 duration:160 opensubhash:0000000000000000
thread [DEBUG]: Created detached thread: subscanner
thread [DEBUG]: Thread subscanner exited
audio [DEBUG]: Codec changed to aac
PA [DEBUG]: Created stream float32le 1ch 44100Hz [mono] (tilesize=16368)
Video [DEBUG]: Dropping frame with duration = 0
Audio [DEBUG]: Converting from [mono 44100Hz fltp] to [mono 44100Hz flt]
Media [DEBUG]: Seeking by dropping 188 audio packets and 103+15 video packets from queue
Video [DEBUG]: Dropping frame with duration = 0
Video [DEBUG]: Dropping frame with duration = 0
Video [DEBUG]: Playback reached 348%, counting as played (megogo:video:1066801:Серия 1. Знакомство)
thread [DEBUG]: Thread audio decoder exited
JS [DEBUG]: Parsing charset ISO-8859-1 as ISO-8859-1
vp [DEBUG]: Page megogo:video:1066811:Серия 2. Половодье redirects to video source videoparams:{"title":"Зверюшки–добрюшки - Серия 2. Половодье","canonicalUrl":"megogo:video:1066811:Серия 2. Половодье","imdbid":null,"sources":[{"url":"http://vs32.vcdn.biz/9fd70735a2dc263b619096c4fa9b4fc0_megogo/vod/fs/o/2030711/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8"}]}
Video [DEBUG]: Playing http://vs32.vcdn.biz/9fd70735a2dc263b619096c4fa9b4fc0_megogo/vod/fs/o/2030711/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8
media [DEBUG]: Settings initialized for URL megogo:video:1066811:Серия 2. Половодье
AVSYNC [DEBUG]: Set to 0 ms
SVSYNC [DEBUG]: Set to 0s
Settings [DEBUG]: Wrote 2322 bytes to "/home/lprot/.hts/showtime/settings/httpcookies"
thread [DEBUG]: Created thread: audio decoder
Subscanner [DEBUG]: Starting subtitle scan for Зверюшки–добрюшки - Серия 2. Половодье (imdbid:<unknown>;) year:0 season:-1 episode:-1 duration:161 opensubhash:0000000000000000
thread [DEBUG]: Created detached thread: subscanner
thread [DEBUG]: Thread subscanner exited
Settings [DEBUG]: Wrote 2322 bytes to "/home/lprot/.hts/showtime/settings/httpcookies"
Video [DEBUG]: Playback reached 346%, counting as played (megogo:video:1066811:Серия 2. Половодье)
thread [DEBUG]: Thread audio decoder exited
JS [DEBUG]: Parsing charset ISO-8859-1 as ISO-8859-1
vp [DEBUG]: Page megogo:video:1066821:Серия 3. Верба redirects to video source videoparams:{"title":"Зверюшки–добрюшки - Серия 3. Верба","canonicalUrl":"megogo:video:1066821:Серия 3. Верба","imdbid":null,"sources":[{"url":"http://vs38.vcdn.biz/3fd96b5423d6d7839292056b37ccccea_megogo/vod/fs/o/2030941/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8"}]}
Video [DEBUG]: Playing http://vs38.vcdn.biz/3fd96b5423d6d7839292056b37ccccea_megogo/vod/fs/o/2030941/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8
media [DEBUG]: Settings initialized for URL megogo:video:1066821:Серия 3. Верба
AVSYNC [DEBUG]: Set to 0 ms
SVSYNC [DEBUG]: Set to 0s
thread [DEBUG]: Created thread: audio decoder
Subscanner [DEBUG]: Starting subtitle scan for Зверюшки–добрюшки - Серия 3. Верба (imdbid:<unknown>;) year:0 season:-1 episode:-1 duration:162 opensubhash:0000000000000000
thread [DEBUG]: Created detached thread: subscanner
thread [DEBUG]: Thread subscanner exited
Settings [DEBUG]: Wrote 2322 bytes to "/home/lprot/.hts/showtime/settings/httpcookies"
Video [DEBUG]: Playback reached 344%, counting as played (megogo:video:1066821:Серия 3. Верба)
thread [DEBUG]: Thread audio decoder exited
JS [DEBUG]: Parsing charset ISO-8859-1 as ISO-8859-1
vp [DEBUG]: Page megogo:video:1066831:Серия 4. Великое молчание redirects to video source videoparams:{"title":"Зверюшки–добрюшки - Серия 4. Великое молчание","canonicalUrl":"megogo:video:1066831:Серия 4. Великое молчание","imdbid":null,"sources":[{"url":"http://vs32.vcdn.biz/ec47ba2ca83b281fdb9d4558f74313cc_megogo/vod/fs/o/2030751/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8"}]}
Video [DEBUG]: Playing http://vs32.vcdn.biz/ec47ba2ca83b281fdb9d4558f74313cc_megogo/vod/fs/o/2030751/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua

Associated revisions

Revision f51d7acd
Added by Andreas Smas almost 7 years ago

hls: Fix issues when seeking past end of track

In particular when doing continous play

Fixes #1818

Change included in version 4.3.611

History

#1 Updated by Leonid Protasov almost 7 years ago

Log when you don't seek:

vp [DEBUG]: Playing videoparams:{"title":"Зверюшки–добрюшки - Серия 1. Знакомство","canonicalUrl":"megogo:video:1066801:Серия 1. Знакомство","imdbid":null,"sources":[{"url":"http://vs32.vcdn.biz/021838e2ee4eb0e956111afae62c2d58_megogo/vod/fs/o/2030571/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8"}]} flags:0x1
Video [DEBUG]: Playing http://vs32.vcdn.biz/021838e2ee4eb0e956111afae62c2d58_megogo/vod/fs/o/2030571/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8
media [DEBUG]: Settings initialized for URL megogo:video:1066801:Серия 1. Знакомство
AVSYNC [DEBUG]: Set to 0 ms
SVSYNC [DEBUG]: Set to 0s
thread [DEBUG]: Created thread: audio decoder
Subscanner [DEBUG]: Starting subtitle scan for Зверюшки–добрюшки - Серия 1. Знакомство (imdbid:<unknown>;) year:0 season:-1 episode:-1 duration:160 opensubhash:0000000000000000
thread [DEBUG]: Created detached thread: subscanner
Video [DEBUG]: Dropping frame with duration = 0
audio [DEBUG]: Codec changed to aac
PA [DEBUG]: Created stream float32le 1ch 44100Hz [mono] (tilesize=16368)
thread [DEBUG]: Thread subscanner exited
Audio [DEBUG]: Converting from [mono 44100Hz fltp] to [mono 44100Hz flt]

Settings [DEBUG]: Wrote 2322 bytes to "/home/lprot/.hts/showtime/settings/httpcookies"
PA [DEBUG]: Created stream float32le 2ch 44100Hz [front-left,front-right] (tilesize=8184)
Audio [DEBUG]: Converting from [stereo 44100Hz fltp] to [stereo 44100Hz flt]
Video [DEBUG]: Playback reached 99%, counting as played (megogo:video:1066801:Серия 1. Знакомство)
thread [DEBUG]: Thread audio decoder exited
JS [DEBUG]: Parsing charset ISO-8859-1 as ISO-8859-1
vp [DEBUG]: Page megogo:video:1066811:Серия 2. Половодье redirects to video source videoparams:{"title":"Зверюшки–добрюшки - Серия 2. Половодье","canonicalUrl":"megogo:video:1066811:Серия 2. Половодье","imdbid":null,"sources":[{"url":"http://vs32.vcdn.biz/9fd70735a2dc263b619096c4fa9b4fc0_megogo/vod/fs/o/2030711/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8"}]}
Video [DEBUG]: Playing http://vs32.vcdn.biz/9fd70735a2dc263b619096c4fa9b4fc0_megogo/vod/fs/o/2030711/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8
media [DEBUG]: Settings initialized for URL megogo:video:1066811:Серия 2. Половодье
AVSYNC [DEBUG]: Set to 0 ms
SVSYNC [DEBUG]: Set to 0s
thread [DEBUG]: Created thread: audio decoder
Subscanner [DEBUG]: Starting subtitle scan for Зверюшки–добрюшки - Серия 2. Половодье (imdbid:<unknown>;) year:0 season:-1 episode:-1 duration:161 opensubhash:0000000000000000
thread [DEBUG]: Created detached thread: subscanner
Video [DEBUG]: Dropping frame with duration = 0
audio [DEBUG]: Codec changed to aac
PA [DEBUG]: Created stream float32le 1ch 44100Hz [mono] (tilesize=16368)
Audio [DEBUG]: Converting from [mono 44100Hz fltp] to [mono 44100Hz flt]
thread [DEBUG]: Thread subscanner exited
Settings [DEBUG]: Wrote 2322 bytes to "/home/lprot/.hts/showtime/settings/httpcookies"
PA [DEBUG]: Created stream float32le 2ch 44100Hz [front-left,front-right] (tilesize=8184)
Audio [DEBUG]: Converting from [stereo 44100Hz fltp] to [stereo 44100Hz flt]
Video [DEBUG]: Playback reached 99%, counting as played (megogo:video:1066811:Серия 2. Половодье)
thread [DEBUG]: Thread audio decoder exited
JS [DEBUG]: Parsing charset ISO-8859-1 as ISO-8859-1
vp [DEBUG]: Page megogo:video:1066821:Серия 3. Верба redirects to video source videoparams:{"title":"Зверюшки–добрюшки - Серия 3. Верба","canonicalUrl":"megogo:video:1066821:Серия 3. Верба","imdbid":null,"sources":[{"url":"http://vs38.vcdn.biz/3fd96b5423d6d7839292056b37ccccea_megogo/vod/fs/o/2030941/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8"}]}
Video [DEBUG]: Playing http://vs38.vcdn.biz/3fd96b5423d6d7839292056b37ccccea_megogo/vod/fs/o/2030941/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8
media [DEBUG]: Settings initialized for URL megogo:video:1066821:Серия 3. Верба
AVSYNC [DEBUG]: Set to 0 ms
SVSYNC [DEBUG]: Set to 0s
thread [DEBUG]: Created thread: audio decoder
Subscanner [DEBUG]: Starting subtitle scan for Зверюшки–добрюшки - Серия 3. Верба (imdbid:<unknown>;) year:0 season:-1 episode:-1 duration:162 opensubhash:0000000000000000
thread [DEBUG]: Created detached thread: subscanner
Video [DEBUG]: Dropping frame with duration = 0
audio [DEBUG]: Codec changed to aac
PA [DEBUG]: Created stream float32le 1ch 44100Hz [mono] (tilesize=16368)
Audio [DEBUG]: Converting from [mono 44100Hz fltp] to [mono 44100Hz flt]
thread [DEBUG]: Thread subscanner exited
Settings [DEBUG]: Wrote 2322 bytes to "/home/lprot/.hts/showtime/settings/httpcookies"
PA [DEBUG]: Created stream float32le 2ch 44100Hz [front-left,front-right] (tilesize=8184)
Audio [DEBUG]: Converting from [stereo 44100Hz fltp] to [stereo 44100Hz flt]
Video [DEBUG]: Playback reached 99%, counting as played (megogo:video:1066821:Серия 3. Верба)
thread [DEBUG]: Thread audio decoder exited
JS [DEBUG]: Parsing charset ISO-8859-1 as ISO-8859-1
vp [DEBUG]: Page megogo:video:1066831:Серия 4. Великое молчание redirects to video source videoparams:{"title":"Зверюшки–добрюшки - Серия 4. Великое молчание","canonicalUrl":"megogo:video:1066831:Серия 4. Великое молчание","imdbid":null,"sources":[{"url":"http://vs32.vcdn.biz/ec47ba2ca83b281fdb9d4558f74313cc_megogo/vod/fs/o/2030751/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8"}]}
Video [DEBUG]: Playing http://vs32.vcdn.biz/ec47ba2ca83b281fdb9d4558f74313cc_megogo/vod/fs/o/2030751/p/CUPERTINO/b/450_900_1350_1500_2000/u_sid/0/u_uid/0/u_vod/3/u_device/samsung/g/ua/a/0/type.amlst/playlist.m3u8
media [DEBUG]: Settings initialized for URL megogo:video:1066831:Серия 4. Великое молчание
AVSYNC [DEBUG]: Set to 0 ms
SVSYNC [DEBUG]: Set to 0s
thread [DEBUG]: Created thread: audio decoder
Subscanner [DEBUG]: Starting subtitle scan for Зверюшки–добрюшки - Серия 4. Великое молчание (imdbid:<unknown>;) year:0 season:-1 episode:-1 duration:163 opensubhash:0000000000000000
thread [DEBUG]: Created detached thread: subscanner
Video [DEBUG]: Dropping frame with duration = 0
audio [DEBUG]: Codec changed to aac
PA [DEBUG]: Created stream float32le 1ch 44100Hz [mono] (tilesize=16368)
Audio [DEBUG]: Converting from [mono 44100Hz fltp] to [mono 44100Hz flt]
thread [DEBUG]: Thread subscanner exited
Settings [DEBUG]: Wrote 2322 bytes to "/home/lprot/.hts/showtime/settings/httpcookies"
PA [DEBUG]: Created stream float32le 2ch 44100Hz [front-left,front-right] (tilesize=8184)
Audio [DEBUG]: Converting from [stereo 44100Hz fltp] to [stereo 44100Hz flt]

#2 Updated by Andreas Smas almost 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset git|commit:f51d7acdba7cb5f50f354e17e79198dd84cfd968.

#3 Updated by Andreas Smas almost 7 years ago

  • Target version deleted (33)

#4 Updated by Andreas Smas almost 7 years ago

  • Target version set to 4.4

Also available in: Atom PDF