![]() I already had libfaac-dev and libfaac0 installed, and installed faac after the fact to see if that would help. ffmpeg -i input.webm -c:av copy output.mkv Specify the codecs for both video (-c:v) and audio (-c:a) ffmpeg -i input.mp4 -c:v vp9 -c:a mp3 output.mkv Encoding Quality Encode the audio as mp3 and copy the video stream unchanged: ffmpeg -i input.mp4 -c:v copy -c:a mp3 output. Preset (-preset)Changes the default values for all encoder settings except for a few FFmpeg settings like Bitrate, which can give a good baseline for your own configuration. Please take a look at this document to learn more about them. Notes FFmpeg Encoders support OBS Studio's definition of 'Zero'-Copy As FFmpeg encoder implementations vary in quality and stability, it was decided to separate OBS Studio from the effects of the encoder. ![]() Output of ffmpeg -v: FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.Ĭonfiguration: -extra-version=4:0.5.1-1ubuntu1.2 -prefix=/usr -enable-avfilter -enable-avfilter-lavf -enable-vdpau -enable-bzlib -enable-libgsm -enable-libschroedinger -enable-libspeex -enable-libtheora -enable-libvorbis -enable-pthreads -enable-zlib -disable-stripping -disable-vhook -enable-runtime-cpudetect -enable-gpl -enable-postproc -enable-swscale -enable-x11grab -enable-libdc1394 -enable-shared -disable-staticĪpplicable output of ffmpeg -formats: Codecs: This encoder shares some settings between all other FFmpeg based encoders. FFmpeg Encoders These are all settings shared between all encoders implemented via FFmpeg. ![]() The command I'm using: /usr/bin/ffmpeg -y -i '/tmp/original.mov' -acodec libfaac -ar 44100 -ab 128k -vcodec libx264 -level 41 -crf 25 -r 25 -s '1280'x'720' -bufsize 250000k -maxrate 2500k -vpre lossless_slower '/tmp/converted.mp4'Ĭonversion fails with this error: Unknown encoder 'libfaac' A' The advantage of this method is that it shows you what codecs your copy of ffmpeg supports. There was an update to the ffmpeg packages this week that seems to have broken the AAC encoder. I've been using ffmpeg on this machine to encode H.264 videos with AAC audio for over a year.
0 Comments
Leave a Reply. |