ppcrulez Posted June 16, 2007 Share Posted June 16, 2007 (edited) I wanted to use the x264 codec to encode some DV-video I've shoot with my camera. Mencoder that is installable through the RPM manager doesn't seem to have been compiled with this option. I checked out MPlayer source from SVN I tried to compile MPlayer/MEncoder by hand. But I had som troubles when trying to compile it. I get the following error: libavcodec/libavcodec.a(utils.o): In function `avcodec_encode_video': utils.c:(.text+0x158c): undefined reference to `mm_flags' libavcodec/libavcodec.a(utils.o): In function `avcodec_decode_video': utils.c:(.text+0x1eea): undefined reference to `mm_flags' libavcodec/libavcodec.a(mpegvideo.o): In function `MPV_frame_end': mpegvideo.c:(.text+0x373): undefined reference to `mm_flags' libavcodec/libavcodec.a(mpegvideo.o): In function `dct_quantize_refine': mpegvideo.c:(.text+0x829e): undefined reference to `mm_flags' libavcodec/libavcodec.a(mpegvideo.o): In function `DCT_common_init': mpegvideo.c:(.text+0xb8de): undefined reference to `MPV_common_init_mmx' libavcodec/libavcodec.a(mpegvideo.o): In function `ff_draw_horiz_band': mpegvideo.c:(.text+0xca65): undefined reference to `mm_flags' libavcodec/libavcodec.a(mpegvideo.o): In function `encode_picture': mpegvideo.c:(.text+0xe5cf): undefined reference to `mm_flags' mpegvideo.c:(.text+0xed1f): undefined reference to `mm_flags' libavcodec/libavcodec.a(mpegvideo.o): In function `MPV_encode_picture': mpegvideo.c:(.text+0x1041f): undefined reference to `mm_flags' mpegvideo.c:(.text+0x10a97): undefined reference to `mm_flags' libavcodec/libavcodec.a(mpegvideo.o):mpegvideo.c:(.text+0x226d7): more undefined references to `mm_flags' follow libavcodec/libavcodec.a(dsputil.o): In function `dsputil_init': dsputil.c:(.text+0x189c0): undefined reference to `dsputil_init_mmx' libavcodec/libavcodec.a(mpeg12.o): In function `decode_frame': mpeg12.c:(.text+0x7cd6): undefined reference to `mm_flags' libavcodec/libavcodec.a(mpeg12.o): In function `mpeg_decode_frame': mpeg12.c:(.text+0xb6d0): undefined reference to `mm_flags' libavcodec/libavcodec.a(mpeg12.o): In function `slice_decode_thread': mpeg12.c:(.text+0xd43b): undefined reference to `mm_flags' libavcodec/libavcodec.a(ratecontrol.o): In function `ff_rate_control_uninit': ratecontrol.c:(.text+0x786): undefined reference to `mm_flags' libavcodec/libavcodec.a(ratecontrol.o): In function `ff_rate_control_init': ratecontrol.c:(.text+0x1384): undefined reference to `mm_flags' libavcodec/libavcodec.a(ratecontrol.o):ratecontrol.c:(.text+0x267c): more undefined references to `mm_flags' follow libavcodec/libavcodec.a(fft.o): In function `ff_fft_init': fft.c:(.text+0x3af): undefined reference to `mm_support' fft.c:(.text+0x4e9): undefined reference to `ff_imdct_calc_3dn2' fft.c:(.text+0x4f0): undefined reference to `ff_fft_calc_3dn2' fft.c:(.text+0x546): undefined reference to `ff_imdct_calc_sse' fft.c:(.text+0x54d): undefined reference to `ff_fft_calc_sse' fft.c:(.text+0x55d): undefined reference to `ff_fft_calc_3dn' libavcodec/libavcodec.a(cljr.o): In function `decode_frame': cljr.c:(.text+0x264): undefined reference to `mm_flags' libavcodec/libavcodec.a(dv.o): In function `dvvideo_decode_frame': dv.c:(.text+0x3224): undefined reference to `mm_flags' libavcodec/libavcodec.a(dv.o): In function `dvvideo_encode_frame': dv.c:(.text+0x433b): undefined reference to `mm_flags' libavcodec/libavcodec.a(ffv1.o): In function `decode_frame': ffv1.c:(.text+0x220e): undefined reference to `mm_flags' libavcodec/libavcodec.a(ffv1.o): In function `encode_frame': ffv1.c:(.text+0x671c): undefined reference to `mm_flags' libavcodec/libavcodec.a(huffyuv.o):huffyuv.c:(.text+0x3b46): more undefined references to `mm_flags' follow collect2: ld returned 1 exit status make: *** [mplayer] Error 1 Anyone who can help with this? Configure went fine and it Identified my CPU correctly. Or is there some other way to encode with x264? Edited June 17, 2007 by ppcrulez Link to comment Share on other sites More sharing options...
Greg2 Posted June 16, 2007 Share Posted June 16, 2007 I wanted to use the x264 codec to encode some DV-video I've shoot with my camera. Mencoder that is installable through the RPM manager doesn't seem to have been compiled with this option. Have you tried the mencoder, x264, and all the libx264s from the PLF repos? Link to comment Share on other sites More sharing options...
ppcrulez Posted June 17, 2007 Author Share Posted June 17, 2007 I never thought of the fact that there was a plf version also. I used the standard Mandriva version, and now that I changed to the plf version it actually works nicely. Thanks! Have you tried the mencoder, x264, and all the libx264s from the PLF repos? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now