我正在使用carrierwave-video通过我的ruby on rails 应用程序上传视频。但是在尝试编码视频时我遇到了这个问题:
Unknown encoder 'libfaac'
Errors: no output file created.
我尝试过:
sudo apt-get install libfaac-dev
但我得到同样的错误。
更新:
编译ffmpeg后,我得到同样的错误:
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isomavc1
creation_time : 2011-10-13 18:54:50
encoder : HandBrake 0.9.5 2011010300
Duration: 00:06:43.28, start: 0.000000, bitrate: 380 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x600 [SAR 1:1 DAR 8:5], 279 kb/s, 9.25 fps, 25 tbr, 90k tbn, 180k tbc
Metadata:
creation_time : 2011-10-13 18:54:50
handler_name :
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, s16, 97 kb/s
Metadata:
creation_time : 2011-10-13 18:54:50
handler_name :
Please use -q:a or -q:v, -qscale is ambiguous
Unknown encoder 'libfaac'
Errors: no output file created.