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
PlutoTV stops streaming when switching to a commercial #3462
Comments
What video player are you using? Some will not handle the stream delay as well as others. Have you tried mpv? |
Hi,
I am using both the web-based (Chrome) Nextpvr client and Kodi as a client to nextpvr.
I am using Nextpvr v5 (latest rev) as the program that is interfacing with Streamlink.
Darryl Markowitz
From: Ian Cameron [mailto:notifications@github.com]
Sent: Monday, December 28, 2020 9:36 AM
To: streamlink/streamlink
Cc: TranzPhat; Author
Subject: Re: [streamlink/streamlink] PlutoTV stops streaming when switching to a commercial (#3462)
What video player are you using? Some will not handle the stream delay as well as others. Have you tried mpv?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#3462 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASI3BNIA5NFIIEFRQHXFS2DSXCJWLANCNFSM4VMCWDVA> . <https://github.com/notifications/beacon/ASI3BNM63TZXFCCEA5H2UR3SXCJWLA5CNFSM4VMCWDVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFTHIOUI.gif>
…--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
|
I don't think your issue is with the PlutoTV plugin. I've got it streaming right now direct to mpv and it seems to be working fine. I don't know anything about the other software you're using, so you're probably going to have to seek help elsewhere I'm afraid. |
Ian,
I am kind of new at this, so I apologize in advance.
I am using ffmpeg to start the stream, this is the call:
C:\Program Files\NextPVR\Other\ffmpeg.exe -y -analyzeduration 10M -i http://127.0.0.1:8866/live?channeloid=8366&transcoder=b048e544-2dae-4769-9455-b96dec75c990&client=f605f5a0-6d55-4a10-a25c-39c15d86bf26 -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0? -map 0:a:0 -map -0:s -vcodec copy -acodec copy -hls_time 3 -start_number 0 -hls_list_size 403 -y "C:\Users\Public\NPVR-data\web\temp\Top Stories by Newsy 2-b048e5442dae47699455b96dec75c990.m3u8"
Not sure if this helps any.
From: Ian Cameron [mailto:notifications@github.com]
Sent: Monday, December 28, 2020 10:05 AM
To: streamlink/streamlink
Cc: TranzPhat; Author
Subject: Re: [streamlink/streamlink] PlutoTV stops streaming when switching to a commercial (#3462)
I don't think your issue is with the PlutoTV plugin. I've got it streaming right now direct to mpv and it seems to be working fine.
I don't know anything about the other software you're using, so you're probably going to have to seek help elsewhere I'm afraid.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#3462 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASI3BNIQVQUYLEBWOOVYLBTSXCNDJANCNFSM4VMCWDVA> . <https://github.com/notifications/beacon/ASI3BNI4ZH4VWIHAPSMMYQLSXCNDJA5CNFSM4VMCWDVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFTHKWOY.gif>
…--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
|
For me It varies by channel music channels are the worst. streamlink https://pluto.tv/live-tv/mtv-spankin-new best For me it is when this pluto image comes followed by a pluto commercial not a channel commercial. These fail with mpv, ffplay, vlc etc. I can't seem to duplicate it with Newsy but the Pluto commercials aren't as frequent. |
Post the debug log output ( If your player crashes during an ad transition then it might be because of a stream discontinuity, which is not supported by Streamlink. |
I just got an |
I think it gets stuck at this point:
Streamlink is carrying on with the segment downloads after. |
Just to note: I've edited the post above to include a bit more info in the log output. The new stream mappings are probably the likely cause I imagine. |
they just use different AD types redirector ADs which currently won't work (used for Livechannels, but can be replaced with a valid segment) creative ADs which seems to work |
@back-to Following up on your last comment, I wonder if you can explain a little further:
What is an AD type, please?
Is there a plan to get them to work? For my own use case, I'm trying to save the output of a Pluto TV stream to a file. Would it be possible to get I've tried using |
I'm also getting slightly different output when running
If Once the main programme restarts, stopping and restarting |
Aloha, i also find it annoying that commercials break playback. i am using tvheandend. playing the streams direct with ffmpeg i could see the segment path and file names. Sci-Fi Germany:
the ads have always "_ad0000[0-5]" in path & filename. Sci-Fi United Kingdom:
the ads have always "_ad0000[0-5]" in path & filename. Sci-Fi United States:
also, the ads have always "_ad0000[0-5]" in path & filename. the difference is UK & DE have an ad bumper segment in-front and at the end of ads, where US does not:
with sl parameter "--hls-segment-ignore-names 000,001,002,003,004,005" i could skip the ad segments but unfortunately also the first segments of the regular content after the ad ends.
tvheadend starts reconnecting on "Filtering out segments and pausing stream output" and resumes playback on "Resuming stream output". thats not ideal! @back-to could you introduce a new parameter, let"s say "--hls-segment-replace-names", as you wrote, to replace segments based on regexp with valid ones? That would give us the most flexibility. I would like to keep the bumper segments i.e.. |
How about this: https://raw.githubusercontent.com/mkbloke/streamlink/pluto/src/streamlink/plugins/pluto.py
|
Since I haven't commented on this thread yet, let just quickly say that HLS discontinuities are not supported by Streamlink. The only workaround is filtering out segments from the other stream(s) after a discontinuity (eg. advertisements), similar to what other plugins are doing, but that will still leave a gap in the output. The discontinuities are a bigger problem in the plugin here compared to other plugins, because the output is a Why does the PlutoTV plugin even output @mkbloke, HLS segments should not be filtered out via the If you want to filter out HLS segments properly, then use the
|
Thanks, @bastimeyer. I've used I've pushed further changes, so if anybody would like to try the plugin as it is now, it's the same URL as above, just reload in your browser to make sure you have the latest version. I have been trying the latest changes on If folks can test and let me know, that would be great. I have not checked adverts in 'On Demand' content as yet.
|
Servus @mkbloke,
with version 3.0.3+2.g46f4841 no filtering of segments! am i missing something? |
@AdamNo, you'll need to download the plugin from the link above and place it into your existing Streamlink installation.
That line should end with
|
thx @mkbloke, with your patch applied i zapped through the pluto.tv channels. content coming from pluto.tv cdn show no DTS discontinuities. with $>streamlink -o "filename" recorded/saved streams play the content without the ads. CBSN channels are different. The content is from cbsn cdn, the ads are from dai.google.com.
the ads play in tvheadend with stutter audio and no/black video and finally tvh reconnets. vlc, totem and mpv while playing back such recorded stream jump over this part. i saw the video playback progress bar jumping. when the ads end tvheadend reports:
overall, playback over tvheadend does not come into complete disorder as before! that are my findings so far. i keep on zapping and let you know :) |
Thanks for the feedback, @AdamNo. I've added I've also noticed the plugin requires a bit of an update for some of the VoD content. Movies play fine, but not all URLs are recognised for series content and of the series content URLs that are recognised, the slug API lookup results in a 404 with the content I have tried so far. Advert segment filtering for movies has worked for the content I have tried so far as it's caught with the |
I posted about MTV Spankin' New earlier and see noticeable improvements in the test release with streamlink cli and with recordings and when the logo comes up which was sudden death before things get better. For Live TV in NextPVR the long pause is still an issue. Unrelated to this be aware there is a v4 VOD format that has been used for a few months for series and AFAIK streamlink doesn't support it. |
Thanks for the feedback, @emveepee. I don't know much about NextPVR. It looks to be closed source. I think the issue you're having will need to be resolved by them though.
Thanks for the info. I'll take a look at it soon. |
This was more a general comment, since any application using this strategy for Live TV playback from PlutoTV vs recording playback will probably have a difficult time dealing with potential long periods of no video. |
so far, i have not found another candidate for filtering segments. mainly i want you to know, that i wanted to donate some money. i wrote support support@opencollective.com that i find it annoying and that i am not doing it. |
Thank you @mkbloke for improving the handling of adverts by the plugin. Sending the output to a file results in a good "recording" but it is still necessary to run |
Any thoughts from the Pluto plugin users here on removing the bumpers? |
im having the same porblem with streams freezing on commercials or ads. but the link to the plugin is dead. whats the new link? |
The Pluto plugin is in the master branch. If there's an issue with it, file a new issue, completing all the required details and including a debug log. |
Bug Report
Description
Streaming stops whenever plutoTV switches to a local commercial. I have seen this on various pluto news channels such as NEWSY and Newsmax. After a news segment, the channel will switch to local commercial and a message from pluto states that they will be right back - but the stream hangs at that point, never to return unless, the stream is restarted.
Expected / Actual behavior
I expect that if the channel switches segments that the stream will continue to play as normal, but it does not do this, the stream stops
Reproduction steps / Explicit stream URLs to test
Log output
Additional comments, etc.
Love Streamlink? Please consider supporting our collective. Thanks!
The text was updated successfully, but these errors were encountered: