-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Pluto.TV Live #3156
Comments
Well, maybe Pluto won’t be as easy as I thought. I did a test recording of Court TV and I don’t know what happened. It’s the correct size of 1GB for 60 min as expected compared to Court TV’s own feed. Yet when I try to play it, all I can get out of it the Pluto TV Logo Screen and injected commercials, I can’t even see the actual program that Court TV had on at the time. Even ffmpeg won’t fix it, when it always fixes the CTV official stream. ffmpeg -i file.ts -c copy fixed.ts just spit out an 18 min file of Pluto Commercials only.... Tried avconv and it still is 18 min, so I have no idea what happened to the recordede ts file. Oddly the stream plays fine in VLC. |
I don't know if you're already aware of it and I certainly don't know if it'll be of any use to you at all, but there's already a plugin for Pluto (seemingly abandoned) in PR #2747. That PR seems to have failed some checks under Py 3.8 by the look of it, although unfortunately the full results data is no longer available. |
Yes, I did see that and I tried it somewhat and it mostly worked but not completely. I seems like it grabs the url from an old api of Pluto's and results in a "Bad Request". I think the issue with the TS file is was shown by ffplay. It seems to do a lot EXT-X-DISCONTINUITY and ffplay says it's trying to switch hosts even which ffplay errored out saying "cannot switch hosts". |
|
It plays but then once it goes to commercial break it seems to get wonky. Also the file recorded by streamlink after using -o file.ts seems severly broken. |
I was writing a script for Pluto for another platform of mine and ran into the same issue. Once the commercial break hits - it all goes tits up. They are messing with the streams and cutting stuff together in a way that breaks the timestamps and ffmpeg ends up throwing a wobler - its really annoying !!! |
I see one of the streamlink devs has committed some changes to the existing PR for Pluto. Might be worth seeing if that also exhibits the same problem. [Edit] I checked with |
Wow, this actually is getting more progress than I could have hoped for. I wasn't sure the way around Pluto's weird ad breaks but I know they have some really good channels now worth watching if it's possible to straighten out their cut jobs. |
Well, I tried the code already in the pull request to rather surprising results. Trying out the “Laughing Out Loud Network”, it actually worked great as long as you “ffmpeg -c copy” the file to fix all the timestamps. The only weird part is that Pluto seems to break at strange times, not at what would be a natural break. |
https://pluto.tv/live-tv/ - Livestreams will break during commercials without the `self.session.set_option('ffmpeg-fout', 'mpegts')` option enabled. - VODs might work without it, but I did not test it. closes streamlink#854 closes streamlink#2747 closes streamlink#3156 Co-authored-by: calculon-jr <54852718+calculon-jr@users.noreply.github.com>
https://pluto.tv/live-tv/ - Livestreams will break during commercials, without the `self.session.set_option('ffmpeg-fout', 'mpegts')` option enabled. - VODs might work without it, but I did not test it. closes streamlink#854 closes streamlink#2747 closes streamlink#3156 Co-authored-by: calculon-jr <54852718+calculon-jr@users.noreply.github.com>
https://pluto.tv/live-tv/ - Livestreams will break during commercials, without the `self.session.set_option('ffmpeg-fout', 'mpegts')` option enabled. - VODs might work without it, but I did not test it. closes streamlink#854 closes streamlink#2747 closes streamlink#3156 Co-authored-by: calculon-jr <54852718+calculon-jr@users.noreply.github.com> streamlink#3363 added to plugin matrix added test
https://pluto.tv/live-tv/ - Livestreams will break during commercials, without the `self.session.set_option('ffmpeg-fout', 'mpegts')` option enabled. - VODs might work without it, but I did not test it. closes streamlink#854 closes streamlink#2747 closes streamlink#3156 Co-authored-by: calculon-jr <54852718+calculon-jr@users.noreply.github.com> streamlink#3363 added to plugin matrix added test
https://pluto.tv/live-tv/ - Livestreams will break during commercials, without the `self.session.set_option('ffmpeg-fout', 'mpegts')` option enabled. - VODs might work without it, but I did not test it. closes streamlink#854 closes streamlink#2747 closes streamlink#3156 Co-authored-by: calculon-jr <54852718+calculon-jr@users.noreply.github.com> streamlink#3363 added to plugin matrix added test
Anyone working for working solution also for services like Stirr and the new Samsung Plus? |
This certainly fixes the duration of the file as far as various player applications are concerned. However, what I'm finding is that if the stream is programme, adverts, programme then the video playback stops at some point in the adverts although the audio continues. Do I need to use any other flags with ffmpeg to fix the created file? This is the output I got when using
|
Plugin Request
Description
Pluto.TV has really changed since it was suggested back in 2017.
Originally they just basically threw a bunch of YouTube and similar VoD into a linear playing m3u8.
Yet they have since changed to regular live streams that aren’t just mushed together VoDs so I figured maybe streamlink can look at it again.
Pluto has a decent library of VOD as well but it would be mainly nice to at least see the Live Streams better supported.
Example stream URLs
Additional comments, screenshots, etc.
Love Streamlink? Please consider supporting our collective. Thanks!
The text was updated successfully, but these errors were encountered: