wav to m4a conversion problem

Bugs will be moved here once resolved.

Post » Fri Feb 20, 2015 7:30 pm

Problem Description
I have a wav-file of button click, not loud and short, and when I do "Import Sound" C2 converts it to ogg and m4a formats. Ogg format sounds good, but m4a file - is almost quiet, or some time (on other sounds) it distort them very heavy. And this happend even when I select best encoder quality. Even more - this sound crashes Safari browser on iPad!

B_Pressed.zip

sounds.zip

Please compare these 2 files converted to ogg and m4a

And this problem I have almost with all short and not loud sounds. Maybe need to tune up m4a encoder quality?

Sorry my english ))

Affected Browsers
    Safari

Operating System and Service Pack
Windows 7 64bit Sp1

Construct 2 Version ID
r195
You do not have the required permissions to view the files attached to this post.
B
12
S
3
Posts: 56
Reputation: 893

Post » Fri Feb 20, 2015 8:06 pm

As Ashley has often stated - https://www.scirra.com/forum/importing-certain-wav-files-crashes-on-safari_p862855?#p862855 - C2 has no real control of the encoding. That's down to Windows.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
129
S
29
G
77
Posts: 5,194
Reputation: 54,293

Post » Fri Feb 20, 2015 8:31 pm

Thanks for the link, same problem, yes. Trying to find any workaround... Tryed several converters, but have the same issue with resulting .m4a file, extending length of source audio file also does not help, so bad audio format :(
B
12
S
3
Posts: 56
Reputation: 893

Post » Sat Feb 21, 2015 9:28 am

Looks like I found how to encode to m4a properly: before actual sound begins - add 0.05 second of silence (less gap will not take effect or will distort start of sound), and if sound is very short add a little gap also after actual sound end (this will prevent sound distortion at the end of sound). Yes, this will add a little delay in sound playing, but I don`t see another way to fix this.
B
12
S
3
Posts: 56
Reputation: 893

Post » Mon Feb 23, 2015 1:13 pm

We have no control over the AAC encoder so there's nothing we can do about this I'm afraid - as a workaround you can find your own AAC encoder and import the .m4a files yourself.
Scirra Founder
B
383
S
225
G
86
Posts: 24,119
Reputation: 190,546

Post » Mon Feb 23, 2015 5:01 pm

Ashley wrote:We have no control over the AAC encoder so there's nothing we can do about this I'm afraid - as a workaround you can find your own AAC encoder and import the .m4a files yourself.

Yes, I`m tryed several programs-encoders (Audacity, fre:ac), but they produce the same bug with encoding to m4a... So this solution with a little gap before sound begins - is only way to make it work...
B
12
S
3
Posts: 56
Reputation: 893


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests