How to compress .MOV file compatible to Canon camera

classic Classic list List threaded Threaded
73 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

How to compress .MOV file compatible to Canon camera

Ulf Zibis
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

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Moritz Barsnick
On Sun, Feb 16, 2020 at 09:58:16 +0100, Ulf Zibis wrote:
> 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?

You'll have to do some experimenting. On such a camera, video encoding
and decoding are mostly done in hardware. For H.264 on can say, the
more complex the format, the more complex the hardware needs to be.

H.264 and other codecs have so-called profiles and levels to describe
encoding characteristics. Your camera's hardware is likely to be
restricted to a certain maximum profile/level combination.

With ffmpeg's libx264 encoder (which was automatically selected when
you re-encoded to MOV), you can change the default profile with the
encoding options "-profile:v" and "-level:v". (The defaults
ffmpeg/libx264 use without these options depend on other things, such
as "-preset" and possibly resolution.)

Indeed, as you presume, your best bet is to try to copy the original
format:

> 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)

Note the "Constrained Baseline".

Alas, I don't know how to tell ffmpeg/libx264 to use this profile -
only "Baseline". But you can try some of the others profile/level
combinations, as suggested in this Compatibity section in the wiki:

https://trac.ffmpeg.org/wiki/Encode/H.264#Compatibility

(The examples are for iOS, but apply to any hardware playback.)

Try from most complex (High) to most simple (Baseline) until it works.
Please note that the simpler profiles again result in larger file
sizes! You may get smaller results be reducing the quality slightly,
i.e. increasing the CRF (option "-crf") from its default 23 until you
actually notice changes.

Good luck,
Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Moritz Barsnick
On Sun, Feb 16, 2020 at 13:49:56 +0100, Moritz Barsnick wrote:
> Note the "Constrained Baseline".
>
> Alas, I don't know how to tell ffmpeg/libx264 to use this profile -
> only "Baseline".

D'uh, I just noticed that using "-profile:v baseline" will get you a
Contrained Baseline output. I still recommend experimenting. ;-)

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Ulf Zibis
Hey Moritz,

much thanks for your great suggestions. They sound really good. I'll try
all that.

-Ulf

Am 16.02.20 um 13:53 schrieb Moritz Barsnick:

> On Sun, Feb 16, 2020 at 13:49:56 +0100, Moritz Barsnick wrote:
>> Note the "Constrained Baseline".
>>
>> Alas, I don't know how to tell ffmpeg/libx264 to use this profile -
>> only "Baseline".
> D'uh, I just noticed that using "-profile:v baseline" will get you a
> Contrained Baseline output. I still recommend experimenting. ;-)
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Ulf Zibis
In reply to this post by Moritz Barsnick
I  tried with "-profile:v baseline -level 3.0" from here;
https://trac.ffmpeg.org/wiki/Encode/H.264#Compatibility

Unfortunately this didn't help.

As I don't find any documentation on this at
https://www.ffmpeg.org/ffmpeg-codecs.html#libx264_002c-libx264rgb
maybe there are more levels and variations ... where do I find more or
complete documentation on this?

-Ulf

Am 16.02.20 um 13:53 schrieb Moritz Barsnick:

> D'uh, I just noticed that using "-profile:v baseline" will get you a
> Contrained Baseline output. I still recommend experimenting. ;-)
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Carl Eugen Hoyos-2
Am Sa., 29. Feb. 2020 um 00:50 Uhr schrieb Ulf Zibis <[hidden email]>:

> As I don't find any documentation on this at
> https://www.ffmpeg.org/ffmpeg-codecs.html#libx264_002c-libx264rgb
> maybe there are more levels and variations ... where do I find more or
> complete documentation on this?

"This" will encode a video that is not compatible with any player
except FFmpeg-based software.

Please remember that top-posting is considered very rude here.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Moritz Barsnick
Ulf Zibis <[hidden email]> wrote:
> I  tried with "-profile:v baseline -level 3.0" from here;

On Sat, Feb 29, 2020 at 01:17:29 +0100, Carl Eugen Hoyos wrote:
> "This" will encode a video that is not compatible with any player
> except FFmpeg-based software.

Well, the wiki claims:
    If you want your videos to have highest compatibility with ancient devices (e.g., old Android phones):
    -profile:v baseline -level 3.0

and regarding iOS compatability of these options:
    "All devices"

Is the wiki page really that far off? (Yes, I can actually confirm that
I have issues playing this file, but I haven't figured out why.)

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Paul B Mahol
On 3/1/20, Moritz Barsnick <[hidden email]> wrote:

> Ulf Zibis <[hidden email]> wrote:
>> I  tried with "-profile:v baseline -level 3.0" from here;
>
> On Sat, Feb 29, 2020 at 01:17:29 +0100, Carl Eugen Hoyos wrote:
>> "This" will encode a video that is not compatible with any player
>> except FFmpeg-based software.
>
> Well, the wiki claims:
>     If you want your videos to have highest compatibility with ancient
> devices (e.g., old Android phones):
>     -profile:v baseline -level 3.0
>
> and regarding iOS compatability of these options:
>     "All devices"
>
> Is the wiki page really that far off? (Yes, I can actually confirm that
> I have issues playing this file, but I haven't figured out why.)
>

Wrong pixel format and encoder variant?

> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Carl Eugen Hoyos-2
In reply to this post by Carl Eugen Hoyos-2
Am Sa., 29. Feb. 2020 um 01:17 Uhr schrieb Carl Eugen Hoyos
<[hidden email]>:

>
> Am Sa., 29. Feb. 2020 um 00:50 Uhr schrieb Ulf Zibis <[hidden email]>:
>
> > As I don't find any documentation on this at
> > https://www.ffmpeg.org/ffmpeg-codecs.html#libx264_002c-libx264rgb
> > maybe there are more levels and variations ... where do I find more or
> > complete documentation on this?
>
> "This" will encode a video that is not compatible with any player
> except FFmpeg-based software.

Sorry about this:
I thought you were asking about the "libx264rgb" encoder (which encodes
videos that only FFmpeg and FFmpeg-based players can read).

Both the level and the profile options are mentioned in the documentation.
People knowing how h264 works know about "levels" and "profiles" (note
that levels have no relevance whatsoever in the software world and to the
best of my knowledge, the hardware manufactures - for whom the term
was created - refuse to guarantee compatibility with a specific level) and
would search for appropriate ffmpeg options.
The FFmpeg documentation should not explain what levels and profiles
are, I can't speak for the wiki.

Sorry, Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Ulf Zibis

Am 01.03.20 um 18:13 schrieb Carl Eugen Hoyos:
> Both the level and the profile options are mentioned in the
> documentation.
But not it's possible values :-(

> People knowing how h264 works know about "levels" and "profiles"
May be.

> The FFmpeg documentation should not explain what levels and profiles
> are
But IMHO all supported ones should at least be listed by name.
At https://www.ffmpeg.org/ffmpeg-codecs.html#Codec-Options I find only:

profile integer (/encoding,audio,video/)

    Possible values:

    ‘unknown’
    ‘aac_main’
    ‘aac_low’
    ‘aac_ssr’
    ‘aac_ltp’
    ‘aac_he’
    ‘aac_he_v2’
    ‘aac_ld’
    ‘aac_eld’
    ‘mpeg2_aac_low’
    ‘mpeg2_aac_he’
    ‘mpeg4_sp’
    ‘mpeg4_core’
    ‘mpeg4_main’
    ‘mpeg4_asp’
    ‘dts’
    ‘dts_es’
    ‘dts_96_24’
    ‘dts_hd_hra’
    ‘dts_hd_ma’

level integer (/encoding,audio,video/)

    Possible values:

    ‘unknown’


And at https://www.ffmpeg.org/ffmpeg-codecs.html#libx264_002c-libx264rgb
there is only:

profile (/profile/)

    Set profile restrictions.

But nowhere is documented e.g.:
-profile:v baseline
-profile:v main
-profile:v high
-level 3.x

Maybe there are also e.g.:
-profile mpeg4_baseline
-profile mpeg4_high

-Ulf

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Carl Eugen Hoyos-2
Am Mi., 4. März 2020 um 00:50 Uhr schrieb Ulf Zibis <[hidden email]>:
>
> Am 01.03.20 um 18:13 schrieb Carl Eugen Hoyos:
> > Both the level and the profile options are mentioned in the
> > documentation.
> But not it's possible values :-(

As you found out (I didn't know), the ones that are related to
FFmpeg are mentioned, the ones that are part of x264 are
not mentioned in the FFmpeg documentation.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Ulf Zibis

Am 04.03.20 um 00:52 schrieb Carl Eugen Hoyos:
> Am Mi., 4. März 2020 um 00:50 Uhr schrieb Ulf Zibis <[hidden email]>:
>> Am 01.03.20 um 18:13 schrieb Carl Eugen Hoyos:
>>> Both the level and the profile options are mentioned in the
>>> documentation.
>> But not it's possible values :-(
> As you found out (I didn't know), the ones that are related to
> FFmpeg are mentioned, the ones that are part of x264 are
> not mentioned in the FFmpeg documentation.

And where can I find the ones, that are part of x264 ?

Anyway, isn't x264 part of ffmpeg?

To me it looks it is:
https://www.ffmpeg.org/ffmpeg-codecs.html#libx264_002c-libx264rgb

-Ulf

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Tom Sparks-2
On 04/03/2020, Ulf Zibis <[hidden email]> wrote:

>
> Am 04.03.20 um 00:52 schrieb Carl Eugen Hoyos:
>> Am Mi., 4. März 2020 um 00:50 Uhr schrieb Ulf Zibis <[hidden email]>:
>>> Am 01.03.20 um 18:13 schrieb Carl Eugen Hoyos:
>>>> Both the level and the profile options are mentioned in the
>>>> documentation.
>>> But not it's possible values :-(
>> As you found out (I didn't know), the ones that are related to
>> FFmpeg are mentioned, the ones that are part of x264 are
>> not mentioned in the FFmpeg documentation.
>
> And where can I find the ones, that are part of x264 ?
>
> Anyway, isn't x264 part of ffmpeg?
>
> To me it looks it is:
> https://www.ffmpeg.org/ffmpeg-codecs.html#libx264_002c-libx264rgb

no, x264 is done by the VLC community see
https://www.videolan.org/developers/x264.html
ffmpeg use x264 as a library

tom
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Ulf Zibis

Am 04.03.20 um 04:51 schrieb Tom Sparks:
> On 04/03/2020, Ulf Zibis <[hidden email]> wrote:
>> Anyway, isn't x264 part of ffmpeg?
>>
>> To me it looks it is:
>> https://www.ffmpeg.org/ffmpeg-codecs.html#libx264_002c-libx264rgb
> no, x264 is done by the VLC community
Following your argumentation, ffmpeg should not document any of x264
options and instead refer to videolan docs. But ffmpeg does document it.
So on which rules most of x264 options and its values are documented and
some are not even listed (e.g. most of obviously implemented x264
profiles and levels)?

> see https://www.videolan.org/developers/x264.html
Unfortunately the documentation  there is even much less verbose than on
ffmpeg.
(Or does anyone know a link to a complete documentation?)

-Ulf

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Ulf Zibis
In reply to this post by Paul B Mahol

Am 01.03.20 um 09:56 schrieb Paul B Mahol:

> On 3/1/20, Moritz Barsnick <[hidden email]> wrote:
>> Well, the wiki claims:
>>      If you want your videos to have highest compatibility with ancient
>> devices (e.g., old Android phones):
>>      -profile:v baseline -level 3.0
>>
>> and regarding iOS compatability of these options:
>>      "All devices"
>>
>> Is the wiki page really that far off? (Yes, I can actually confirm that
>> I have issues playing this file, but I haven't figured out why.)
>>
> Wrong pixel format and encoder variant?
Pixel format is the same (yuv 420) but, encoder variant seems different:
Canon original:
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)
FFMPEG:
Video: h264 (libx264) (avc1 / 0x31637661), vj420p(pc), 1280x720,
q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)

So the question is, if and how I can force ffmpeg to use a compatible
encoding variant.

-Ulf

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Carl Eugen Hoyos-2
In reply to this post by Ulf Zibis
Am Mi., 4. März 2020 um 13:12 Uhr schrieb Ulf Zibis <[hidden email]>:

>
>
> Am 04.03.20 um 04:51 schrieb Tom Sparks:
> > On 04/03/2020, Ulf Zibis <[hidden email]> wrote:
> >> Anyway, isn't x264 part of ffmpeg?
> >>
> >> To me it looks it is:
> >> https://www.ffmpeg.org/ffmpeg-codecs.html#libx264_002c-libx264rgb
> > no, x264 is done by the VLC community
> Following your argumentation, ffmpeg should not document any of x264
> options

Correct.

> and instead refer to videolan docs.

Actually the x264 docs - which is exactly what above link does.

Note that this is not necessarily true for level and profile, these
are documented in (many) general places like Wikipedia's x264
article.

> But ffmpeg does document it.

It shouldn't in general and I guess it doesn't
(There are of course options of FFmpeg's libx264 wrapper that are
unrelated to the x264 documentation.)

> So on which rules most of x264 options and its values are documented and
> some are not even listed (e.g. most of obviously implemented x264
> profiles and levels)?
>
> > see https://www.videolan.org/developers/x264.html
> Unfortunately the documentation  there is even much less verbose than on
> ffmpeg.

> (Or does anyone know a link to a complete documentation?)

You provided a link above.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Ulf Zibis
In reply to this post by Ulf Zibis

Am 29.02.20 um 00:50 schrieb Ulf Zibis:
> I  tried with "-profile:v baseline -level 3.0" from here;
> https://trac.ffmpeg.org/wiki/Encode/H.264#Compatibility
>
> Unfortunately this didn't help.
>
> As I don't find any documentation on this at
> https://www.ffmpeg.org/ffmpeg-codecs.html#libx264_002c-libx264rgb
> maybe there are more levels and variations ... where do I find more or
> complete documentation on this?

With mediainfo I see, that I need "-profile:v constrained_baseline
-level 4.1":
Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline@L4.1 <== here ==<
Format settings                          : 1 Ref Frames
Format settings, CABAC                   : No
Format settings, ReFrames                : 1 frame
Format settings, GOP                     : M=1, N=15
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 29 s 96 ms
Bit rate                                 : 23.2 Mb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 (30000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.841
Stream size                              : 80.6 MiB (99%)
Language                                 : English
Encoded date                             : UTC 2020-02-05 20:17:27
Tagged date                              : UTC 2020-02-05 20:17:27
Color range                              : Full
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.601

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
   libavutil      56. 39.100 / 56. 39.100
   libavcodec     58. 68.102 / 58. 68.102
   libavformat    58. 38.100 / 58. 38.100
   libavdevice    58.  9.103 / 58.  9.103
   libavfilter     7. 75.100 /  7. 75.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
Unknown encoder 'h264_vaapi'

It seems, I use the wrong syntax. What is the correct syntax for
'h264_vaapi'?

-Ulf


_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

kumowoon1025
Hi,
> 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?

Regards,
Ted Park

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Ulf Zibis

Am 10.03.20 um 23:52 schrieb Ted Park:

> Hi,
>> 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?
What is the difference, if I build it myself concerning 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?

Yes.

-Ulf

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to compress .MOV file compatible to Canon camera

Moritz Barsnick
On Wed, Mar 11, 2020 at 00:47:42 +0100, Ulf Zibis wrote:
> > It looks like it was built without support?
> What is the difference, if I build it myself concerning support?

When configuring and building, you need the (development support for)
libva present. ./configure has this check:

> enabled vaapi &&
>     check_pkg_config vaapi "libva >= 0.35.0" "va/va.h" vaInitialize

This implies you need libva-devel or libva-dev >= 1.3.0 (which
introduced the requested API version 0.35).

(This check for vaapi is enabled by default.)

Cheers,
Moritz

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
1234