Created attachment 115227 [details] error message STEPS TO REPRODUCE 1. open K3b, create an audio cd project 2. add some m4a file to the project 3. OBSERVED RESULT Sometimes K3b shows an error message when I try to add a m4a file to an audio cd project. See the screenshot. EXPECTED RESULT m4a file should be added to the project without any error message. SOFTWARE VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.13.90 Qt Version: 5.11.2 KDE Frameworks Version: 5.50.0 Kernel Version: 4.18.9-arch1-1-ARCH ADDITIONAL INFORMATION K3b does not show such error to all m4a files.
Created attachment 125618 [details] WAV test file This error message also can appear when I try to add a WAV file to an audio CD project. I'm attaching a test file.
Git commit 2491cc70f9ffb129cf49633cbdc4f0d77789677d by Albert Astals Cid. Committed on 04/02/2020 at 22:21. Pushed by aacid into branch 'release/19.12'. Accept WAV files in K3bLibsndfileDecoderFactory::canDecode The comment said we exclude only WAVE as there is another plugin for this i guess refering to the K3bWaveDecoder, but with the file from bug 399056 K3bWaveDecoder doesn't know how to handler it and K3bLibsndfileDecoder does Also K3bWaveDecoder is always running first than K3bLibsndfileDecoder in AudioDecoderFactory::createDecoder so the new code is only really used if the other one fails M +1 -2 plugins/decoder/libsndfile/k3blibsndfiledecoder.cpp https://commits.kde.org/k3b/2491cc70f9ffb129cf49633cbdc4f0d77789677d
Albert, I have just built source code of 19.12 branch on my system, now I can add the wav file to an audio project. Thank you. But the problem with certain m4a files persists. I can't add a test file here because copyright, can I send a link to it to your email? Thank you again.
(In reply to Patrick Silva from comment #3) > Albert, I have just built source code of 19.12 branch on my system, now I > can add the wav file to an audio project. Thank you. But the problem with > certain m4a files persists. I can't add a test file here because copyright, > can I send a link to it to your email? Thank you again. Sure
Git commit 24d966d4fa065ab1176b329d0689673a54eea12c by Albert Astals Cid. Committed on 05/02/2020 at 23:43. Pushed by aacid into branch 'release/19.12'. K3bFFMpegFile: Support files with more than one stream If only one of those streams is audio M +27 -13 plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp https://commits.kde.org/k3b/24d966d4fa065ab1176b329d0689673a54eea12c
*** Bug 400553 has been marked as a duplicate of this bug. ***
*** Bug 394836 has been marked as a duplicate of this bug. ***
Thank you Albert. I can add and burn wav files now. I also can add m4a files but K3b fails to burn them, it says "Error while decoding audio tracks". Probably because bug 119302.