From 466822d57f0892a1162597409cebb69fc1760e33 Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 10 Jan 2025 20:33:19 -0500 Subject: [PATCH] utility: dewebm-folder --- bash/channelArchive.sh | 8 ++++---- bash/dewebm-folder.sh | 12 ++++++++++++ utility web pages/Fandom.png | Bin 0 -> 2625 bytes utility web pages/credit.html | 6 +++--- 4 files changed, 19 insertions(+), 7 deletions(-) create mode 100755 bash/dewebm-folder.sh create mode 100644 utility web pages/Fandom.png diff --git a/bash/channelArchive.sh b/bash/channelArchive.sh index 24adbb4..4638375 100755 --- a/bash/channelArchive.sh +++ b/bash/channelArchive.sh @@ -1,6 +1,6 @@ - #!/bin/bash +#!/bin/bash -. /etc/profile +. ~/.profile . ~/.bashrc function ytdlp(){ @@ -12,11 +12,11 @@ function ytdlp(){ pushd "$1" yt-dlp --output "%(upload_date)s - %(title)s - [%(id)s].%(ext)s" \ - --format "[ext=mp4]+ba/best" \ + --format "bv+ba/best" \ --download-archive "done.txt" \ --min-sleep-interval 0 --max-sleep-interval 10 \ $sponsorblock \ - --exec "vidpath=\$(basename {}); vidpath=\$(echo \$vidpath | sed 's/^[0-9]\{8\} - //' | sed 's/- \[[a-zA-Z0-9]\+\]\.mp4//'); textmsg=\"archived video from $2: \$vidpath\"; /home/adam/bin/miscChat.sh \"\$textmsg\";" \ + --exec "vidpath=\$(basename {}); vidpath=\$(echo \$vidpath | sed 's/^[0-9]\{8\} - //' | sed 's/- \[[a-zA-Z0-9]\+\]\.mp4//'); textmsg=\"archived video from $2: \$vidpath\"; miscChat.sh \"\$textmsg\";" \ $3 popd } diff --git a/bash/dewebm-folder.sh b/bash/dewebm-folder.sh new file mode 100755 index 0000000..6d77973 --- /dev/null +++ b/bash/dewebm-folder.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +for f in *.webm +do + fullfilename=$(basename -- "$f") + extension="${fullfilename##*.}" + filename="${fullfilename%.*}" + ffmpeg -i "$f" "$filename.mp4" + echo "$f -> $filename" + sleep 3 + rm "$f" +done diff --git a/utility web pages/Fandom.png b/utility web pages/Fandom.png new file mode 100644 index 0000000000000000000000000000000000000000..2f76fd0aa09adba0736657c30d4ab7e7cbdf7573 GIT binary patch literal 2625 zcmV-H3cmG;P)EX>4Tx04R}tkv&MmKpe$iKcpfR1q+HeWT=8*7Zq`=RVYG*P%E_RU~=gfG-*gu zTpR`0f`cE6RRiKB|DQNBOx zvch?bvs$UK);;+P!+C9Gnd>x1ki;UEAVPqQ8p^1^LX1|86ccIMPk8u;9luB}nOtQs zax9<<6_Voz|AXJ%nuV!JHz}L|x?XJiV-yJO0?oQ@e;?a+^8^Sy16NwxUu^)hpQP8@ zTJ#9$+XgPK+nT%wTthv3l_Hp_EWT>mu4RCM> zj1?(+-Q(TeoxS~grq$mMa$0hxDLbLg00006VoOIv0RI600RN!9r;`8x010qNS#tmY z4c7nw4c7reD4Tcy000McNliru=mZe~1_R}HIeq{D2tG+fK~#9!?cIBfRYx7b@$bxi zEGsS0g$gJv!NM-ZT7gnp6{zXL$KJj7o-_V&+0AbE(R=rv$IP7h{kiw<&Ybz& z-`wAsGv}-z!susXy`=cKfYrb;kl)F&>lIv-6*9`kQh4nGZU?3UH-djSPxDI0P+o|r z8d7{?Y60*37%!a#|JE!WM;(VYnU$*<=Y<&{59VoESkkeK0&`dffjKOLz#NuA zU=GV5Fae<0IJ1EFQ&1~`?hNWjg7)` z_ZJW^DDIu>GEA>qW~E}|OrYrlKVMS7Kjgsl0+Tt4myPq?i4Ztcn&uYjZyDqZv;|?qyuu4yg8`2aVSWIA(S;1KB zz~TX$>~fO>8v(ZAMxC)7*a$GSKMJsF7jhj~gkV9ex;wClz=FC&;=m#R3-WrF0}B}} z=!=gIEJUy{t`s}4kif#atna`=01I;uh64*2EbI+44lF>hD0Vk3PE+j4lXYNKfkBduSlUw|aY~P@QdCqDOY;udgZj+}$Q=-F)7p$TTb6D}lv`WAnmO)?+%OEg^ zWe}LdG6>9J=?OOGiL=Af_r&@69QQ7ASY||>M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o{{<2|YgI j?JSwM1v}5`JP!W{36k#z6LSvg00000NkvXXu0mjfmKx0I literal 0 HcmV?d00001 diff --git a/utility web pages/credit.html b/utility web pages/credit.html index 3c2484a..8a3b891 100644 --- a/utility web pages/credit.html +++ b/utility web pages/credit.html @@ -31,11 +31,11 @@
- [14] + [num]
- Zaha Hadid Architects' King Abdullah Petroleum Studies and Research Center
- /ArchDaily + [title]
+ [platform img][author]