I convert a video using
ffmpeg -loglevel error -hide_banner -nostats -nostdin \
-i "input.mp4" \
-map 0 -c:s copy -map_metadata 0 -map_metadata:s:v 0:s:v
-map_metadata:s:a 0:s:a \
-c:a aac -b:a 128k \
-codec:v hevc -tag:v hvc1 \
-preset faster -crf 25 \
-x265-params
"profile=main:me=umh:subme=5:ref=4:aq-mode=2:aq-strength=1.0:psy-rd=2.0:psy-rdoq=1.0:rd=6:log-level=1"
\
-f mp4 "output.mp4_converting"
( I am running this under macOS 10.13.4, High Sierra, see below for ffmpeg
version)
I get this error message :
Tag mp4s incompatible with output codec id '0'
(Full output below)
If you want to try it for yourself, here is the video (1GB):
https://www.dropbox.com/s/160hng6ziwhs0xr/Neuroscience%20of%20VR%2C%20Congruency%2C%20pain%20distraction%2C%20presence%2C%20Enfacement%20effect%2C%20rubber%20hand%2C%20tools%20as%20part%20of%20the%20body%2C%20redirected%20walking%20-%20Bruno%20Herbelin%2C%20CERN%2C%202017.mp4?dl=0
Can anyone please explain to me what the error message means?
And perhaps suggest a solution?
Thanks a lot in advance.
Best regards, Gabriel
Full output of the error message:
[mp4 @ 0x7fd166813c00] Tag mp4s incompatible with output codec id '0'
([0][0][0][0])
Could not write header for output file #0 (incorrect codec parameters ?):
Invalid data found when processing input
Error initializing output stream 0:1 --
ffmpeg version:
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
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".