ffmpeg Converting i.e 10GB movie into 2GB

ffmpeg -i input.mkv -c:v libx265 -crf 23 output.mkv

 

If selecting video and audio is important for us, then we call first the code below to find out on what positions there is video and specific audio.

ffmpeg -i input.mkv

After we find out positions, we declares them (stream in 0:0 is video, stream in 0:1 is audio)

for %%f in (*.mkv) do (
 ffmpeg -i "%%f" -c:v libx265 -crf 23 -map 0:0 -map 0:1 "compressed-%%f.mp4"
)

 

Autostart file when system turns on – ubuntu

Enable rc.local if missing

sudo touch /etc/rc.local
sudo chmod +x /etc/rc.local
sudo systemctl start rc-local
sudo systemctl status rc-local

Insert Your script command into rc.local, my was like below.
You can delete sample script. Just leave script headers.

aria2c --enable-rpc --rpc-listen-all --daemon --rpc-secret=XXXX=

Done.

Rooting Nexus 6 7.1.1

There are 6 simple steps for rooting Android 7.1.1 for nexus 6:

1 adb reboot bootloader
2 fastboot oem unlock [YES]
3 fastboot flash recovery twrp-3.2.1-0-shamu.img

https://dl.twrp.me/shamu/twrp-3.2.1-0-shamu.img.html

4 go to recovery
5 adb push .\SuperSU-v2.82-201705271822.zip /sdcard/

https://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.82-201705271822.zip

6 in recovery install SuperSUfrom sdcard
7 done.