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

D Richard Felker III dalias at aerifal.cx
Wed Jun 18 17:21:35 CEST 2003


On Mon, Jun 16, 2003 at 05:51:43AM +0200, Linards Ticmanis wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> The norm CCIR-601 defines Y=0x10 as black level, not 0x00. Currently
> MPlayer will create a spurious difference between the black bars already
> there on the DVD and those added by MPlayer's "-vf expand".

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...

> This happens e.g. when you use it e.g. to pipe a 1.85:1 DVD into
> mpeg2enc to encode it to VCD with something like "-vf
> scale=352:180,expand=352:240".
> 
> Spurious differences like that are bad for your bitrate, apart from
> being outside the norm.

Black borders are also bad for your bitrate... :) The moral of the
story? Don't use VCD... :)

But if you submit a nice clean optional patch, I see no reason it
won't get applied.

Rich





More information about the MPlayer-users mailing list