AIMP Forum

AIMP for Windows => Вопросы / Questions => Topic started by: godson007 on January 18, 2021, 17:15:40

Title: 7 hours opus file converted two files
Post by: godson007 on January 18, 2021, 17:15:40
Use audio conversion to convert a 7-hour opus file (128kbs) to an opus file (48kbs), and then it becomes 2 files, 1 file is 6 hours and 12 minutes, 1 file is 1 hour (part2), this is not what I need . Can you fix it?
Title: Re: 7 hours opus file converted two files
Post by: Artem on January 18, 2021, 17:19:34
No, this is limitation of command-line based encoders.
Title: Re: 7 hours opus file converted two files
Post by: godson007 on January 19, 2021, 03:36:22
I don't think so, use "opus-tools-0.2-opus-1.3" (https://www.opus-codec.org/downloads/) command line "opusdec --force-wav input.opus-| opusenc --bitrate 64-output.opus" is OK.
The foobar2000 converter is OK too. They all use the same opusenc.exe.

FILE: opusenc.exe
SIZE: 523776 Bytes
MD5: ACFCBD4D4C24CF7A555D36FA098E92DF
SHA1: 5EBF3808C7899E6C5C936A049B38C2468753A2A1
CRC32: BB5C38A2
Title: Re: 7 hours opus file converted two files
Post by: godson007 on January 19, 2021, 06:29:05
aac(faac), aac(nero), tak, have the same problem
Title: Re: 7 hours opus file converted two files
Post by: Artem on January 19, 2021, 08:29:20
The foobar2000 converter is OK too. They all use the same opusenc.exe.

Ok, I will check it.
Title: Re: 7 hours opus file converted two files
Post by: alpa chino on April 19, 2022, 13:09:37
Ok, I will check it.
Hello dear sir! Any updates on this?
In my case AIMP generates 5 pieces, so 1->1 setting obviously doesn't work properly and needs some love from the developer
Title: Re: 7 hours opus file converted two files
Post by: Artem on April 19, 2022, 13:35:01
Player uses std-in interface to handle with command line encoder. The interface is limited to 4GB of PCM (uncompressed) data. This is a root of this behavior.
Title: Re: 7 hours opus file converted two files
Post by: alpa chino on April 21, 2022, 14:13:16
Is there any chance it will be improved or you consider current implementation as good enough, so - "won't fix"?
Thanks
Title: Re: 7 hours opus file converted two files
Post by: Artem on April 21, 2022, 14:27:49
Is there any chance it will be improved or you consider current implementation as good enough, so - "won't fix"?
Thanks

Yes, it possible to fix if I replace command-line encoder by it DLL-version (like few another decoders does).
Title: Re: 7 hours opus file converted two files
Post by: Artem on April 21, 2022, 16:41:48
It seems, I have found a workaround!

I have uploaded build with a workaround to alpha update channel. Please try it.
Title: Re: 7 hours opus file converted two files
Post by: alpa chino on April 21, 2022, 21:27:46
Please try it
Tested on v5.03 Beta 1, build 2382 (21.04.2022) - all good, works as expected.
Thanks a lot!
Title: Re: 7 hours opus file converted two files
Post by: Artem on April 22, 2022, 00:36:49
Thank you for testing