Last active
March 24, 2017 17:00
-
-
Save ohhdemgirls/914e5993c364ea1395ac0814a167f219 to your computer and use it in GitHub Desktop.
Revisions
-
Odem revised this gist
Mar 24, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,4 @@ if [ ! -f "$yt_list" ]; then exit 1 fi cat $yt_list | parallel --jobs $jbs 'youtube-dl -ciw --restrict-filenames -o "%(upload_date)s-%(id)s-%(title)s.%(ext)s" --add-metadata --write-description --write-annotations --write-info-json --all-subs --write-thumbnail -f "bestvideo[height<=720]+bestaudio/best[height<=720]" --merge-output-format "mkv" {}' -
Odem revised this gist
Mar 24, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,4 @@ if [ ! -f "$yt_list" ]; then exit 1 fi cat $yt_list | parallel --jobs $jbs 'youtube-dl -ciw --restrict-filenames -o "%(upload_date)s-%(id)s-%(title)s.%(ext)s" --add-metadata --write-description --write-annotation --write-thumbnail -f "bestvideo[height<=720]+bestaudio/best[height<=720]" --merge-output-format "mp4" {}' -
Odem revised this gist
Mar 24, 2017 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,10 +3,11 @@ set -e set -u yt_list="$1" jbs="$2" if [ ! -f "$yt_list" ]; then echo "File $yt_list is missing" exit 1 fi cat $yt_list | parallel --jobs $jbs 'youtube-dl -ciw --restrict-filenames -o "%(upload_date)s-%(id)s-%(title)s.%(ext)s" --add-metadata --write-description --write-annotation --write-thumbnail -f 'bestvideo[height<=720]+bestaudio/best[height<=720]' --merge-output-format "mp4" {}' -
Odem created this gist
Mar 24, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #!/bin/bash set -e set -u yt_list="$1" if [ ! -f "$yt_list" ]; then echo "File $yt_list is missing" exit 1 fi cat $yt_list | parallel --jobs 12 'youtube-dl -ciw --restrict-filenames -o "%(upload_date)s-%(id)s-%(title)s.%(ext)s" --add-metadata --write-description --write-annotation --write-thumbnail -f 'bestvideo[height<=720]+bestaudio/best[height<=720]' --merge-output-format "mp4" {}'