Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
distros:fedora_workstation_gnome [2019/06/12 20:26] – [Download] Sean Rhone | distros:fedora_workstation_gnome [2019/07/15 19:47] – Sean Rhone |
---|
* ''ffmpeg'' is for ''youtube-dl'' to correct DASH containers | * ''ffmpeg'' is for ''youtube-dl'' to correct DASH containers |
| |
youtube-dl ffmpeg mpv | ffmpeg mpv |
| |
==== nonfree ==== | ==== nonfree ==== |
| |
numactl | numactl |
| |
| ===== Game Controllers ===== |
| |
| * Necessary for Xbox 360 controllers, and maybe others |
| |
| kernel-modules-extra |
| |
===== VA-API ===== | ===== VA-API ===== |
| |
* ''Path'' should report the current user's username, and the text ''Custom Stuff'' should be visible | * ''Path'' should report the current user's username, and the text ''Custom Stuff'' should be visible |
| * :!: If Firefox doesn't open automatically, ''firefox -p default'' must be ran the first time Firefox is started after this command |
| |
ls '/tmp/profiles.ini' '/tmp/user.js' && pkill 'firefox' && rm -Rfv ~/'.mozilla' && sync && mkdir -p ~/'.mozilla/firefox/'$USER && mv '/tmp/profiles.ini' ~/'.mozilla/firefox/profiles.ini' && mv '/tmp/user.js' ~/'.mozilla/firefox/'$USER'/user.js' && sync && cat ~/'.mozilla/firefox/profiles.ini' | grep $USER && cat ~/'.mozilla/firefox/'$USER'/user.js' | grep 'Custom Stuff' && sleep '1' && sync || firefox -p 'default' | ls '/tmp/profiles.ini' '/tmp/user.js' && pkill 'firefox' && rm -Rfv ~/'.mozilla' && sync && mkdir -p ~/'.mozilla/firefox/'$USER && mv '/tmp/profiles.ini' ~/'.mozilla/firefox/profiles.ini' && mv '/tmp/user.js' ~/'.mozilla/firefox/'$USER'/user.js' && sync && cat ~/'.mozilla/firefox/profiles.ini' | grep $USER && cat ~/'.mozilla/firefox/'$USER'/user.js' | grep 'Custom Stuff' && sleep '1' && sync || firefox -p 'default' |
| |
===== youtube-dl ===== | ===== youtube-dl ===== |
| |
| * https://ytdl-org.github.io/youtube-dl/index.html |
| |
| ==== Download ==== |
| |
| **** |
| |
| rm -f '/tmp/youtube-dl' && wget -O '/tmp/youtube-dl' 'https://yt-dl.org/downloads/latest/youtube-dl' && chmod +x '/tmp/youtube-dl' |
| |
==== Show Formats ==== | ==== Show Formats ==== |
* Change ''x'' to a URL | * Change ''x'' to a URL |
| |
youtube-dl --list-formats x | '/tmp/youtube-dl' --list-formats x |
| |
==== Download ==== | ==== Download Media ==== |
| |
* Change ''x'' to a URL | * Change ''x'' to a URL |
* ''bestaudio'' can be changed to ''bestvideo'' for just video, or ''best'' for best video with audio | * ''bestaudio'' can be changed to ''bestvideo'' for just video, or ''best'' for best video with audio |
| |
youtube-dl --extract-audio --format 'bestaudio' x | '/tmp/youtube-dl' --extract-audio --format 'bestaudio' x |
| |
| === M4A Audio === |
| |
| * Ideally for if iOS devices will be involved |
| |
| '/tmp/youtube-dl' --extract-audio --format 'bestaudio' --audio-format 'm4a' x |
| |
| === MP3 Audio === |
| |
| **** |
| |
| '/tmp/youtube-dl' --extract-audio --format 'bestaudio' --audio-format 'mp3' x |
| |
===== Shortcuts ===== | ===== Shortcuts ===== |