Commit 00901a2e authored by dscho's avatar dscho

add vnc2mpg, a program which makes a movie from a VNC desktop using FFMPEG

parent c7730d9b
DEFINES=-I.. -g -Wall
LDADD = ../libvncclient/libvncclient.a
if WITH_FFMPEG
FFMPEG_HOME=@with_ffmpeg@
vnc2mpg_CFLAGS=-I$(FFMPEG_HOME)/libavformat -I$(FFMPEG_HOME)/libavcodec
vnc2mpg_LDADD=$(LDADD) $(FFMPEG_HOME)/libavformat/libavformat.a $(FFMPEG_HOME)/libavcodec/libavcodec.a -lm
FFMPEG_CLIENT=vnc2mpg
endif
if HAVE_LIBSDL
SDLVIEWER=SDLvncviewer
......@@ -9,5 +18,7 @@ SDLvncviewer_CFLAGS=`sdl-config --cflags`
SDLvncviewer_LDFLAGS=`sdl-config --libs`
endif
noinst_PROGRAMS=ppmtest $(SDLVIEWER)
noinst_PROGRAMS=ppmtest $(SDLVIEWER) $(FFMPEG_CLIENT)
This diff is collapsed.
......@@ -33,6 +33,12 @@ AH_TEMPLATE(SDL_CONFIG, [Use sdl-config (for SDLvncviewer)])
AC_ARG_WITH(sdl,
[ --with-sdl use sdl-config],
, [ with_sdl=yes ])
AH_TEMPLATE(FFMPEG, [Use ffmpeg (for vnc2mpg)])
AC_ARG_WITH(ffmpeg,
[ --with-ffmpeg=dir set ffmpeg home directory],,)
#AM_DEFINE(FFMPEG, "$with_ffmpeg")
AC_SUBST(with_ffmpeg)
AM_CONDITIONAL(WITH_FFMPEG, test ! -z "$with_ffmpeg")
# Checks for X libraries
HAVE_X="false"
......@@ -155,7 +161,7 @@ AC_CONFIG_FILES([Makefile
libvncclient/Makefile
client_examples/Makefile
test/Makefile
libvncserver.spec
LibVNCServer.spec
libvncserver-config])
AC_OUTPUT
chmod a+x ./libvncserver-config
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment