[MEncoder-users] Compiling in Windows

John Brown johnbrown105 at hotmail.com
Sat Feb 14 18:55:07 CET 2009

James Hastings-Trew <jimht <at> shaw.ca> writes:


> Thank you for trying to help. I guess I'm stuck with waiting for 
> Gianluigi to put out an updated build. I'm not getting anywhere with 
> this, and I have enough time-vampires in my life without inviting new 
> ones in. :)

What happened? You couldn't download a more recent mingw32-runtime? Or
you did but it didn't work?

 One thing I will note in passing is that he had a bunch of 
> .diff files on his page, but I have no idea of their importance, or even 
> how to use them. One of them is called xx_pthread_static.diff. Maybe a 
> clue for someone smarter than I.

The diff files are files that contain the differences between A and B
such that when you apply the patch to A, it becomes B. If you
look at them in Notepad, you should be able to figure out what is going
on in there.

That particular diff wouldn't solve your problem. The difference between
the static pthreads library and the dynamic one is the the DLL can initialise
itself properly, whereas the static one relies on initialisation being
performed in the calling program, i.e., MPlayer. I assume that this diff
would modify mplayer.c to call the initialisation and cleanup functions.

More information about the MEncoder-users mailing list