Page 5 of 5 FirstFirst ... 345
Results 41 to 50 of 50

Thread: xHE-AAC

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

    Re: xHE-AAC

    Hi Andrew you may have thought i knew how to do this but i have never added a patch before so the way to do this is

    Code:
    patch [options] originalfile patchfile 

    which gives me here

    Code:
    sudo patch  /usr/bin/abcde /home/shan/Desktop/abcde_USAC.diff [sudo] password for shan: 
    patching file /usr/bin/abcde
    Hunk #1 FAILED at 327.
    1 out of 1 hunk FAILED -- saving rejects to file /usr/bin/abcde.rej
    patching file /usr/bin/abcde
    patching file /usr/bin/abcde
    Hunk #1 FAILED at 357.
    Hunk #2 FAILED at 429.
    Hunk #3 FAILED at 441.
    3 out of 3 hunks FAILED -- saving rejects to file /usr/bin/abcde.rej
    patching file /usr/bin/abcde
    Hunk #1 FAILED at 67.
    Hunk #2 FAILED at 153.
    Hunk #3 FAILED at 166.
    Hunk #4 FAILED at 275.
    Hunk #5 FAILED at 298.
    5 out of 5 hunks FAILED -- saving rejects to file /usr/bin/abcde.rej
    Then it is seen

    Code:
    
    
     echo Encoding track 02 of 99: Re-Rewind...
    Encoding track 02 of 99: Re-Rewind...
    encodetrack-m4a-02 nice -n 10 exhale 5 /home/shan/abcde.30115163/track02.wav /home/shan/abcde.30115163/track02.m4a
    
    
      ---------------------------------------------------------------------
     | exhale - ecodis extended high-efficiency and low-complexity encoder |
     |                                                                     |
     | version 1.0.2 (x64, built on Apr  5 2020) - written by C.R.Helmrich |
      ---------------------------------------------------------------------
    
    
     Encoding 44-kHz 2-channel 16-bit WAVE to low-complexity xHE-AAC at 128 kbit/s
    
    
     Progress: --------------------------------- Done, actual average 143.8 kbit/s
    
    
     Input statistics: Mobile loudness -16.62 LUFS,    sample peak level -0.50 dBFS
    
    
    encodetrack-02 true
     echo Tagging track 02 of 99: Re-Rewind...
    Tagging track 02 of 99: Re-Rewind...
    tagtrack-m4a-02 nice -n 10 AtomicParsley /home/shan/abcde.30115163/track02.m4a --artist=Artful Dodger --album=It’s All About the Stragglers --title=Re-Rewind --tracknum=02 --year=2000 --genre= --comment=abcde version 2.8.1 --overWrite
    
    
     Started writing to temp file.
     Progress: ======================================================> 99% -|
     Finished writing to temp file.
    tagtrack-02 true
    movetrack-02 mv /home/shan/abcde.30115163/track02.m4a Music/m4a/Artful Dodger-It’s All About the Stragglers/02.Re-Rewind.m4a
    Finished.




    Thanx for this addition Andrew .... you wizard




    ============

    my AAC .abcde.conf now looks thus

    Code:
    # ALL THE AAC SHENANIGANS RIGHT HERE :]
    
    # IF YOU WANT AN ALAC FILE CHANGE NEXT LINE  from fdkaac/exhale to qaac 
    
    
    AACENCODERSYNTAX=exhale
    #FDKAAC=fdkaac
    
    
    # Specify the encoder to use for m4a/aac. Exhale is the only Open Source
    # xHE-AAC encoder available under native Linux at the moment:
    
    EXHALE="exhale"
    EXHALENCOPTS="9"
    
    QAAC="$HOME/.wine/drive_c/qaac/qaac.exe"
    QAACENCOPTS="--alac" 
    
    OUTPUTTYPE="m4a"
    
    # Output type for alac:
    OUTPUTTYPE="m4a"
    
    
    # For fdkaac options see 'fdkaac --help' THIS HERE BELOW WILL GIVE YOU A HE-AACv2 FILE
    FDKAACENCOPTS='-p 29  -b 38000 -I' 
    
    ###############end of AAC################


    PS2: did look at the possibility of using RhythmBox which i really do not rate anyway but looking at Gstreamer for fdkaac on Ubuntu 20.04.2 LTS is a total headfork as it runs 16 version and this newfangled toy runs on 18 version so will wait to test meantimes still totally fine through this free software arguably the best in any OS anyway


    Last edited by shantiq; March 10th, 2021 at 11:00 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

  2. #42
    Join Date
    Jun 2007
    Beans
    14,788

    Re: xHE-AAC

    You need the latest abcde git for the patch to apply properly:

    Code:
    cd <whatever directory you want abcde source in>
    git clone https://git.einval.com/git/abcde.git
    cd abcde/
    cp <path to abcde_USAC.diff> .
    patch -p1 < abcde_USAC.diff
    Last edited by Yellow Pasque; March 10th, 2021 at 04:04 PM.

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

    Re: xHE-AAC

    Quote Originally Posted by Yellow Pasque View Post
    You need the latest abcde git for the patch to apply properly:

    Code:
    cd <whatever directory you want abcde source in>
    git clone https://git.einval.com/git/abcde.git
    cd abcde/
    cp <path to abcde_USAC.diff> .
    patch -p1 < abcde_USAC.diff

    Thanx YP was already sorted
    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

  4. #44
    Join Date
    Jun 2007
    Beans
    14,788

    Re: xHE-AAC

    Maybe you need to:
    Code:
    git pull

  5. #45
    Join Date
    Dec 2006
    Beans
    7,349

    Re: xHE-AAC

    Hopefully all is sorted? If not I have placed my fully patched up abcde here for a short time:

    https://www.andrews-corner.org/tmp/abcde

    This can actually be placed in $HOME/bin and after reboot (or sourcing appropriate ~/.bash*** file) should trump the system abcde.

    BTW might be worth updating your copy of exhale, the SBR, loudness and peak sample adjustments can be seen in later releases. I have updated the AskUbuntu post that deals with this here:

    https://askubuntu.com/q/1224198/57576
    Last edited by andrew.46; March 11th, 2021 at 12:04 AM.
    You think that's air you're breathing now?

  6. #46
    Join Date
    Dec 2006
    Beans
    7,349

    Re: xHE-AAC

    Quote Originally Posted by shantiq View Post

    PS2: did look at the possibility of using RhythmBox which i really do not rate anyway but looking at Gstreamer for fdkaac on Ubuntu 20.04.2 LTS is a total headfork as it runs 16 version and this newfangled toy runs on 18 version so will wait to test meantimes still totally fine through this free software arguably the best in any OS anyway
    I am retired now so I might take some time to download an iso of the Hirsute Hippo and have a go with the fdkaac gstreamer and see if I can coax xHE-AAC playback out of RhythmBox. I am also not a great fan of this but it will be an interesting exercise

    Edit: Looks like RhythmBox and Clementine both successfully play xHE-AAC files after installation of the fdkaac gstreamer libraries. Exciting times ahead! I could not coax either application to display details of the codecs being played, any ideas?
    Last edited by andrew.46; March 11th, 2021 at 04:19 AM.
    You think that's air you're breathing now?

  7. #47
    Join Date
    Dec 2006
    Beans
    7,349

    Re: xHE-AAC

    So after some fiddling around I can see that playback of xHE-AAC will be possible in most players that use Ubuntu's gstreamer1.0-fdkaac package. The most satisfactory of these applications for me was Quod Libet, an application that I have not met before. I also tested RhythmBox and Clementine and while both worked I could not warm to either application .

    I attach a screenshot of Quod Libet playing back xHE-AAC files ripped by abcde from my single remaining audio CD (don't judge me by this album!). Further playback possibilities here...
    Attached Images Attached Images
    Last edited by andrew.46; March 11th, 2021 at 07:44 AM.
    You think that's air you're breathing now?

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

    Re: xHE-AAC

    --
    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. #49
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: xHE-AAC


    mission totally accomplished Andrew
    and thank you
    Last edited by shantiq; April 9th, 2021 at 07:10 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

  10. #50
    Join Date
    Dec 2006
    Beans
    7,349

    Re: xHE-AAC

    Nice to see some closure to a thread that started some time ago . My ears are not good for such things but I am impressed by the quality of the audio produced by exhale. Exciting to be involved too (on Slackware and Ubuntu) in the early stages of development.
    You think that's air you're breathing now?

Page 5 of 5 FirstFirst ... 345

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
  •