Aria2 and Chrome

Install

1
brew install aria2
  1. YAAW, aria2 frontend for chrome
  2. Install Tampermonkey
  3. fake115, open raw link of this file fake115d.user.js, should auto redirect to Tampermonkey
  4. 115, download release, change crx to zip, drag it in Extensions in Chrome

Aria2 config

Help: https://developpaper.com/how-to-configure-aria2-to-download-files/

YYAW config

Set the RPC like this:

1
http://token:TOKEN@localhost:6800/jsonrpc

Run aria2 in background on startup

TBD

Convert rmvb to mp4

See: https://gist.github.com/jamesmacwhite/58aebfe4a82bb8d645a797a1ba975132

1
2
3
for f in *.rmvb; do ffmpeg -i "$f" -c:a copy -acodec copy "${f%}.mp4"; done
# use filename only
for f in *.rmvb; do ffmpeg -i "$f" -c:a copy -acodec copy -map_metadata -1 -map 0 "${f%%.rmvb}.mp4"; done 

Remove all metadata along the way:

1
2
ffmpeg -i in.mkv -map_metadata -1 -c copy -map 0 out.mkv
for f in *.mp4; do ffmpeg -i "$f" -map_metadata -1 -c copy -map 0 "${f%}.nometa.mp4"; done # do for loop
Licensed under CC BY-NC-SA 4.0
Built with Hugo
Theme Stack designed by Jimmy