curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/master/scripts/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules > /dev/null sudo apt-get install python3-serial
for i in .mp4; do ffmpeg -i "$i" -b:a 32K -vn "${i%.}.mp3"; done
ffmpeg -i input.mp4 -filter:v "setpts=0.5*PTS" -an output.mp4
ffmpeg -framerate 30 -pattern_type glob -i "folder-with-photos/*.JPG" -s:v 1440x1080 -c:v libx264 -crf 17 -pix_fmt yuv420p my-timelapse.mp4
ffmpeg -i in.mov -vf "transpose=1" out.mov
ffmpeg -ss 00:01:00 -i video.mp4 -to 00:02:00 -c copy cut.mp4
-to : until
or
ffmpeg -ss 60 -i video.mp4 -t 60 -c copy cut.mp4 t : time
ffmpeg -i sample.avi -q:a 0 -map a sample.mp3
for f in $(ls bat_*); do echo file '$f' >> files.txt;done
ffmpeg -f concat -safe 0 -i files.txt -c copy mergedVideo.mp4
Attention à l'option copy (sans réencodage)
ffmpeg -i INPUT_FILE.mp4 -i AUDIO.mp3 -c copy -map 0:v:0 -map 1:a:0 OUTPUT_FILE.mp4
ffmpeg -ss 00:00:04 -i input.mp4 -frames:v 1 screenshot.png
ffmpeg -i input.mp4 -vf subtitles=subtitle.srt output_srt.mp4
#!/bin/bash youtube-dl --extract-audio --audio-format mp3 $1
youtube-dl --extract-audio --audio-format mp3
ffmpeg -i input.mp4 -vf scale=$w:$h output.mp4
//mafreebox.freebox.fr/Disque\040dur /media/freebox cifs _netdev,rw,users,credentials=/home/pitou/.smbcredentials,iocharset=utf8,uid=1000,sec=ntlmv2,file_mode=0777,dir_mode=077 7,vers=1.0 0 0
for f in *.jpeg; do mv -- "$f" "${f%.jpeg}.jpg" done
$ for i in $( ls *.jpg); do convert -resize 50% $i re_$i; done
sudo apt-get install rename rename 's/foo/bar/' *
https://linuxhint.com/ssh-using-private-key-linux/
https://pimylifeup.com/raspberry-pi-ssh-keys/
k=$(pidof vlc); kill -9 $k