]> git.sesse.net Git - vlc/commit
Add --sout-asf-bitrate-override setting to ASF muxer
authorGeorgi Chorbadzhiyski <gf@unixsol.org>
Mon, 30 Jun 2008 09:00:34 +0000 (12:00 +0300)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 30 Jun 2008 11:42:36 +0000 (13:42 +0200)
commitd1e3b1c2518db752f9e31fba2219010d7188003e
treeb648f355a0c6056dd137c8312b55f8268db96676
parentfbaa0ee2d65c9c98b982f27d0b0a541892dda59d
Add --sout-asf-bitrate-override setting to ASF muxer

This patch adds setting to override calculated bit rate outputted
into ASF stream. This is needed in the cases where ASF muxer
receives stream in TS (for example) and can't correctly determine
what output bit rate should be.

Windows Media Player actually uses ASF bitrate setting to calculate
how much to cache and if the output bit rate is wrong it tries to
cache too much or too little.

To test the behaviour before this patch try to stream WMV in TS
container to another VLC that remuxes it into ASF. Open the remuxed
stream into WMP and you'll see how it tries to cache 1%, 2%, 3%
and so on...

Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
modules/mux/asf.c