> On Jan 2, 2018, at 9:44 AM, Gabriel Zachmann <z...@cs.uni-bremen.de> wrote: > > 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.
Could you share the full terminal output rather than only this part. I suspect your copying an audio encoding from the input to output that QuickTime doesn’t support, but there’s not enough clues to see that. If re-encoding the audio is acceptable, then replace -c:a copy with -c:a aac or another audio encoding that QuickTime will support. Dave Rice _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".