[FFmpeg-user] Color matching to source a problem for ProRes
Pete Willis
pete at flatgrey.com
Wed Jul 18 15:47:45 EEST 2018
We are trying to match the output colour to the source content but although the output formats matches the source we cannot get it to match.
Screenshot attached of the 3 outputs plus the original (top right) we have tested with media info for each:
Using these settings:
flags=lanczos,colormatrix=bt601:bt709 [v] -acodec pcm_s24le -b:a 128k -b:v 512k -vcodec prores_ks -r 23.976023976023978 -f mov -profile:v 3 -qscale 4 -pix_fmt yuv422p -y -map [v] -map [a] -timecode 00:59:53:00 /videos/C1234_100_12HD_TestRaw.mov
We have also tried -pix_fmt yuv422p10le (number 4 in the image)
Removing the flags=lanczos (Number 3)
Below is the media info for each
1. (Top left) output
Video
ID : 1
Format : ProRes
Format version : Version 0
Format profile : 422 HQ
Codec ID : apch
Duration : 37s 37ms
Bit rate mode : Variable
Bit rate : 124 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:2
Scan type : Progressive
Bits/(Pixel*Frame) : 2.485
Stream size : 546 MiB (98%)
Writing library : Lavc
Language : English
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
2. (Top right) source content
ID : 1
Format : ProRes
Format version : Version 0
Format profile : 422 HQ
Codec ID : apch
Duration : 37s 37ms
Bit rate mode : Variable
Bit rate : 89.7 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:2
Scan type : Progressive
Bits/(Pixel*Frame) : 1.805
Stream size : 396 MiB (98%)
Writing library : aut0
Language : English
Encoded date : UTC 2017-04-26 17:06:27
Tagged date : UTC 2017-04-26 17:06:27
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
matrix_coefficients_Original : BT.709
3. (Bottom left)
ID : 1
Format : ProRes
Format version : Version 0
Format profile : 422 HQ
Codec ID : apch
Duration : 37s 37ms
Bit rate mode : Variable
Bit rate : 123 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:2
Scan type : Progressive
Bits/(Pixel*Frame) : 2.478
Stream size : 544 MiB (98%)
Writing library : Lavc
Language : English
4. Bottom (right)
ID : 1
Format : ProRes
Format version : Version 0
Format profile : 422 HQ
Codec ID : apch
Duration : 37s 37ms
Bit rate mode : Variable
Bit rate : 119 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:2
Scan type : Progressive
Bits/(Pixel*Frame) : 2.398
Stream size : 526 MiB (98%)
Writing library : Lavc
Language : English
Matrix coefficients : BT.709
More information about the ffmpeg-user
mailing list