Re: ffmpeg

Georg Seidel <[email protected]>
Newsgroups gmane.comp.video.gephex.devel
Message-ID <[email protected]>
> | Maybe we should write a ffmpeg input driver for the frbinmodule.
> | It's used by a lot of applications
> | (mplayer, xine, video lan, veejay, ...).
> | It builds on windows (vlc nicely proofs that).

After Martin imported the latest ffmpeg sources from cvs into our arch
archive ([email protected]/ffmpeg--cvs--1.0) and made it
"mountable" into contrib/ffmpeg in our gephex tree via tla configs,
I wrote an ffmpeg input driver for the frbinmodule (aka image source).
It lives in modules/src/frbinmodule/ffmpegdriver.cpp.

I merged it into gephex--main--0.4 yesterday, but it's still buggy.
It should work fine with avi files that have the duration correctly
set, and where every frame is a keyframe.
I put quite some work into the buildsystem to call the ffmpeg configure
script and make file the right way, and to ensure that "make distcheck"
works.

To use ffmpeg, get the gephex tree with tla:
  > tla get [email protected]/gephex--main--0.4 gephex-0.4

Then cd into it and get ffmpeg with tla buildconfig:
  > cd gephex-0.4
  > tla build-config config/devel.arch

Now, ffmpeg should be in contrib/ffmpeg.

bootstrap, configure, build and install gephex (as usual):
 > ./bootstrap.sh
 > ./configure --prefix=/home/georg/msfalg
 > make && make install

Note: if you change the CFLAGS on the commandline
(e.g. make CFLAGS="-W -Wall -g"), make sure that you step
into contrib first and build ffmpeg with default CFLAGS (i.e. only
"make").


Please test!

Georg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.