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

Downloading vods before they get muted? #1309

Open
1 task done
TheChiver opened this issue Feb 20, 2025 · 7 comments
Open
1 task done

Downloading vods before they get muted? #1309

TheChiver opened this issue Feb 20, 2025 · 7 comments

Comments

@TheChiver
Copy link

TheChiver commented Feb 20, 2025

Checklist

Hello,

I know little to nothing about coding, but maybe 2 versions ago I was able to download vods before they got muted.

Now sometimes when I download they are muted and sometimes they are not(Maybe its how fast you hit download?).

I was wondering is there a pattern or anything one can do to consistently download unmuted vods? Because the other day I download vod portion maybe a day later it aired and video was unmuted.

P.s

Chrome extension for unmuting vods mentions "unmuted versions that are available on Twitch servers for up to 24 hours after the stream has ended." Is there a way to get m3u8 link to that 24h stored version of the vod.

I apologize if this isn't appropriate place to ask this but If anyone can help me I would appreciate it.

@ScrubN
Copy link
Collaborator

ScrubN commented Feb 20, 2025

Decompiling the unmute chrome extension, I can see that they use the exact same method as us.

Now sometimes when I download they are muted and sometimes they are not(Maybe its how fast you hit download?).

Are you saying that some segments are unmuted but others are not within the same VOD? If so, I can make some changes to prioritize downloading muted segments before any others.

@TheChiver
Copy link
Author

Decompiling the unmute chrome extension, I can see that they use the exact same method as us.

Now sometimes when I download they are muted and sometimes they are not(Maybe its how fast you hit download?).

Are you saying that some segments are unmuted but others are not within the same VOD? If so, I can make some changes to prioritize downloading muted segments before any others.

Yes sometimes earlier parts that are muted on twitch site get downloaded fine/unmuted and parts later in the stream towards the end muted. Hence why I thought if speed had anything to do with it as in get it downloading before twitch mutes vod after stream ends.

Yesterday I checked and downloaded big streamers vod(Don't know if it matters) muted part with using Twitchdownloader and one using m3u8. Twitchdownloader download was unmuted and m3u8 muted of the same stream. This was at least 1 hour when stream has ended. But this is not the case sometimes which is the confusing part for me.

I rechecked just now when typing this, downloading using Twitchdownloader(stream is now 20 hours old) same 5 minute part and there are 2x 10sec segments muted now(I haven't checked this closely yesterday so don't know if this was the case then).

If there is a way to make it consistent on users end that would be great to know.

@ScrubN
Copy link
Collaborator

ScrubN commented Feb 20, 2025

If there is a way to make it consistent on users end that would be great to know.

The issue is that it entirely depends on Twitch retaining the unmuted segments. There is nothing we can do on our end to be more or less consistent other than to download the unmuted segments ASAP before they are cleaned up from Twitch servers.

I will look into prioritizing downloading of muted segments.

@TheChiver
Copy link
Author

Thanks.

@superbonaci
Copy link
Contributor

superbonaci commented Feb 21, 2025

use this to monitor channels and download automatically the unmuted vods:
https://github.com/DmitryScaletta/twitch-dlp

the muting sometimes happens long after the live streams ends but sometimes it already happens when live stream is present, for example if the live session lasts several hours.

The only way to have the unmuted (AFAIK) is to catch the stream as soon as possible, and that is live record it.

I don't think even the owner of the account can download the original (not muted) stream but don't know. Usually what happens is that the Owner configures OBS to save another local copy of the recording, in case something goes wrong.

@5hmecklez
Copy link

Decompiling the unmute chrome extension, I can see that they use the exact same method as us.

With the chrome extension and this vod: https://www.twitch.tv/videos/2387800187 I am able to watch the segments twitch muted with sound. However, when I use Twitch Downloader, the segments are still muted. Would it be possible to implement the method the extension uses to get the muted segments with sound so that I can download the entire unmuted vod?

@ScrubN
Copy link
Collaborator

ScrubN commented Feb 22, 2025

The VOD is muted, even with the extension. If you are still able to watch it unmuted right now, it is because the unmuted segments are still cached on your device.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants