[MPlayer-users] Re: avi to vcd frame rate problems

Gerhard den Hollander gerhard at jason.nl
Mon Oct 7 10:51:01 CEST 2002


Tobias,

> GD Lewis wrote:
> 
> > Doesn't work for me.  I've tried it with many avi's and even though the
> > resultant avi will play fine with mplayer or Xine, once converted to an
> > mpeg, you end up with double speed video and normal audio.
> 
> Try this patch, I bet it helps...
> The problem is that mplayer tries to optimize and doesn't call
> video_out->flip_page() if the frame is a duplicated one.
> This usually works fine, but breaks vo_yuv4mpeg...
> 
> --- mplayer.c.orig	2002-10-06 21:08:57.000000000 +0200
> +++ mplayer.c	2002-10-06 21:09:04.000000000 +0200
> @@ -1464,7 +1464,7 @@
>  	// decode:
>  	current_module="decode_video";
>  //	printf("Decode! %p  %d  \n",start,in_size);
> -	blit_frame=decode_video(sh_video,start,in_size,drop_frame);
> +	blit_frame=1=decode_video(sh_video,start,in_size,drop_frame);
>  	break;
>      }
>      vdecode_time=video_time_usage-vdecode_time;


Are you sure this is correct ?
blit_frame=1=decode_video(sh_video,start,in_size,drop_frame);
          ^^^
	  ^^^
	  +++------> = 1 = .....  ???

> 
Kind regards,
 --
Gerhard den Hollander                           Phone :+31-10.280.1515
Global IT Support manager                       Direct:+31-10.280.1539 
Jason Geosystems BV                             Fax   :+31-10.280.1511 
              (When calling please note: we are in GMT+1)
gdenhollander at jasongeo.com                          POBox 1573
visit us at http://www.jasongeo.com                 3000 BN Rotterdam  
JASON.......#1 in Reservoir Characterization        The Netherlands

      This e-mail and any attachment is/are intended solely for the named
  addressee(s) and may contain information that is confidential and privileged.
       If you are not the intended recipient, we request that you do not
         disseminate, forward, distribute or copy this e-mail message.
      If you have received this e-mail message in error, please notify us
           immediately by telephone and destroy the original message.




More information about the MPlayer-users mailing list