ruby on rails - FFmpeg buildpack for Heroku does not support ogg. Unknown encoder 'libvorbis' -
after work, able buildpack installed on heroku. ran error:
stream #0:0: audio: pcm_u8 ([1][0][0][0] / 0x0001), 22050 hz, mono, u8, 176 kb/s 2015-10-03t01:15:59.635036+00:00 app[web.1]: -t not input option, keeping next output; consider fixing command line. 2015-10-03t01:15:59.635055+00:00 app[web.1]: please use -q:a or -q:v, -qscale ambiguous 2015-10-03t01:15:59.635479+00:00 app[web.1]: unknown encoder 'libvorbis'
my code is:
ffmpeg -t 15 -i #{current_path} -acodec libvorbis -qscale 1 #{temp_path}
the -t
option supposed seconds , libvorbis
ogg conversion.
ffmpeg -version
returns this:
ffmpeg version git-2013-06-02-5711e4f built on jun 2 2013 07:38:40 gcc 4.4.3 (ubuntu 4.4.3-4ubuntu5.1) configuration: --enable-shared --disable-asm --prefix=/app/vendor/ffmpeg libavutil 52. 34.100 / 52. 34.100 libavcodec 55. 13.100 / 55. 13.100 libavformat 55. 8.102 / 55. 8.102 libavdevice 55. 2.100 / 55. 2.100 libavfilter 3. 74.101 / 3. 74.101 libswscale 2. 3.100 / 2. 3.100 libswresample 0. 17.102 / 0. 17.102
what doing wrong?
Comments
Post a Comment