Page 8 of 8 FirstFirst ... 678
Results 71 to 76 of 76

Thread: Compiling Ogg Vorbis encoder (libvorbis) with AoTuV tuning

  1. #71
    Join Date
    Jul 2005
    Beans
    366

    Re: Compiling Ogg Vorbis encoder (libvorbis) with AoTuV tuning

    Quote Originally Posted by andrew.46 View Post
    For those who are still interested I have remade my patch against the libvorbis 1.3.3 and this might be useful for Ubuntu users as well as Slackware:

    http://www.andrews-corner.org/slackb...bvorbis_aoTuV/

    I have not exhaustively tested this but my first encode using oggenc seemed to work well enough:

    Code:
    andrew@skamandros~/media/fist$ ogginfo cantonese_quiet.ogg 
    Processing file "cantonese_quiet.ogg"...
    
    New logical stream (#1, serial: 4b27216f): type vorbis
    Vorbis headers parsed for stream 1, information follows...
    Version: 0
    Vendor: AO; aoTuV [20110424] (based on Xiph.Org's libVorbis)
    Channels: 2
    Rate: 48000
    
    Nominal bitrate: 192.000000 kb/s
    Upper bitrate not set
    Lower bitrate not set
    Vorbis stream 1:
        Total data length: 11881970 bytes
        Playback length: 10m:32.661s
        Average bitrate: 150.247463 kb/s
    Logical stream 1 ended
    and I will be compiling MPlayer, FFmpeg and vlc against the patched library...
    not sure how to use the diffs in ubuntu.... details anyone? or debs?

  2. #72

    Re: Compiling Ogg Vorbis encoder (libvorbis) with AoTuV tuning

    Quote Originally Posted by ariel View Post
    not sure how to use the diffs in ubuntu.... details anyone? or debs?
    You could grab the 1.3.3 source (libvorbis-1.3.3.tar.xz) & diff (aotuv_b6.03_libvorbis_1.3.3.diff.gz)
    Place them in a folder, extract both as in screen
    cd to the extracted source, (libvorbis-1.3.3) & run -
    Code:
    patch -Np1 -i ../aotuv_b6.03_libvorbis_1.3.3.diff
    Ex.
    doug@doug-XPS-M1330:~/Documents/vorbis/libvorbis-1.3.3$ patch -Np1 -i ../aotuv_b6.03_libvorbis_1.3.3.diff
    patching file CHANGES
    patching file COPYING
    patching file Makefile.am
    patching file Makefile.in
    patching file aclocal.m4
    patching file aoTuV_README-1st.txt
    patching file aoTuV_technical.txt
    patching file config.h.in
    patching file configure
    patching file configure.ac
    patching file doc/01-introduction.tex
    patching file doc/03-codebook.tex
    patching file doc/04-codec.tex
    patching file doc/05-comment.tex
    patching file doc/06-floor0.tex
    patching file doc/07-floor1.tex
    patching file doc/08-residue.tex
    patching file doc/09-helper.tex
    patching file doc/10-tables.tex
    patching file doc/Makefile.am
    patching file doc/Makefile.in
    patching file doc/Vorbis_I_spec.css
    patching file doc/Vorbis_I_spec.html
    patching file doc/Vorbis_I_spec.pdf
    patching file doc/Vorbis_I_spec.tex
    patching file doc/libvorbis/Makefile.in
    patching file doc/vorbisenc/Makefile.in
    patching file doc/vorbisfile/Makefile.in
    patching file examples/Makefile.in
    patching file include/Makefile.in
    patching file include/vorbis/Makefile.in
    patching file lib/Makefile.in
    patching file lib/analysis.c
    patching file lib/block.c
    patching file lib/books/Makefile.in
    patching file lib/books/coupled/Makefile.in
    patching file lib/books/floor/Makefile.in
    patching file lib/books/uncoupled/Makefile.in
    patching file lib/codebook.c
    patching file lib/codec_internal.h
    patching file lib/envelope.c
    patching file lib/envelope.h
    patching file lib/floor0.c
    patching file lib/floor1.c
    patching file lib/highlevel.h
    patching file lib/info.c
    patching file lib/mapping0.c
    patching file lib/masking.h
    patching file lib/misc.h
    patching file lib/modes/Makefile.in
    patching file lib/modes/floor_all.h
    patching file lib/modes/psych_11.h
    patching file lib/modes/psych_16.h
    patching file lib/modes/psych_44.h
    patching file lib/modes/psych_8.h
    patching file lib/modes/residue_16.h
    patching file lib/modes/residue_44.h
    patching file lib/modes/residue_44p51.h
    patching file lib/modes/residue_44u.h
    patching file lib/modes/residue_8.h
    patching file lib/modes/setup_11.h
    patching file lib/modes/setup_16.h
    patching file lib/modes/setup_22.h
    patching file lib/modes/setup_32.h
    patching file lib/modes/setup_44.h
    patching file lib/modes/setup_44p51.h
    patching file lib/modes/setup_44u.h
    patching file lib/modes/setup_8.h
    patching file lib/modes/setup_X.h
    patching file lib/psy.c
    patching file lib/psy.h
    patching file lib/vorbisenc.c
    patching file libvorbis.spec
    patching file ltmain.sh
    patching file m4/Makefile.in
    patching file test/Makefile.in
    patching file vq/Makefile.in
    patching file win32/VS2008/libvorbis/libvorbis_static.vcproj
    Then configure (./configure) or (./autogen.sh), build & install.
    If not wishing the default options then check ./configure --help & adjust the ./configure as desired.

    (here just went with the defaults of shared/static to /usr/local, in past probably just built as static to /usr/local. Am on 13.04 so wanted to see if any issue with shared in /usr/local, none seen.
    Used checkinstall with a made up name for package -
    Code:
    sudo checkinstall --pkgname=vorbis-aotuv  --backup=no \
    --deldoc=yes --fstrans=no --deldesc=yes --delspec=yes
    Attached Images Attached Images

  3. #73

    Re: Compiling Ogg Vorbis encoder (libvorbis) with AoTuV tuning

    Quote Originally Posted by andrew.46 View Post
    I guess there is an issue with some of the changes made in libvorbis 1.3.3, I am not completely sure that these changes are retained when the aoTuV changes are made. It would be nice if Aoyumi had a look at this...
    Then maybe just 1.3.3 straight up..
    Seeing as 1.3.2 upped to 1.3.3 after the last aoTuV patch there would be some code 'reverted', whether it matters or affects the add. security/bug patching in 1.3.3, no clue (would have to see the details of 1.3.2 > 1.3.3 & even then...

    The bulk of what I see the aoTuV patch changing from 1.3.3 is makefiles & some code, for instance the attached seems to the 1.3.2 > 1.3.3 'code' changes the patch reverts in /lib. Again no real idea if it matters
    (the attached puts the 'reverts' back
    Attached Files Attached Files
    Last edited by mc4man; January 2nd, 2013 at 08:57 AM.

  4. #74
    Join Date
    Dec 2006
    Beans
    7,305

    Re: Compiling Ogg Vorbis encoder (libvorbis) with AoTuV tuning

    Those changes have moved way beyond my knowledge level, I shall battle on with the straight aotuv patch on libvorbis 1.3.3 and see how it all goes. A 'unification' of the AoTuV work for libvorbis 1.3.3 by Mr Aoyumi (as he did for 1.3.2) is on my birthday list
    You think that's air you're breathing now?

  5. #75
    Join Date
    Jul 2005
    Beans
    366

    Re: Compiling Ogg Vorbis encoder (libvorbis) with AoTuV tuning

    Quote Originally Posted by mc4man View Post
    You could grab the 1.3.3 source (libvorbis-1.3.3.tar.xz) & diff (aotuv_b6.03_libvorbis_1.3.3.diff.gz)
    Place them in a folder, extract both as in screen
    cd to the extracted source, (libvorbis-1.3.3) & run -
    Code:
    patch -Np1 -i ../aotuv_b6.03_libvorbis_1.3.3.diff
    Ex.


    Then configure (./configure) or (./autogen.sh), build & install.
    If not wishing the default options then check ./configure --help & adjust the ./configure as desired.

    (here just went with the defaults of shared/static to /usr/local, in past probably just built as static to /usr/local. Am on 13.04 so wanted to see if any issue with shared in /usr/local, none seen.
    Used checkinstall with a made up name for package -
    Code:
    sudo checkinstall --pkgname=vorbis-aotuv  --backup=no \
    --deldoc=yes --fstrans=no --deldesc=yes --delspec=yes

    thanks for this!

    Initially I didn't use the default answers for checkinstall and this didn't work properly (aotuv was not being used by oggenc), but then redoing the checkinstall and just in case doing a "sudo ldconfig" fixed the problem.

    Now ogginfo shows:

    Vendor: AO; aoTuV [20110424] (based on Xiph.Org's libVorbis)
    Last edited by ariel; January 3rd, 2013 at 04:03 AM.

  6. #76

    Re: Compiling Ogg Vorbis encoder (libvorbis) with AoTuV tuning

    Quote Originally Posted by ariel;12435188 and just in case doing a "sudo ldconfig" fixed the problem.

    Now ogginfo shows:

    Vendor: AO; aoTuV [20110424
    (based on Xiph.Org's libVorbis)
    That's the one that did it if you built as shared - got me before on a rebuild, I forgot to do it & couldn't figure what went wrong... till I remembered always run on shared & checkinstall.

    (checkinstall does have an option to do an ldconfig after install though I believe there was a warning about using it?

Page 8 of 8 FirstFirst ... 678

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
  •