View Single Post
Old 6th January 2014, 06:43   #1  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Color handling in ffmpeg and mencoder?

From what I could gather, ffmpeg offers:

a. a ColorMatrix filter
and
b. the option to specify PC/TV scale through the '-pix_fmt'
for pc scale: yuvj420p, yuvj422p, yuvj444p
for tv scale: yuv420p, yuyv422, yuv444p

from the looks of it these are only specified for 8bit sampling, but what about high bit depth? (10/16bit)
(is 10/16bit output always tv scale for some reason?)

Also looking at mencoder/mplayer there seems to be no ColorMatrix filter and no way to specify whether the input/output is PC or TV scale. (seems like it always assumes TV scale)
Seems like mplayer2 has colormatrix, colormatrix-input-range and colormatrix-output-range to handle this, but mplayer2 seems to be a dead project for roughly 1/2 year (judging from http://git.mplayer2.org/mplayer2/commit/).

-> Did I miss something or should I post a feature request for this to the mencoder/mplayer and ffmpeg bug tracker?

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote