[GEM-dev] Re: [PD] GEM Linux and video codecs
Etienne Desautels
titi at sat.qc.ca
Fri Jun 3 05:12:18 CEST 2005
Hi IOhannes, Günter,
here is the results of my tests to have a working version of Gem with
FFMPEG support. I compile the CVS version of Gem with different
versions of FFMPEG (distro, CVS, etc..., ffmpeg-config was there) and
now I always get the same results: all is compiling fine and working
fine except that every time I try to open a movie (that works without
any problems in ffplay) in pix_film, FFMPEG is unable to open it and
return err = -2. I check in the source code of FFMPEG to find the
meaning of this error and it's an I/O error. I did a strace but it's
over my comprehension. It look likes FFMPEG is trying to open the file
in different ways without success. Any ideas ? Do somebody have a
version of Gem with a working FFMPEG ?
Thanks
Etienne
On 05-06-02, at 07:34, IOhannes m zmoelnig wrote:
> Etienne Desautels wrote:
>> Hi list,
>> So here's my questions. I tried to compile Gem with FFMPEG support
>> and it always fail in one manner or another. Or it doesn't build at
>> all, or it build but when I load Gem I got this error message
>> (undefined symbol: ogg_stream_init Gem: can't load library), or
>> everything seems OK but
>
> hmm, are you using the CVS version of Gem ?
> there are some better linking options in the CVS-version (basically it
> adds the output of "ffmpeg-config --plugin-libs" which adds more
> libraries than just libavcodec and libavformat)
> if not, you will probably have to add these flags by hand:
> "-lavformat_pic -lavcodec_pic -lvorbis -lvorbisenc -ldts_pic -la52"
>
>> Also, what I would really prefer is to had support in Gem for
>> LibMPEG2. Do you think it could be difficult to do ? Is it about
>> creating a filmMPEG2.cpp and filmMPEG2.h files with the good function
>> calls to the library and add the reference into the pix_filmNEW.cpp ?
>
> correct.
> if you like to add libMPEG2-support you are welcome!
>
>
>
>> One last thing, I was not able to use FSAA. My video card is an ATI
>> 9600 and I'm using the binary driver with x.org. I put the lines to
>> enable FSAA in my X86-config-4 file without any success. Any ideas ?
>
> sorry, no experience with Xorg
>
>
> mfg.as.dr
> IOhannes
>
More information about the GEM-dev
mailing list