ref: 0361a1949087d435a87ed1317bf4ea8ed385af30
parent: 662c3099201655d0d540c8619b004dd450a2eae5
author: qwx <qwx@sciops.net>
date: Sun Jul 4 17:28:00 EDT 2021
add ya, yv: youtube scripts for lower quality video and audio only from wiki.9front.org.
--- /dev/null
+++ b/ya
@@ -1,0 +1,9 @@
+#!/bin/rc
+# easiest way, low quality
+if(! ~ $#* 1){
+ echo usage $0 videoid
+ exit usage
+}
+nvi -A 251 -a /fd/1 $"1 |\
+ mcfs -t audio |\
+ audio/opusdec
--- /dev/null
+++ b/yv
@@ -1,0 +1,9 @@
+#!/bin/rc
+# easiest way, low quality
+if(! ~ $#* 1){
+ echo usage $0 videoid
+ exit usage
+}
+nvi -V 18 -v /tmp/vid.mp4 $"1 \
+ && treason /tmp/vid.mp4 \
+ && rm /tmp/vid.mp4