Why do I convert a 24bit AIFF failed in ffmpeg? 2019-03-18 06:32:19 C:\Users\Administrator\Desktop>ffmpeg -i "YOU.flac" -c:a pcm_s24le -write_id3v2 1 YOU.aiffffmpeg version N-93389-gd15117c996 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8.2.1 (GCC) 20190212 libavutil 56. 26.100 / 56. 26.100 libavcodec 58. 47.103 / 58. 47.103 libavformat 58. 26.101 / 58. 26.101 libavdevice 58. 6.101 / 58. 6.101 libavfilter 7. 48.100 / 7. 48.100 libswscale 5. 4.100 / 5. 4.100 libswresample 3. 4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100Input #0, flac, from 'YOU.flac': Metadata: TITLE : YOU ALBUM : YOU ARTIST : 寮犳暚杞 Duration: 00:03:26.45, start: 0.000000, bitrate: 1749 kb/s Stream #0:0: Audio: flac, 48000 Hz, stereo, s32 (24 bit)Stream mapping: Stream #0:0 -> #0:0 (flac (native) -> pcm_s24le (native))Press [q] to stop, [?] for helpCould not write header for output file #0 (incorrect codec parameters ?): Operation not permittedError initializing output stream 0:0 --Conversion failed!Why do I convert a 24bit AIFF failed in ffmpeg?Does ffmpeg support AIFF 24bit converting?
Re: Why do I convert a 24bit AIFF failed in ffmpeg? Reply #1 – 2019-03-18 08:11:18 Yeah, it looks like you don't have write permission for the destination folder. Last Edit: 2019-03-18 08:17:26 by kode54
Re: Why do I convert a 24bit AIFF failed in ffmpeg? Reply #2 – 2019-03-18 08:20:55 Quote from: kode54 on 2019-03-18 08:11:18Oh, you're trying to convert FLAC to AIFF. Huh. I'll look at the code.Thank you ver much.I also fail to convert different formats of 24bit audios (such as wav,alac,aiff and so on) to aiff in ffmpeg.
Re: Why do I convert a 24bit AIFF failed in ffmpeg? Reply #3 – 2019-03-18 08:24:38 Quote from: kode54 on 2019-03-18 08:11:18Yeah, it looks like you don't have write permission for the destination folder.but it would be successfully converting if the output audio was 16bit
Re: Why do I convert a 24bit AIFF failed in ffmpeg? Reply #4 – 2019-03-18 08:28:24 C:\Users\Administrator\Desktop>ffmpeg -i "YOU.flac" -c:a pcm_s16le -write_id3v2 1 YOU.aiffffmpeg version N-93389-gd15117c996 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8.2.1 (GCC) 20190212 libavutil 56. 26.100 / 56. 26.100 libavcodec 58. 47.103 / 58. 47.103 libavformat 58. 26.101 / 58. 26.101 libavdevice 58. 6.101 / 58. 6.101 libavfilter 7. 48.100 / 7. 48.100 libswscale 5. 4.100 / 5. 4.100 libswresample 3. 4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100Input #0, flac, from 'YOU.flac': Metadata: TITLE : YOU ALBUM : YOU ARTIST : 寮犳暚杞 Duration: 00:03:26.45, start: 0.000000, bitrate: 1749 kb/s Stream #0:0: Audio: flac, 48000 Hz, stereo, s32 (24 bit)Stream mapping: Stream #0:0 -> #0:0 (flac (native) -> pcm_s16le (native))Press [q] to stop, [?] for helpOutput #0, aiff, to 'YOU.aiff': Metadata: TITLE : YOU ALBUM : YOU ARTIST : 寮犳暚杞 encoder : Lavf58.26.101 Stream #0:0: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s Metadata: encoder : Lavc58.47.103 pcm_s16lesize= 38710kB time=00:03:26.44 bitrate=1536.0kbits/s speed= 735xvideo:0kB audio:38709kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000474%but it succeed when converting to 16bit Last Edit: 2019-03-18 08:30:03 by hintlou
Re: Why do I convert a 24bit AIFF failed in ffmpeg? Reply #5 – 2019-03-18 08:40:53 Quote from: hintlou on 2019-03-18 06:32:19[...] built with gcc 8.2.1 (GCC) 20190212 libavutil 56. 26.100 / 56. 26.100 libavcodec 58. 47.103 / 58. 47.103 libavformat 58. 26.101 / 58. 26.101 libavdevice 58. 6.101 / 58. 6.101 libavfilter 7. 48.100 / 7. 48.100 libswscale 5. 4.100 / 5. 4.100 libswresample 3. 4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100[...]Quote from: hintlou on 2019-03-18 08:28:24[...] built with gcc 8.2.1 (GCC) 20190212 libavutil 56. 26.100 / 56. 26.100 libavcodec 58. 47.103 / 58. 47.103 libavformat 58. 26.101 / 58. 26.101 libavdevice 58. 6.101 / 58. 6.101 libavfilter 7. 48.100 / 7. 48.100 libswscale 5. 4.100 / 5. 4.100 libswresample 3. 4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100[...]littlebit not theme: ffmpeg -hide_banner ...
Re: Why do I convert a 24bit AIFF failed in ffmpeg? Reply #6 – 2019-03-18 08:45:28 Quote from: m14u on 2019-03-18 08:40:53Quote from: hintlou on 2019-03-18 06:32:19[...] built with gcc 8.2.1 (GCC) 20190212 libavutil 56. 26.100 / 56. 26.100 libavcodec 58. 47.103 / 58. 47.103 libavformat 58. 26.101 / 58. 26.101 libavdevice 58. 6.101 / 58. 6.101 libavfilter 7. 48.100 / 7. 48.100 libswscale 5. 4.100 / 5. 4.100 libswresample 3. 4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100[...]Quote from: hintlou on 2019-03-18 08:28:24[...] built with gcc 8.2.1 (GCC) 20190212 libavutil 56. 26.100 / 56. 26.100 libavcodec 58. 47.103 / 58. 47.103 libavformat 58. 26.101 / 58. 26.101 libavdevice 58. 6.101 / 58. 6.101 libavfilter 7. 48.100 / 7. 48.100 libswscale 5. 4.100 / 5. 4.100 libswresample 3. 4.100 / 3. 4.100 libpostproc 55. 4.100 / 55. 4.100[...]littlebit not theme: ffmpeg -hide_banner ...haha,thank you! I got it!Useful!
Re: Why do I convert a 24bit AIFF failed in ffmpeg? Reply #7 – 2019-03-18 09:37:36 Hi,Perhaps an endianness-related problem.Try pcm_s24be instead of pcm_s24le. AiZ
Re: Why do I convert a 24bit AIFF failed in ffmpeg? Reply #8 – 2019-03-18 10:44:01 Quote from: AiZ on 2019-03-18 09:37:36Hi,Perhaps an endianness-related problem.Try pcm_s24be instead of pcm_s24le. AiZMy problem was solved!Thank You!