Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video stuck when gets into advertisements #2454

Closed
1 task done
Sg4Dylan opened this issue May 2, 2019 · 3 comments
Closed
1 task done

Video stuck when gets into advertisements #2454

Sg4Dylan opened this issue May 2, 2019 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@Sg4Dylan
Copy link

Sg4Dylan commented May 2, 2019

Plugin Issue

  • This is a plugin issue and I have read the contribution guidelines.

Description

I opened AbemaTV in the following commands, and video always stuck when the channel gets into advertisements.

streamlink --loglevel debug --player "D:\Program Files\mpv64\mpv.exe" --http-proxy http://127.0.0.1:1080 --https-proxy http://127.0.0.1:1080 https://abema.tv/now-on-air/abema-news best

Reproduction steps / Explicit stream URLs to test

AbemaTV news channel ads are more than others, it's easy to reproduction.

Log output

[cli][debug] OS:         Windows 10
[cli][debug] Python:     3.7.3
[cli][debug] Streamlink: 1.1.1
[cli][debug] Requests(2.21.0), Socks(1.6.7), Websocket(0.56.0)
[cli][info] Found matching plugin abematv for URL https://abema.tv/now-on-air/abema-news
[plugin.abematv][debug] URL=https://ds-linear-abematv.akamaized.net/channel/abema-news/playlist.m3u8
[utils.l10n][debug] Language code: zh_CN
[cli][info] Available streams: 180p (worst), 240p, 360p, 480p, 720p, 1080p (best)
[cli][info] Opening stream: 1080p (hls)
[stream.hls][debug] Reloading playlist
[stream.hls][debug] First Sequence: 1023691; Last Sequence: 1023696
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 1023694; End Sequence: None
[stream.hls][debug] Adding segment 1023694 to queue
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] Adding segment 1023695 to queue
[stream.hls][debug] Adding segment 1023696 to queue
[stream.hls][debug] Download of segment 1023694 complete
[cli][info] Starting player: D:\Program Files\mpv64\mpv.exe
[cli.output][debug] Opening subprocess: D:\Program Files\mpv64\mpv.exe --title https://abema.tv/now-on-air/abema-news -
[cli][debug] Writing stream to output
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Download of segment 1023695 complete
[stream.hls][debug] Download of segment 1023696 complete
[stream.hls][debug] Adding segment 1023697 to queue
[stream.hls][debug] Adding segment 1023698 to queue
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Download of segment 1023697 complete
[stream.hls][debug] Adding segment 1023699 to queue
[stream.hls][debug] Download of segment 1023698 complete
[stream.hls][debug] Download of segment 1023699 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 1023700 to queue
[stream.hls][debug] Download of segment 1023700 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 1023701 to queue
[stream.hls][debug] Download of segment 1023701 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 1023702 to queue
[stream.hls][debug] Download of segment 1023702 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 1023703 to queue
[stream.hls][debug] Download of segment 1023703 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 1023704 to queue
[stream.hls][debug] Adding segment 1023705 to queue
[stream.hls][debug] Download of segment 1023704 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Segments in this playlist are encrypted
[stream.hls][debug] Download of segment 1023705 complete

Additional comments, screenshots, etc.

Love Streamlink? Please consider supporting our collective. Thanks!

@jackyzy823
Copy link
Contributor

Sorry for late response.
Since i mentioned in #1949 . Because of ext-x-discontinuity issue, players may not handle live stream discontinuity properly.

@beardypig
Copy link
Member

If there is a common pattern to the ad segment names you might be able to ignore them with --hls-segment-ignore-names, or it could be extended to support your use case.
The discontinuous segments could be ignored, but there is a discontinuity between content -> avert and avert -> content, so if the stream starts in an ad you'd end up skipping the content and only playing the ads :D

@back-to back-to added the duplicate This issue or pull request already exists label Sep 14, 2019
@back-to
Copy link
Collaborator

back-to commented Sep 14, 2019

#2497

@back-to back-to closed this as completed Sep 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants