[vlc] Re: VLC 'invalid audio' ?

Jean-Paul Saman saman at natlab.research.philips.com
Mon Mar 1 11:52:47 CET 2004


Ian B. MacDonald wrote:
> On Fri, 2004-02-27 at 03:55, Jean-Paul Saman wrote:
>>Try e.g. with xawtv and see if you can get audio. If this works it is a 
>>VLC problem.
> 
> 
> Yep, I stated that xawtv is fine with additional dmesg/output details on
> my 2/20 email.
> 
I had a quick look in the source code. Here is the spot it fails in 
OpenVideoDev()

     if( p_sys->i_audio >= p_sys->vid_cap.audios )
     {
         msg_Dbg( p_input, "invalid audio, falling back with no audio" );
         p_sys->i_audio = -1;
     }

I guess for some reason VLC doesn't detect the audio capabilities 
correct, which results in ignoring the audio all together. Could you set 
a specific bitrate for the audio on your commandline, or hack the source 
to ignore this check? Just to test.

>>>[00000187] v4l input debug: WxH 320x240
>>>[00000187] v4l input debug: main device=`/dev/video'
>>>[00000187] v4l input debug: V4L device BT848A video (STB, Gateway P/N  3
>>>channels 1 audios 48 < w < 768 32 < h < 480
>>>[00000187] v4l input debug: invalid audio, falling back with no audio
>>>[00000187] v4l input debug: setting channel Television(0) 1 tuners
>>>flags=0x3 type=0x1 norm=0x1
>>>


-- 
Kind greetings,

Jean-Paul Saman



-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list