Avidemux Forum

Avidemux => Windows => Topic started by: domenico on November 14, 2020, 05:15:55 PM

Title: Audio E-AC3: problems with decoding
Post by: domenico on November 14, 2020, 05:15:55 PM
When converting E-AC3 audio format to AAC (Or AC3), avidemux 2.7.7 (Both VC++ and normal) crashes, while with avidemux 2.7.1 everything is ok. Some help ...
Title: Re: Audio E-AC3: problems with decoding
Post by: eumagga0x2a on November 14, 2020, 06:15:13 PM
Please reproduce the crash and attach Avidemux log (%localappdata%\avidemux\admlog.txt) to your reply. Don't restart Avidemux before you have copied or moved away the file, else the log file will be overwritten.

E-AC3 playback and re-encoding to other codecs works for me just fine with the latest available win64 (cross-compiled for Windows with MinGW) nightly on Windows 10 as well as with the latest git master on Linux.
Title: Re: Audio E-AC3: problems with decoding
Post by: domenico on November 14, 2020, 09:45:27 PM
I attach both logs. Thanks for your help.
If you want I attach the crash.py file.
ps I am Italian and know little of the English language. I hope to make myself understood anyway (with the help of google)
Title: Re: Audio E-AC3: problems with decoding
Post by: eumagga0x2a on November 14, 2020, 10:52:13 PM
Thank you, so the problem is that the channel layout of the decoded audio cannot be matched to the input channel layout of the encoder. Could you please provide via WeTransfer (no email address required!), Mega, Dropbox or Google Drive a short (duration of 1 minute should suffice) sample of the source MKV, saved in copy mode?

I don't need crash.py.

Quote from: domenico on November 14, 2020, 09:45:27 PMps I am Italian and know little of the English language. I hope to make myself understood anyway (with the help of google)

Your Google Translate English is perfectly clear and readable, but you can just write in Italian if it is more comfortable (but I have to answer in English).
Title: Re: Audio E-AC3: problems with decoding
Post by: domenico on November 15, 2020, 07:58:26 AM

This is the link with WeTransfer: file (https://we.tl/t-TpH7WFOXan)
Title: Re: Audio E-AC3: problems with decoding
Post by: domenico on November 15, 2020, 08:40:21 AM

Doing some tests, if I use Audio Filters-Remix-Mixer-5.1 everything is ok. For the moment I can use this solution, waiting for some new ones.
Title: Re: Audio E-AC3: problems with decoding
Post by: eumagga0x2a on November 15, 2020, 02:13:08 PM
The problem was introduced by commit [audioDecoders/lav] Allow to query the number of channels as seen by decoder, support planar signed 16 bit sample format (https://github.com/mean00/avidemux2/commit/bc7c9fb6a4a802f8017076ccd4c6ac9578791111) which added support for 8 channel audio, it should be fixed by [audioDecoders/lav] Map side channels to rear if corresponding rear channel is not present (https://github.com/mean00/avidemux2/commit/abb830938a3ff3f45e4eb258d5aeaf78016a23a3).

Thank you for your report.
Title: Re: Audio E-AC3: problems with decoding
Post by: domenico on November 15, 2020, 03:08:45 PM
Thank you for the great work you do to develop this very useful project
Title: Re: Audio E-AC3: problems with decoding
Post by: eumagga0x2a on November 15, 2020, 10:33:10 PM
A MinGW build (r201115) presumably containing the fix is now available at https://avidemux.org/nightly/win64/
Title: Re: Audio E-AC3: problems with decoding
Post by: domenico on November 16, 2020, 02:44:47 PM
All right. Thanks again