On Fri 09.07.2004 at 12:29:22PM +0200, Fons van der Beek wrote: > From: "Matthieu Weber" <[EMAIL PROTECTED]> > Sent: Friday, July 09, 2004 11:29 AM > >> On Fri 09.07.2004 at 11:06:39AM +0200, Fons van der Beek wrote: >> > Unfortunatly i can't test matthieu's black frame detection, i can't >> compile >> > mplayer for this.... >> >> Is there something wrong with my patch? > No my skills in patching (and programming are not good) > i tried to change pre3 to pre4-> didn't work > > patch -p 0 < MPlayer-1.0pre4-leffakone.patch > > patching file MPlayer-1.0pre4/libmpcodecs/Makefile > Hunk #1 FAILED at 14. > 1 out of 1 hunk FAILED -- saving rejects to file > MPlayer-1.0pre4/libmpcodecs/Makefile.rej
Edit MPlayer-1.0pre4/libmpcodecs/Makefile, find a line starting with VFILTER_SRCS and add "vf_bfdetect.c" somewhere inside this line, without breaking the line (i.e. dont let your text editor insert a linebreak). > patching file MPlayer-1.0pre4/libmpcodecs/dec_video.c > Hunk #2 succeeded at 327 (offset 5 lines). > patching file MPlayer-1.0pre4/libmpcodecs/vf.c > Hunk #1 succeeded at 45 with fuzz 1 (offset 2 lines). > Hunk #2 succeeded at 123 (offset 9 lines). > patching file MPlayer-1.0pre4/libmpcodecs/vf_bfdetect.c > patching file MPlayer-1.0pre4/libvo/sub.c > patching file MPlayer-1.0pre4/mencoder.c > patching file MPlayer-1.0pre4/mplayer.c > Hunk #1 FAILED at 83. > 1 out of 1 hunk FAILED -- saving rejects to file > MPlayer-1.0pre4/mplayer.c.rej Edit MPlayer-1.0pre4/mplayer.c, find the place where there is int verbose=0; int identify=0; static int quiet=0; and add "int frameno = 0;" on the line after the "static int quiet=0;" I also noticed that this patch changes the position of the time counter in mplayer's OSD, so that it fits inside my TV, sorry for putting this feature into the patch :( You can revert this by replacing MPlayer-1.0pre4/libvo/sub.c with MPlayer-1.0pre4/libvo/sub.c.orig. Matthieu -- (~._.~) Matthieu Weber - Universit� de Jyv�skyl� (~._.~) ( ? ) email : [EMAIL PROTECTED] ( ? ) ()- -() public key id : 452AE0AD ()- -() (_)-(_) "Humor ist, wenn man trotzdem lacht (Germain Muller)" (_)-(_) ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
