v4l support in the CVS VideoLAN

Pawel Wiatr <[email protected]>
Newsgroups gmane.comp.video.videolan.vls.devel
Organization KTH
Message-ID <[email protected]>
Hello !

I have downloaded the today's cvs vls to my macine and wanted to use the vls 
to stream the video from an ordinary Hauppaqe WinTV card (without MPEG2 
encoder). I had some errors duringcompilation:

I did:
------------------------------------------------------------------------------------------------
# ./configure --enable-v4l --with-ffmpeg=/usr/local/src/ffmpeg-0.4.6
/.../ 
global configuration
--------------------
system                  : linux-gnu
architecture            : i686
debug                   : 0
profiling               : 0

vls configuration
-----------------
vls version             : 0.4.5
debug mode              : 0
system logging          : 1
daemon mode             :
built-in modules        :  filechannel netchannel filereader ts2ts ps2ts 
localinput videoinput v4linput v4lreader raw2ts
plug-in modules         :  dvdreader
------------------------------------------------------------------------------------------------
And following, but I received some errors:
------------------------------------------------------------------------------------------------
#make
Compiling raw2ts.cpp...
g++  -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-DCONFIG_PATH='"/usr/local/etc/videolan/vls"' -DBUGGY_VLC -DYY_NO_UNPUT 
-DSYSLOG -I/usr/local/src/ffmpeg-0.4.6/libavcodec -D__BUILTIN__  -fPIC -o 
obj/BUILTIN_raw2ts.o -c raw2ts.cpp
raw2ts.cpp: In member function `virtual void
   C_Raw2TsMpegConverter::InitWork()':
raw2ts.cpp:128: `struct AVCodecContext' has no member named `quality'
raw2ts.cpp: In member function `virtual void C_Raw2TsMpegConverter::DoWork()':
raw2ts.cpp:218: cannot convert `AVPicture*' to `const AVFrame*' for argument 
`4
   ' to `int avcodec_encode_video(AVCodecContext*, UINT8*, int, const 
AVFrame*)
   '
make[1]: *** [obj/BUILTIN_raw2ts.o] Error 1
make[1]: Leaving directory `/usr/local/src/vls/src/modules/raw2ts'
make: *** [raw2ts] Error 2
------------------------------------------------------------------------------------------------

I am trying to find out what is causing it, do you have any ideas about?

-- 
Pawel Wiatr
http://www.it.kth.se/~pawel
Cut the network cables, be wireless ! 


PhD student at
KTH, Royal Institute of Technology, Sweden
Tel: +46 73 614 48 02

-- 
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.