linux – Page 17 – 业余语言练习

ffmpeg -h filter=blend

ffmpeg version 4.4.2-1 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 8 (Uos 8.3.0.3-3+rebuild) configuration: –prefix=/usr –extra-version=1 –toolchain=hardened –libdir=/usr/lib/x86_64-linux-gnu –incdir=/usr/include/x86_64-linux-gnu –arch=amd64 –enable-gpl –disable-stripping –enable-gnutls –enable-ladspa –enable-libaom –enable-libass –enable-libbluray –enable-libbs2b –enable-libcaca –enable-libcdio –enable-libcodec2 –enable-libdav1d –enable-libflite –enable-libfontconfig –enable-libfreetype –enable-libfribidi –enable-libgme –enable-libgsm –enable-libjack –enable-libmp3lame –enable-libmysofa –enable-libopenjpeg –enable-libopenmpt –enable-libopus –enable-libpulse –enable-librabbitmq –enable-librubberband –enable-libshine –enable-libsnappy –enable-libsoxr –enable-libspeex –enable-libsrt –enable-libssh… Continue reading ffmpeg -h filter=blend

Published
Categorized as ffmpeg

ffmpeg-notepad

ffmpeg -i test.mp3 -af atempo=2 ff_atempo.mp3 ffmpeg -i test.mp3 -af atrim=start=30:end=50 ff_atrim.mp3 ffmpeg -i fuzhous.mp4 -i seas.mp4 -filter_complex “[0:v]fps=25[v0];[1:v]fps=25[v1];[v0][v1]blend=all_mode=average” ff_blend.mp4 ffmpeg -i fuzhous.mp4 -vf boxblur=luma_radius=4 ff_boxblur.mp4 ffmpeg -i ../fuzhous.mp4 -colorspace bt709 -ss 00:00:10 -vframes 1 ff_bt709.png —————————————— ffmpeg -f concat -safe 0 -r 1/4 -i file -f mp4 output.mp4 file file ‘a0.jpg’ file ‘a1.jpg’ file… Continue reading ffmpeg-notepad

Published
Categorized as ffmpeg

screen

screen的作用是建立新的进程,关闭当前窗口,程序继续执行。非常适用于linux远程 root115@115:~/Downloads$ ls -lth total 8.8G -rw-r–r– 1 root root 4.6G Mar 30 15:22 CentOS-Stream-10-latest-x86_64-dvd1.iso -rw-r–r– 1 root115 root115 240 Mar 30 09:15 wget -rw-r–r– 1 root root 819M Mar 24 12:20 CentOS-Stream-10-latest-x86_64-boot.iso root115@115:~/Downloads$ screen -ls  //列出进程 There is a screen on: 2382.wget (Detached) 1 Socket in /home/root115/.screen. root115@115:~/Downloads$ screen -r 2382  //查看进程 root115@115:~/Downloads$ screen… Continue reading screen

Published
Categorized as linux

pactl list

root135@root135:~/Documents$ cat pactl pactl list | grep -A2 ‘Source’ Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor Latency: 0 usec, configured 0 usec Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY — Source #1 State: SUSPENDED Name: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor — Source #2 State: SUSPENDED Name: alsa_input.pci-0000_00_1b.0.analog-stereo

Published
Categorized as ffmpeg

firewall-cmd

root@115:~# firewall-cmd –list-ports 20/tcp 21/tcp 22/tcp 80/tcp 443/tcp 39000-40000/tcp root@115:~# firewall-cmd –remove-port=39000-40000/tcp –permanent success root@115:~# firewall-cmd –list-ports 20/tcp 21/tcp 22/tcp 80/tcp 443/tcp 39000-40000/tcp root@115:~# firewall-cmd –remove-port=39000/tcp –permanent Warning: NOT_ENABLED: 39000:tcp success root@115:~# firewall-cmd –remove-port=40000/tcp –permanent Warning: NOT_ENABLED: 40000:tcp success root@115:~# firewall-cmd –reload success root@115:~# firewall-cmd –list-ports 20/tcp 21/tcp 22/tcp 80/tcp 443/tcp root@115:~# firewall-cmd –add-port=6115/tcp –permanent… Continue reading firewall-cmd

Published
Categorized as linux