[MPlayer-dev-eng] [PATCH] update dwScale/dwRate when fps changes

Nico Sabbi nsabbi at tiscali.it
Wed Apr 20 20:16:39 CEST 2005


Rich Felker wrote:

>On Wed, Apr 20, 2005 at 08:00:34PM +0200, Nico Sabbi wrote:
>  
>
>>This patch updates the values of mux_v->dwScale and mux_v->dwRate when 
>>fps changes
>>(e.g. telecined mpeg2) and updates the muxer_stream's timer accordingly.
>>When saving mpeg files, this patch permits to auto-sync variable fps 
>>content as well as
>>constant fps (that is unaffected), but I'm not sure how these updates 
>>affect other muxers,
>>so comment please.
>>    
>>
>
>There's no way to support variable/mixed fps without tracking pts all
>the way from the demuxer/framer (the latter of which does not exist in
>G1) to the encoder/muxer. IMO this is a very ugly hack specific to
>mpeg and -ovc copy..
>
>Rich
>  
>

ok, it was a bad idea. Dropped




More information about the MPlayer-dev-eng mailing list