Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
akarimg opened this issue Jan 16, 2017 · 2 comments
Open

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

akarimg opened this issue Jan 16, 2017 · 2 comments

Comments

@akarimg
Copy link
Contributor

akarimg commented Jan 16, 2017

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
@akarimg akarimg changed the title Failed to convert avi (HD) to mp4 Failed to convert avi (HD) to mp4 (HD) Jan 16, 2017
@hervyqa
Copy link

hervyqa commented Nov 18, 2019

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
Copy link

hervyqa commented Nov 18, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants