[FFmpeg-user] Convert to 96000 Hz DCA spdif not supported?

Nomis101 🐝 Nomis101 at web.de
Sat May 5 18:57:49 EEST 2018


I do have a 96000 Hz FLAC file which I would like to convert to DTS and
preserve the sample rate. But it seems only 41000 and 48000 is supported.


$ ffmpeg -i Alchemy_edit.flac -strict -2 -acodec dts -ar 96000 -f spdif
Alchemy_96edit.spdif
ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
  built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
  configuration: --pkg-config-flags=--static --enable-fontconfig
--enable-gpl --enable-libass --enable-libbluray --enable-libfreetype
--enable-libsoxr --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libwavpack --disable-ffplay
--enable-libx264 --enable-libx265 --enable-libxvid --enable-version3
--enable-nonfree --enable-libfdk-aac --enable-librtmp --enable-opencl
--enable-libssh --enable-openssl --enable-bsf=aac_adtstoasc
--extra-cflags='-fPIE -pie -fstack-protector-strong -march=native
-mtune=native -fvectorize -fslp-vectorize -D_FORTIFY_SOURCE=2
-mfpmath=sse' --extra-cxxflags='-fstack-protector-strong -march=native
-mtune=native -fvectorize -fslp-vectorize -D_FORTIFY_SOURCE=2
-mfpmath=sse' --extra-ldflags=-L/opt/local/lib --extra-ldexeflags='-fPIE
-pie -fstack-protector-strong -D_FORTIFY_SOURCE=2'
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, flac, from 'Alchemy_edit.flac':
  Duration: 01:30:07.91, start: 0.000000, bitrate: 8246 kb/s
    Stream #0:0: Audio: flac, 96000 Hz, 5.1(side), s32 (24 bit)
Stream mapping:
  Stream #0:0 -> #0:0 (flac (native) -> dts (dca))
Press [q] to stop, [?] for help
[dca @ 0x7fcb5a80cc00] Specified sample rate 96000 is not supported
ffmpeg(3319,0x7fffa40ce380) malloc: *** error for object
0xfffffffffffffff0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6


Is this a bug or is this really not supported? 41000 and 48000 workes fine.



More information about the ffmpeg-user mailing list