FFmpeg Lydbehandling
Samling af FFmpeg-kommandoer til avanceret lydbehandling: udtræk mp3, erstat lydspor, mix flere strømme og crossfade.
Extract MP3 from Video
Convert video audio to MP3.
ffmpeg -i input.mp4 output.mp3
Note:Simple extraction. FFmpeg automatically selects the MP3 encoder.
Extract AAC (No Encode)
Extract raw audio stream without re-encoding.
ffmpeg -i input.mp4 -vn -acodec copy output.aac
Note:
-vn disables video. -acodec copy copies the audio stream directly (fastest).Extract & Downsample (Mono 16kHz)
Optimize audio for speech/transcription.
ffmpeg -i input.mp4 -ar 16000 -ac 1 -ab 48k -codec:a libmp3lame output.mp3
Note:
-ar 16000 (16kHz rate), -ac 1 (mono channel), -ab 48k (48kbps bitrate).VIDEO API
Opdag hvorfor Hunt er den foretrukne API-udbyder for udviklere.