cabernetwork / cabernet

Cabernet allows control of IPTV streams. Plugins supports DaddyLive, Pluto TV, XUMO, M3U/XMLTV.XML files (SamsungTV, STIRR, DistroTV, Plex TV)
https://cabernetwork.github.io
MIT License
184 stars 25 forks source link

ffmpeg stream discontinuity causing freezing for me #75

Closed merrychrishna closed 1 year ago

merrychrishna commented 1 year ago

ok so i think i have discovered why im freezing when it goes to commercials when watching pluto tv im hoping i can get some help with.

i ran streamlink in debug mode and just before comedy central animation goes to commercial every time i see stream discontinuity then it never recovers from the comercial but i can hear sound. i tried to get help from streamlink support but all they said was they dont support stream discontinuity. so you guys are my only hope at soving this.

since streamlink and cabernet both use ffmpeg i believe this is not a streamlink issue or a cabernet issue so it has to be an ffmpeg issue.

i made sure im using the most recent ffmpeg and that ffmpeg is in my env path on windows and i have checkeed the version of ffm[eg in a cmd prompt to confirm im on the most recent version of ffmpeg. i have also set the ffmpeg path in streamlink to the same path.

could someone please help me solve this problem?

merrychrishna commented 1 year ago

some more info, chatgpt recommends i check the bitrate of the show and the bitrate when i goes to commercial using this command streamlink https://i.mjh.nz/PlutoTV/5f99e24636d67d0007a94e6d-alt.m3u8 --default-stream worst -O | ffmpeg -i - -f matroska - | mpv - and to adjust the bitrate accordingly.

this is the output when it goes to commercial image

this is the bitrate when its running the show image

merrychrishna commented 1 year ago

does this help wiith anything? https://www.reddit.com/r/ffmpeg/comments/pvgqow/mpeg2_discontinuity_bug_is_there_a_workaround/

also my clients are all android

merrychrishna commented 1 year ago

im still having this problem

merrychrishna commented 1 year ago

bump

merrychrishna commented 1 year ago

bump

merrychrishna commented 1 year ago

bump

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.