lordmulder / LameXP

Audio Encoder Front-End
http://lordmulder.github.io/LameXP
Other
184 stars 18 forks source link

conversion from opus audiobooks to ogg yields a truncated ogg #66

Closed pweasel closed 6 years ago

pweasel commented 6 years ago

Hi there, I have a bunch of 20+ hrs opus audiobooks i tried to convert to ogg (my player doesn't support straight opus) and all of them end up with 6:12:48 of converted audio.

lordmulder commented 6 years ago

Hello.

Even if you convert from Opus to Ogg/Vorbis, what happens "behind the curtain" is that your orginal Opus file is decompressed to Wave Audio via OpusDec first, and then the temporary Wave Audio file is compressed to Ogg/Vorbis. Now, unfortunately, the Wave Audio file format uses 32-Bit size fields all the way – which means that Wave Audio files technically can not grow larger than 4 GB of total size.

With extremely long files, such as audio books and stuff, you may run into that limitation. In that case, your file will be truncated at the 4 GB barrier. There is, unfortunately, not much I can do about this...

Regards MuldeR