jeltsch's blog


Trimming an avi file:
ffmpeg -i Die_Sendung_mit_der_Maus_16.06.19_09-30_ard_30_TVOON_DE.mpg.HQ.avi -vcodec copy -acodec copy -ss 00:06:04 -t 00:29:32 output.avi

ss is the start time and t is the duration (not the end time)

webm to mp3 conversion:
ffmpeg -i La_robe_de_soie.webm -vn -ab 128k -ar 44100 -y "La_robe_de_soie.mp3"

Concatenate two videos:
ffmpeg -f concat -safe 0 -i list.txt -c copy /tmp/output.avi

file 'video1.avi'
file 'video2.avi'

BSD and Linux

I am used to the fact that a Linux installer honours a pre-existing install of Windows and offers to setup the computer with a dual-boot option during installation. Vice-versa no Windows installer honours any other pre-exisiting OS. Therefore I was surprised that when I tried to install Ubuntu 16.04 on my PFSense box (FreeBSD), the Ubuntu installer did not even see that a BSD install exists on the drive. I chose the "erase all" option, but when I rebooted after the installer has finished, the system went straight into PFSense without giving me any option to select Ubuntu.