Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8199743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:14:02+00:00 2026-06-07T06:14:02+00:00

This command will of course work: avconv -i input.mpg -c:v libx264 -s 852×480 -c:a

  • 0

This command will of course work:

avconv -i input.mpg -c:v libx264 -s 852x480 -c:a libfaac output.mp4

But that encodes the mpg into a file with these audio settings:

    {
        "index": 1,
        "codec_name": "mp2",
        "codec_long_name": "MP2 (MPEG audio layer 2)",
        "codec_type": "audio",
        "codec_time_base": "1/48000",
        "codec_tag_string": "mp4a",
        "codec_tag": "0x6134706d",
        "sample_fmt": "s16",
        "sample_rate": "48000",
        "channels": 2,
        "bits_per_sample": 0,
        "r_frame_rate": "0/0",
        "avg_frame_rate": "0/0",
        "time_base": "1/48000",
        "start_time": "0.000000",
        "duration": "60.000000",
        "nb_frames": "2500",
        "tags": {
            "language": "und",
            "handler_name": ""
        }
    }

This is what I need:

Resolution: 480p
Ratio: 1.78
Audio: 2 channel AAC
Video Bitrates: 600 / 800 / 1200 / 2000
Audio Bitrates: 96
Codec: H.264 - High

I tried:

avconv -i input.mpg -c:v libx264 -s 852x480 -c:a libfaac output.mp4

But I get error:

Unknown encoder 'libfaac'

Even after I installed libfaac-dev like this:

sudo apt-get install libfaac-dev
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T06:14:02+00:00Added an answer on June 7, 2026 at 6:14 am

    ffmpeg(avconv) by default is not built with faac. So, if you did sudo apt-get install avconv, then may not have faac. This can be checked by running ffmpeg -formats , also in the configuration check for –enable-libfaac.
    To fix it, you will have re-install ffmpeg by adding –enable-libfaac in the ./config step. I follow this guide to build ffmpeg: https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This command will produce 1 extra line at the top and 3 more at
I've got a global command like this !i::Send {Up} (pressing alt+I will move the
This command and output: % find . -name file.xml 2> /dev/null ./a/d/file.xml % So
When i run the code as is my output is: This program will calculate
I'm about to start a new project and this time I will work with
this is material from a course. From my research the code will always begin
Consider this command, as written here: Command.CommandText = SELECT COUNT(ASSET) AS POSEXISTS FROM POSITIONS
I have this command to go to every directory and once there run some
I have run this command with root: [root@localhost git-shell-commands]# ssh git@192.168.1.12 git@192.168.1.12's password: Last
How do I run this command with subprocess? I tried: proc = subprocess.Popen( '''ECHO

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.