mstorsjo / vo-aacenc Goto Github PK
View Code? Open in Web Editor NEWVisualOn AAC encoder from Android
License: Apache License 2.0
VisualOn AAC encoder from Android
License: Apache License 2.0
VisualOn AAC encoder library This library contains an encoder implementation of the Advanced Audio Coding (AAC) audio codec. The library is based on a codec implementation by VisualOn as part of the Stagefright framework from the Google Android project.
Hi,
I encoded some moderately critical, hard-to-encode sound samples using vo-aacenc at 128kbps, and
I found many empty holes in the spectrogram when I did some FFT analysis.
http://f.hatena.ne.jp/kamedo2/20110708224417
In most well-accepted encoders such as LAME and iTunes, typically, no sound between 0-16kHz
are completely discarded to zero and make empty holes at 128kbps.
Presumably because of the holes, the vo-aacenc sounds much like an obsolete BladeEnc, which also
has many holes and spikes.
Perhaps we can get rid of the holes by setting the BARC_THR_QUIET smaller around 3kHz.
If there are binary files, I'd be happy to do some ABC/HR double-blind listening tests and following statical analysis.
Hi,
Excuse me if this is not the right place to report problem.
I tried vo-aacenc with two songs, and one of them resulted in decoding error with the message "Bitstream value not allowed by specification".
So, I ran faad2 with MSVC debugger, and found the error was happening at the function section_data() in syntax.c, where the following check was failing:
/* the sum of all sect_len_incr elements for a given window
* group shall equal max_sfb */
if (k != ics->max_sfb)
{
return 32;
}
I have uploaded the problematic file here:
http://cid-a5023b3710b7858d.office.live.com/self.aspx/.Public/error.wav
I ran autoconf in the vo-aacenc folder, and it seemed to create the configure file properly, but when I run ./configure I get:
./configure: line 1758: syntax error near unexpected token tar-ustar' ./configure: line 1758:
AM_INIT_AUTOMAKE(tar-ustar)'
It's possible the error lies with me, as I'm fairly new to compiling for android (and compiling in general) but I doubt the error is my fault here...
Any tips on how to get this project compiling and usable by android would be welcome :)
Hi
I am getting below error message. Do you have any idea to solve this?
I'm not sure you guys are still maintain this code but any help would be very appreciated.
Before run "make" I put below line in the Makefile.am
+AUTOMAKE_OPTIONS = subdir-objects
and did followings:
3699 aclocal
3700 autoconf
3701 ./configure
3702 automake
slki@ubuntu:~/git/vo-aacenc (master)$ make
Makefile:751: aacenc/src/.deps/aac_rom.Plo: No such file or directory
Makefile:752: aacenc/src/.deps/aacenc.Plo: No such file or directory
Makefile:753: aacenc/src/.deps/aacenc_core.Plo: No such file or directory
Makefile:754: aacenc/src/.deps/adj_thr.Plo: No such file or directory
Makefile:755: aacenc/src/.deps/band_nrg.Plo: No such file or directory
Makefile:756: aacenc/src/.deps/bit_cnt.Plo: No such file or directory
Makefile:757: aacenc/src/.deps/bitbuffer.Plo: No such file or directory
Makefile:758: aacenc/src/.deps/bitenc.Plo: No such file or directory
Makefile:759: aacenc/src/.deps/block_switch.Plo: No such file or directory
Makefile:760: aacenc/src/.deps/channel_map.Plo: No such file or directory
Makefile:761: aacenc/src/.deps/dyn_bits.Plo: No such file or directory
Makefile:762: aacenc/src/.deps/grp_data.Plo: No such file or directory
Makefile:763: aacenc/src/.deps/interface.Plo: No such file or directory
Makefile:764: aacenc/src/.deps/line_pe.Plo: No such file or directory
Makefile:765: aacenc/src/.deps/memalign.Plo: No such file or directory
Makefile:766: aacenc/src/.deps/ms_stereo.Plo: No such file or directory
Makefile:767: aacenc/src/.deps/pre_echo_control.Plo: No such file or directory
Makefile:768: aacenc/src/.deps/psy_configuration.Plo: No such file or directory
Makefile:769: aacenc/src/.deps/psy_main.Plo: No such file or directory
Makefile:770: aacenc/src/.deps/qc_main.Plo: No such file or directory
Makefile:771: aacenc/src/.deps/quantize.Plo: No such file or directory
Makefile:772: aacenc/src/.deps/sf_estim.Plo: No such file or directory
Makefile:773: aacenc/src/.deps/spreading.Plo: No such file or directory
Makefile:774: aacenc/src/.deps/stat_bits.Plo: No such file or directory
Makefile:775: aacenc/src/.deps/tns.Plo: No such file or directory
Makefile:776: aacenc/src/.deps/transform.Plo: No such file or directory
Makefile:777: common/.deps/cmnMemory.Plo: No such file or directory
make: *** No rule to make target 'common/.deps/cmnMemory.Plo'. Stop.
slki@ubuntu:~/git/vo-aacenc (master)$ automake --version
automake (GNU automake) 1.15
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl-2.0.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Thanks in advance.
Hi,
In common/include/voType.h:
#ifdef _WIN32
/** VO_U64 is a 64 bit unsigned quantity that is 64 bit word aligned */
typedef unsigned __int64 VO_U64;
/** VO_S64 is a 64 bit signed quantity that is 64 bit word aligned */
typedef signed __int64 VO_S64;
#else // WIN32
mingw defines _WIN32 like MSVC does. However, gcc apparently lacks MSVC specific __int64 type. Therefore, using #ifdef _MSC_VER or something would be better.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.