Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: [HandBrake] FAAC vs FFMPEG or: How to get HE-AAC?

  1. #1
    Join Date
    Apr 2012
    Beans
    150
    Distro
    Ubuntu 13.04 Raring Ringtail

    [HandBrake] FAAC vs FFMPEG or: How to get HE-AAC?

    I use HandBrake to convert my DVDs to MKV. Have no problem with the video settings, but audio codecs offered by HandBrake settings are confusing to me.

    There are two entries for AAC to choose from, faac or ffmpeg. I wonder which one is better. Also, which faac version is this? And does it use CBR or VBR? On the HandBrake wiki there is unfortunately zero information about this.

    Also, I wonder if there is any possiblity to encode to HE-AAC (AAC+) in HandBrake under Ubuntu. I know for Mac OS X that HE-AAC is available. Probably not in Ubuntu. And if so, then how can I convert the audio track to HE-AAC in Ubuntu? I know there is a CLI binary for NeroAAC for Linux. But is there a GUI?

    And if I use faac in HandBrake, is 64kbps enough for a movie? Because I cannot hear any difference to the default setting of 160kbps. So far, I thought one could have the same quality with a 64kbps aac file as with a 128kpbs mp3 file -- at least for he-aac. But what version/implementation of aac is actually used in HandBrake, and what quality delivers it?

    Could really need some help here. I'd like to use HE-AAC for my MKV audio tracks. Or at least AAC with reasonable quality at lowest possible file size.

    Can HandBrake be 'pimped' with more codecs? If not, is there any GUI solution for Nero's CLI? Or any solution with WINE?

  2. #2
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: [HandBrake] FAAC vs FFMPEG or: How to get HE-AAC?

    Quote Originally Posted by MrsUser View Post
    I know there is a CLI binary for NeroAAC for Linux. But is there a GUI?
    ... is there any GUI solution for Nero's CLI? Or any solution with WINE?
    Hi
    When you've put neroAacEnc (CLI) in usr/local/bin folder... DeaDBeeF can be used as a GUI with Ubuntu.
    PPA is here---> https://launchpad.net/~alexey-smirnov/+archive/deadbeef

    Also neroAacEnc.exe can be used with foobar2000 as a GUI with Ubuntu + WINE.

  3. #3
    Join Date
    Apr 2012
    Beans
    150
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: [HandBrake] FAAC vs FFMPEG or: How to get HE-AAC?

    Thanks. I had a look, but isn't Deadbeef just an audio player?

    I fiddled with the CLI of Nero now. And I wonder if I could use WinFF as a GUI?!

  4. #4
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: [HandBrake] FAAC vs FFMPEG or: How to get HE-AAC?

    Quote Originally Posted by MrsUser View Post
    ... but isn't Deadbeef just an audio player
    No, DeaDBeeF has a convert option.
    Screenshot attached.

    Load the track(s) and right-click > Convert > Choose an encoder.
    Command line for Nero is like this:-
    Code:
    neroAacEnc -q 0.5 -ignorelength -if - -of %o
    Quote Originally Posted by MrsUser View Post
    ... I wonder if I could use WinFF as a GUI?!
    I don't think so.

    Your questions about HandBrake...

    It uses faac.
    With HandBrake GUI it's probably CBR.

    The other aac option is AAC(ffmpeg).
    I suppose this uses FFmpeg's own aac encoder.

    Probably faac is the best choice of the two.

    HandBrake documentation says:-
    HandBrake does not support external encoders. It is not possible to add an encoder to HandBrake at runtime. All the encoder libraries are built in and not dynamically linked/loaded at runtime.
    Attached Images Attached Images
    Last edited by ron999; September 9th, 2012 at 04:02 AM.

  5. #5
    Join Date
    Apr 2012
    Beans
    150
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: [HandBrake] FAAC vs FFMPEG or: How to get HE-AAC?

    The info was very helpful. Thanks a lot!

  6. #6
    Join Date
    Dec 2005
    Location
    St. Petersburg, FL
    Beans
    569
    Distro
    Ubuntu Budgie

    Re: [HandBrake] FAAC vs FFMPEG or: How to get HE-AAC?

    While I'm not currently at liberty to test this, it may be possible to use qtaacenc or qaac under Wine to access the AAC encoder that ships with Quicktime/iTunes (qaac only relies on the Apple Application Support rather than the full package). There is at least some support for Quicktime or its components under Wine, but I'm not sure how well or if it extends to making the encoder stable.

    This is relevant to the discussion seeing as the Quicktime AAC encoder is on the same level as Nero or actually superior to it now according to ABX tests (I never really liked Nero myself, so I've been using the Quicktime encoder as my go-to for 8+ years now).
    Last edited by qyot27; September 9th, 2012 at 04:17 PM.

  7. #7
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: [HandBrake] FAAC vs FFMPEG or: How to get HE-AAC?

    Quote Originally Posted by qyot27 View Post
    ... it may be possible to use qtaacenc or qaac under Wine to access the AAC encoder that ships with Quicktime/iTunes (qaac only relies on the Apple Application Support rather than the full package)...
    Yes, qaac.exe (with qt bits and pieces) seems to run OK with WINE.
    And foobar2000 can act as a GUI.

    Writing application : qaac 1.40, CoreAudioToolbox 7.9.7.9, AAC-LC Encoder, ABR 320kbps, Quality 96
    Writing application : qaac 1.40, CoreAudioToolbox 7.9.7.9, Apple Lossless Encoder
    Attached Images Attached Images

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

    Re: [HandBrake] FAAC vs FFMPEG or: How to get HE-AAC?

    ok just answering this specific question
    How to get HE-AAC?

    and thanx for asking as the answer is yes and at 64kbps it has incredibly good sound quality and plays on all player i have tried [mplayer vlc deadbeef xmms ....]


    all from here



    to install and use see below in red all the code for terminal




    http://www.ubuntuupdates.org/package...ase/aacplusenc


    to download deb

    wget.jpg

    wget with link from the main page above







    to install deb

    shantiq@0000000000000:~$ sudo dpkg -i aacplusenc_0.17.5-0.0medibuntu1_amd64.deb
    Selecting previously unselected package aacplusenc.
    (Reading database ... 377687 files and directories currently installed.)
    Unpacking aacplusenc (from aacplusenc_0.17.5-0.0medibuntu1_amd64.deb) ...
    Setting up aacplusenc (0.17.5-0.0medibuntu1) ...
    Processing triggers for man-db ...


    to convert wav to he-aac


    00000:~$ aacplusenc Age.wav Age.aac 64000 s
    input file Age.wav:
    sr = 44100, nc = 2 fmt = 1

    output file Age.aac:
    br = 64000 inputSamples = 4096 maxOutputBytes = 1543 nc = 2 m = 0

    [3502]

    encoding finished
    shantiq@shantiq-00000000000000000000000:~/Desktop/Taller$ mediainfo Age.aac
    General
    Complete name : Age.aac
    Format : ADTS
    Format/Info : Audio Data Transport Stream
    File size : 1.26 MiB

    Audio
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 2
    Format profile : HE-AAC / LC
    Bit rate mode : Constant / Variable
    Bit rate : 63.9 Kbps
    Minimum bit rate : 122 Kbps
    Maximum bit rate : 204 Kbps

    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 44.1 KHz / 22.05 KHz
    Compression mode : Lossy
    Stream size : 1.26 MiB (100%)


    NJOI corking format 1.26 MiB on a 2:42 mn
    Last edited by shantiq; September 10th, 2012 at 01:51 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

  9. #9
    Join Date
    Apr 2012
    Beans
    150
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: [HandBrake] FAAC vs FFMPEG or: How to get HE-AAC?

    Wonderful! Now there are even two choices for a HE-AAC encoder. The only thing I'm missing is info on how to mix down 6-ch (5.1) AC3 to 2-ch Stereo HE-AAC?

    I couldn't find any wiki or documentation for the two encoders. Or do I need to do the mixdown first and then give the result as input to the HE-AAC encoder? I know I can use a pipe, so I don't have to write an intermediary wav-file. But does anyone know what the command line must be like for a mixdown to Stereo?

    Also, when I use ffmpeg for converting ac3 to aac in terminal, e.g.:
    Code:
    ffmpeg -i input.ac3 -f wav - | neroAacEnc -br 48000 -if - -ignorelength -of output.mp4
    then I get the following message:
    Code:
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [ac3 @ 0xbbc9c0] max_analyze_duration reached
    [ac3 @ 0xbbc9c0] Estimating duration from bitrate, this may be inaccurate
    Don't know if ffmpeg produces some faulty file there?! Anyway, it played fine. So I suppose the output was ok.

    What bothers me though is that with the removal of ffmpeg I'd have to learn how to use avconv. And I can't find an easily understandable wiki/info about it. It has so many options that it confuses me ("avconv -help" presents an endless list of switches).

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

    Re: [HandBrake] FAAC vs FFMPEG or: How to get HE-AAC?

    Hi Mrs you can do that conversion


    Code:
    ffmpeg -i "file.ac3"   -acodec libaacplus -ab 64k -ac 2 "file.aac"


    but will need to equip yourself with libaacplus first see here
    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

Page 1 of 3 123 LastLast

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
  •