Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.
oelsen

Listen to youtube while on your way - the dumb hard easy way

set tempname=%RANDOM%
nircmd.exe clipboard addfile "%tempname%.txt"
youtube-dl.exe -f 18 -a %tempname%.txt -o %tempname%.mp4
del %tempname%.txt
ffmpeg -i %tempname%.mp4 -vn -f wav -c:a pcm_s16le -ac 2 - | lame --preset voice - %tempname%.mp3
del %tempname%.mp4

This all. The files will be tiny and use almost none of your battery, even hours of talk(s) can be compressed into tens of MB. Of course it is worse than everything ever written, but nobody had a simple example of how to do it. 

Don't be the product, buy the product!

Schweinderl