chamfay / Curlew

Easy to use and Free Multimedia Converter for Linux.
Other
66 stars 12 forks source link

Failed to convert avi (HD) to mp4 (HD) #31

Open akarimg opened 7 years ago

akarimg commented 7 years ago

Hello my brother Faisal

This is error detail

Command line #1:
****************
ffmpeg -y -i /home/user/big_buck_bunny_1080p_surround.avi -f mp4 -b:v 1100k -r 30 -vcodec mpeg4 -aspect 4:3 -b:a 128k -ar 44100 -acodec libvo_aacenc /home/user/big_buck_bunny_1080p_surround.mp4

Error detail:
*************
Output #0, mp4, to '/home/user/big_buck_bunny_1080p_surround.mp4':
  Metadata:
    encoder         : AVI-Mux GUI 1.17.7, Aug  8 2006  20:59:17
    JUNK            : 
    Stream #0:0: Video: mpeg4, yuv420p, 1920x1080 [SAR 3:4 DAR 4:3], q=2-31, 1100 kb/s, 30 fps, 30 tbn, 30 tbc
    Metadata:
      encoder         : Lavc56.26.100 mpeg4
    Stream #0:1: Audio: aac, 0 channels, 128 kb/s
    Metadata:
      encoder         : Lavc56.26.100 libvo_aacenc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> mpeg4 (native))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (libvo_aacenc))
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
hervyqa commented 4 years ago

libvo_aacenc has been removed from ffmpeg. It was a crappy encoder anyway. Use libfdk-aac, that one's the best. However, you'll need to compile your own ffmpeg to enable libfdk-aac support. Or you use the ffmpeg native aac encoder, it's quite good nowadays.

are you arch user by the way?

hervyqa commented 4 years ago

except debian or ubuntu user. install libavcodec-extra and fix this issue.