Mailing ListMailing List   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

amadeus inserts silence at end when compressing

 
Post new topic   Reply to topic    www.hairersoft.com Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
mattn



Joined: 02 Dec 2008
Posts: 8

PostPosted: Fri Feb 26, 2010 3:26 am    Post subject: amadeus inserts silence at end when compressing Reply with quote

Start with an uncompressed AIFF where the sound goes right to the end (no silence at all at end). Open it with Amadeus and save as m4a (AAC). Now close the file and open the m4a. You will see a silence appended to the end of the file.

Is this a bug or is it an inevitable consequence of the compression process?
Back to top
View user's profile Send private message
Martin Hairer
Site Admin


Joined: 08 Nov 2006
Posts: 1615

PostPosted: Sun Feb 28, 2010 12:44 pm    Post subject: amadeus inserts silence at end when compressing Reply with quote

Quote:
Start with an uncompressed AIFF where the sound goes right to the end (no silence at all at end). Open it with Amadeus and save as m4a (AAC). Now close the file and open the m4a. You will see a silence appended to the end of the file.

Is this a bug or is it an inevitable consequence of the compression process?

I managed to reproduce this. At this stage, it looks like a bug in the function that decodes the m4a file. (The decoded file is indeed slightly longer than the original, with the remainder filled with silence.) I am rather confident that the file itself is OK, i.e. the encoder works as expected since the same glitch appears if I use iTunes for the encoding.

I haven't yet managed to decide whether the bug is in Apple's file reading API or whether it is my fault for using the API incorrectly. Regards,

Martin

HairerSoft
http://www.hairersoft.com/


_______________________________________________
Amadeus forum mailing list
Unsubscribe / change settings at http://two.pairlist.net/mailman/listinfo/forum_list
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.hairersoft.com Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group