Captain's Log

It's Alive!

2023-04-05

Happy Easter!

Some One Liners

2021-09-11

Kill blanks in all the files in the current directory:

$ for i in *; do mv "$i" $(echo $i | sed "s/ /_/g"); done

and then lowercase them:

$ for i in *; do mv "$i" "$(echo $i | tr [:upper:] [:lower:])"; done

Download Video Streams from Video Portals like s.to

2020-10-11

Sometimes when you watch a movie on streaming portals and want to download them you often see the in the browser inspector that the data URL of the video element points to a blob. That does not help you as you cannot download the blob directly. What you need to do is:

$ ffmpeg -i ${m3u} -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 ${out}