Menu

#568 XLD CLI error: cannot handle file

Invalid
nobody
cli (2)
Medium
Defect
2022-09-14
2022-09-13
scrutinizer
No

XLD 20220910
The command version fails every time with the error

error: cannot handle file

The regression emerged in the previous Oct 2021 version.
The command I issue is of the form
/usr/local/bin/xld -f mp3 $HOME/Music/Sweet\ Torture.m4a

and variations. It used to work prior to the 2021 and still is not fixed.

Discussion

  • tmkk

    tmkk - 2022-09-13

    I guess the .m4a file is AAC (which cannot be decoded unless an external plugin is installed), and you don't have a proper install of XLDAacDecoder.plugin (e.g. you are running ARM64 native version of XLD but the plugin is for x86-64 architecture).

     
  • scrutinizer

    scrutinizer - 2022-09-13

    Which is the arch I'm running on. The issue affects XLD in every macOS version from 10.7 to 10.14. RIght now, it's 10.9. It errors out with every format, every option and I tried every combo. I hear about some plugins in need of installation the first time ever. As I said, it worked before 2021.
    I need x86-64. Is it even available?

     

    Last edit: scrutinizer 2022-09-13
  • tmkk

    tmkk - 2022-09-13

    As far as I've tested it is working on my all test environments (10.6 and 10.12 and 10.13 and 12). "every format" "every option" isn't informative, exact information (steps to reproduce, input file format, output file format) is necessary.

     
    • scrutinizer

      scrutinizer - 2022-09-13

      Input file is ALAC (.m4a). Output file - any supported audio file format from mp3 to AIFF and WAV.

      The command just like I posted in my OP. It fails even without any option. The input file is an audio screen recording. Attaching the metadata analysis.

       
  • tmkk

    tmkk - 2022-09-13

    It isn't ALAC. It's AAC. So it is expected that "error: cannot handle file" message appears without the decoder plugin.

    Audio
    ID: 1
    Format: AAC LC
    Format/Info: Advanced Audio Codec Low Complexity

     
  • scrutinizer

    scrutinizer - 2022-09-13

    This time, I managed to encode a true AIFF PCM media to FLAC. The question is why is it compressing the original more than expected (91% vs 86%)? The command output says level 5 compression is applied. What is level 5 and how do I look up and set the levels? I attach the comparison record.

     
  • tmkk

    tmkk - 2022-09-14
    • status: New --> Invalid
     
  • tmkk

    tmkk - 2022-09-14

    Well, I'm not sure why you think that "compressing the original more than expected", but if you are mentioning to a "Stream size" field it means the actual audio data size in the whole file. In this case a cover art is embedded as PNG and it takes about 3.5 megabytes, then the "Stream size" is smaller than the actual file size.

    Anyway it is an off-topic. You seem to be able to run CLI properly, so this topic will be closed.

     

Log in to post a comment.