[FFmpeg-user] How to compress .MOV file compatible to Canon camera

Ted Park kumowoon1025 at gmail.com
Wed Mar 11 00:52:20 EET 2020

> This profile is only available with VAAPI encoder, see libavcodec/vaapi_encode_h264.c
> or amfenc  encoder, see libavcodec/amfenc_h264.c
> So I tried:
> $ ~/Projects/ffmpeg/ffmpeg-git-20200211-amd64-static/ffmpeg -i MVI_1324.MOV -c:a copy -c:v h264_vaapi -profile:v constrained_baseline -level 4.1 MVI_1324.mov
> ffmpeg version N-51730-gf15007afa9-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2020 the FFmpeg developers
>   built with gcc 8 (Debian 8.3.0-6)
>   configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg

It looks like it was built without support? 

Also, I’m curious how you came to the conclusion that you need baseline, 4.1 level stream for it to play? Is that what is generated for preview on the camera?

Ted Park

More information about the ffmpeg-user mailing list