I\'m using carrierwave-video to upload video with my ruby on rails app. But I have this problem when try encode the video:
Unknown encoder \'libfaac\'
Error
FFmpeg removed libfaac support in 2016 because the other AAC encoders are better. Use a different encoder.
-c:a aac
)Use the native, built-in FFmpeg AAC encoder:
ffmpeg -i input.wav -c:a aac output.m4a
ffmpeg
versions.ffmpeg -h encoder=aac
.-c:a libfdk_aac
)ffmpeg -i input.wav -c:a libfdk_aac output.m4a
ffmpeg -h encoder=libfdk_aac
.-c:a aac_at
)ffmpeg -h encoder=aac_at
.-c:a aac_mf
)ffmpeg
compiled with --enable-mediafoundation
.ffmpeg -h encoder=aac_mf
.hopefully this helps :
Download medibuntu repository list: Code:
sudo wget http://www.medibuntu.org/sources.list.d/
lsb_release -cs
.list --output-document=/etc/apt/sources.list.d/medibuntu.list && sudo apt-get -q update && sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring && sudo apt-get -q update
Grab the extras with restricted codecs: Code:
sudo apt-get install ffmpeg libavcodec-extra-52