Hey all,
This has been sitting in my inbox for way too long!
So again I'm in a situation where I want to load mpeg2 files in Gem. Of course ffmpeg handles this fine, and plays well enough for what I want. ffplay plays the file fine and Gem loads the file "with -1 frames" but does not interpret the file properly and we get all kinds of distortion and artifacts, looks like nothing is getting decoded properly.
I tried changing the extension and playing with the new open [blah] loader stuff without any luck, all combinations do not load the file that at all resebles the output of ffplay.
Looking at the message below, where should I add these linker flags?
Although pidip has dropped ffmpeg, still seems to me that it works very well and supports many codecs. So how do we make the ffmpeg loader in Gem as functional as ffplay?
I'll take a look at the ffplay source, but considering my experience not much is going to happen with the result.
B>
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
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev