ALAC exporting problems

What’s up guys. Today I found out how to export files as .m4a with ALAC format. And now…when I try to extract it gives off a giant error. More specifically this.


alongside this.
(couldn’t send a image because new members can’t send more than one…but basically it says “Export completed with error.”)
The large error says
"“C:\Users\LunaticAmir\Downloads\ffmpeg-2024-10-27-git-bb57b78013-full_build\bin/ffmpeg.exe” -i --acodec alac “C:\Users\LunaticAmir\Desktop\Iremovedthisforprivacy.m4a”

ffmpeg version 2024-10-27-git-bb57b78013-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 14.2.0 (Rev1, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libopenjpeg --enable-libquirc --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-libqrencode --enable-librav1e --enable-libsvtav1 --enable-libvvenc --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-liblc3 --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 59. 46.100 / 59. 46.100
libavcodec 61. 22.100 / 61. 22.100
libavformat 61. 9.100 / 61. 9.100
libavdevice 61. 4.100 / 61. 4.100
libavfilter 10. 6.100 / 10. 6.100
libswscale 8. 9.101 / 8. 9.101
libswresample 5. 4.100 / 5. 4.100
libpostproc 58. 4.100 / 58. 4.100
[in#0 @ 000001f5e60a0d80] Error opening input: No such file or directory
Error opening input file --acodec.
Error opening input files: No such file or directory"

I used the command “C:\Users\LunaticAmir\Downloads\ffmpeg-2024-10-27-git-bb57b78013-full_build\bin/ffmpeg.exe” -i --acodec alac “%f”
And it gives off an error. Any ways to fix this?

I assume that this is with the " external program" option, in which case there needs to be a single hyphen (“-”) in place of the input file name.

Yes, I am using external program, I tried what you told me but it didn’t work.

Have you checked that your command is working at the command line (without using Audacity, just using FFmpeg to convert a WAV file to ALAC)?

what exactly did you try? was it

"C:\Users\LunaticAmir\Downloads\ffmpeg-2024-10-27-git-bb57b78013-full_build\bin\ffmpeg.exe" -i - --acodec alac "%f" with the -i - ?

“C:\Users\LunaticAmir\Downloads\ffmpeg-2024-10-27-git-bb57b78013-full_build\bin\ffmpeg.exe” -i --acodec alac “%f”
It was this command.

you did not do what we told you then. It must be -i -. Not just -i followed by the codec.

“C:\Users\LunaticAmir\Downloads\ffmpeg-2024-10-27-git-bb57b78013-full_build\bin\ffmpeg.exe” -i - -acodec alac “C:\Users\LunaticAmir\Desktop\test”

ffmpeg version 2024-10-27-git-bb57b78013-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 14.2.0 (Rev1, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libopenjpeg --enable-libquirc --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-libqrencode --enable-librav1e --enable-libsvtav1 --enable-libvvenc --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-liblc3 --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 59. 46.100 / 59. 46.100
libavcodec 61. 22.100 / 61. 22.100
libavformat 61. 9.100 / 61. 9.100
libavdevice 61. 4.100 / 61. 4.100
libavfilter 10. 6.100 / 10. 6.100
libswscale 8. 9.101 / 8. 9.101
libswresample 5. 4.100 / 5. 4.100
libpostproc 58. 4.100 / 58. 4.100
[aist#0:0/pcm_f32le @ 0000027bd3378f00] Guessed Channel Layout: stereo
Input #0, wav, from ‘fd:’:
Metadata:
artist : e
title : e
album : e
date : 6
track : 1
Game : LUNATIC AMIRHOSIN’S GUNG
Duration: N/A, bitrate: 2822 kb/s
Stream #0:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, flt, 2822 kb/s
[AVFormatContext @ 0000027bd339b2c0] Unable to choose an output format for ‘C:\Users\LunaticAmir\Desktop\test’; use a standard extension for the filename or specify the format manually.
[out#0 @ 0000027bd339b6c0] Error initializing the muxer for C:\Users\LunaticAmir\Desktop\test: Invalid argument
Error opening output file C:\Users\LunaticAmir\Desktop\test.
Error opening output files: Invalid argument"
It gave this error

Now you have (incorrectly) removed one of the - characters from --acodec

You need:
... -i - --acodec alac ...

It gave this error.
“C:\Users\LunaticAmir\Downloads\ffmpeg-2024-10-27-git-bb57b78013-full_build\bin\ffmpeg.exe” -i - --acodec alac “C:\Users\LunaticAmir\Desktop\test.mp3”

ffmpeg version 2024-10-27-git-bb57b78013-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 14.2.0 (Rev1, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libopenjpeg --enable-libquirc --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-libqrencode --enable-librav1e --enable-libsvtav1 --enable-libvvenc --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-liblc3 --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 59. 46.100 / 59. 46.100
libavcodec 61. 22.100 / 61. 22.100
libavformat 61. 9.100 / 61. 9.100
libavdevice 61. 4.100 / 61. 4.100
libavfilter 10. 6.100 / 10. 6.100
libswscale 8. 9.101 / 8. 9.101
libswresample 5. 4.100 / 5. 4.100
libpostproc 58. 4.100 / 58. 4.100
Unrecognized option ‘-acodec’.
Error splitting the argument list: Option not found"

I don’t see your answer to this question (or perhaps I missed it):

I’ll try it and give you an answer
sorry for responding late.

1 Like

sorry for answering late


terminal doesn’t recognize the command, I don’t work with MS Command Prompt that much so I don’t know what to do.
I used this guide to try and do it:

Thanks for helping me out guys, I really appreciate it.

what exactly did you try?

Looks like you copy pasted the command and accidentally added a line-break between the ffmpeg path and the arguments.

I’m sorry, what does that mean?

Look at the image that you posted. The first part of the command is on the second line, then the rest of it is 4 lines from the bottom.

I’m really sorry I still don’t understand, if possible please make it a bit clearer.

I have highlighted the command.