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

Tobias Diedrich ranma at gmx.at
Sun Oct 6 21:40:02 CEST 2002


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;

-- 
Tobias								PGP: 0x9AC7E0BC
This mail is made of 100% recycled bits
Now playing: artist: KIMAGURE ORANGE-ROAD Loving Heart 320 16 - Track 16 Yasashii Jelousy [ Karaoke ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20021006/bedc0961/attachment.pgp>


More information about the MPlayer-users mailing list