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

Ulf Zibis Ulf.Zibis at gmx.de
Thu Mar 12 02:30:13 EET 2020


Am 12.03.20 um 00:07 schrieb Carl Eugen Hoyos:
>
> You can also try -video_track_timescale, this often was the
> reason for incompatibilities.
This results in an error (and I too can't find video_track_timescale in
the docs :-( ):

$ ffmpeg -i MVI_1324.MOV -c:a copy -profile:v baseline -level 4.1
-colorspace smpte170m -color_primaries bt709 -color_trc bt709 -refs 1 -g
15 -video_track_timescale -map_metadata 0 MVI_1324_smpte170m_git.mov
ffmpeg version N-96935-g34d7c8d942 Copyright (c) 2000-2020 the FFmpeg
developers
   built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
   configuration: --enable-libx264 --enable-gpl
   libavutil      56. 42.100 / 56. 42.100
   libavcodec     58. 75.100 / 58. 75.100
   libavformat    58. 41.100 / 58. 41.100
   libavdevice    58.  9.103 / 58.  9.103
   libavfilter     7. 77.100 /  7. 77.100
   libswscale      5.  6.100 /  5.  6.100
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_1324.MOV':
   Metadata:
     major_brand     : qt
     minor_version   : 537331968
     compatible_brands: qt  CAEP
     creation_time   : 2020-02-05T20:17:27.000000Z
   Duration: 00:00:29.10, start: 0.000000, bitrate: 23351 kb/s
     Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuvj420p(pc, smpte170m/bt709/bt709), 1280x720, 23228 kb/s,
29.97 fps, 29.97 tbr, 30k tbn, 60k tbc (default)
     Metadata:
       creation_time   : 2020-02-05T20:17:27.000000Z
     Stream #0:1(eng): Audio: pcm_u8 (raw  / 0x20776172), 12000 Hz,
mono, u8, 96 kb/s (default)
     Metadata:
       creation_time   : 2020-02-05T20:17:27.000000Z
[NULL @ 0x56293d1e4d80] Unable to find a suitable output format for '0'
0: Invalid argument

(Unfortunately the lines I write are wrapped after 80 characters, even I
use wider console. I guess this is due to the restriction to text format
in the mailing list.)

-Ulf



More information about the ffmpeg-user mailing list