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

Ulf Zibis Ulf.Zibis at gmx.de
Sat Mar 14 16:09:20 EET 2020


Am 14.03.20 um 11:51 schrieb Carl Eugen Hoyos:
>
> Did you already test the following?
> $ ffmpeg -i MVI_1324.MOV -acodec copy -vcodec copy out.mov

Then the codec time base remains (but it does not compress the video, which is my main purpose):

ffprobe MVI_1324_copy_git.mov
ffprobe version N-96935-g34d7c8d942 Copyright (c) 2007-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_copy_git.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     encoder         : Lavf58.41.100
   Duration: 00:00:29.10, start: 0.000000, bitrate: 23327 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:
       handler_name    : VideoHandler
     Stream #0:1(eng): Audio: pcm_u8 (raw  / 0x20776172), 12000 Hz, mono, u8, 96 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
ich at T500:/mnt/Daten/Users/ich/Pictures/Canon/258_0502$ ~/Projects/ffmpeg/dev_2/ffprobe MVI_1324.MOV
ffprobe version N-96935-g34d7c8d942 Copyright (c) 2007-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

-Ulf




More information about the ffmpeg-user mailing list