VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Thanks for reading my topic.
    I not see in Linux an easy way to convert to HE-AAC. ffmpeg and nvencc not has HE-AAC.
    Have any software or dependencie to allow convert to HE-AAC ?

    Have an nice week.
    Quote Quote  
  2. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Originally Posted by Aug View Post
    Thanks for reading my topic.
    I not see in Linux an easy way to convert to HE-AAC. ffmpeg and nvencc not has HE-AAC.
    Have any software or dependencie to allow convert to HE-AAC ?

    Have an nice week.
    try this -
    Prerequisites:

    Install FFmpeg:
    If you don't have FFmpeg installed, you can typically install it using your distribution's package manager. For example:
    Debian/Ubuntu: sudo apt install ffmpeg
    Fedora: sudo dnf install ffmpeg
    Arch Linux: sudo pacman -S ffmpeg
    Ensure libfdk_aac support:
    The libfdk_aac encoder provides HE-AAC support. In some distributions, this might require a separate installation or compiling FFmpeg with libfdk_aac enabled due to licensing restrictions. Check your distribution's documentation or search for "install libfdk_aac ffmpeg [your_distribution]" if you encounter issues.

    Conversion Command:
    Once FFmpeg is set up with libfdk_aac, you can use the following command structure to convert an audio file to HE-AAC:
    Code

    ffmpeg -i input.mp3 -c:a libfdk_aac -profile:a aac_he -b:a 64k output.m4a

    Explanation of parameters:

    -i input.mp3: Specifies the input audio file (replace input.mp3 with your file).
    -c:a libfdk_aac: Selects the libfdk_aac codec for audio encoding.
    -profile:a aac_he: Specifies the HE-AAC profile. You can also use aac_he_v2 for HE-AAC v2, which offers better performance at very low bitrates and supports 2+ channels.
    -b:a 64k: Sets the audio bitrate to 64 kbps. Adjust this value as needed; HE-AAC is designed for efficient encoding at lower bitrates.
    output.m4a: Specifies the output file name and format (typically .m4a for AAC).

    Example for HE-AAC v2:
    Code

    ffmpeg -i input.wav -c:a libfdk_aac -profile:a aac_he_v2 -b:a 32k output_hev2.m4a

    Note: While libfdk_aac is generally considered a high-quality AAC encoder, always verify the compatibility of HE-AAC with your target playback devices, as some older hardware might not fully support it.
    Quote Quote  
  3. You can enable HE-AAC in ffmpeg by installing libfdk_aac, compile ffmpeg with --enable-libfdk_aac, then use -c:a libfdk_aac -profile:a aac_he for proper HE-AAC conversion.
    Quote Quote  
  4. Thanks for all replies.
    In moment not is possible for me test how compile ffmpeg. I only use ffmpeg4 and the current version in Ubuntu repository not does HE-AAC.
    HE-AAC has better quality than AAC and Opus ?
    HE-AAC file size save is irrevelant if compared with AAC ?
    Quote Quote  
  5. Member Kakujitsu's Avatar
    Join Date
    Jun 2011
    Location
    United States
    Search Comp PM
    Audacity with the
    FFmpeg Library.

    Code:
    sudo apt-get install audacity
    Also Opus has better quality at the same bitrates.
    Last edited by Kakujitsu; 2nd Nov 2025 at 09:35. Reason: Adding to.
    Quote Quote  
  6. Mr. Computer Geek dannyboy48888's Avatar
    Join Date
    May 2007
    Location
    Texas, USA
    Search Comp PM
    Fdkaac has a standalone enocder. If you can't compile you can use ffmpeg to make a wav and feed it to fdkaac
    if all else fails read the manual
    Quote Quote  
  7. Thanks for all replies.

    @dannyboy48888
    Thanks for saying about fdkacc, but the software is only windows. Here is Linux.

    I see have better and more simple alternatives than HE-AAC.
    Opus is better than HE-AAC ?
    How is the compatibility of Opus with current TVs ? Have issues or is compatible with any TV in market ?
    I only want convert videos with audio stream if possible using the less size with good quality and see AAC not is exactly the correct choice.
    Quote Quote  
  8. Mr. Computer Geek dannyboy48888's Avatar
    Join Date
    May 2007
    Location
    Texas, USA
    Search Comp PM
    I'm in Debian. https://packages.debian.org/trixie/fdkaac far as comparability android tvs that can install VLC will have no issues with opus. He-aac worse case will only decode the base layer on base devices (think early Blu-ray players with USB) For most compatibly use lc-aac or mp3
    Last edited by dannyboy48888; 6th Nov 2025 at 20:46.
    if all else fails read the manual
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!