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

Nomis101 🐝 Nomis101 at web.de
Sun May 6 02:02:25 EEST 2018


Am 05.05.18 um 23:45 schrieb Lou Logan:
> Both, kind of. I assume the following commit from today fixed the segfault you experienced:
> https://git.videolan.org/?p=ffmpeg.git;a=commit;h=c1b282dc74d801f943db282e89f7729e90897669

Yes it does. 4.0 with patch:


$ 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 -ffast-math -fslp-vectorize
-D_FORTIFY_SOURCE=2 -mfpmath=sse'
--extra-cxxflags='-fstack-protector-strong -march=native -mtune=native
-fvectorize -ffast-math -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 @ 0x7fb6d380ea00] Specified sample rate 96000 is not supported
Error initializing output stream 0:0 -- Error while opening encoder for
output stream #0:0 - maybe incorrect parameters such as bit_rate, rate,
width or height
Conversion failed!



More information about the ffmpeg-user mailing list