Show Video Thumbnails on KDE Dolphin
sudo apt install ffmpegthumbs
Configure Dolphin (Ctrl + Shift + ,) > Preferences > General > Previews (in a tab)
Daily Notes of a Programmer
sudo apt install ffmpegthumbs
Configure Dolphin (Ctrl + Shift + ,) > Preferences > General > Previews (in a tab)
ffmpeg -i filename.mp4 filename.mp3
fixed bit rate :
ffmpeg -i video.mp4 -b:a 192K -vn music.mp3
variable bit rate :
ffmpeg -i in.mp4 -q:a 0 -map a out.mp3
variable bit rate of 165 with libmp3lame encoder :
ffmpeg -vn -sn -dn -i input.mp4 -codec:a libmp3lame -qscale:a 4 output.mp3
References
https://superuser.com/questions/332347/how-can-i-convert-mp4-video-to-mp3-audio-with-ffmpeg
https://superuser.com/questions/1463710/convert-mp4-to-mp3-with-ffmpeg
MP4 TO MP4 (MEDIUM) ffmpeg -i input.mp4 -b 1000000 output.mp4 M2TS TO MP4 ffmpeg -i input.m2ts -vcodec libx264 -crf 20 -acodec ac3 -vf "yadif" output.mp4 MP4 TO WEBM (HIGH) ffmpeg -i input.mp4 -aq 5 -ac 2 -qmax 25 -threads 2 output.webm MP4 TO WEBM (MEDIUM) ffmpeg -i input.mp4 -aq 5 -ac 2 -qmax 35 -threads 2 output.webm MP4 TO OGV (HIGH) ffmpeg -i input.mp4 -vcodec libtheora -acodec libvorbis -q:v 6 -q:a 5 output.ogv MP4 TO OGV (MEDIUM) ffmpeg -i input.mp4 -vcodec libtheora -acodec libvorbis -q:v 2 -q:a 4 output.ogv
References
https://gist.github.com/vielhuber/cf918eed2b5cc9eaa63f