[x264-devel] Re: patch: x264 visualization in OpenGL

Hansong Zhang hansongzhang at yahoo.com
Mon Oct 3 17:59:19 CEST 2005



> -----Original Message-----
> From: x264-devel-bounce at videolan.org [mailto:x264-devel-
> bounce at videolan.org] On Behalf Of Patryk Pomykalski
> Sent: Saturday, October 01, 2005 5:37 AM
> To: x264-devel at videolan.org
> Subject: [x264-devel] Re: patch: x264 visualization in OpenGL
> 
> 
> On Tue, 27 Sep 2005, Hansong Zhang wrote:
> 
> > Hi,
> >
> >
> >
> > I put together an OpenGL version of the visualization tool in x264.
> Being
> > OpenGL, it works on both Win32 and Linux. The patch is attached. A new
> file,
> > common/display-opengl.c, implements the same interface as defined in
> > display.h. A new configure option, --visualize-ogl, is also added. Note
> that
> > you can use either -visualize or -visualize-ogl, but not both.
> >
> > With most Linux installations you don't need anything special to use
> this
> > patch; the same with Win32.
> >
> 
> I managed to compile it under cygwin by changing LDFLAGS:
> LDFLAGS="$LDFLAGS -L/lib/w32api -lopengl32 -lglu32 -lgdi32"
> 
> But the visualization window stops responding after I do anything (resize,
> select different window etc) and the encoding still works.
> 

Hmm. I was using visual studio... I'm doing a cygwin build now to see what's
going on. (You have to hit Return after each frame to get it going again,
but since you said encoding still works, I assume you knew this.)

Hansong

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list