[FFmpeg-user] HD > SD Down-Convert Prores Color
Kevin Wells
kevwells at hotmail.co.uk
Wed May 13 16:46:05 CEST 2015
> To: ffmpeg-user at ffmpeg.org
> From: cehoyos at ag.or.at
> Date: Wed, 13 May 2015 11:13:31 +0000
> Subject: Re: [FFmpeg-user] HD> SD Down-Convert Prores Color
>
> Is encoding with prores needed to reproduce the issue,
> or are only seeing a problem with the software scaler?
The issue seems to only be present when outputting to Prores, going to mp4 does not has this issue. Below is the log from the mp4 output:
ffmpeg -i HD_BARS.mov -vf colormatrix=bt709:bt601,scale=720:576:flags=lanczos -f mp4 -c:v libx264 -pix_fmt yuv420p -strict -2 test2.mp4
ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'HD_BARS.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2015-05-12 12:56:17
Duration: 00:00:10.00, start: 0.000000, bitrate: 16901 kb/s
Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(bt709), 1920x1080, 15360 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
Metadata:
creation_time : 2015-05-12 12:56:17
handler_name : Apple Alias Data Handler
encoder : Apple ProRes 422 HQ
timecode : 00:00:00:00
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
Metadata:
creation_time : 2015-05-12 12:56:17
handler_name : Apple Alias Data Handler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
creation_time : 2015-05-12 12:56:18
handler_name : Apple Alias Data Handler
timecode : 00:00:00:00
File 'test2.mp4' already exists. Overwrite ? [y/N] y
[libx264 @ 0x7fc092012a00] using SAR=64/45
[libx264 @ 0x7fc092012a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x7fc092012a00] profile High, level 3.0
[libx264 @ 0x7fc092012a00] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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 'test2.mp4':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf56.25.101
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:
creation_time : 2015-05-12 12:56:17
handler_name : Apple Alias Data Handler
timecode : 00:00:00:00
encoder : Lavc56.26.100 libx264
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
creation_time : 2015-05-12 12:56:17
handler_name : Apple Alias Data Handler
encoder : Lavc56.26.100 aac
Stream mapping:
Stream #0:0 -> #0:0 (prores (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
frame= 28 fps=0.0 q=0.0 size= 0kB time=00:00:01.94 bitrate= 0.2kbits/sframe= 56 fps= 55 q=0.0 size= 0kB time=00:00:02.94 bitrate= 0.1kbits/sframe= 84 fps= 55 q=28.0 size= 20kB time=00:00:03.94 bitrate= 41.8kbits/frame= 113 fps= 55 q=28.0 size= 40kB time=00:00:04.94 bitrate= 65.5kbits/frame= 143 fps= 56 q=28.0 size= 59kB time=00:00:05.95 bitrate= 81.8kbits/frame= 172 fps= 56 q=28.0 size= 79kB time=00:00:06.95 bitrate= 92.6kbits/frame= 200 fps= 56 q=28.0 size= 97kB time=00:00:08.19 bitrate= 97.4kbits/frame= 230 fps= 57 q=28.0 size= 117kB time=00:00:09.94 bitrate= 96.6kbits/frame= 250 fps= 56 q=-1.0 Lsize= 178kB time=00:00:10.00 bitrate= 146.1kbits/s
video:13kB audio:157kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.164949%
[libx264 @ 0x7fc092012a00] frame I:1 Avg QP:13.11 size: 2249
[libx264 @ 0x7fc092012a00] frame P:63 Avg QP:15.15 size: 93
[libx264 @ 0x7fc092012a00] frame B:186 Avg QP:19.33 size: 23
[libx264 @ 0x7fc092012a00] consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
[libx264 @ 0x7fc092012a00] mb I I16..4: 59.4% 36.7% 3.9%
[libx264 @ 0x7fc092012a00] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 2.3% 0.0% 0.0% 0.0% 0.0% skip:97.7%
[libx264 @ 0x7fc092012a00] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.1% 0.0% 0.0% direct: 0.0% skip:99.9% L0:37.1% L1:62.9% BI: 0.0%
[libx264 @ 0x7fc092012a00] 8x8 transform intra:36.5% inter:100.0%
[libx264 @ 0x7fc092012a00] coded y,uvDC,uvAC intra: 4.1% 19.6% 3.0% inter: 0.0% 0.6% 0.0%
[libx264 @ 0x7fc092012a00] i16 v,h,dc,p: 67% 31% 2% 0%
[libx264 @ 0x7fc092012a00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 40% 22% 0% 0% 0% 0% 0% 0%
[libx264 @ 0x7fc092012a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 66% 22% 12% 0% 0% 0% 0% 0% 0%
[libx264 @ 0x7fc092012a00] i8c dc,h,v,p: 70% 13% 17% 0%
[libx264 @ 0x7fc092012a00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7fc092012a00] ref P L0: 99.4% 0.0% 0.4% 0.1%
[libx264 @ 0x7fc092012a00] ref B L0: 1.6% 98.4%
[libx264 @ 0x7fc092012a00] kb/s:9.98
More information about the ffmpeg-user
mailing list