[FFmpeg-trac] #6158(avcodec:open): ffmpeg does not detect/decode MQA encoded FLAC properly

FFmpeg trac at avcodec.org
Sun Mar 5 10:41:46 EET 2023

#6158: ffmpeg does not detect/decode MQA encoded FLAC properly
             Reporter:  Nomis101    |                    Owner:  (none)
                 Type:  defect      |                   Status:  open
             Priority:  wish        |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  MQA, FLAC   |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
Changes (by Balling):

 * status:  reopened => open


 I managed to finally hack the second unfold in. But 3rd unfold will not
 work and for 44100 24 bit files with ORIGINALSAMPLERATE 44100 the first
 unfold will work but the second will produce the same file with b stage
 metadata still. Even then by default mqarender will render at x2 frequncy,
 and that will corrupt the wav file. The opposite problem is for 3rd unfold
 files, with -r 352800 it will corrupt the file, without -r everything is

 The command one should use is (after unpacking rootfs with everything, not
 just one library into lib). Yes, this uses ld linker as executable. I use
 new library from web.archive https://0x0.st/HzxT.tar.bz2

 ./lib/lib/ld-linux-armhf.so.3 --library-path /home/dextop/Downloads/mqa-
 '/home/dextop/Downloads/mqa-master/arm/mqarender' ./outp7.wav

 There are some interesting points about making it so only 2nd unfold will
 be permissable:


 I also opened an issue upstream:
Ticket URL: <https://trac.ffmpeg.org/ticket/6158#comment:16>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list