No sound capturing from AVerMedia DVD EZMaker PCI Deluxe
Posted: 04 Jan 2008 00:10
I am trying to use this capture card with Ubuntu Feisty Fawn.
I installed latest v4l2 driver which supports this card.
I recompiled VLC with options --enable-v4l2 and --enable-pvr among others.
Now, I see the tab PVR for capturing from a card (while with VLC from repositories I saw a tab called Video4Linux).
Anyway, I play the VCR connected to the card (RCA connectors: composite video, audio left, audio right) and I manage to view the video but I have no audio.
Previously, I had to change the video input, with the command: v4l2-ctl -i 1 (to not use input 0 which is S-Video but input 1 which is composite).
I am trying other control commands for audio, like: v4l2-ctl --set-ctrl=volume=10, but no luck, though I think this might be something related to the driver v4l2 and not with the way VLC has been compiled.
Of course, I am able to play MPEG files successfully with this VLC, but when using the capture card I experience this problem with the audio.
This is the log output from VLC when running in debug mode:
[00000474] main playlist debug: adding playlist item `pvr://' ( pvr:// )
[00000474] main playlist debug: creating new input thread
[00000612] main input debug: waiting for thread completion
[00000612] main input debug: thread 2953759632 (input) created at priority 0 (input/input.c:265)
[00000612] main input debug: `pvr://' gives access `pvr' demux `' path `'
[00000612] main input debug: creating demux: access='pvr' demux='' path=''
[00000613] main demuxer debug: looking for access_demux module: 0 candidates
[00000613] main demuxer warning: no access_demux module matched "pvr"
[00000612] main input debug: creating access 'pvr' path=''
[00000614] main access debug: looking for access2 module: 10 candidates
[00000614] pvr access debug: Using video device: /dev/video0.
[00000614] pvr access debug: ivtv driver version 01.02.00
[00000614] pvr access debug: this driver uses the v4l2 API
[00000614] pvr access debug: Setting [0] bitrate_mode = 0
[00000614] main access debug: using access2 module "pvr"
[00000615] main private debug: pre-buffering...
[00000615] main private debug: received first data for our buffer
[00000615] main private debug: pre-buffering done 163835 bytes in 0s - 178 kbytes/s
[00000612] main input debug: creating demux: access='pvr' demux='' path=''
[00000616] main demuxer debug: looking for demux2 module: 78 candidates
[00000616] main demuxer debug: using demux2 module "ps"
[00000614] pvr access warning: Unimplemented query in control.
[00000612] main input debug: `pvr://' successfully opened
[00000612] main input debug: selecting program id=0
[00000617] main decoder debug: looking for decoder module: 38 candidates
[00000617] main decoder debug: using decoder module "libmpeg2"
[00000617] main decoder debug: thread 2945080208 (decoder) created at priority 0 (input/decoder.c:159)
[00000618] main decoder debug: looking for decoder module: 38 candidates
[00000618] main decoder debug: using decoder module "mpeg_audio"
[00000618] main decoder debug: thread 2985859984 (decoder) created at priority 0 (input/decoder.c:159)
[00000617] libmpeg2 decoder debug: 720x576 (display 720,576), aspect 540000, sar 1:1, 25.000 fps
[00000617] main decoder debug: no usable vout present, spawning one
[00000619] main video output debug: window size: 720x576
[00000619] main video output debug: looking for video output module: 10 candidates
[00000619] xvideo video output debug: adaptor 0, port 51, format 0x32315659 (YV12) planar
[00000620] main private debug: Registering subpicture channel, ID: 2
[00000620] main private debug: Registering subpicture channel, ID: 3
[00000620] main private debug: Registering subpicture channel, ID: 4
[00000620] main private debug: Registering subpicture channel, ID: 5
[00000619] xvideo video output debug: Window manager supports NetWM
[00000619] xvideo video output debug: Window manager supports _NET_WM_STATE_FULLSCREEN
[00000619] xvideo video output debug: Window manager supports _NET_WM_STATE_ABOVE
[00000619] xvideo video output debug: Window manager supports _NET_WM_STATE_BELOW
[00000619] main video output debug: using video output module "xvideo"
[00000619] main video output debug: waiting for thread completion
[00000618] mpeg_audio decoder debug: MPGA channels:2 samplerate:48000 bitrate:384
[00000574] main audio output debug: looking for audio output module: 6 candidates
[00000574] alsa audio output debug: opening ALSA device `default'
[00000574] main audio output debug: thread 2921331600 (aout) created at priority 0 (alsa.c:662)
[00000574] main audio output debug: using audio output module "alsa"
[00000574] main audio output debug: output 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
[00000574] main audio output debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
[00000574] main audio output debug: no need for any filter
[00000574] main audio output debug: looking for audio mixer module: 6 candidates
[00000574] main audio output debug: using audio mixer module "trivial_mixer"
[00000574] main audio output debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/1161 bytes
[00000574] main audio output debug: filter(s) 'mpga'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo
[00000621] main private debug: looking for audio filter module: 46 candidates
[00000621] main private debug: using audio filter module "mpgatofixed32"
[00000574] main audio output debug: found a filter for the whole conversion
[00000574] main audio output debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo
[00000622] main private debug: looking for audio filter module: 46 candidates
[00000622] main private debug: using audio filter module "bandlimited_resampler"
[00000574] main audio output debug: found a filter for the whole conversion
[00000619] main video output debug: got 8 direct buffer(s)
[00000619] main video output debug: picture in 720x576 (0,0,720x576), chroma I420, ar 5:4, sar 1:1
[00000619] main video output debug: picture user 720x576 (0,0,720x576), chroma I420, ar 5:4, sar 1:1
[00000619] main video output debug: picture out 720x576 (0,0,720x576), chroma I420, ar 5:4, sar 1:1
[00000619] main video output debug: direct render, mapping render pictures 0-6 to system pictures 1-7
[00000619] main video output debug: thread 2936687504 (video output) created at priority 0 (video_output/video_output.c:421)
[00000623] main private warning: vout synchro warning: pts != current_date (-167436)
[00000623] main private debug: decoded 103/105 pictures
[00000574] main audio output warning: buffer is 40922 in advance, triggering downsampling
[00000574] main audio output warning: resampling stopped after 16450821 usec (drift: -27558)
[00000619] main video output warning: late picture skipped (94162)
[00000619] main video output warning: late picture skipped (54230)
[00000619] main video output warning: late picture skipped (14496)
[00000619] main video output warning: late picture skipped (34792)
[00000623] main private debug: decoded 104/105 pictures
[00000619] main video output warning: late picture skipped (134919)
[00000619] main video output warning: late picture skipped (94789)
[00000619] main video output warning: late picture skipped (54800)
[00000619] main video output warning: late picture skipped (15012)
[00000619] main video output warning: late picture skipped (5356)
[00000619] main video output warning: late picture skipped (16289)
[00000623] main private debug: decoded 104/105 pictures
Could somebody throw some light on it?
I installed latest v4l2 driver which supports this card.
I recompiled VLC with options --enable-v4l2 and --enable-pvr among others.
Now, I see the tab PVR for capturing from a card (while with VLC from repositories I saw a tab called Video4Linux).
Anyway, I play the VCR connected to the card (RCA connectors: composite video, audio left, audio right) and I manage to view the video but I have no audio.
Previously, I had to change the video input, with the command: v4l2-ctl -i 1 (to not use input 0 which is S-Video but input 1 which is composite).
I am trying other control commands for audio, like: v4l2-ctl --set-ctrl=volume=10, but no luck, though I think this might be something related to the driver v4l2 and not with the way VLC has been compiled.
Of course, I am able to play MPEG files successfully with this VLC, but when using the capture card I experience this problem with the audio.
This is the log output from VLC when running in debug mode:
[00000474] main playlist debug: adding playlist item `pvr://' ( pvr:// )
[00000474] main playlist debug: creating new input thread
[00000612] main input debug: waiting for thread completion
[00000612] main input debug: thread 2953759632 (input) created at priority 0 (input/input.c:265)
[00000612] main input debug: `pvr://' gives access `pvr' demux `' path `'
[00000612] main input debug: creating demux: access='pvr' demux='' path=''
[00000613] main demuxer debug: looking for access_demux module: 0 candidates
[00000613] main demuxer warning: no access_demux module matched "pvr"
[00000612] main input debug: creating access 'pvr' path=''
[00000614] main access debug: looking for access2 module: 10 candidates
[00000614] pvr access debug: Using video device: /dev/video0.
[00000614] pvr access debug: ivtv driver version 01.02.00
[00000614] pvr access debug: this driver uses the v4l2 API
[00000614] pvr access debug: Setting [0] bitrate_mode = 0
[00000614] main access debug: using access2 module "pvr"
[00000615] main private debug: pre-buffering...
[00000615] main private debug: received first data for our buffer
[00000615] main private debug: pre-buffering done 163835 bytes in 0s - 178 kbytes/s
[00000612] main input debug: creating demux: access='pvr' demux='' path=''
[00000616] main demuxer debug: looking for demux2 module: 78 candidates
[00000616] main demuxer debug: using demux2 module "ps"
[00000614] pvr access warning: Unimplemented query in control.
[00000612] main input debug: `pvr://' successfully opened
[00000612] main input debug: selecting program id=0
[00000617] main decoder debug: looking for decoder module: 38 candidates
[00000617] main decoder debug: using decoder module "libmpeg2"
[00000617] main decoder debug: thread 2945080208 (decoder) created at priority 0 (input/decoder.c:159)
[00000618] main decoder debug: looking for decoder module: 38 candidates
[00000618] main decoder debug: using decoder module "mpeg_audio"
[00000618] main decoder debug: thread 2985859984 (decoder) created at priority 0 (input/decoder.c:159)
[00000617] libmpeg2 decoder debug: 720x576 (display 720,576), aspect 540000, sar 1:1, 25.000 fps
[00000617] main decoder debug: no usable vout present, spawning one
[00000619] main video output debug: window size: 720x576
[00000619] main video output debug: looking for video output module: 10 candidates
[00000619] xvideo video output debug: adaptor 0, port 51, format 0x32315659 (YV12) planar
[00000620] main private debug: Registering subpicture channel, ID: 2
[00000620] main private debug: Registering subpicture channel, ID: 3
[00000620] main private debug: Registering subpicture channel, ID: 4
[00000620] main private debug: Registering subpicture channel, ID: 5
[00000619] xvideo video output debug: Window manager supports NetWM
[00000619] xvideo video output debug: Window manager supports _NET_WM_STATE_FULLSCREEN
[00000619] xvideo video output debug: Window manager supports _NET_WM_STATE_ABOVE
[00000619] xvideo video output debug: Window manager supports _NET_WM_STATE_BELOW
[00000619] main video output debug: using video output module "xvideo"
[00000619] main video output debug: waiting for thread completion
[00000618] mpeg_audio decoder debug: MPGA channels:2 samplerate:48000 bitrate:384
[00000574] main audio output debug: looking for audio output module: 6 candidates
[00000574] alsa audio output debug: opening ALSA device `default'
[00000574] main audio output debug: thread 2921331600 (aout) created at priority 0 (alsa.c:662)
[00000574] main audio output debug: using audio output module "alsa"
[00000574] main audio output debug: output 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
[00000574] main audio output debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
[00000574] main audio output debug: no need for any filter
[00000574] main audio output debug: looking for audio mixer module: 6 candidates
[00000574] main audio output debug: using audio mixer module "trivial_mixer"
[00000574] main audio output debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/1161 bytes
[00000574] main audio output debug: filter(s) 'mpga'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo
[00000621] main private debug: looking for audio filter module: 46 candidates
[00000621] main private debug: using audio filter module "mpgatofixed32"
[00000574] main audio output debug: found a filter for the whole conversion
[00000574] main audio output debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo
[00000622] main private debug: looking for audio filter module: 46 candidates
[00000622] main private debug: using audio filter module "bandlimited_resampler"
[00000574] main audio output debug: found a filter for the whole conversion
[00000619] main video output debug: got 8 direct buffer(s)
[00000619] main video output debug: picture in 720x576 (0,0,720x576), chroma I420, ar 5:4, sar 1:1
[00000619] main video output debug: picture user 720x576 (0,0,720x576), chroma I420, ar 5:4, sar 1:1
[00000619] main video output debug: picture out 720x576 (0,0,720x576), chroma I420, ar 5:4, sar 1:1
[00000619] main video output debug: direct render, mapping render pictures 0-6 to system pictures 1-7
[00000619] main video output debug: thread 2936687504 (video output) created at priority 0 (video_output/video_output.c:421)
[00000623] main private warning: vout synchro warning: pts != current_date (-167436)
[00000623] main private debug: decoded 103/105 pictures
[00000574] main audio output warning: buffer is 40922 in advance, triggering downsampling
[00000574] main audio output warning: resampling stopped after 16450821 usec (drift: -27558)
[00000619] main video output warning: late picture skipped (94162)
[00000619] main video output warning: late picture skipped (54230)
[00000619] main video output warning: late picture skipped (14496)
[00000619] main video output warning: late picture skipped (34792)
[00000623] main private debug: decoded 104/105 pictures
[00000619] main video output warning: late picture skipped (134919)
[00000619] main video output warning: late picture skipped (94789)
[00000619] main video output warning: late picture skipped (54800)
[00000619] main video output warning: late picture skipped (15012)
[00000619] main video output warning: late picture skipped (5356)
[00000619] main video output warning: late picture skipped (16289)
[00000623] main private debug: decoded 104/105 pictures
Could somebody throw some light on it?