Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Severe AACENC Bug? (Read 5388 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Severe AACENC Bug?

I made the following experience:

I today made an XVID-AVI (625 MB) and an AAC-Audiofile (72,5 MB) from a whole movie.

Both play fine, when muxing alone in wmp4player, audio even in RealOnePlayer/Envivio.

The movie is 1:39:06 long.

Audio-file only, RealOne shows exactly that duration and plays fine (WMP4Player has no time stamp output).

Audio+Video muxed: WMP4Player plays movie, but audio is heavily off-sync. If opened in RealOne/Envivio it doesn't show the video, but it plays audio and shows a time of 1:43:18...something fishy here.

With MP4Creator I tried lots of combinations of rate, optimize, hint and interleave and order of muxing and whatever always with the same result. Anyone can help?

Later...

I narrowed it down a bit...it is the audio that is actually 1:43:18 long after encoding with Psytel AACENC....playing with WinAmp Plugin (showing time remaining) shows correct length from the beginning and then when reaching 0.00 starts to count up again....so there must be some info in the file it is 1:39:06 but actually it isn't...I tried with -streaming and with -streaming -profile 2 both times same result...input wav was 16 bit int and was correct.

Anyone knows of any related bug in AACENC V2.15? It seems to timestretch the input-file, making it longer, but writes the original length in the file or something?

Severe AACENC Bug?

Reply #1
What were your encoding parameters for the AAC file?  I remember trying to do some funky parameters b4 and getting screwy lengths.
Every passing minute is another chance to turn it all around.

Severe AACENC Bug?

Reply #2
It says in the post above:

One time it was: -streaming, other time it was -streaming -profile 2, nothing to special :-)

BTW: I never used FastEnc, is this maybe an alternative? You don't talk to much of it here on the forums. And there there is FAAC...

EDIT: Tried also -vr -profile 2...same problem

Severe AACENC Bug?

Reply #3
forget it :-) The problem must be in the winamp plugin (Faad)...and not in the audio file.. had the same problem with a faac encoded file....sorry for confusion, but my problem must then be somewhere in the muxing process as I originally thought, but that is off-topic here...

Severe AACENC Bug?

Reply #4
Quote
Originally posted by Chibi Jasmin
BTW: I never used FastEnc, is this maybe an alternative? You don't talk to much of it here on the forums. And there there is FAAC...


Just to clarify:

FastEnc is Psytel's "Consumer" AAC encoder (=much faster and slightly lower quality)
AACenc is the "Professional" version.

It's like Fraunhofer AACdemo 2.2 vs. AACdemo 3.0

FAAC isn't really geared towards high quality. It takes seriously it's job as just an educational tool to someone trying to learn how to create an AAC encoder, not learning how to tune it.

Anyway, soon Menno and Ivan should start working on Faad2. It will be better than Faad1.x (will be rewritten), but don't expect anything better than AACenc or Fastenc. At least as of the release date.

Regards;

Roberto.

Severe AACENC Bug?

Reply #5
Quote
Originally posted by Chibi Jasmin
forget it :-) The problem must be in the winamp plugin (Faad)...and not in the audio file.. had the same problem with a faac encoded file....sorry for confusion, but my problem must then be somewhere in the muxing process as I originally thought, but that is off-topic here...


Remember that the MPEG4ip tools are still in a beta stage.

Try hinting the mp4 file. Sometimes help.

Regards;

Roberto.

 

Severe AACENC Bug?

Reply #6
I had tried all these hinting and other flags...no result...but I seem to have found something...if I change the fps of the avi to 24 fps or 25 fps, the resulting video.mp4 is fine....if I leave the avi at original 23.976 fps, the resulting video.mp4 has frame rate of 23.000256 (as reported by mp4getfps).

There must be some bug in mp4creator with 23.976 fps input, the -rate parameter does not override this...don't know why...

So sorry, for accusing aacenc, that was only a bug in the faad output plugin that shows wrong timecode or something like that...

Severe AACENC Bug?

Reply #7
Quote
Originally posted by rjamorim


Just to clarify:

FastEnc is Psytel's "Consumer" AAC encoder (=much faster and slightly lower quality)
AACenc is the "Professional" version.


Thanx for clearing it up....I will continue with aacenc now, as it does not have the bug I assumed it to have....

There is one thing in FastEnc I like...it's the profile switch that makes it possible to use MPEG-4 AAC LC....only problem is it refused to work here, no matter what I set (-profile X), it always said: too many arguments...anyway, I'll stick to AACEnc...

While we are at it, although off-topic: Anyone has any other version of mp4creator I could try except the one in the 18-04-02 package on Rare Wares?

Severe AACENC Bug?

Reply #8
Quote
Originally posted by Chibi Jasmin
There is one thing in FastEnc I like...it's the profile switch that makes it possible to use MPEG-4 AAC LC....only problem is it refused to work here, no matter what I set (-profile X), it always said: too many arguments...anyway, I'll stick to AACEnc...


That switched never worked.

Old AACenc versions (Pre 2.0) had that switch too, but it didn't work either. Who knows, maybe Ivan was playing a joke on us.

Severe AACENC Bug?

Reply #9
Seems I am the last one to laugh about it

Severe AACENC Bug?

Reply #10
Quote
Originally posted by Chibi Jasmin
There must be some bug in mp4creator with 23.976 fps input, the -rate parameter does not override this...don't know why...


MPEG4ip doesn't work with 23.976fps. Don't ask me why.

More info here:
http://www.audiocoding.com/phorum/read.php?f=1&i=1429&t=1416

So, it's not really worth looking for a release other than RareWares'. Better wait for the people at Cisco to address this issue.

Regards;

Roberto.

Severe AACENC Bug?

Reply #11
Thanx for the information.

But my problem is not to play the final muxed video (as in the thread you pointed me to)...it plays fine...the only problem is, it has a wrong frame rate/too long duration after muxing...but fact is: mp4creator doesn't work with 23.976 fps :-)