I've used vlc for some time and I've been impressed the most with it's ability to play high bitrate MPEG-4 video on low end hardware. That has changed however, starting with version 0.8.x. Now I get stuttering playback and heavy frame drop. I still have vlc 0.7.1 on Windows, but having migrated to Linux, where there's "dependency hell", I'm not able to use it there. I decided to take a stab at compiling it from sources then. I've heard "it's not for whiners" and I'm not a whiner; quite contrary, I'm very stubborn and compulsive-obsessive, so my plea here is: help me get it done, so I can get away from the computer and get on with my life. I got the sources, but I got complaints about missing stuff during configuration. I installed libffmpeg0 libffmpeg0-devel libmpeg2dec0 libmpeg2dec0-devel libmpeg2dec0-static-devel via rpm and used ./configure --with-ffmpeg-tree=/usr/lib/ ;that seemed to take care of it, as ./configure finally completed without errors. I had a feeling this was too good to be true and "make" confirmed my suspicions with following errors:
ffmpeg.c:36:24: error: avcodec.h: No such file or directory
ffmpeg.c:40:5: error: #error You must have a libavcodec >= 4680 (get CVS)
In file included from ffmpeg.c:43:
ffmpeg.h:43: error: syntax error before 'AVCodecContext'
ffmpeg.h:49: error: syntax error before 'AVCodecContext'
ffmpeg.h:73: error: syntax error before 'AVFrame'
ffmpeg.c:63: error: syntax error before 'AVCodecContext'
ffmpeg.c:63: warning: no semicolon at end of struct or union
ffmpeg.c:64: warning: type defaults to 'int' in declaration of 'p_codec'
ffmpeg.c:64: warning: data definition has no type or storage class
ffmpeg.c:65: error: syntax error before '}' token
ffmpeg.c: In function 'OpenDecoder':
ffmpeg.c:129: error: 'AVCodecContext' undeclared (first use in this function)
ffmpeg.c:129: error: (Each undeclared identifier is reported only once
ffmpeg.c:129: error: for each function it appears in.)
ffmpeg.c:129: error: 'p_context' undeclared (first use in this function)
ffmpeg.c:130: error: 'AVCodec' undeclared (first use in this function)
ffmpeg.c:140: error: 'CODEC_ID_AAC' undeclared (first use in this function)
ffmpeg.c:151: warning: implicit declaration of function 'avcodec_find_decoder'
ffmpeg.c:151: warning: assignment makes pointer from integer without a cast
ffmpeg.c:158: warning: implicit declaration of function 'avcodec_alloc_context'
ffmpeg.c:164: error: 'FF_MM_MMX' undeclared (first use in this function)
ffmpeg.c:168: error: 'FF_MM_MMXEXT' undeclared (first use in this function)
ffmpeg.c:172: error: 'FF_MM_3DNOW' undeclared (first use in this function)
ffmpeg.c:176: error: 'FF_MM_SSE' undeclared (first use in this function)
ffmpeg.c:177: error: 'FF_MM_SSE2' undeclared (first use in this function)
ffmpeg.c:196: error: dereferencing pointer to incomplete type
ffmpeg.c: In function 'CloseDecoder':
ffmpeg.c:209: error: dereferencing pointer to incomplete type
ffmpeg.c:211: error: dereferencing pointer to incomplete type
ffmpeg.c:212: error: dereferencing pointer to incomplete type
ffmpeg.c:214: warning: implicit declaration of function 'avcodec_close'
ffmpeg.c:214: error: dereferencing pointer to incomplete type
ffmpeg.c:215: error: dereferencing pointer to incomplete type
ffmpeg.c:216: error: dereferencing pointer to incomplete type
ffmpeg.c:219: error: dereferencing pointer to incomplete type
ffmpeg.c: In function 'GetFfmpegChroma__ffmpeg':
ffmpeg.c:240: error: 'PIX_FMT_YUV420P' undeclared (first use in this function)
ffmpeg.c:242: error: 'PIX_FMT_YUV422P' undeclared (first use in this function)
ffmpeg.c:244: error: 'PIX_FMT_YUV444P' undeclared (first use in this function)
ffmpeg.c:246: error: 'PIX_FMT_RGB555' undeclared (first use in this function)
ffmpeg.c:248: error: 'PIX_FMT_RGB565' undeclared (first use in this function)
ffmpeg.c:250: error: 'PIX_FMT_RGB24' undeclared (first use in this function)
ffmpeg.c:252: error: 'PIX_FMT_RGBA32' undeclared (first use in this function)
ffmpeg.c:254: error: 'PIX_FMT_GRAY8' undeclared (first use in this function)
ffmpeg.c:256: error: 'PIX_FMT_YUV422' undeclared (first use in this function)
ffmpeg.c: In function 'InitLibavcodec__ffmpeg':
ffmpeg.c:273: warning: implicit declaration of function 'avcodec_init'
ffmpeg.c:274: warning: implicit declaration of function 'avcodec_register_all'
ffmpeg.c:277: error: 'LIBAVCODEC_BUILD' undeclared (first use in this function)
ffmpeg.c: At top level:
ffmpeg.c:299: error: 'CODEC_ID_MPEG1VIDEO' undeclared here (not in a function)
ffmpeg.c:303: error: 'CODEC_ID_MPEG2VIDEO' undeclared here (not in a function)
ffmpeg.c:309: error: 'CODEC_ID_MPEG4' undeclared here (not in a function)
ffmpeg.c:352: error: 'CODEC_ID_MSMPEG4V1' undeclared here (not in a function)
ffmpeg.c:362: error: 'CODEC_ID_MSMPEG4V2' undeclared here (not in a function)
ffmpeg.c:372: error: 'CODEC_ID_MSMPEG4V3' undeclared here (not in a function)
ffmpeg.c:412: error: 'CODEC_ID_SVQ1' undeclared here (not in a function)
ffmpeg.c:416: error: 'CODEC_ID_SVQ3' undeclared here (not in a function)
ffmpeg.c:420: error: 'CODEC_ID_H264' undeclared here (not in a function)
ffmpeg.c:431: error: 'CODEC_ID_H263' undeclared here (not in a function)
ffmpeg.c:439: error: 'CODEC_ID_H263I' undeclared here (not in a function)
ffmpeg.c:445: error: 'CODEC_ID_FLV1' undeclared here (not in a function)
ffmpeg.c:454: error: 'CODEC_ID_MJPEG' undeclared here (not in a function)
ffmpeg.c:469: error: 'CODEC_ID_MJPEGB' undeclared here (not in a function)
ffmpeg.c:478: error: 'CODEC_ID_DVVIDEO' undeclared here (not in a function)
ffmpeg.c:494: error: 'CODEC_ID_WMV1' undeclared here (not in a function)
ffmpeg.c:496: error: 'CODEC_ID_WMV2' undeclared here (not in a function)
ffmpeg.c:523: error: 'CODEC_ID_INDEO3' undeclared here (not in a function)
ffmpeg.c:534: error: 'CODEC_ID_HUFFYUV' undeclared here (not in a function)
ffmpeg.c:538: error: 'CODEC_ID_CYUV' undeclared here (not in a function)
ffmpeg.c:542: error: 'CODEC_ID_VP3' undeclared here (not in a function)
ffmpeg.c:555: error: 'CODEC_ID_ASV1' undeclared here (not in a function)
ffmpeg.c:557: error: 'CODEC_ID_ASV2' undeclared here (not in a function)
ffmpeg.c:562: error: 'CODEC_ID_FFV1' undeclared here (not in a function)
ffmpeg.c:566: error: 'CODEC_ID_VCR1' undeclared here (not in a function)
ffmpeg.c:570: error: 'CODEC_ID_CLJR' undeclared here (not in a function)
ffmpeg.c:574: error: 'CODEC_ID_RV10' undeclared here (not in a function)
ffmpeg.c:597: error: 'CODEC_ID_4XM' undeclared here (not in a function)
ffmpeg.c:607: error: 'CODEC_ID_INTERPLAY_VIDEO' undeclared here (not in a function)
ffmpeg.c:611: error: 'CODEC_ID_ROQ' undeclared here (not in a function)
ffmpeg.c:615: error: 'CODEC_ID_MDEC' undeclared here (not in a function)
ffmpeg.c:629: error: 'CODEC_ID_WMAV1' undeclared here (not in a function)
ffmpeg.c:635: error: 'CODEC_ID_WMAV2' undeclared here (not in a function)
ffmpeg.c:641: error: 'CODEC_ID_DVAUDIO' undeclared here (not in a function)
ffmpeg.c:645: error: 'CODEC_ID_MACE3' undeclared here (not in a function)
ffmpeg.c:649: error: 'CODEC_ID_MACE6' undeclared here (not in a function)
ffmpeg.c:653: error: 'CODEC_ID_RA_144' undeclared here (not in a function)
ffmpeg.c:657: error: 'CODEC_ID_RA_288' undeclared here (not in a function)
ffmpeg.c:661: error: 'CODEC_ID_MP2' undeclared here (not in a function)
ffmpeg.c:663: error: 'CODEC_ID_MP3' undeclared here (not in a function)
ffmpeg.c:667: error: 'CODEC_ID_AC3' undeclared here (not in a function)
ffmpeg.c:673: error: 'CODEC_ID_AAC' undeclared here (not in a function)
ffmpeg.c:677: error: 'CODEC_ID_ADPCM_4XM' undeclared here (not in a function)
ffmpeg.c:681: error: 'CODEC_ID_INTERPLAY_DPCM' undeclared here (not in a function)
ffmpeg.c:685: error: 'CODEC_ID_ROQ_DPCM' undeclared here (not in a function)
ffmpeg.c:705: error: 'CODEC_ID_PCM_S8' undeclared here (not in a function)
ffmpeg.c:707: error: 'CODEC_ID_PCM_U8' undeclared here (not in a function)
ffmpeg.c:709: error: 'CODEC_ID_PCM_S16LE' undeclared here (not in a function)
ffmpeg.c:711: error: 'CODEC_ID_PCM_S16BE' undeclared here (not in a function)
ffmpeg.c:713: error: 'CODEC_ID_PCM_U16LE' undeclared here (not in a function)
ffmpeg.c:715: error: 'CODEC_ID_PCM_U16BE' undeclared here (not in a function)
ffmpeg.c:717: error: 'CODEC_ID_PCM_ALAW' undeclared here (not in a function)
ffmpeg.c:719: error: 'CODEC_ID_PCM_MULAW' undeclared here (not in a function)
make[6]: *** [libffmpeg_a-ffmpeg.o] Error 1
make[6]: Leaving directory `/home/tweaker/sources/vlc-0.7.1/modules/codec/ffmpeg'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/tweaker/sources/vlc-0.7.1/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/tweaker/sources/vlc-0.7.1/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/tweaker/sources/vlc-0.7.1/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tweaker/sources/vlc-0.7.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tweaker/sources/vlc-0.7.1'
make: *** [all] Error 2
Since I already have the latest binaries of ffmpeg, should I disable it during configuration and point vlc to them(how?) afterwards? Any other suggestions, please ?