or having to provide a full path to the binary, then place the ffmpeg binary in the bin directory in your home: mkdir /bin mv ffmpeg /bin hash -r Now you can just run ffmpeg and you'll be ready to encode stuff. I already had libfaac-dev and libfaac0 installed, and installed faac after the fact to see if that would help. I'm running the following command on my Ubuntu 20.04 ffmpeg -i input.mp4 -vcodec libx265 -crf 28 -f mp4 output.mp4 I get the statement: Unknown encoder 'libx265' I installed the encoder with the command sudo apt-get install libx265-dev libnuma-dev but I still get the same message. If you want the real ffmpeg whenever you use the ffmpeg command without having to use. Try changing the order of the options so options related to the output file come after the input file: ffmpeg -f image2 -patterntype glob -framerate 12 -i. Your options currently apply to the input files, which are jpg graphics. 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: ffmpeg -i in.mkv -ss 1:00 -t 5 -c copy clip1.mkv ffmpeg -i in.mkv -ss 2:00 -t 5 -c copy clip2.mkv echo file clip1.mkv > mylist.txt echo file clip2.mkv > mylist.txt ffmpeg -f concat -i mylist.txt -c copy out.mkv rm mylist.txt Just make two clips from the original video 'in.mkv' and just concat them in the usual ffmpeg concat way. The order of the options in an ffmpeg command matter. ![]() ![]() 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' ![]() ![]() 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |