shithub: rc

Download patch

ref: 1ae75e5509a2967ade062bad4eced22893660084
parent: a9e518097a7f39ee274878b3d7d1863b2e45a6fe
author: qwx <qwx@sciops.net>
date: Sun Jul 25 15:44:27 EDT 2021

ya: don't decode opus stream, just extract audio

--- a/bin/ya
+++ b/bin/ya
@@ -1,9 +1,7 @@
 #!/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
+	mcfs -t audio