LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   pymedia fails to build (https://www.linuxquestions.org/questions/programming-9/pymedia-fails-to-build-348127/)

shanenin 07-29-2005 03:26 PM

pymedia fails to build
 
First off I am looking a for a way in python to determine the dimensions of a video, for example 512:288(is that pixels?). do you know of a module that will do this?

I think the module pymedia may do this, but I am having trouble getting it to compile. below is the error message. Any help would be appreciated
Code:

building 'pymedia.video.vcodec' extension
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC -DBUILD_NUM=1536 -DPATH_DEV_DSP="/dev/dsp" -DPATH_DEV_MIXER="/dev/mixer" -D_FILE_OFFSET_BITS=64 -DACCEL_DETECT=1 -DHAVE_MMX=1 -DHAVE_LINUX_DVD_STRUCT=1 -DDVD_STRUCT_IN_LINUX_CDROM_H=1 -DCONFIG_VORBIS -DCONFIG_VORBIS -DCONFIG_FAAD -DCONFIG_VORBIS -DHAVE_AV_CONFIG_H -INone -INone -INone -INone -Ivideo/ -I/usr/include/python2.3 -c video/libavcodec/i386/dsputil_mmx.c -o build/temp.linux-i686-2.3/video/libavcodec/i386/dsputil_mmx.o
In file included from video/libavcodec/i386/dsputil_mmx.c:125:
video/libavcodec/i386/dsputil_mmx_rnd.h: In function `put_no_rnd_pixels8_l2_mmx':
video/libavcodec/i386/dsputil_mmx_rnd.h:60: error: can't find a register in class `BREG' while reloading `asm'
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1



All times are GMT -5. The time now is 12:05 AM.