Skip to content

Instantly share code, notes, and snippets.

Zehkul

Block or report user

Report or block Zehkul

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Zehkul
Zehkul / NOTE.md
Last active Aug 29, 2015
Dirty script to play 1080p + 480p from youtube (DASH) in mpv
View NOTE.md

You probably shouldn’t be using this any more, mpv as of version 0.7 can directly make use of youtube-dl with the --ytdl option (enabled by default in 0.7.2) You can configure what formats mpv will play with the --ytdl-format option, something similar to this script can be achieved with --ytdl-format=303+bestaudio[ext=webm]/299+bestaudio/248+bestaudio[ext=webm]/137+bestaudio/302+bestaudio[ext=webm]/298+bestaudio/22/244+bestaudio[ext=webm]/135+bestaudio/18/best

This will also prefer 60fps content over normal versions of the videos and vp9 over h264, see https://en.wikipedia.org/wiki/Youtube#Quality_and_formats

@Zehkul
Zehkul / Convert Script – README.md
Last active Apr 2, 2019
Script to quickly convert and crop videos from within mpv
View Convert Script – README.md

#README:

This script for mpv intends to offer the fastest and simplest way to convert parts of a video—while you’re watching it and not really more work intensive than making a screenshot. A short demonstration: https://d.maxfile.ro/omdwzyhkoa.webm

##Installation:

You need:

  • yad (at least 0.26) (AUR)
You can’t perform that action at this time.