[vlc-devel] commit: transcode: change default videobitrate to 0 (Ilkka Ollakka )

git version control git at videolan.org
Tue Jul 28 13:01:33 CEST 2009


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Jul 28 13:39:21 2009 +0300| [84ae52a68f627f6863cfd59ffbbae8883cbb3cd0] | committer: Ilkka Ollakka 

transcode: change default videobitrate to 0

change from default 800 to zero, as nowdays most of bitrate transcoding
is for streaming, and 800 ain't good default for that either. Also
thisways it's easier on check different encoding modes (cbr/qp/etc) on
video encoder modules.

I did quick look on different modules, but didn't spot anything obvious
that would break. I'll look ffmpeg and x264 more closely next.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=84ae52a68f627f6863cfd59ffbbae8883cbb3cd0
---

 modules/stream_out/transcode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_out/transcode.c b/modules/stream_out/transcode.c
index b0b1126..ddde122 100644
--- a/modules/stream_out/transcode.c
+++ b/modules/stream_out/transcode.c
@@ -171,7 +171,7 @@ vlc_module_begin ()
                 VENC_LONGTEXT, false )
     add_string( SOUT_CFG_PREFIX "vcodec", NULL, NULL, VCODEC_TEXT,
                 VCODEC_LONGTEXT, false )
-    add_integer( SOUT_CFG_PREFIX "vb", 800 * 1000, NULL, VB_TEXT,
+    add_integer( SOUT_CFG_PREFIX "vb", 0, NULL, VB_TEXT,
                  VB_LONGTEXT, false )
     add_float( SOUT_CFG_PREFIX "scale", 1, NULL, SCALE_TEXT,
                SCALE_LONGTEXT, false )




More information about the vlc-devel mailing list