User Tools

Site Tools


config:ffmpeg

This is an old revision of the document!


ffmpeg

latest 8.0 release as statically linked self-contained binaries:

https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n8.0-latest-linux64-gpl-8.0.tar.xz
tar xvf ffmpeg-n8.0-latest-linux64-gpl-8.0.tar.xz 
whereis ffmpeg ffprobe ffplay
cp ffmpeg-n8.0-latest-linux64-gpl-8.0/bin/* /usr/bin/

Audio transcription to text (format txt) or subtitle (format srt) with 60 second chunk size:

wget https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-v3-turbo-q5_0.bin
ffmpeg -i input.mkv -vn -af "whisper=model=ggml-large-v3-turbo-q5_0.bin:language=en:queue=60:destination=output.txt:format=txt" -f null -

recording live audio from microphone could be done using:

ffmpeg -loglevel warning -f pulse -i default \
-af 'highpass=f=200,lowpass=f=3000,whisper=model=../whisper.cpp/models/ggml-medium.bin\
:language=en\
:queue=10\
:destination=-\
:format=json\
:vad_model=../whisper.cpp/models/ggml-silero-v5.1.2.bin' -f null -
config/ffmpeg.1758121629.txt.gz · Last modified: by Wulf Rajek