[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/slackware/ - Slackware Linux

#slackware@irc.rizon.net
Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: d0779013ce58e4f⋯.png (5.62 KB,809x270,809:270,9a01dfb1.png)

 No.21

Trying to send the output of youtube-dl + Twitch through mpv didn't work me. The cache keeps zeroing out, no matter the youtube-dl or mpv options that I used. In order to fix this, the best alternative that I found was to snatch the .m3u8 and use mpv from there. Below are the commands.

This works horribly (do not use it):

$ youtube-dl -f 720p -o - 'https://www.twitch.tv/monstercat' | mpv -

Now let's do it the right way. First let's check the quality options for any given stream:

$ youtube-dl -F 'https://www.twitch.tv/monstercat'

Then I chose 720p quality but added a "-g":

$ youtube-dl -f 720p -g 'https://www.twitch.tv/monstercat'

Then copy/paste the output using mpv:

$ mpv https://video-weaver.slc01.hls.ttvnw.net/v1/playlist/CokDQvdLXkvrpe8AaYXXNdyXRrHvlRjY0hxeG3DOwRZeNiffMPKrDrMY-Uj3-TolDdE7SBsEzi2DJS-Iu_PgAc65aQ3ABGAXFW4THfYWlPJBExo5Wq1vIeU8KSGBdrBU6cPP2GGO7f7QiPvUmeKJAL0iJnDnpOCcr1O5G4O0ue30evMBTjwOMtmNZJJP92v5PmHL2WHgT4qqoUlvB4roafDgPePTrVj2dXxZLMHpSp0jGSbLa2p6lp7SlvwmqHzVDq8lBkeTius5KiXAxcafp1PzvN0bM-AVr7nLmExJY2s_vqQYyM8tt6RQRkuUGmVK_esy1Ne2pDho-ZVTeH933yhwyWywH2JjIQeuPCHt07Pu6cMhBolKEt-A18bii2Rhv18wJTsDzahWwDu-PET3N0cZ_EO6mi3lscIXXeivUrquADoaI5Hk5Z1Otxjcl9CWMn9MyIeBBIIkBmaoAtgbqQXhmQkCqfowONdceM1zXU4XWSmHNM4o-TWG2NfVb8r9x61OB-0755jgDxYpEhAZjIfaVoo8Be8_dT6le5UqGgy9oP_E7Ii8XDU8WNY.m3u8

This way you can stream from Twitch without cache issues.

If you have a better solution to this, let us know!

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
Post last edited at


[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]