Damianonymous / streamlink-plugins

88 stars 42 forks source link

stripchat.py -> downloaded video files can't be opened anymore #30

Open lordofhoard opened 1 year ago

lordofhoard commented 1 year ago

Hello, thanks for sharing this excellent scripts and keeping them alive.

Since Tuesday, March 21th at arround 3 PM (GMT), all downloaded video files from stripchat cannot be opened anymore, not in VLC or MPC. The download itself seems to work fine with the script and also the file size is normal depending on the length of the recording.

Did anyone find a way to fix this issue or to play the "broken" video files?

norogodod commented 1 year ago

I'm experiencing the same issue. It looks perfectly fine when downloading, the time starts counting up and the filesize is increasing.

I have not found a solution to this.

SnowManWithCarrot commented 1 year ago

You're downloading a "doomie" file not the actual stream recording - this is stripchat's latest update along with few other annoying features.

justcallmejc commented 1 year ago

Hope the following info tangentially provides some insight into things

I pulled the m3u8 from an active stripchat page https://b-hls-20.doppiocdn.com/hls/74497093/74497093.m3u8

i opened that and saw the following contents `#EXTM3U

EXT-X-VERSION:6

EXT-X-TARGETDURATION:2

EXT-X-INDEPENDENT-SEGMENTS

EXT-X-MEDIA-SEQUENCE:4721

EXT-X-DISCONTINUITY-SEQUENCE:0

EXT-X-MAP:URI="https://b-hls-20.doppiocdn.com/hls/74497093/74497093_init_2opBzQR3JzlmHZKa.mp4"

EXT-X-PROGRAM-DATE-TIME:2023-03-31T00:06:30.616+0000

EXTINF:2.301

https://b-hls-20.doppiocdn.com/hls/74497093/74497093_4721_ByELQNOIHBcPhLW1_1680221190.mp4

EXT-X-PROGRAM-DATE-TIME:2023-03-31T00:06:32.917+0000

EXTINF:2.331

https://b-hls-20.doppiocdn.com/hls/74497093/74497093_4722_FoYkyCjjbMZQuAjK_1680221192.mp4

EXT-X-PROGRAM-DATE-TIME:2023-03-31T00:06:35.270+0000

EXTINF:2.234

https://b-hls-20.doppiocdn.com/hls/74497093/74497093_4723_nuqU2ILFhyTfd8q6_1680221195.mp4`

now the interesting part:

EDIT: See next post

justcallmejc commented 1 year ago

IF you have FFMPEG..... and MPV Stripchat uses the same uniquie M3U8 URL for each page. SC-FFMPEG.vbs.txt hope this will tide everyone over for the moment ;) a quick rework of something i already use, quickly tweaked to work with FFMPEG

EDIT: script should now be fully changed over to FFMPEG

odnar-dev commented 1 year ago

hi guys try this : https://raw.githubusercontent.com/community-plugins/streamlink-plugins/main/plugins/stripchat.py replace stripchat.py with this file

lordofhoard commented 1 year ago

hi guys try this : https://raw.githubusercontent.com/community-plugins/streamlink-plugins/main/plugins/stripchat.py replace stripchat.py with this file

Hi odnar-dev, thanks for sharing your PY script, but after replacing the file I get following message "Importerror: cannot import name 'pluginmatcher'" Please advise on how to update the BAT file to make it run.

justcallmejc commented 1 year ago

hi guys try this : https://raw.githubusercontent.com/community-plugins/streamlink-plugins/main/plugins/stripchat.py replace stripchat.py with this file

Hi odnar-dev, thanks for sharing your PY script, but after replacing the file I get following message "Importerror: cannot import name 'pluginmatcher'" Please advise on how to update the BAT file to make it run.

the script he provided works with the newest version of streamlink & python

https://github.com/streamlink/windows-builds/releases/tag/5.3.1-1 https://www.python.org/downloads/

odnar-dev commented 1 year ago

hi @lordofhoard , like @justcallmejc said, i use the latest version of streamlink if you can't update to the latest version, try this if it work for you https://raw.githubusercontent.com/community-plugins/streamlink-plugins/streamlink-2.2.0-(legacy)/plugins/stripchat.py