[streaming] Re: streaming a v4l device

Mike mjmatthews1 at rcn.com
Tue Aug 19 06:43:24 CEST 2003


Tristan Leteurtre wrote:

>On Sun, Aug 17, 2003, Mike wrote:
>  
>
>>why would you want to mute the audio? I am trying to get vls to send 
>>stuff from the tuner. The example from the web site isn't going to work, 
>>there is stuff missing like what channel you select, tuning, audio, 
>>etc... Seems this interface is not finished.
>>    
>>
>
>Th vls.cfg available in the cvs of vls contains all the configuration
>parameters possible. 
>
>  
>
OK figured it out. Frequency is channel(excuse my slowness). Using  
xawtv frequency table for ntsc-cable-us channel 1 = 73250. vls.cfg wants 
Frequency = mhz * 16, so 73.250 * 16 =  1172. That gives me BW picture, 
but I use fine=12 for xawtv so 1172+12= 1184 (guess). Viola color 
picture.  EXCELLENT. Freakin Einstein ;).

But sound is dim and echoy ( bandwidth issue ?). I am streaming over 
wifi to a laptop in the next room, maybe getting 5-8mbs. I tried 
changing audiobitrate/channel/compression but saw little difference.

BEGIN "tuner"
# --- Example:
Device        = "/dev/video0"     # Video4linux device (default is 
/dev/video)
Channel       = "0"              # Channel Source: Webcam often 0
Frequency     = "1184"           # Frequency (Mhz) * 16 (73.250) + 12
Norm          = "1"              # PAL=0, NTSC=1, SECAM=2
# Size possibilities: can be either:
  # - empty string : default size
  # - width x height
  # - subQCIF(128x96), QSIF(160x120), QCIF(176x144), SIF(320x240),
  #   CIF(352x288), VGA (640x480)
Size          = "CIF"
DeInterlace   = "0"
Compression   = "mpeg1"         # mpeg1 or mpeg4 [experimental]
Bitrate       = "500"            # Bitrate (approx.) in kbps
Quality       = "1.0"            # 1.0 (good) to 31.0 (bad)
AudioDevice   = "/dev/dsp"       # Sound device (try /dev/dsp<X>
AudioCompression = "mp3"         # mp2, mp3 or ogg
AudioBitrate  = "64"             # Audio bitrate in kbps
AudioFreq     = "16000"          # 16000, 22050, 24000, 32000, 44100, 48000
AudioChannel  = "2"              # 1=mono, 2=stereo
AudioMute     = "false"
END

maybe if I upgrade to x11b.

Nice work. thanks

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
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 streaming mailing list