[vlc-devel] commit: x264 change that qcomp-parameter determinates rc-mode ( Ilkka Ollakka )

Ilkka Ollakka ilkka.ollakka+vlc at oamk.fi
Tue Jul 21 16:30:50 CEST 2009


On ti 21. heinäkuuta 2009 16.15.27, git version control wrote:
> vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Jul 21 15:48:55 2009 +0300| [d3ecf748b0b9815f6472988282ca8812a3de251a] | committer: Ilkka Ollakka 
> 
> x264 change that qcomp-parameter determinates rc-mode
> 
> default qp=-1, so it can be detected even if theres bitrate
> 
> change default crf=23 as x264 has
> 
> if user defines qcomp<=0.1 then define ABR-mode, otherwise CRF-mode.
> And override it to QP-mode if user has defined qp-value.

With this changeset behaviour of x264-encoder should be somewhat simpler
in ratecontrol selection. eg

transcode{vcodec=h264} does crf=23 encode with defaults

transcode{vcodec=h264,venc=x264{qp=0}} does lossless encode

transcode{vcodec=h264,venc=x264{qp=21}} does qp=21 encode

transcode{vcodec=h264,venc=x264{qcomp=0.01},vb=180} does abr (cbr) mode
    encode on video bitrate set to 180k

I think it's more consistent with helptexts (qcomp mentions cbr mode, so
somewhat easier to find). And ealier you couldn't do qp-encode without
setting bitrate=0, not sure if theres trac ticket on that one.

-- 
Ilkka Ollakka
The problem with people who have no vices is that generally you can be
pretty sure they're going to have some pretty annoying virtues.
		-- Elizabeth Taylor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090721/d5acbbfc/attachment.sig>


More information about the vlc-devel mailing list