[MPlayer-users] bad header for large avi files?

* afe0108 at yahoo.com
Sun Aug 1 22:29:35 CEST 2004


Holy cow, that was a fast response.

That fixes the problem.  I guess (as Alex says) I can
just ignore the warning about dwLength.  Thanks!


--- Moritz Bunkus <moritz at bunkus.org> wrote:

> Hi,
> 
> > Hello, whenever I encode something that produces a large avi
> > file (not sure of the exact size yet, maybe >1G?) mencoder seems
> > to write an incorrect header.
> 
> No, ogmmerge's avilib is at fault. Try the attached patch, please.
> 
> Mosu
> 
> -- 
> If Darl McBride was in charge, he'd probably make marriage
> unconstitutional too, since clearly it de-emphasizes the commercial
> nature of normal human interaction, and probably is a major impediment
> to the commercial growth of prostitution. - Linus Torvalds
> > Index: avilib.c
> ===================================================================
> --- avilib.c	(revision 1642)
> +++ avilib.c	(working copy)
> @@ -2553,7 +2553,9 @@
>  	 }
>  	 i += 8;
>        }
> -      else if(strncasecmp(hdrl_data+i,"JUNK",4) == 0) {
> +      else if ((strncasecmp(hdrl_data+i,"JUNK",4) == 0) ||
> +               (strncasecmp(hdrl_data+i,"strn",4) == 0) ||
> +               (strncasecmp(hdrl_data+i,"vprp",4) == 0)) {
>  	 i += 8;
>  	 // do not reset lasttag
>        } else
> > _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 




More information about the MPlayer-users mailing list