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

Ulf Zibis Ulf.Zibis at gmx.de
Sun Feb 16 10:58:16 EET 2020


Hi,

on my Canon PowerShot A2200 I have some movies in Quicktime format.
I can compress them 5x without any visible quality lost.

When I copy them back to the camera, they are no more playable on the
camera. Damn, I wanted to save space on the memory card.

Does anyone have an idea, which options maybe could help to get a
compatible format for my camera?

Here is the terminal output:

$ ffmpeg -i MVI_1334.MOV -c:a copy MVI_1334.mov
ffmpeg version 4.2-static https://johnvansickle.com/ffmpeg/ Copyright
(c) 2000-2019 the FFmpeg developers
   built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
   configuration: --enable-gpl --enable-version3 --enable-static
--disable-debug --disable-ffplay --disable-indev=sndio
--disable-outdev=sndio --cc=gcc-6 --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
   libavutil      56. 31.100 / 56. 31.100
   libavcodec     58. 54.100 / 58. 54.100
   libavformat    58. 29.100 / 58. 29.100
   libavdevice    58.  8.100 / 58.  8.100
   libavfilter     7. 57.100 /  7. 57.100
   libswscale      5.  5.100 /  5.  5.100
   libswresample   3.  5.100 /  3.  5.100
   libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_1334.MOV':
   Metadata:
     major_brand     : qt
     minor_version   : 537331968
     compatible_brands: qt  CAEP
     creation_time   : 2020-02-07T11:35:24.000000Z
   Duration: 00:00:23.76, start: 0.000000, bitrate: 22892 kb/s
     Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuvj420p(pc, smpte170m/bt709/bt709), 1280x720, 22763 kb/s,
29.97 fps, 29.97 tbr, 30k tbn, 60k tbc (default)
     Metadata:
       creation_time   : 2020-02-07T11:35:24.000000Z
     Stream #0:1(eng): Audio: pcm_u8 (raw  / 0x20776172), 12000 Hz,
mono, u8, 96 kb/s (default)
     Metadata:
       creation_time   : 2020-02-07T11:35:24.000000Z
Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
   Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0x59406c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1
Cache64
[libx264 @ 0x59406c0] profile Progressive High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0x59406c0] 264 - core 157 r2969 d4099dd - H.264/MPEG-4 AVC
codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
aq=1:1.00
Output #0, mov, to 'MVI_1334.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537331968
     compatible_brands: qt  CAEP
     encoder         : Lavf58.29.100
     Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661),
yuvj420p(pc), 1280x720, q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
     Metadata:
       creation_time   : 2020-02-07T11:35:24.000000Z
       encoder         : Lavc58.54.100 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
     Stream #0:1(eng): Audio: pcm_u8 (raw  / 0x20776172), 12000 Hz,
mono, u8, 96 kb/s (default)
     Metadata:
       creation_time   : 2020-02-07T11:35:24.000000Z
frame=   32 fps=0.0 q=0.0 size=       0kB time=00:00:01.42 bitrate=  
0.2kbits/sframe=   47 fps= 40 q=0.0 size=       0kB time=00:00:01.92
bitrate=   0.1kbits/sframe=   54 fps= 31 q=29.0 size=       0kB
time=00:00:01.92 bitrate=   0.1kbits/frame=   60 fps= 26 q=29.0
size=       0kB time=00:00:02.42 bitrate= 0.1kbits/frame=   66 fps= 23
q=29.0 size=       0kB time=00:00:02.42 bitrate=   0.1kbits/frame=   70
fps= 21 q=29.0 size=     256kB time=00:00:02.42 bitrate=
863.6kbits/frame=   76 fps= 19 q=29.0 size=     256kB time=00:00:02.92
bitrate= 716.1kbits/frame=   81 fps= 18 q=29.0 size=     256kB
time=00:00:02.92 bitrate= 716.1kbits/frame=   87 fps= 17 q=29.0
size=     256kB time=00:00:02.92 bitrate= 716.1kbits/frame=   92 fps= 16
q=29.0 size=     512kB time=00:00:03.42 bitrate=1223.0kbits/frame=   99
fps= 15 q=29.0 size=     512kB time=00:00:03.42
bitrate=1223.0kbits/frame=  103 fps= 15 q=29.0 size=     512kB
time=00:00:03.50 bitrate=1197.3kbits/frame=  109 fps= 15 q=29.0
size=     768kB time=00:00:03.93 bitrate=1600.9kbits/frame=  116 fps= 14
q=29.0 size=     768kB time=00:00:03.93 bitrate=1600.9kbits/frame=  122
fps= 14 q=29.0 size=     768kB time=00:00:04.43
bitrate=1420.0kbits/frame=  127 fps= 14 q=29.0 size=     768kB
time=00:00:04.43 bitrate=1420.0kbits/frame=  133 fps= 14 q=29.0 size=   
1024kB time=00:00:04.50 bitrate=1862.3kbits/frame=  140 fps= 14 q=29.0
size=    1024kB time=00:00:04.93 bitrate=1701.2kbits/frame=  146 fps= 13
q=29.0 size=    1024kB time=00:00:04.93 bitrate=1701.2kbits/frame=  151
fps= 13 q=29.0 size=    1280kB time=00:00:05.43
bitrate=1930.5kbits/frame=  157 fps= 13 q=29.0 size=    1280kB
time=00:00:05.43 bitrate=1930.5kbits/frame=  160 fps= 13 q=29.0 size=   
1280kB time=00:00:05.43 bitrate=1930.5kbits/frame=  165 fps= 13 q=29.0
size=    1280kB time=00:00:05.93 bitrate=1767.7kbits/frame=  169 fps= 12
q=29.0 size=    1536kB time=00:00:05.93 bitrate=2121.2kbits/frame=  174
fps= 12 q=29.0 size=    1536kB time=00:00:05.93
bitrate=2121.2kbits/frame=  178 fps= 12 q=29.0 size=    1536kB
time=00:00:05.93 bitrate=2121.2kbits/frame=  182 fps= 12 q=29.0 size=   
1792kB time=00:00:06.43 bitrate=2282.2kbits/frame=  187 fps= 12 q=29.0
size=    1792kB time=00:00:06.43 bitrate=2282.2kbits/frame=  191 fps= 12
q=29.0 size=    1792kB time=00:00:06.43 bitrate=2282.2kbits/frame=  196
fps= 11 q=29.0 size=    2048kB time=00:00:06.93
bitrate=2419.9kbits/frame=  200 fps= 11 q=29.0 size=    2048kB
time=00:00:06.93 bitrate=2419.9kbits/frame=  205 fps= 11 q=29.0 size=   
2048kB time=00:00:06.93 bitrate=2419.9kbits/frame=  210 fps= 11 q=29.0
size=    2304kB time=00:00:07.43 bitrate=2539.1kbits/frame=  215 fps= 11
q=29.0 size=    2304kB time=00:00:07.43 bitrate=2539.1kbits/frame=  219
fps= 11 q=29.0 size=    2304kB time=00:00:07.43
bitrate=2539.1kbits/frame=  223 fps= 11 q=29.0 size=    2304kB
time=00:00:07.43 bitrate=2539.1kbits/frame=  228 fps= 11 q=29.0 size=   
2560kB time=00:00:07.93 bitrate=2643.2kbits/frame=  233 fps= 11 q=29.0
size=    2560kB time=00:00:07.93 bitrate=2643.2kbits/frame=  237 fps= 11
q=29.0 size=    2560kB time=00:00:07.93 bitrate=2643.2kbits/frame=  241
fps= 11 q=29.0 size=    2816kB time=00:00:08.43
bitrate=2735.0kbits/frame=  245 fps= 10 q=29.0 size=    2816kB
time=00:00:08.43 bitrate=2735.0kbits/frame=  249 fps= 10 q=29.0 size=   
2816kB time=00:00:08.43 bitrate=2735.0kbits/frame=  252 fps= 10 q=29.0
size=    2816kB time=00:00:08.43 bitrate=2735.0kbits/frame=  255 fps= 10
q=29.0 size=    2816kB time=00:00:08.93 bitrate=2581.8kbits/frame=  257
fps= 10 q=29.0 size=    3072kB time=00:00:08.93
bitrate=2816.5kbits/frame=  260 fps=9.9 q=29.0 size=    3072kB
time=00:00:08.93 bitrate=2816.5kbits/frame=  263 fps=9.8 q=29.0 size=   
3072kB time=00:00:08.93 bitrate=2816.5kbits/frame=  267 fps=9.7 q=29.0
size=    3072kB time=00:00:08.93 bitrate=2816.5kbits/frame=  271 fps=9.7
q=29.0 size=    3072kB time=00:00:09.43 bitrate=2667.1kbits/frame=  275
fps=9.6 q=29.0 size=    3328kB time=00:00:09.43
bitrate=2889.4kbits/frame=  279 fps=9.6 q=29.0 size=    3328kB
time=00:00:09.43 bitrate=2889.4kbits/frame=  283 fps=9.5 q=29.0 size=   
3328kB time=00:00:09.50 bitrate=2867.0kbits/frame=  288 fps=9.5 q=29.0
size=    3584kB time=00:00:09.93 bitrate=2954.9kbits/frame=  291 fps=9.5
q=29.0 size=    3584kB time=00:00:09.93 bitrate=2954.9kbits/frame=  295
fps=9.4 q=26.0 size=    3584kB time=00:00:09.93
bitrate=2954.9kbits/frame=  301 fps=9.4 q=29.0 size=    3584kB
time=00:00:10.43 bitrate=2813.2kbits/frame=  307 fps=9.4 q=29.0 size=   
3840kB time=00:00:10.43 bitrate=3014.1kbits/frame=  311 fps=9.4 q=29.0
size=    3840kB time=00:00:10.43 bitrate=3014.1kbits/frame=  316 fps=9.4
q=29.0 size=    3840kB time=00:00:10.93 bitrate=2876.2kbits/frame=  322
fps=9.3 q=29.0 size=    4096kB time=00:00:10.93
bitrate=3068.0kbits/frame=  327 fps=9.3 q=29.0 size=    4096kB
time=00:00:10.93 bitrate=3068.0kbits/frame=  333 fps=9.3 q=29.0 size=   
4352kB time=00:00:11.43 bitrate=3117.1kbits/frame=  338 fps=9.3 q=29.0
size=    4352kB time=00:00:11.43 bitrate=3117.1kbits/frame=  343 fps=9.3
q=29.0 size=    4352kB time=00:00:11.43 bitrate=3117.1kbits/frame=  349
fps=9.3 q=29.0 size=    4608kB time=00:00:11.93
bitrate=3162.0kbits/frame=  354 fps=9.3 q=29.0 size=    4608kB
time=00:00:11.93 bitrate=3162.0kbits/frame=  358 fps=9.3 q=29.0 size=   
4608kB time=00:00:12.01 bitrate=3142.6kbits/frame=  365 fps=9.3 q=29.0
size=    4864kB time=00:00:12.43 bitrate=3203.4kbits/frame=  370 fps=9.3
q=29.0 size=    4864kB time=00:00:12.43 bitrate=3203.4kbits/frame=  375
fps=9.3 q=29.0 size=    4864kB time=00:00:12.93
bitrate=3079.5kbits/frame=  379 fps=9.2 q=26.0 size=    5120kB
time=00:00:12.93 bitrate=3241.6kbits/frame=  385 fps=9.2 q=29.0 size=   
5120kB time=00:00:12.93 bitrate=3241.6kbits/frame=  391 fps=9.3 q=29.0
size=    5376kB time=00:00:13.43 bitrate=3276.9kbits/frame=  396 fps=9.3
q=29.0 size=    5376kB time=00:00:13.43 bitrate=3276.9kbits/frame=  401
fps=9.2 q=29.0 size=    5376kB time=00:00:13.43
bitrate=3276.9kbits/frame=  407 fps=9.3 q=29.0 size=    5632kB
time=00:00:13.94 bitrate=3309.7kbits/frame=  412 fps=9.2 q=29.0 size=   
5632kB time=00:00:13.94 bitrate=3309.7kbits/frame=  417 fps=9.2 q=29.0
size=    5632kB time=00:00:13.94 bitrate=3309.7kbits/frame=  422 fps=9.2
q=29.0 size=    5888kB time=00:00:14.44 bitrate=3340.2kbits/frame=  427
fps=9.2 q=29.0 size=    5888kB time=00:00:14.44
bitrate=3340.2kbits/frame=  433 fps=9.2 q=29.0 size=    5888kB
time=00:00:14.44 bitrate=3340.2kbits/frame=  438 fps=9.2 q=29.0 size=   
6144kB time=00:00:14.94 bitrate=3368.7kbits/frame=  444 fps=9.3 q=29.0
size=    6144kB time=00:00:14.94 bitrate=3368.7kbits/frame=  448 fps=9.2
q=29.0 size=    6400kB time=00:00:15.01 bitrate=3491.8kbits/frame=  454
fps=9.3 q=29.0 size=    6400kB time=00:00:15.44
bitrate=3395.3kbits/frame=  458 fps=9.1 q=29.0 size=    6400kB
time=00:00:15.44 bitrate=3395.3kbits/frame=  462 fps=9.1 q=29.0 size=   
6400kB time=00:00:15.44 bitrate=3395.3kbits/frame=  467 fps=9.1 q=29.0
size=    6656kB time=00:00:15.94 bitrate=3420.3kbits/frame=  472 fps=9.1
q=29.0 size=    6656kB time=00:00:15.94 bitrate=3420.3kbits/frame=  477
fps=9.1 q=29.0 size=    6656kB time=00:00:15.94
bitrate=3420.3kbits/frame=  482 fps=9.1 q=29.0 size=    6912kB
time=00:00:16.44 bitrate=3443.7kbits/frame=  488 fps=9.1 q=29.0 size=   
6912kB time=00:00:16.44 bitrate=3443.7kbits/frame=  493 fps=9.1 q=29.0
size=    7168kB time=00:00:16.44 bitrate=3571.2kbits/frame=  498 fps=9.1
q=29.0 size=    7168kB time=00:00:16.94 bitrate=3465.7kbits/frame=  504
fps=9.1 q=29.0 size=    7168kB time=00:00:16.94
bitrate=3465.7kbits/frame=  510 fps=9.1 q=29.0 size=    7424kB
time=00:00:17.44 bitrate=3486.5kbits/frame=  515 fps=9.1 q=29.0 size=   
7424kB time=00:00:17.44 bitrate=3486.5kbits/frame=  520 fps=9.1 q=29.0
size=    7680kB time=00:00:17.44 bitrate=3606.7kbits/frame=  523 fps=9.0
q=29.0 size=    7680kB time=00:00:17.44 bitrate=3606.7kbits/frame=  526
fps=9.0 q=26.0 size=    7680kB time=00:00:17.94
bitrate=3506.1kbits/frame=  530 fps=9.0 q=29.0 size=    7680kB
time=00:00:17.94 bitrate=3506.1kbits/frame=  534 fps=9.0 q=29.0 size=   
7936kB time=00:00:17.94 bitrate=3623.0kbits/frame=  537 fps=8.9 q=29.0
size=    7936kB time=00:00:17.94 bitrate=3623.0kbits/frame=  542 fps=8.9
q=29.0 size=    7936kB time=00:00:18.44 bitrate=3524.7kbits/frame=  546
fps=8.9 q=29.0 size=    7936kB time=00:00:18.44
bitrate=3524.7kbits/frame=  549 fps=8.9 q=29.0 size=    8192kB
time=00:00:18.44 bitrate=3638.4kbits/frame=  552 fps=8.9 q=29.0 size=   
8192kB time=00:00:18.44 bitrate=3638.4kbits/frame=  555 fps=8.8 q=29.0
size=    8192kB time=00:00:18.94 bitrate=3542.3kbits/frame=  559 fps=8.8
q=29.0 size=    8192kB time=00:00:18.94 bitrate=3542.3kbits/frame=  565
fps=8.8 q=29.0 size=    8448kB time=00:00:18.94
bitrate=3653.0kbits/frame=  570 fps=8.8 q=29.0 size=    8448kB
time=00:00:19.44 bitrate=3559.0kbits/frame=  574 fps=8.8 q=29.0 size=   
8448kB time=00:00:19.44 bitrate=3559.0kbits/frame=  579 fps=8.8 q=29.0
size=    8704kB time=00:00:19.44 bitrate=3666.8kbits/frame=  585 fps=8.8
q=29.0 size=    8704kB time=00:00:19.94 bitrate=3574.8kbits/frame=  590
fps=8.8 q=29.0 size=    8960kB time=00:00:19.94
bitrate=3679.9kbits/frame=  595 fps=8.8 q=29.0 size=    8960kB
time=00:00:19.94 bitrate=3679.9kbits/frame=  601 fps=8.8 q=29.0 size=   
8960kB time=00:00:20.44 bitrate=3589.9kbits/frame=  607 fps=8.8 q=29.0
size=    9216kB time=00:00:20.44 bitrate=3692.4kbits/frame=  612 fps=8.8
q=29.0 size=    9216kB time=00:00:20.44 bitrate=3692.4kbits/frame=  618
fps=8.8 q=29.0 size=    9472kB time=00:00:20.94
bitrate=3704.3kbits/frame=  623 fps=8.8 q=29.0 size=    9472kB
time=00:00:20.94 bitrate=3704.3kbits/frame=  628 fps=8.8 q=29.0 size=   
9728kB time=00:00:20.94 bitrate=3804.4kbits/frame=  633 fps=8.8 q=29.0
size=    9728kB time=00:00:21.44 bitrate=3715.7kbits/frame=  638 fps=8.8
q=29.0 size=    9728kB time=00:00:21.44 bitrate=3715.7kbits/frame=  643
fps=8.8 q=29.0 size=    9984kB time=00:00:21.44
bitrate=3813.4kbits/frame=  648 fps=8.7 q=29.0 size=    9984kB
time=00:00:21.94 bitrate=3726.5kbits/frame=  653 fps=8.7 q=29.0 size=   
9984kB time=00:00:21.94 bitrate=3726.5kbits/frame=  658 fps=8.7 q=29.0
size=   10240kB time=00:00:21.94 bitrate=3822.0kbits/frame=  662 fps=8.7
q=29.0 size=   10240kB time=00:00:22.44 bitrate=3736.8kbits/frame=  666
fps=8.7 q=29.0 size=   10240kB time=00:00:22.44
bitrate=3736.8kbits/frame=  671 fps=8.7 q=29.0 size=   10496kB
time=00:00:22.44 bitrate=3830.2kbits/frame=  675 fps=8.7 q=29.0 size=  
10496kB time=00:00:22.94 bitrate=3746.7kbits/frame=  681 fps=8.7 q=29.0
size=   10496kB time=00:00:22.94 bitrate=3746.7kbits/frame=  686 fps=8.7
q=29.0 size=   10752kB time=00:0frame=  691 fps=8.7 q=29.0 size=  
10752kB time=00frame= 697 fps=8.7 q=29.0 size=   11008kB
time=00:00:23.44 bitrate=3845.6kbits/s frame=  702 fps=8.7 q=29.0
size=   11008kB time=00:00:23.44 bitrate=3845.6kbits/s frame=  706
fps=8.7 q=26.0 size=   11008kB time=00:00:23.69 bitrate=3805.9kbits/s
frame=  712 fps=8.7 q=29.0 size=   11264kB time=00:00:23.69
bitrate=3894.4kbits/s frame=  712 fps=8.2 q=-1.0 Lsize=   12207kB
time=00:00:23.69 bitrate=4220.4kbits/s speed=0.274x
video:11913kB audio:278kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.124043%
[libx264 @ 0x59406c0] frame I:7     Avg QP:23.33  size: 27206
[libx264 @ 0x59406c0] frame P:286   Avg QP:25.68  size: 18424
[libx264 @ 0x59406c0] frame B:419   Avg QP:26.61  size: 16083
[libx264 @ 0x59406c0] consecutive B-frames: 20.9%  0.8%  2.9% 75.3%
[libx264 @ 0x59406c0] mb I  I16..4: 27.3% 62.5% 10.2%
[libx264 @ 0x59406c0] mb P  I16..4: 19.4% 33.4%  3.6%  P16..4: 30.7% 
7.3%  1.7%  0.0%  0.0%    skip: 3.8%
[libx264 @ 0x59406c0] mb B  I16..4:  8.1% 14.0%  1.8%  B16..8: 36.7%
12.5%  1.6%  direct: 7.4%  skip:18.0%  L0:50.6% L1:43.2% BI: 6.3%
[libx264 @ 0x59406c0] 8x8 transform intra:59.1% inter:84.2%
[libx264 @ 0x59406c0] coded y,uvDC,uvAC intra: 46.2% 49.0% 0.8% inter:
32.7% 44.6% 0.0%
[libx264 @ 0x59406c0] i16 v,h,dc,p: 13% 57% 15% 15%
[libx264 @ 0x59406c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 55% 18% 2%  2% 
1%  4%  2%  6%
[libx264 @ 0x59406c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 73%  6% 2%  2% 
1%  4%  1%  4%
[libx264 @ 0x59406c0] i8c dc,h,v,p: 57% 32% 10%  1%
[libx264 @ 0x59406c0] Weighted P-Frames: Y:0.3% UV:0.0%
[libx264 @ 0x59406c0] ref P L0: 52.2%  9.7% 24.1% 14.0%  0.0%
[libx264 @ 0x59406c0] ref B L0: 77.7% 16.2%  6.1%
[libx264 @ 0x59406c0] ref B L1: 90.3%  9.7%
[libx264 @ 0x59406c0] kb/s:4107.79

-Ulf

--
Von meinem Seibert gesendet



More information about the ffmpeg-user mailing list