[GEM-dev] .mov linux optimisation
cyrille henry
cyrille.henry at la-kitchen.fr
Tue Oct 24 16:31:55 CEST 2006
IOhannes m zmoelnig a écrit :
> cyrille henry wrote:
>> hello,
>>
>> i noticed that reading a 640x480 30fps .mov file with gem use 70% of my
>> cpu. (2.13 centrino)
>>
>> the same file read with vlc use less than 10%
>>
>> is there anything i can do optimise movie in gem?
>
> you could try to choose a different decoding library with [pix_film]
> with the 3 argument to the [open( message (e.g. try [open file.mov rgba
> 4( to first try to 4th available decoder)
> try to switch between aviplay and quicktime to see if you get anything
> better (and/or try to use ffmpeg (which youcurrently don't have installed)
ok, i was not able to fine a decoding lib that use less CPU.
what lib should i install to enable ffmpeg?
>
> furthermore, Gem really provides random access to each frame (when
> possible), which might give an extra penalty.
> it would be nice to be able to switch between random-access and
> sequential reading.
at least with "auto 1"
thanks for the answer
Cyrille
>
> mfg.asdr
> IOhannes
>
>> here is my ./configure output.
>>
>> thanks
>> Cyrille
>>
>>
>>
>> Result:
>> Target : Gem.pd_linux
>> Objects : Base Controls Geos Manips Nongeos Particles
>> Pixes ope nGL
>>
>> Configuration:
>> Compiler : g++
>> CXXFLAGS : -g -O2 -fPIC -freg-struct-return -O3
>> -falign-loops=16 -funroll-loops -ffast-math -mmmx
>> : -I/usr/include/lqt -I/usr/include/lqt
>> -I/usr/includ e/avifile-0.7 -I/usr/include/freetype2
>> INCLUDES : -I/usr/include/FTGL -I/usr/include/freetype2
>> DEFINES :
>>
>> LIBS : -ldv -lmpeg -lmpeg3 -ljpeg -ltiff -lGLU -lGL
>> -lXext - lXxf86vm -lXext -lX11 -ldl -lz -lm -L/usr/X11R6/lib -lpthread
>> : -lGLU -lGL -lfreetype -lz -lftgl_pic
>> -laviplay -L /usr/lib -lquicktime -lpthread -lm -lz -ldl -lquicktime
>> -lpthread -lm -lz -ldl
>> LDFLAGS : -shared -Wl,-export-dynamic -lGLU -lGL
>> -lfreetype -lz -lftgl_pic
>> : -L/usr/X11R6/lib
>>
>> Strip : strip --strip-unneeded
>>
>> Install path : /usr/local
>>
>> pure-data:
>> version : 0.40
>>
>> used optional libraries:
>>
>> font-rendering : FTGL
>>
>> image-support
>> use ImageMagick : no
>> use TIFF : yes
>> use JPEG : yes
>> video-support
>> use mpeg : yes
>> use mpeg-3 : yes
>> use QuickTime : yes
>> use aviplay : yes
>> use ffmpeg : no
>> input-support
>> use v4l : yes
>> use ieee1394 : yes
>>
>> misc
>> using ARB-extensions : yes
>> using NV-extensions : yes
>> using reg-struct-ret : yes
>>
>> Now run make ...
>>
>> _______________________________________________
>> GEM-dev mailing list
>> GEM-dev at iem.at
>> http://lists.puredata.info/listinfo/gem-dev
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>
>
More information about the GEM-dev
mailing list