[FFmpeg-user] Audio not playing in Quicktime Player

Gabriel Zachmann zach at cs.uni-bremen.de
Tue Jan 2 16:44:01 EET 2018


I am converting a video , but when I play the output in Quicktime Player on macOS, then the audio seems to be gone.
However, when I play the output video using VLC, everything is fine, I can hear the audio.
The images in the video play fine in both Quicktime Player and VLC.

Does anybody have an idea what I might be doing wrong?

Here are more details.

The command line for conversion:

/usr/local/bin/ffmpeg -i "$input" \
        -map 0 -c:s copy -c:a copy -map_metadata 0 \
        -f mp4 -codec:v hevc -tag:v hvc1 \
        -preset faster -crf 24 -x265-params \
        "aq-mode=3:psy-rd=1.6:psy-rdoq=5.0:rdoq-level=1" \
        "$output"

I am living under macOS 10.13.2 (High Sierra).

The self-report of ffmpeg is:

ffmpeg version N-87824-g25bd2f4 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 9.0.0 (clang-900.0.37)
  configuration: --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 --enable-shared --enable-pthreads --enable-videotoolbox --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --extra-ldflags='-L /opt/local/lib -framework CoreVideo -lfribidi' --extra-cflags='-I /opt/local/include/ -framework CoreVideo'
  libavutil      55. 79.100 / 55. 79.100
  libavcodec     57.108.100 / 57.108.100
  libavformat    57. 84.100 / 57. 84.100
  libavdevice    57. 11.100 / 57. 11.100
  libavfilter     6.108.100 /  6.108.100
  libavresample   3.  8.  0 /  3.  8.  0
  libswscale      4.  9.100 /  4.  9.100
  libswresample   2. 10.100 /  2. 10.100
  libpostproc    54.  8.100 / 54.  8.100


Any hints and suggestions will be highly appreciated.

Best regards, Gabriel




More information about the ffmpeg-user mailing list