HI everybody:
when i compile the svn vls appear this error,
Could not find ffmpeg/libavcodec headers
the ffmpeg is cvs .
Ok. I have beeing working into getting vls running with v4l support. After trying to compile it with ffmpeg-0.4.9 (current svn) I have realized something has changed from the previous version 0.4.8 that prevents me from compiling it and causing the issue with the avcodec.h.
So in order to compile VLS with v4l support under Fedora Core 5 (fc5). You have to download and compile ffmpeg-0.4.8, not 0.4.9.
After getting ffmpeg compiled you should edit the file VLS_HOME/src/modules/v4lreader/v4lreader.cpp and modify the line number 60, in the next way:
#include <ffmpeg/avcodec.h> //for palette
(Because the FC5 installation of the ffmpeg install this under /usr/local/include/ffmpeg not under include directly)
Also notice that for getting vls running properly under FC5, gcc32 should be used (not gcc_v4). In order to do that you have to install the backward gcc version compatibility (gcc32) and then run the vls configure script in the next way:
CC=/usr/bin/gcc32 CXX=/usr/bin/g++32 ./configure --enable-v4l --disable-dvd --disable-dvb --disable-asi --with-ffmpeg=/workspace/mm//ffmpeg-0.4.8
where /workspace/mm/ffmepg-0.4.8 is the folder where you have downloaded and compiled the ffmpeg (v0.4.
source code.
Now vls is working properly for me, with v4l support under FC5.
Hope helps.
Regards.