ffmpeg-video-rotate

中心点水平旋转 ffmpeg -i input.mp4 -loop 1 -i 2.png -filter_complex “[0:v]copy;[0:a]acopy;[1:v]copy[pm1];[pm1]format=rgba,colorchannelmixer=aa=1,scale=200:60,format=rgba,rotate=’0:c=0x00000000:ow=hypot(iw,ih):oh=ow’,format=rgba,rotate=’PI/5*t:c=0x00000000:ow=hypot(iw,ih):oh=ow'[pm1];[pm1]overlay=(W-w)/2+0:(H-h)/2+0” -t 00:00:15 -map “” -map “” 1.mp4

Published
Categorized as ffmpeg

pvs-vgs-lvs

root@root135:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 111.8G 0 disk ├─sda1 8:1 0 512M 0 part /boot ├─sda2 8:2 0 1K 0 part ├─sda3 8:3 0 11G 0 part /recovery ├─sda4 8:4 0 16G 0 part [SWAP] ├─sda5 8:5 0 15G 0 part / ├─sda6 8:6 0 15G 0 part… Continue reading pvs-vgs-lvs

Published
Categorized as linux

desktop-wallpages

这里是ffmpeg给图片上加文字说明。root135@root135:~/Pictures/Wallpapers$ ffmpeg -i wolfgang-hasselmann-WrVvYxq11Yk-unsplash.jpg -vf “drawtext=fontcolor=white:line_spacing=5:fontfile=/usr/share/fonts/msyh.ttf:text=’Can change system’:fontsize=h/8:x=(w-text_w)/3:y=(h-text_h*3)” -f image2 wolfgang-hasselmann-WrVvYxq11Yk-unsplash-0.jpg

Published
Categorized as linux

dmidecode

root@root135:~# dmidecode -t memory # dmidecode 3.2 Getting SMBIOS data from sysfs. SMBIOS 2.7 present. Handle 0x0014, DMI type 16, 23 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 16 GB

Published
Categorized as linux

start or stop bluetooth

root@root135:~# systemctl disable bluetooth.service Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.

Published
Categorized as linux