Problem with pixel format and/or missing constant

classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Problem with pixel format and/or missing constant

Ulf Zibis
Hi,

I have build ffmpeg from the latest sources and get this warning and error:

$ ~/Projects/ffmpeg/dev_2/ffmpeg -i MVI_1324.MOV -c:a copy -profile:v
baseline -level 4.1 -map_metadata 0 -movflags +faststart MVI_1324.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:
   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
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
File 'MVI_1324.mov' already exists. Overwrite? [y/N] y
Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
   Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[swscaler @ 0x56277ee3d040] deprecated pixel format used, make sure you
did set range correctly
[mpeg4 @ 0x56277ec77dc0] [Eval @ 0x7ffe60029220] Undefined constant or
missing '(' in 'baseline'
[mpeg4 @ 0x56277ec77dc0] Unable to parse option value "baseline"
[mpeg4 @ 0x56277ec77dc0] Error setting option profile to value baseline.
Error initializing output stream 0:0 -- Error while opening encoder for
output stream #0:0 - maybe incorrect parameters such as bit_rate, rate,
width or height
Conversion failed!

Using the same command line with the binary from John van Sickle works fine:

$ ~/Projects/ffmpeg/ffmpeg-git-20200211-amd64-static/ffmpeg -i
MVI_1324.MOV -c:a copy -profile:v baseline -level 4.1 -map_metadata 0
-movflags +faststart 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
File 'MVI_1324.mov' already exists. Overwrite? [y/N] y
Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
   Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0x769d500] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1
Cache64
[libx264 @ 0x769d500] profile Constrained Baseline, level 4.1, 4:2:0, 8-bit
[libx264 @ 0x769d500] 264 - core 159 r2991 1771b55 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html -
options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=0 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=0 weightp=0 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_1324.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537331968
     compatible_brands: qt  CAEP
     creation_time   : 2020-02-05T20:17:27.000000Z
     encoder         : Lavf58.38.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-05T20:17:27.000000Z
       encoder         : Lavc58.68.102 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
     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
frame=   20 fps=0.0 q=0.0 size=       0kB time=00:00:00.92 bitrate=  
0.3kbits/sframe=   43 fps= 41 q=0.0 size=       0kB time=00:00:01.50
bitrate=   0.2kbits/sframe=   51 fps= 32 q=29.0 size=       0kB
time=00:00:01.92 bitrate=   0.1kbits/frame=   57 fps= 27 q=29.0
size=     256kB time=00:00:01.92 bitrate=1087.8kbits/frame=   63 fps= 23
q=29.0 size=     256kB time=00:00:02.42 bitrate= 863.6kbits/frame=   70
fps= 21 q=29.0 size=     512kB time=00:00:02.42
bitrate=1727.1kbits/frame=   76 fps= 20 q=29.0 size=     768kB
time=00:00:02.92 bitrate=2148.0kbits/frame=   82 fps= 19 q=29.0
size=     768kB time=00:00:02.92 bitrate=2148.0kbits/frame=   88 fps= 18
q=29.0 size=    1024kB time=00:00:02.92 bitrate=2863.9kbits/frame=   94
fps= 17 q=29.0 size=    1280kB time=00:00:03.42
bitrate=3057.5kbits/frame=  100 fps= 17 q=29.0 size=    1280kB
time=00:00:03.42 bitrate=3057.5kbits/frame=  106 fps= 16 q=29.0 size=   
1536kB time=00:00:03.93 bitrate=3201.7kbits/frame=  112 fps= 16 q=29.0
size=    1536kB time=00:00:03.93 bitrate=3201.7kbits/frame=  118 fps= 16
q=29.0 size=    1792kB time=00:00:03.93 bitrate=3735.3kbits/frame=  125
fps= 15 q=29.0 size=    2048kB time=00:00:04.43
bitrate=3786.7kbits/frame=  132 fps= 15 q=29.0 size=    2048kB
time=00:00:04.43 bitrate=3786.7kbits/frame=  138 fps= 15 q=29.0 size=   
2304kB time=00:00:04.93 bitrate=3827.6kbits/frame=  145 fps= 15 q=29.0
size=    2560kB time=00:00:04.93 bitrate=4252.9kbits/frame=  150 fps= 15
q=29.0 size=    2560kB time=00:00:05.43 bitrate=3861.0kbits/frame=  156
fps= 14 q=29.0 size=    2816kB time=00:00:05.43
bitrate=4247.1kbits/frame=  161 fps= 14 q=29.0 size=    3072kB
time=00:00:05.43 bitrate=4633.2kbits/frame=  168 fps= 14 q=29.0 size=   
3328kB time=00:00:05.93 bitrate=4595.8kbits/frame=  174 fps= 14 q=29.0
size=    3328kB time=00:00:05.93 bitrate=4595.8kbits/frame=  180 fps= 14
q=29.0 size=    3584kB time=00:00:06.43 bitrate=4564.3kbits/frame=  186
fps= 14 q=29.0 size=    3584kB time=00:00:06.43
bitrate=4564.3kbits/frame=  192 fps= 14 q=29.0 size=    3840kB
time=00:00:06.43 bitrate=4890.3kbits/frame=  198 fps= 14 q=29.0 size=   
4096kB time=00:00:06.93 bitrate=4839.7kbits/frame=  205 fps= 14 q=29.0
size=    4096kB time=00:00:06.93 bitrate=4839.7kbits/frame=  211 fps= 13
q=29.0 size=    4352kB time=00:00:07.43 bitrate=4796.0kbits/frame=  217
fps= 13 q=29.0 size=    4608kB time=00:00:07.43
bitrate=5078.1kbits/frame=  223 fps= 13 q=29.0 size=    4608kB
time=00:00:07.50 bitrate=5028.2kbits/frame=  230 fps= 13 q=29.0 size=   
4864kB time=00:00:07.93 bitrate=5022.1kbits/frame=  237 fps= 13 q=29.0
size=    5120kB time=00:00:07.93 bitrate=5286.4kbits/frame=  243 fps= 13
q=29.0 size=    5120kB time=00:00:08.43 bitrate=4972.7kbits/frame=  249
fps= 13 q=29.0 size=    5376kB time=00:00:08.43
bitrate=5221.4kbits/frame=  253 fps= 13 q=29.0 size=    5632kB
time=00:00:08.43 bitrate=5470.0kbits/frame=  259 fps= 13 q=29.0 size=   
5632kB time=00:00:08.93 bitrate=5163.6kbits/frame=  265 fps= 13 q=29.0
size=    5888kB time=00:00:08.93 bitrate=5398.3kbits/frame=  271 fps= 13
q=29.0 size=    5888kB time=00:00:09.43 bitrate=5112.0kbits/frame=  276
fps= 13 q=29.0 size=    6144kB time=00:00:09.43
bitrate=5334.2kbits/frame=  283 fps= 13 q=29.0 size=    6400kB
time=00:00:09.43 bitrate=5556.5kbits/frame=  289 fps= 13 q=29.0 size=   
6400kB time=00:00:09.93 bitrate=5276.6kbits/frame=  296 fps= 13 q=29.0
size=    6656kB time=00:00:09.93 bitrate=5487.7kbits/frame=  302 fps= 13
q=29.0 size=    6912kB time=00:00:10.43 bitrate=5425.4kbits/frame=  308
fps= 13 q=29.0 size=    6912kB time=00:00:10.43
bitrate=5425.4kbits/frame=  313 fps= 13 q=29.0 size=    7168kB
time=00:00:10.43 bitrate=5626.4kbits/frame=  318 fps= 12 q=29.0 size=   
7168kB time=00:00:10.93 bitrate=5368.9kbits/frame=  325 fps= 12 q=29.0
size=    7424kB time=00:00:10.93 bitrate=5560.6kbits/frame=  331 fps= 12
q=29.0 size=    7680kB time=00:00:11.43 bitrate=5500.7kbits/frame=  337
fps= 12 q=29.0 size=    7680kB time=00:00:11.43
bitrate=5500.7kbits/frame=  343 fps= 12 q=29.0 size=    7936kB
time=00:00:11.43 bitrate=5684.0kbits/frame=  349 fps= 12 q=29.0 size=   
8192kB time=00:00:11.93 bitrate=5621.4kbits/frame=  355 fps= 12 q=29.0
size=    8448kB time=00:00:11.93 bitrate=5797.1kbits/frame=  361 fps= 12
q=29.0 size=    8448kB time=00:00:12.43 bitrate=5563.8kbits/frame=  367
fps= 12 q=29.0 size=    8704kB time=00:00:12.43
bitrate=5732.4kbits/frame=  373 fps= 12 q=29.0 size=    8960kB
time=00:00:12.43 bitrate=5901.0kbits/frame=  379 fps= 12 q=29.0 size=   
8960kB time=00:00:12.93 bitrate=5672.7kbits/frame=  384 fps= 12 q=29.0
size=    9216kB time=00:00:12.93 bitrate=5834.8kbits/frame=  390 fps= 12
q=29.0 size=    9472kB time=00:00:13.43 bitrate=5773.6kbits/frame=  395
fps= 12 q=29.0 size=    9472kB time=00:00:13.43
bitrate=5773.6kbits/frame=  401 fps= 12 q=29.0 size=    9728kB
time=00:00:13.43 bitrate=5929.6kbits/frame=  407 fps= 12 q=29.0 size=   
9984kB time=00:00:13.94 bitrate=5867.2kbits/frame=  414 fps= 12 q=29.0
size=   10240kB time=00:00:13.94 bitrate=6017.6kbits/frame=  420 fps= 12
q=29.0 size=   10240kB time=00:00:14.44 bitrate=5809.0kbits/frame=  426
fps= 12 q=29.0 size=   10496kB time=00:00:14.44
bitrate=5954.3kbits/frame=  432 fps= 12 q=29.0 size=   10752kB
time=00:00:14.44 bitrate=6099.5kbits/frame=  439 fps= 12 q=29.0 size=  
10752kB time=00:00:14.94 bitrate=5895.2kbits/frame=  445 fps= 12 q=29.0
size=   11008kB time=00:00:14.94 bitrate=6035.5kbits/frame=  452 fps= 12
q=29.0 size=   11264kB time=00:00:15.44 bitrate=5975.7kbits/frame=  458
fps= 12 q=29.0 size=   11520kB time=00:00:15.44
bitrate=6111.5kbits/frame=  463 fps= 12 q=29.0 size=   11520kB
time=00:00:15.44 bitrate=6111.5kbits/frame=  469 fps= 12 q=29.0 size=  
11776kB time=00:00:15.94 bitrate=6051.2kbits/frame=  475 fps= 12 q=29.0
size=   11776kB time=00:00:15.94 bitrate=6051.2kbits/frame=  481 fps= 12
q=29.0 size=   12032kB time=00:00:16.44 bitrate=5994.6kbits/frame=  488
fps= 12 q=29.0 size=   12288kB time=00:00:16.44
bitrate=6122.1kbits/frame=  493 fps= 12 q=29.0 size=   12288kB
time=00:00:16.44 bitrate=6122.1kbits/frame=  499 fps= 12 q=29.0 size=  
12544kB time=00:00:16.94 bitrate=6065.0kbits/frame=  506 fps= 12 q=29.0
size=   12544kB time=00:00:16.94 bitrate=6065.0kbits/frame=  511 fps= 12
q=29.0 size=   12800kB time=00:00:17.44 bitrate=6011.2kbits/frame=  516
fps= 12 q=29.0 size=   12800kB time=00:00:17.44
bitrate=6011.2kbits/frame=  523 fps= 12 q=29.0 size=   13056kB
time=00:00:17.44 bitrate=6131.5kbits/frame=  529 fps= 12 q=29.0 size=  
13056kB time=00:00:17.94 bitrate=5960.4kbits/frame=  535 fps= 12 q=29.0
size=   13312kB time=00:00:17.94 bitrate=6077.3kbits/frame=  541 fps= 12
q=29.0 size=   13568kB time=00:00:18.44 bitrate=6026.1kbits/frame=  546
fps= 12 q=29.0 size=   13568kB time=00:00:18.44
bitrate=6026.1kbits/frame=  552 fps= 12 q=29.0 size=   13824kB
time=00:00:18.44 bitrate=6139.8kbits/frame=  558 fps= 12 q=29.0 size=  
13824kB time=00:00:18.94 bitrate=5977.6kbits/frame=  564 fps= 12 q=29.0
size=   14080kB time=00:00:18.94 bitrate=6088.3kbits/frame=  570 fps= 12
q=29.0 size=   14336kB time=00:00:19.44 bitrate=6039.4kbits/frame=  576
fps= 12 q=29.0 size=   14336kB time=00:00:19.44
bitrate=6039.4kbits/frame=  583 fps= 12 q=29.0 size=   14592kB
time=00:00:19.51 bitrate=6124.0kbits/frame=  589 fps= 12 q=29.0 size=  
14592kB time=00:00:19.94 bitrate=5993.0kbits/frame=  594 fps= 12 q=29.0
size=   14848kB time=00:00:19.94 bitrate=6098.2kbits/frame=  600 fps= 12
q=29.0 size=   15104kB time=00:00:20.44 bitrate=6051.5kbits/frame=  606
fps= 12 q=29.0 size=   15104kB time=00:00:20.44
bitrate=6051.5kbits/frame=  612 fps= 12 q=29.0 size=   15360kB
time=00:00:20.44 bitrate=6154.0kbits/frame=  618 fps= 12 q=29.0 size=  
15360kB time=00:00:20.94 bitrate=6007.0kbits/frame=  624 fps= 12 q=29.0
size=   15616kB time=00:00:20.94 bitrate=6107.1kbits/frame=  631 fps= 12
q=29.0 size=   15872kB time=00:00:21.44 bitrate=6062.4kbits/frame=  637
fps= 12 q=29.0 size=   15872kB time=00:00:21.44
bitrate=6062.4kbits/frame=  643 fps= 12 q=29.0 size=   16128kB
time=00:00:21.52 bitrate=6139.0kbits/frame=  651 fps= 12 q=29.0 size=  
16128kB time=00:00:21.94 bitrate=6019.7kbits/frame=  657 fps= 12 q=29.0
size=   16384kB time=00:00:21.94 bitrate=6115.2kbits/frame=  663 fps= 12
q=29.0 size=   16384kB time=00:00:22.44 bitrate=5978.9kbits/frame=  670
fps= 12 q=29.0 size=   16640kB time=00:00:22.44
bitrate=6072.3kbits/frame=  675 fps= 12 q=29.0 size=   16640kB
time=00:00:22.94 bitrate=5939.9kbits/frame=  681 fps= 12 q=29.0 size=  
16640kB time=00:00:22.94 bitrate=5939.9kbits/frame=  686 fps= 12 q=29.0
size=   16896kB time=00:00:22.94 bitrate=6031.3kbits/frame=  690 fps= 12
q=29.0 size=   16896kB time=00:00:23.44 bitrate=5902.5kbits/frame=  693
fps= 11 q=29.0 size=   16896kB time=00:00:23.44
bitrate=5902.5kbits/frame=  696 fps= 11 q=29.0 size=   17152kB
time=00:00:23.44 bitrate=5992.0kbits/frame=  700 fps= 11 q=29.0 size=  
17152kB time=00:00:23.44 bitrate=5992.0kbits/frame=  705 fps= 11 q=29.0
size=   17152kB time=00:00:23.95 bitrate=5866.7kbits/frame=  709 fps= 11
q=29.0 size=   17408kB time=00:00:23.95 bitrate=5954.3kbits/frame=  713
fps= 11 q=29.0 size=   17408kB time=00:00:23.95
bitrate=5954.3kbits/frame=  717 fps= 11 q=29.0 size=   17408kB
time=00:00:23.95 bitrate=5954.3kbits/frame=  718 fps= 11 q=29.0 size=  
17408kB time=00:00:24.02 bitrate=5936.0kbits/frame=  722 fps= 11 q=29.0
size=   17664kB time=00:00:24.45 bitrate=5918.2kbits/frame=  725 fps= 11
q=29.0 size=   17664kB time=00:00:24.45 bitrate=5918.2kbits/frame=  728
fps= 11 q=29.0 size=   17664kB time=00:00:24.45
bitrate=5918.2kbits/frame=  731 fps= 11 q=29.0 size=   17920kB
time=00:00:24.45 bitrate=6004.0kbits/frame=  733 fps= 11 q=29.0 size=  
17920kB time=00:00:24.52 bitrate=5985.9kbits/frame=  737 fps= 11 q=29.0
size=   17920kB time=00:00:24.95 bitrate=5883.5kbits/frame=  740 fps= 11
q=29.0 size=   17920kB time=00:00:24.95 bitrate=5883.5kbits/frame=  744
fps= 11 q=29.0 size=   18176kB time=00:00:24.95
bitrate=5967.6kbits/frame=  747 fps= 11 q=29.0 size=   18176kB
time=00:00:24.95 bitrate=5967.6kbits/frame=  750 fps= 11 q=29.0 size=  
18176kB time=00:00:25.45 bitrate=5850.2kbits/frame=  753 fps= 11 q=29.0
size=   18176kB time=00:00:25.45 bitrate=5850.2kbits/frame=  757 fps= 11
q=29.0 size=   18176kB time=00:00:25.45 bitrate=5850.2kbits/frame=  761
fps= 11 q=29.0 size=   18432kB time=00:00:25.45
bitrate=5932.6kbits/frame=  765 fps= 11 q=29.0 size=   18432kB
time=00:00:25.95 bitrate=5818.2kbits/frame=  769 fps= 11 q=29.0 size=  
18432kB time=00:00:25.95 bitrate=5818.2kbits/frame=  773 fps= 11 q=29.0
size=   18688kB time=00:00:25.95 bitrate=5899.0kbits/frame=  776 fps= 11
q=29.0 size=   18688kB time=00:00:25.95 bitrate=5899.0kbits/frame=  780
fps= 11 q=29.0 size=   18688kB time=00:00:26.45
bitrate=5787.4kbits/frame=  786 fps= 11 q=29.0 size=   18944kB
time=00:00:26.45 bitrate=5866.7kbits/frame=  790 fps= 10 q=29.0 size=  
18944kB time=00:00:26.45 bitrate=5866.7kbits/frame=  793 fps= 10 q=29.0
size=   18944kB time=00:00:26.52 bitrate=5850.4kbits/frame=  798 fps= 10
q=29.0 size=   18944kB time=00:00:26.95 bitrate=5757.7kbits/frame=  802
fps= 10 q=29.0 size=   19200kB time=00:00:26.95
bitrate=5835.6kbits/frame=  806 fps= 10 q=29.0 size=   19200kB
time=00:00:26.95 bitrate=5835.6kbits/frame=  813 fps= 10 q=29.0 size=  
19456kB time=00:00:27.45 bitrate=5805.6kbits/frame=  820 fps= 10 q=29.0
size=   19456kB time=00:00:27.45 bitrate=5805.6kbits/frame=  826 fps= 10
q=29.0 size=   19712kB time=00:00:27.95 bitrate=5776.6kbits/frame=  834
fps= 10 q=29.0 size=   19712kB time=00:00:27.95
bitrate=5776.6kbits/frame=  840 fps= 10 q=29.0 size=   19968kB
time=00:00:28.45 bitrate=5748.7kbits/frame=  846 fps= 10 q=29.0 size=  
19968kB time=00:00:28.45 bitrate=5748.7kbits/frame=  853 fps= 10 q=29.0
size=   20224kB time=00:00:28.45 bitrate=5822.4kbits/frame=  860 fps= 10
q=29.0 size=   20224kB time=00:00:28.95 bitrate=5721.8kbits/frame=  866
fps= 10 q=29.0 size=   20480kB time=00:00:28.95
bitrate=5794.2kbits/frame=  872 fps= 10 q=29.0 size=   20480kB
time=00:00:29.02 bitrate=5779.5kbits/[mov @ 0x76a0f00] Starting second
pass: moving the moov atom to the beginning of the file
frame=  872 fps= 10 q=-1.0 Lsize=   21452kB time=00:00:29.06
bitrate=6046.7kbits/s speed=0.335x
video:21098kB audio:341kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.059927%
[libx264 @ 0x769d500] frame I:5     Avg QP:23.40  size: 47205
[libx264 @ 0x769d500] frame P:867   Avg QP:25.81  size: 24645
[libx264 @ 0x769d500] mb I  I16..4: 38.8%  0.0% 61.2%
[libx264 @ 0x769d500] mb P  I16..4: 12.2%  0.0%  5.9%  P16..4: 47.7%
17.5%  4.8%  0.0%  0.0%    skip:11.8%
[libx264 @ 0x769d500] coded y,uvDC,uvAC intra: 32.1% 39.9% 2.6% inter:
31.9% 29.9% 0.2%
[libx264 @ 0x769d500] i16 v,h,dc,p: 28% 31% 21% 20%
[libx264 @ 0x769d500] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 45% 20% 3%  3% 
2%  7%  2%  8%
[libx264 @ 0x769d500] i8c dc,h,v,p: 71% 15% 13%  1%
[libx264 @ 0x769d500] ref P L0: 83.3% 10.1%  6.7%
[libx264 @ 0x769d500] kb/s:5940.01

-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: Problem with pixel format and/or missing constant

kumowoon1025
Hello,

> I have build ffmpeg from the latest sources and get this warning and error:
>
> $ ~/Projects/ffmpeg/dev_2/ffmpeg -i MVI_1324.MOV -c:a copy -profile:v
> baseline -level 4.1 -map_metadata 0 -movflags +faststart MVI_1324.mov
...
> File 'MVI_1324.mov' already exists. Overwrite? [y/N] y
> Stream mapping:
>   Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
>   Stream #0:1 -> #0:1 (copy)

> Using the same command line with the binary from John van Sickle works fine:
>
> $ ~/Projects/ffmpeg/ffmpeg-git-20200211-amd64-static/ffmpeg -i
> MVI_1324.MOV -c:a copy -profile:v baseline -level 4.1 -map_metadata 0
> -movflags +faststart MVI_1324.mov
...
> File 'MVI_1324.mov' already exists. Overwrite? [y/N] y
> Stream mapping:
>   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
>   Stream #0:1 -> #0:1 (copy)

The static build you downloaded has libx264 to use for h264 as default encoder in mov files, but your build doesn’t seem to have anything other than the native encoders, so it chooses mpeg4 encoder, which apparently doesn’t take profile parameter.

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: Problem with pixel format and/or missing constant

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

> I have build ffmpeg from the latest sources and get this warning and error:
>
> $ ~/Projects/ffmpeg/dev_2/ffmpeg -i MVI_1324.MOV -c:a copy -profile:v
> baseline -level 4.1 -map_metadata 0 -movflags +faststart MVI_1324.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:

mov defaults to mpeg4 if no h264 encoder is present (you did not specify
--enable-libx264), for mpeg4 "profile baseline" is not defined.

Please use a wider console window when running ffmpeg for us, 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: Problem with pixel format and/or missing constant

Ulf Zibis

Am 11.03.20 um 18:55 schrieb Carl Eugen Hoyos:
>
> mov defaults to mpeg4 if no h264 encoder is present (you did not specify
> --enable-libx264), for mpeg4 "profile baseline" is not defined.

Thanks, it works with:
$ sudo apt install libx264-dev
$ ./configure --enable-libx264 --enable-gpl
$ make

But this makes me thinking:
$ sudo apt policy libx264*
libx264-148:
   Installiert:           (keine)
   Installationskandidat: (keine)
   Versionstabelle:
libx264-152:
   Installiert:           2:0.152.2854+gite9a5903-2
   Installationskandidat: 2:0.152.2854+gite9a5903-2
   Versionstabelle:
  *** 2:0.152.2854+gite9a5903-2 500
         500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64
Packages
         100 /var/lib/dpkg/status
libx264-dev:
   Installiert:           2:0.152.2854+gite9a5903-2
   Installationskandidat: 2:0.152.2854+gite9a5903-2
   Versionstabelle:
  *** 2:0.152.2854+gite9a5903-2 500
         500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64
Packages
         100 /var/lib/dpkg/status

It seems I'm using a very old version of libx264:
https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=libx264&searchon=names

Does John van Sickle's binary use a current version?
How can I use a more current version with the ffmpeg git version?


> Please use a wider console window when running ffmpeg for us, Carl Eugen

I'll try to remember this. Which width is ideal?

-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: Problem with pixel format and/or missing constant

Carl Eugen Hoyos-2
Am Mi., 11. März 2020 um 19:52 Uhr schrieb Ulf Zibis <[hidden email]>:

> $ sudo apt policy libx264*
> libx264-148:
>    Installiert:           (keine)
>    Installationskandidat: (keine)
>    Versionstabelle:
> libx264-152:
>    Installiert:           2:0.152.2854+gite9a5903-2
>    Installationskandidat: 2:0.152.2854+gite9a5903-2
>    Versionstabelle:
>   *** 2:0.152.2854+gite9a5903-2 500
>          500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64
> Packages
>          100 /var/lib/dpkg/status
> libx264-dev:
>    Installiert:           2:0.152.2854+gite9a5903-2
>    Installationskandidat: 2:0.152.2854+gite9a5903-2
>    Versionstabelle:
>   *** 2:0.152.2854+gite9a5903-2 500
>          500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64
> Packages
>          100 /var/lib/dpkg/status

> It seems I'm using a very old version of libx264:

Why do you think so?

> https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=libx264&searchon=names
>
> Does John van Sickle's binary use a current version?

Most likely, the console output will tell you.

> How can I use a more current version with the ffmpeg git version?

Compile a static x264 and force FFmpeg to use, needs either
pkg-config magic or --extra-cflags and --extra-ldflags.

Why do you want to use a newer x264?

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: Problem with pixel format and/or missing constant

Carl Eugen Hoyos-2
Am Mi., 11. März 2020 um 20:02 Uhr schrieb Carl Eugen Hoyos
<[hidden email]>:
>
> Am Mi., 11. März 2020 um 19:52 Uhr schrieb Ulf Zibis <[hidden email]>:

> > It seems I'm using a very old version of libx264:
>
> Why do you think so?

To elaborate:
The main differences are:
Unified support for >8 bit
Monochrome encoding
XAVC encoding

The first is really useful but only if you need 10 bit support,
the others should have less relevance.

x264 development has slowed down over time since the
encoder already was the best-in-class.

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: Problem with pixel format and/or missing constant

Lou Logan
In reply to this post by Ulf Zibis
On Wed, Mar 11, 2020, at 10:51 AM, Ulf Zibis wrote:
>
> Does John van Sickle's binary use a current version?

See the build info / readme for a list of external library versions:
https://johnvansickle.com/ffmpeg/git-readme.txt

> How can I use a more current version with the ffmpeg git version?

You can compile it:
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
_______________________________________________
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: Problem with pixel format and/or missing constant

Ulf Zibis
In reply to this post by Carl Eugen Hoyos-2

Am 11.03.20 um 20:13 schrieb Carl Eugen Hoyos:

> To elaborate:
> The main differences are:
> Unified support for >8 bit
> Monochrome encoding
> XAVC encoding
>
> The first is really useful but only if you need 10 bit support,
> the others should have less relevance.
>
> x264 development has slowed down over time since the
> encoder already was the best-in-class.

Thanks for your appraisal. So I think I can live with the 152 version.

But maybe that's the reason for this Problem:
https://forum.ubuntuusers.de/topic/video-ruckelt-mit-totem-nicht-aber-mit-vlc

Is it thinkable that libx264 could encode with constrained_baseline
profile some day? Currently it only can decode it.

John's version is:
[libx264 @ 0x769d500] 264 - core 159 r2991 1771b55 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html

-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: Problem with pixel format and/or missing constant

Lou Logan
On Wed, Mar 11, 2020, at 11:50 AM, Ulf Zibis wrote:
>
> Is it thinkable that libx264 could encode with constrained_baseline
> profile some day?

"-profile:v baseline" is Constrained Baseline. You can always refer to
the output of the ffmpeg command to see which profile is being used.

> Currently it only can decode it.

x264 is only an encoder, not a decoder.
_______________________________________________
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: Problem with pixel format and/or missing constant

kumowoon1025
In reply to this post by Ulf Zibis
Hi,

> Is it thinkable that libx264 could encode with constrained_baseline
> profile some day? Currently it only can decode it.


IIRC, contained baseline is no different from the original baseline bitstream profile, except it has a flag set (or unset). Does your decoder refuse to decode baseline profile media?

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: Problem with pixel format and/or missing constant

Carl Eugen Hoyos-2
Am Mi., 11. März 2020 um 21:27 Uhr schrieb Ted Park <[hidden email]>:
>
> Hi,
>
> > Is it thinkable that libx264 could encode with constrained_baseline
> > profile some day? Currently it only can decode it.
>
> IIRC, contained baseline is no different from the original baseline bitstream profile

All features specific to "baseline" (which do not exist in main and
high) are neither
supported by any available H.264 encoder nor decoder (including libavcodec).
All this features were removed for "constrained baseline" which is supported by
all H.264 encoders and all H.264 decoders (even if they call it "baseline").

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: Problem with pixel format and/or missing constant

Mark Filipak
In reply to this post by Lou Logan
On 03/11/2020 03:21 PM, Lou Logan wrote:

> On Wed, Mar 11, 2020, at 10:51 AM, Ulf Zibis wrote:
>>
>> Does John van Sickle's binary use a current version?
>
> See the build info / readme for a list of external library versions:
> https://johnvansickle.com/ffmpeg/git-readme.txt
>
>> How can I use a more current version with the ffmpeg git version?
>
> You can compile it:
> https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

Thanks for the link, Lou.

Mark.
_______________________________________________
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: Problem with pixel format and/or missing constant

Reindl Harald
In reply to this post by Carl Eugen Hoyos-2


Am 11.03.20 um 20:02 schrieb Carl Eugen Hoyos:
> Why do you want to use a newer x264?
>
> Carl Eugen
why do you always answer "only current GIT of ffmpeg is supported here"
to *any* question on this and then come up with a dumb "why to you want
to use a recent dependency of ffmpeg"

you have some sort of split brain
_______________________________________________
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: Problem with pixel format and/or missing constant

Carl Eugen Hoyos-2
Am Mi., 11. März 2020 um 22:44 Uhr schrieb Reindl Harald
<[hidden email]>:
>
> Am 11.03.20 um 20:02 schrieb Carl Eugen Hoyos:
> > Why do you want to use a newer x264?
> >
> why do you always answer "only current GIT of ffmpeg is supported here"

Because the development of the two projects is nowadays very different,
monochrome encodings (for example) are not supported by most decoders.

> to *any* question on this and then come up with a dumb "why to you want
> to use a recent dependency of ffmpeg"
>
> you have some sort of split brain

Please consider this a last warning.

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: Problem with pixel format and/or missing constant

Mark Filipak
On 03/11/2020 05:48 PM, Carl Eugen Hoyos wrote:

> Am Mi., 11. März 2020 um 22:44 Uhr schrieb Reindl Harald
> <[hidden email]>:
>>
>> Am 11.03.20 um 20:02 schrieb Carl Eugen Hoyos:
>>> Why do you want to use a newer x264?
>>>
>> why do you always answer "only current GIT of ffmpeg is supported here"
>
> Because the development of the two projects is nowadays very different,
> monochrome encodings (for example) are not supported by most decoders.

For what it's worth, though the MPEG encoder specs support full, 16-bit
monochrome (black-&-white) that, theoretically, would better render
monochrome video, all of the modern DVDs that I've encountered use YCbCr
4:2:0 for black-&-white movies.
_______________________________________________
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: Problem with pixel format and/or missing constant

Carl Eugen Hoyos-2
Am Mi., 11. März 2020 um 23:05 Uhr schrieb Mark Filipak
<[hidden email]>:

>
> On 03/11/2020 05:48 PM, Carl Eugen Hoyos wrote:
> > Am Mi., 11. März 2020 um 22:44 Uhr schrieb Reindl Harald
> > <[hidden email]>:
> >>
> >> Am 11.03.20 um 20:02 schrieb Carl Eugen Hoyos:
> >>> Why do you want to use a newer x264?
> >>>
> >> why do you always answer "only current GIT of ffmpeg is supported here"
> >
> > Because the development of the two projects is nowadays very different,
> > monochrome encodings (for example) are not supported by most decoders.
>
> For what it's worth, though the MPEG encoder specs support full, 16-bit
> monochrome (black-&-white) that, theoretically, would better render

I didn't know and I am mildly surprised (16bit video is very uncommon).
Otoh, "MPEG encoder spec" is not very precise...

> monochrome video, all of the modern DVDs that I've encountered use YCbCr
> 4:2:0 for black-&-white movies.

Because that is what the DVD specification requires.

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: Problem with pixel format and/or missing constant

Mark Filipak
On 03/11/2020 06:09 PM, Carl Eugen Hoyos wrote:

> Am Mi., 11. März 2020 um 23:05 Uhr schrieb Mark Filipak
> <[hidden email]>:
>>
>> On 03/11/2020 05:48 PM, Carl Eugen Hoyos wrote:
>>> Am Mi., 11. März 2020 um 22:44 Uhr schrieb Reindl Harald
>>> <[hidden email]>:
>>>>
>>>> Am 11.03.20 um 20:02 schrieb Carl Eugen Hoyos:
>>>>> Why do you want to use a newer x264?
>>>>>
>>>> why do you always answer "only current GIT of ffmpeg is supported here"
>>>
>>> Because the development of the two projects is nowadays very different,
>>> monochrome encodings (for example) are not supported by most decoders.
>>
>> For what it's worth, though the MPEG encoder specs support full, 16-bit
>> monochrome (black-&-white) that, theoretically, would better render
>
> I didn't know and I am mildly surprised (16bit video is very uncommon).
> Otoh, "MPEG encoder spec" is not very precise...
>
>> monochrome video, all of the modern DVDs that I've encountered use YCbCr
>> 4:2:0 for black-&-white movies.
>
> Because that is what the DVD specification requires.
>
> Carl Eugen

Ah! Well, that explains it. Thanks Carl Eugen. I haven't spent the
$5-thousand for the DVD spec.

By the way, of course, I made a silly mistake. I should have written
"full, 24-bit monochrome". Ooops. Senior moment.
_______________________________________________
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: Problem with pixel format and/or missing constant

kumowoon1025
In reply to this post by Carl Eugen Hoyos-2
Hi,

> All features specific to "baseline" (which do not exist in main and
> high) are neither
> supported by any available H.264 encoder nor decoder (including libavcodec).
> All this features were removed for "constrained baseline" which is supported by
> all H.264 encoders and all H.264 decoders (even if they call it "baseline”).

Can you elaborate (i.e. on the features removed)? I had been under the impression that baseline and constrained baseline didn’t specify any encoding feature restrictions and basically a name change for non-technical reasons. I just went back to read this from the ITU spec to read:
> NOTE – This specification of the Constrained Baseline profile is technically identical to specification of the use of the Baseline profile with constraint_set1_flag equal to1. Thus, any existing specifications (in other documents that reference this Recommendation | International Standard) that have referred to the use of the Baseline profile with constraint_set1_flag equal to 1 should thus be interpreted as continuing in force as being technically identical to referring to the use of the Constrained Baseline profile (without any need for revision of these existing specifications to instead refer explicitly to the use of the Constrained Baseline profile).
>

And sure enough it doesnt really say what I originally thought, I think when I go through the profile requirements, basically weighted prediction and entropy coding of any kind is not allowed in constrained baseline and no random slice order, as opposed to the original definition for baseline, is that correct?


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: Problem with pixel format and/or missing constant

kumowoon1025
In reply to this post by Mark Filipak
Hello,

>> Because that is what the DVD specification requires.
>> Carl Eugen
>
> Ah! Well, that explains it. Thanks Carl Eugen. I haven't spent the $5-thousand for the DVD spec.
>
> By the way, of course, I made a silly mistake. I should have written "full, 24-bit monochrome". Ooops. Senior moment.

Just thought the context might be mentioning... When DVD was gaining traction many people still had crts. Nobody was going to watch black and white movies on super expensive grayscale monitors, so it makes sense. (Unless you could convince someone in radiology to lend you a cart I guess :P)

> haven't spent the $5-thousand for the DVD spec

Isn’t that just to be a subscriber/member?? I think it’s a bit more than that if you want the whole DVD specs… DVD has been reverse engineered pretty extensively though, shouldn’t be too difficult to find documentation, even if its not official.


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: Problem with pixel format and/or missing constant

Carl Eugen Hoyos-2
In reply to this post by Mark Filipak
Am Mi., 11. März 2020 um 23:15 Uhr schrieb Mark Filipak
<[hidden email]>:
>
> On 03/11/2020 06:09 PM, Carl Eugen Hoyos wrote:
> > Am Mi., 11. März 2020 um 23:05 Uhr schrieb Mark Filipak
> > <[hidden email]>:

> >> For what it's worth, though the MPEG encoder specs support full, 16-bit
> >> monochrome (black-&-white) that, theoretically, would better render
> >
> > I didn't know and I am mildly surprised (16bit video is very uncommon).
> > Otoh, "MPEG encoder spec" is not very precise...
> >
> >> monochrome video, all of the modern DVDs that I've encountered
> >> use YCbCr 4:2:0 for black-&-white movies.
> >
> > Because that is what the DVD specification requires.
>
> Ah! Well, that explains it. Thanks Carl Eugen. I haven't spent the
> $5-thousand for the DVD spec.

This is part of the publicly known, non-secret part of the specification.

> By the way, of course, I made a silly mistake. I should have written
> "full, 24-bit monochrome".

I am curious: Which MPEG specification defines 24-bit monochrome
encoding?

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".
12