Okay I am still having trouble with this - the command I am using is simply :
Code: Select all
vlc -vvv v4l2:// :v4l2-dev=/dev/video0 :v4l2-width=720 :v4l2-height=576 :v4l2-fps=25 :v4l2-input=2 :v4l2-standard=5 :v4l2-adev=/dev/dsp :input-slave=alsa://
But this results in a VERY long start up time and broken video. Now I *think* the (motherboards alsa) audio input is being detected since if I log things I see :
Code: Select all
[0x7f2274002e58] main input debug: adding slave input 'alsa://'
[0x7f2274002e58] main input debug: `alsa://' gives access `alsa' demux `' path `'
[0x7f2274002e58] main input debug: creating demux: access='alsa' demux='' path=''
[0x7f2274013378] main demux debug: looking for access_demux module: 1 candidate
[0x7f2274013378] access_alsa demux debug: Available alsa capture devices:
[0x7f2274013378] access_alsa demux debug: Intel (HDA Intel)
[0x7f2274013378] access_alsa demux debug: hw:0,0 : ALC883 Analog (ALC883 Analog)
[0x7f2274013378] access_alsa demux debug: hw:0,1 : ALC883 Digital (ALC883 Digital)
[0x7f2274013378] access_alsa demux debug: hw:0,2 : ALC883 Analog (ALC883 Analog)
[0x7f2274013378] access_alsa demux debug: opening device 'hw'
[0x7f2274013378] access_alsa demux debug: 'hw' is an audio device
[0x7f2274013378] access_alsa demux debug: opened adev=`hw' stereo 48000Hz
[0x7f2274013378] access_alsa demux debug: new audio es 2 channels 48000Hz
[0x7f2274002e58] main input debug: selecting program id=0
[0x7f2274013378] main demux debug: using access_demux module "access_alsa"
[0x7f2274013378] main demux debug: TIMER module_need() : 21.485 ms - Total 21.485 ms / 1 intvls (Avg 21.485 ms)
[0x2893e18] main decoder debug: looking for decoder module: 31 candidates
[0x2893e18] araw decoder debug: samplerate:48000Hz channels:2 bits/sample:16
[0x2893e18] main decoder debug: using decoder module "araw"
[0x2893e18] main decoder debug: TIMER module_need() : 4.054 ms - Total 4.054 ms / 1 intvls (Avg 4.054 ms)
[0x2893e18] main decoder debug: thread (decoder) created at priority 5 (input/decoder.c:315)
[0x2893e18] main decoder debug: thread started
[0x7f2274002e58] main input debug: `v4l2://' successfully opened
[0x7f2274001d98]
BUT then things go into an interesting loop where the system tries to buffer the audio and I get continual messages such as the following :
Code: Select all
[0x7f2274002e58] main input warning: clock gap, unexpected stream discontinuity
[0x7f2274002e58] main input warning: feeding synchro with a new reference point trying to recover from clock gap
[0x7f2274002e58] main input debug: Buffering 0%
[0x7f2274002e58] main input debug: Buffering 28%
[0x7f2274002e58] main input warning: clock gap, unexpected stream discontinuity
[0x7f2274002e58] main input warning: feeding synchro with a new reference point trying to recover from clock gap
[0x7f2274002e58] main input debug: Buffering 0%
[0x7f2274002e58] main input warning: clock gap, unexpected stream discontinuity
[0x7f2274002e58] main input warning: feeding synchro with a new reference point trying to recover from clock gap
[0x7f2274002e58] main input debug: Buffering 0%
[0x7f2274002e58] main input debug: Buffering 28%
At no point do the video/audio play HOWEVER if I leave out the audio I CAN get the video to play.
*sigh* ANY advice appreciated.