I am trying to build vlc player for a small computer (an embedded board) so that I can setup webcam streaming on it.
when I tried this webcam streaming on linux(FC6) desktop vwith vlc player I used following codec and options -
vlc -vvv v4l:/dev/video0:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/dsp:audio=0 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,vt=800000,keyint=80,deinterlace}:std{access=http,mux=ts,dst=192.168.91.77:8080}' --ttl 12
This together with and apache server worked great for me. now I want to so the same on small computer and I need some help for the same.
my questions are -
(1) How should I build vlc player such way that it includes libraries and binaries just required for above mentioned options. There are memory constraints so I just want required codecs only, not the complete vlc player. so while building with ./configure what options I should provide it? I dont (actually can't) want any GUI, command line should suffice here.
my small box is recognizing the webcam as the usb and video drivers are working fine. I can add http server once I get vlc configured correctly.
(2) while builing the vlc, I want ./configure script to look at some other kernel source (in my home directory) rather than guessing kernel source of running kernel automatically. What is the way to do this? I dont find any options in ./configure --help for this.
Please help me by giving me some clues to start at least.
Thanks..