[FFmpeg-user] Color shift (?) in BT.709
桃源老師
xanadu6291 at dream.jp
Tue Oct 13 22:19:43 CEST 2015
Hello video expert!
I'm not sure the cause is BT.709 or not. Since some of my video can play with OS X QuickTime Player very well. But some have color shift (?), strange orange block appears.
I have a question. If above strange color block disappears with the command line below, the cause can be said to BT.709?
i.e. OS X QuickTime Player can not play some of BT.709 color spaced video correctly?
if so, I'll try to contact Apple to fix it...
Command line:
roushi-no-MacBook-Pro:SA25-TR1-U3SV-2 roushi$ ffmpeg -i Sample.mp4 -an -vf colormatrix=bt709:bt601 -t 00:03:00 -ss 00:01:00 BT601.mp4
ffmpeg version N-75971-g147b121 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 7.0.0 (clang-700.0.72)
configuration: --prefix=/Volumes/ffmpeg_compile --pkg-config-flags=--static --disable-ffserver --enable-gpl --enable-version3 --enable-nonfree --enable-libmp3lame --enable-libfdk-aac --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvorbis --enable-libspeex --enable-libopus --enable-libgsm --enable-libtwolame --enable-libsoxr --enable-libwavpack --enable-libmodplug --enable-libopenjpeg --enable-libwebp --enable-libtheora --enable-libx264 --enable-libx265 --enable-libxvid --enable-libvpx --enable-libxavs --enable-libfreetype --enable-fontconfig --enable-libfribidi --enable-libass --enable-libbluray --enable-libvidstab
libavutil 55. 3.100 / 55. 3.100
libavcodec 57. 5.100 / 57. 5.100
libavformat 57. 3.100 / 57. 3.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Sample.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isomavc1
creation_time : 2015-07-25 19:13:40
Duration: 02:00:35.43, start: 0.000000, bitrate: 1327 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
creation_time : 2015-07-25 19:13:40
handler_name : Sound Media Handler
Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 856x480 [SAR 1:1 DAR 107:60], 1198 kb/s, 29.97 fps, 29.97 tbr, 60k tbn, 59.94 tbc (default)
Metadata:
creation_time : 2015-07-25 19:13:40
handler_name : Video Media Handler
encoder : AVC Coding
[libx264 @ 0x7feed9803800] using SAR=1/1
[libx264 @ 0x7feed9803800] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7feed9803800] profile High, level 3.1
[libx264 @ 0x7feed9803800] 264 - core 148 r2638 7599210 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - 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=12 lookahead_threads=2 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, mp4, to 'BT601.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isomavc1
encoder : Lavf57.3.100
Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 856x480 [SAR 1:1 DAR 107:60], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
Metadata:
creation_time : 2015-07-25 19:13:40
handler_name : Video Media Handler
encoder : Lavc57.5.100 libx264
Stream mapping:
Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 103 fps= 69 q=29.0 size= 147kB time=00:00:01.50 bitrate= 803.7kbits/
frame= 176 fps= 88 q=29.0 size= 377kB time=00:00:03.93 bitrate= 785.0kbits/
frame= 255 fps=102 q=29.0 size= 593kB time=00:00:06.57 bitrate= 739.4kbits/
frame= 329 fps=109 q=29.0 size= 888kB time=00:00:09.04 bitrate= 804.4kbits/
frame= 413 fps=117 q=29.0 size= 1091kB time=00:00:11.84 bitrate= 754.6kbits/
frame= 490 fps=121 q=29.0 size= 1303kB time=00:00:14.41 bitrate= 740.5kbits/
frame= 571 fps=126 q=29.0 size= 1543kB time=00:00:17.11 bitrate= 738.3kbits/
frame= 640 fps=127 q=29.0 size= 1788kB time=00:00:19.41 bitrate= 754.3kbits/
frame= 704 fps=127 q=29.0 size= 2071kB time=00:00:21.55 bitrate= 787.2kbits/
frame= 767 fps=127 q=29.0 size= 2357kB time=00:00:23.65 bitrate= 816.2kbits/
frame= 827 fps=126 q=29.0 size= 2664kB time=00:00:25.65 bitrate= 850.4kbits/
frame= 894 fps=127 q=29.0 size= 2943kB time=00:00:27.89 bitrate= 864.2kbits/
frame= 957 fps=126 q=29.0 size= 3211kB time=00:00:29.99 bitrate= 876.9kbits/
frame= 1064 fps=132 q=29.0 size= 3429kB time=00:00:33.56 bitrate= 837.0kbits/
frame= 1141 fps=133 q=29.0 size= 3627kB time=00:00:36.13 bitrate= 822.3kbits/
frame= 1223 fps=135 q=29.0 size= 3813kB time=00:00:38.87 bitrate= 803.6kbits/
frame= 1311 fps=137 q=29.0 size= 3989kB time=00:00:41.80 bitrate= 781.5kbits/
frame= 1389 fps=138 q=29.0 size= 4164kB time=00:00:44.41 bitrate= 768.1kbits/
frame= 1474 fps=139 q=29.0 size= 4366kB time=00:00:47.24 bitrate= 756.9kbits/
frame= 1555 fps=140 q=29.0 size= 4531kB time=00:00:49.94 bitrate= 743.2kbits/
frame= 1640 fps=142 q=29.0 size= 4730kB time=00:00:52.78 bitrate= 734.1kbits/
frame= 1734 fps=143 q=29.0 size= 4886kB time=00:00:55.92 bitrate= 715.7kbits/
frame= 1815 fps=144 q=29.0 size= 5071kB time=00:00:58.62 bitrate= 708.6kbits/
frame= 1903 fps=145 q=29.0 size= 5254kB time=00:01:01.56 bitrate= 699.2kbits/
frame= 1986 fps=146 q=29.0 size= 5421kB time=00:01:04.33 bitrate= 690.3kbits/
frame= 2071 fps=147 q=29.0 size= 5611kB time=00:01:07.16 bitrate= 684.4kbits/
frame= 2155 fps=148 q=29.0 size= 5763kB time=00:01:09.96 bitrate= 674.7kbits/
frame= 2227 fps=147 q=29.0 size= 5900kB time=00:01:12.37 bitrate= 667.8kbits/
frame= 2296 fps=147 q=26.0 size= 6015kB time=00:01:14.67 bitrate= 659.8kbits/
frame= 2376 fps=147 q=29.0 size= 6199kB time=00:01:17.34 bitrate= 656.6kbits/
frame= 2458 fps=148 q=29.0 size= 6362kB time=00:01:20.08 bitrate= 650.8kbits/
frame= 2543 fps=148 q=29.0 size= 6528kB time=00:01:22.91 bitrate= 645.0kbits/
frame= 2628 fps=149 q=29.0 size= 6709kB time=00:01:25.75 bitrate= 640.9kbits/
frame= 2707 fps=149 q=29.0 size= 6863kB time=00:01:28.38 bitrate= 636.1kbits/
frame= 2783 fps=149 q=29.0 size= 7029kB time=00:01:30.92 bitrate= 633.3kbits/
frame= 2862 fps=149 q=29.0 size= 7210kB time=00:01:33.56 bitrate= 631.3kbits/
frame= 2941 fps=149 q=29.0 size= 7375kB time=00:01:36.19 bitrate= 628.0kbits/
frame= 3022 fps=150 q=29.0 size= 7534kB time=00:01:38.89 bitrate= 624.1kbits/
frame= 3107 fps=150 q=29.0 size= 7728kB time=00:01:41.73 bitrate= 622.3kbits/
frame= 3185 fps=150 q=29.0 size= 7872kB time=00:01:44.33 bitrate= 618.0kbits/
frame= 3262 fps=150 q=29.0 size= 8024kB time=00:01:46.90 bitrate= 614.9kbits/
frame= 3342 fps=150 q=29.0 size= 8216kB time=00:01:49.57 bitrate= 614.2kbits/
frame= 3421 fps=151 q=29.0 size= 8381kB time=00:01:52.21 bitrate= 611.9kbits/
frame= 3503 fps=151 q=29.0 size= 8532kB time=00:01:54.94 bitrate= 608.1kbits/
frame= 3580 fps=151 q=29.0 size= 8709kB time=00:01:57.51 bitrate= 607.1kbits/
frame= 3660 fps=151 q=29.0 size= 8855kB time=00:02:00.18 bitrate= 603.6kbits/
frame= 3743 fps=151 q=29.0 size= 9009kB time=00:02:02.95 bitrate= 600.2kbits/
frame= 3822 fps=151 q=29.0 size= 9187kB time=00:02:05.59 bitrate= 599.2kbits/
frame= 3904 fps=152 q=29.0 size= 9367kB time=00:02:08.32 bitrate= 598.0kbits/
frame= 3989 fps=152 q=29.0 size= 9513kB time=00:02:11.16 bitrate= 594.1kbits/
frame= 4072 fps=152 q=29.0 size= 9695kB time=00:02:13.93 bitrate= 593.0kbits/
frame= 4153 fps=152 q=29.0 size= 9856kB time=00:02:16.63 bitrate= 590.9kbits/
frame= 4219 fps=152 q=29.0 size= 10055kB time=00:02:18.83 bitrate= 593.3kbits/
frame= 4292 fps=152 q=29.0 size= 10300kB time=00:02:21.27 bitrate= 597.3kbits/
frame= 4361 fps=151 q=29.0 size= 10563kB time=00:02:23.57 bitrate= 602.7kbits/
frame= 4433 fps=151 q=29.0 size= 10761kB time=00:02:25.97 bitrate= 603.9kbits/
frame= 4502 fps=151 q=29.0 size= 10955kB time=00:02:28.28 bitrate= 605.2kbits/
frame= 4569 fps=151 q=29.0 size= 11223kB time=00:02:30.51 bitrate= 610.8kbits/
frame= 4633 fps=150 q=29.0 size= 11459kB time=00:02:32.65 bitrate= 615.0kbits/
frame= 4696 fps=150 q=29.0 size= 11697kB time=00:02:34.75 bitrate= 619.2kbits/
frame= 4769 fps=150 q=29.0 size= 11935kB time=00:02:37.19 bitrate= 622.0kbits/
frame= 4845 fps=150 q=29.0 size= 12142kB time=00:02:39.72 bitrate= 622.7kbits/
frame= 4922 fps=150 q=29.0 size= 12327kB time=00:02:42.29 bitrate= 622.2kbits/
frame= 4993 fps=150 q=29.0 size= 12524kB time=00:02:44.66 bitrate= 623.0kbits/
frame= 5063 fps=149 q=29.0 size= 12783kB time=00:02:47.00 bitrate= 627.0kbits/
frame= 5133 fps=149 q=29.0 size= 12984kB time=00:02:49.33 bitrate= 628.1kbits/
frame= 5195 fps=149 q=29.0 size= 13205kB time=00:02:51.40 bitrate= 631.1kbits/
frame= 5260 fps=149 q=29.0 size= 13406kB time=00:02:53.57 bitrate= 632.7kbits/
frame= 5327 fps=148 q=29.0 size= 13655kB time=00:02:55.80 bitrate= 636.3kbits/
frame= 5395 fps=147 q=-1.0 Lsize= 14049kB time=00:02:59.94 bitrate= 639.6kbits/s
dup=1 drop=0
video:13985kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.454018%
[libx264 @ 0x7feed9803800] frame I:22 Avg QP:19.64 size: 26599
[libx264 @ 0x7feed9803800] frame P:1599 Avg QP:22.63 size: 5721
[libx264 @ 0x7feed9803800] frame B:3774 Avg QP:26.11 size: 1215
[libx264 @ 0x7feed9803800] consecutive B-frames: 3.0% 9.2% 5.6% 82.2%
[libx264 @ 0x7feed9803800] mb I I16..4: 17.7% 59.1% 23.2%
[libx264 @ 0x7feed9803800] mb P I16..4: 3.3% 7.8% 0.8% P16..4: 46.9% 12.4% 4.9% 0.0% 0.0% skip:23.9%
[libx264 @ 0x7feed9803800] mb B I16..4: 0.1% 0.3% 0.0% B16..8: 37.7% 2.0% 0.2% direct: 0.6% skip:59.2% L0:37.4% L1:59.8% BI: 2.8%
[libx264 @ 0x7feed9803800] 8x8 transform intra:65.2% inter:83.3%
[libx264 @ 0x7feed9803800] coded y,uvDC,uvAC intra: 45.0% 56.9% 10.4% inter: 7.7% 9.2% 0.1%
[libx264 @ 0x7feed9803800] i16 v,h,dc,p: 27% 32% 9% 33%
[libx264 @ 0x7feed9803800] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 15% 18% 5% 6% 10% 5% 8% 4%
[libx264 @ 0x7feed9803800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 20% 13% 4% 7% 10% 5% 6% 4%
[libx264 @ 0x7feed9803800] i8c dc,h,v,p: 46% 22% 25% 7%
[libx264 @ 0x7feed9803800] Weighted P-Frames: Y:1.5% UV:1.3%
[libx264 @ 0x7feed9803800] ref P L0: 67.5% 12.5% 15.5% 4.5% 0.0%
[libx264 @ 0x7feed9803800] ref B L0: 92.0% 6.9% 1.0%
[libx264 @ 0x7feed9803800] ref B L1: 95.6% 4.4%
[libx264 @ 0x7feed9803800] kb/s:636.40
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2374 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20151014/a5ff378a/attachment.bin>
More information about the ffmpeg-user
mailing list