[MPlayer-users] [PATCH] be CCIR-601ish about "-vf expand"

D Richard Felker III dalias at aerifal.cx
Wed Jun 18 19:36:18 CEST 2003


On Wed, Jun 18, 2003 at 08:36:47AM -0700, Steven M. Schultz wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> 
> On Wed, 18 Jun 2003, D Richard Felker III wrote:
> 
> > This definitely should be optional since some movies will actually
> > have background 0. In this case, it would be VERY ugly since the black
> > borders would be brighter than parts of the movie...
> 
> 	Computer generated movies that use nonstandard encoders could
> 	create such movies but other than that what broadcast/movie
> 	studio ignores CCIR-601 and sets their blacklevel wrong?
> 
> 	Black is not 0/0/0 - it's 16/128/128.

Hint: mplayer is not a dvd/vcd/whatever player. It plays all movies.
Including many that have nothing to do with and couldn't care less
about broadcast standards.

Also, I seem to recall that there are standards (or at least
expectations) now about sub-black black and super-white white, and
that modern fancy TV sets and other equipment are expected to handle
them well...

BTW, maybe (?) a good way to handle this would be adding an extra
option to vf_expand for the color (or just intensity?) to use. It
could be given as a number, or one of several mnemonics such as
ccir601, etc.

> > Black borders are also bad for your bitrate... :) The moral of the
> > story? Don't use VCD... :)
> 
> 	Pure black should compress quite well, shouldn't it?

No, it kills motion estimation at the borders, and produces a sharp
discontinuity which is hard to approximate well with trigonometric
series. Look up Gibbs Phenomenon.

> 	True - use DVD instead (more bits to play with) :)

No, use mpeg4 instead.

Rich



More information about the MPlayer-users mailing list