Results 1 to 9 of 9

Thread: avconv convert ac3 to aac

  1. #1
    Join Date
    Sep 2012
    Beans
    95

    avconv convert ac3 to aac

    Hi, I want to convert an ac3 (5.1) file to aac. currently I use:

    Code:
    avconv -i file.mp2 -acodec aac -ac 2 -ab 64k -ar 48000 -strict experimental file.aac
    How does it work with an ac3 file, should I only change ac to 6 channels?

    Regards, asgard

  2. #2
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: avconv convert ac3 to aac

    wow did not know that aac could handle 6 channels but it does


    do you not have ffmpeg on your computer?
    i ask this as avconv did not accept 6 channels here
    but ffmpeg installed this way [and maybe any way]accepts 6 channels from ac3 to aac [using libaac][libfdk_aac also happy but not libaacplus]


    ffmpeg -i file.ac3 -ab 448k file.aac
    no need to say anything about channels it takes 6 to 6 [5.1] but stipulate audio bitrate -ab mine was 448 so i ask for that to be kept











    maybe your version of ffmpeg can do this too; or maybe someone knows how to rig up avconv so it does
    Last edited by shantiq; December 23rd, 2012 at 11:27 PM.
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

  3. #3
    Join Date
    Sep 2012
    Beans
    95

    Re: avconv convert ac3 to aac

    Are you shure that aac can not handle this?

    I used these config in StaxRip before, and it works:


    I search for something equal, in Ubuntu/Linux.

  4. #4
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: avconv convert ac3 to aac

    sorry asgard revised my post [see above]
    Last edited by shantiq; December 23rd, 2012 at 08:49 PM.
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

  5. #5
    Join Date
    Sep 2012
    Beans
    95

    Re: avconv convert ac3 to aac

    Bei der ffmpeg installation gibt es unerfüllte Abhängigkeiten. (Ubuntu Version 12.04)
    Code:
    sudo apt-get -y install autoconf build-essential checkinstall git libass-dev libfaac-dev \   libgpac-dev libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev \   librtmp-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev \   libx11-dev libxext-dev libxfixes-dev pkg-config texi2html yasm zlib1g-dev
    Code:
    Die folgenden Pakete haben unerfüllte Abhängigkeiten:
     libass-dev : Hängt ab von: libfontconfig1-dev soll aber nicht installiert werden
     libjack-jackd2-dev : Hängt ab von: libdbus-1-dev soll aber nicht installiert werden
     librtmp-dev : Hängt ab von: libgnutls-dev soll aber nicht installiert werden
     libsdl1.2-dev : Hängt ab von: libglu1-mesa-dev soll aber nicht installiert werden
                     Hängt ab von: libpulse-dev soll aber nicht installiert werden
     libx11-dev : Hängt ab von: libxcb1-dev soll aber nicht installiert werden
    E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.

  6. #6
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: avconv convert ac3 to aac

    Die folgenden Pakete haben unerfüllte Abhängigkeiten:
    E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.

    ok some dependencies not there



    to fix that

    sudo apt-get -f install


    if all this go well start installing ffmpeg again Viel Glück!



    ps if you use this ffmpeg version you will be able to do this

    ffmpeg -i file.ac3 -acodec libfdk_aac -ab 64k file.aac
    using libfdk_aac which is better quality than default libaac
    Last edited by shantiq; December 24th, 2012 at 11:34 AM.
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

  7. #7
    Join Date
    Sep 2012
    Beans
    95

    Re: avconv convert ac3 to aac

    -f install doesn't fix the dependency problem, it does nothing, something else goes wrong.

    On another maschine it is working fine with this compilation guide and
    Code:
    ffmpeg -i file.ac3 -acodec libfdk_aac  -ab 64k file.aac
    Thanks

    Merry Christmas!

  8. #8
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: avconv convert ac3 to aac

    and Fröhliche Weihnachten to you too
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

  9. #9
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: avconv convert ac3 to aac

    PS if you want to do many files [BULK conversion]


    for f in *.ac3; do ffmpeg -i "$f" -c:a libfdk_aac -b:a 64k "${f%.*ac3}.aac"; done
    Last edited by shantiq; December 24th, 2012 at 06:41 PM.
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •