<span style="font-weight: bold; font-family: times new roman,serif;">Hello</span><br style="font-weight: bold; font-family: times new roman,serif;"><br style="font-weight: bold; font-family: times new roman,serif;"><span style="font-weight: bold; font-family: times new roman,serif;">
Im a novice with vlc and i having problems with the streaming of a signal.</span><br style="font-weight: bold; font-family: times new roman,serif;"><span style="font-weight: bold; font-family: times new roman,serif;">I'm running Debian Etch with a
2.6.18 kernel and i have an Osprey 200 series capture card with audio and video inputs from other device. </span><br><br># lspci | grep Multimedia<br>00:1e.2 Multimedia audio controller: Intel Corporation 82801G (ICH7 Family) AC'97 Audio Controller (rev 01)
<br>04:00.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)<br>04:00.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)<br><br># dmesg<br>.<br>.<br>.<br><br>Linux video capture interface:
v2.00<br>bttv: driver version 0.9.16 loaded<br>bttv: using 8 buffers with 2080k (520 pages) each for capture<br>bttv: Bt8xx card found (0).<br>ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 16 (level, low) -> IRQ 169<br>
bttv0: Bt878 (rev 17) at 0000:04:00.0, irq: 169, latency: 64, mmio: 0xf0001000<br>bttv0: detected: Osprey-200 [card=88], PCI subsystem ID is 0070:ff01<br>bttv0: using: Osprey 200/250 [card=88,autodetected]<br>bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
<br>bttv0: osprey eeprom: card=89 name=Osprey 210/220/230 serial=5390443<br>bttv0: using tuner=-1<br>bttv0: i2c: checking for TDA9887 @ 0x86... not found<br>bttv0: registered device video0<br>bttv0: registered device vbi0
<br>bttv0: PLL: 28636363 => 35468950 .. ok<br>ACPI: PCI Interrupt 0000:00:1e.2[A] -> GSI 23 (level, low) -> IRQ 50<br>PCI: Setting latency timer of device 0000:00:1e.2 to 64<br>bt878: AUDIO driver version 0.0.0 loaded
<br>intel8x0_measure_ac97_clock: measured 58292 usecs<br>intel8x0: clocking to 48000<br>bt878: Bt878 AUDIO function found (0).<br>ACPI: PCI Interrupt 0000:04:00.1[A] -> GSI 16 (level, low) -> IRQ 169<br>bt878_probe: card id=[0xff010070], Unknown card.
<br>Exiting..<br>ACPI: PCI interrupt for device 0000:04:00.1 disabled<br>.<br>.<br>.<br><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-family: times new roman,serif;"><span style="font-weight: bold;">
I'm executing the next command to stream the signal in a address different of <a href="http://192.168.43.30">192.168.43.30</a> but in the same local net.</span><br><br></span>#vlc -vvv v4l:/dev/video0:norm=pal:size=720x576:adev=/dev/dsp:channels=2 --sout='#transcode{vcodec=mp2v,vb=2048,acodec=mpga,ab=256}:standard{access=udp,mux=ts,dst=
<a href="http://192.168.43.30:1234">192.168.43.30:1234</a>}'<br><br>[00000001] main private debug: checking builtin modules<br>[00000001] main private debug: checking plugin modules<br>[00000001] main private debug: loading plugins cache file /root/.vlc/cache/plugins-
04041e.dat<br>[00000001] main private debug: recursively browsing `modules'<br>[00000001] main private debug: recursively browsing `/usr/lib/vlc'<br>[00000001] main private debug: recursively browsing `plugins'
<br>[00000001] main private debug: module bank initialized, found 214 modules<br>[00000001] main private debug: opening config file /root/.vlc/vlcrc<br>[00000001] main private warning: config file /root/.vlc/vlcrc does not exist yet
<br>[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU <br>[00000001] main private debug: looking for memcpy module: 1 candidate<br>[00000001] main private debug: using memcpy module "memcpy"
<br>[00000279] main playlist debug: waiting for thread completion<br>[00000279] main playlist debug: thread 3078278064 (playlist) created at priority 0 (playlist/playlist.c:184)<br>[00000280] main private debug: waiting for thread completion
<br>[00000280] main private debug: thread 3069885360 (preparser) created at priority 0 (playlist/playlist.c:210)<br>[00000281] main interface debug: looking for interface module: 1 candidate<br>[00000281] main interface debug: using interface module "hotkeys"
<br>[00000281] main interface debug: thread 3061468080 (interface) created at priority 0 (interface/interface.c:231)<br>[00000283] main interface debug: looking for interface module: 1 candidate<br>[00000283] main interface debug: using interface module "screensaver"
<br>[00000283] main interface debug: thread 3053067184 (interface) created at priority 0 (interface/interface.c:231)<br>[00000279] main playlist debug: adding playlist item `v4l:/dev/video0:norm=pal:size=720x576:adev=/dev/dsp:channels=2' ( v4l:/dev/video0:norm=pal:size=720x576:adev=/dev/dsp:channels=2 )
<br>[00000285] main interface debug: looking for interface module: 5 candidates<br>[00000285] skins2 interface error: Cannot open display<br>[00000285] skins2 interface error: cannot initialize OSFactory<br>[00000285] main interface debug: using interface module "rc"
<br>[00000285] main interface debug: thread 3041708976 (manager) created at priority 0 (interface/interface.c:216)<br>[00000279] main playlist debug: creating new input thread<br>[00000289] main input debug: waiting for thread completion
<br>[00000289] main input debug: creating statistics handler<br>[00000291] main stream output debug: stream=`transcode'<br>[00000292] main private debug: looking for sout stream module: 1 candidate<br>[00000291] main stream output debug: stream=`standard'
<br>[00000295] main private debug: looking for sout stream module: 1 candidate<br>[00000295] main private debug: set sout option: sout-standard-access to udp<br>[00000295] main private debug: set sout option: sout-standard-mux to ts
<br>[00000295] main private debug: set sout option: sout-standard-dst to <a href="http://192.168.43.30:1234">192.168.43.30:1234</a><br>[00000295] stream_out_standard private debug: creating `udp/ts://192.168.43.30:1234'
<br>[00000295] stream_out_standard private debug: extension is 47:1234<br>[00000295] stream_out_standard private debug: extension -> mux=(null)<br>[00000295] stream_out_standard private debug: using `udp/ts://192.168.43.30:1234'
<br>[00000297] main private debug: looking for sout access module: 1 candidate<br>[00000289] main input debug: thread 3033316272 (input) created at priority 0 (input/input.c:266)<br>[00000297] main private debug: net: connecting to
<a href="http://192.168.43.30">192.168.43.30</a> port 1234<br>[00000299] main private debug: thread 3024858032 (sout write thread) created at priority 0 (udp.c:268)<br>[00000297] access_output_udp private debug: udp access output opened(
<a href="http://192.168.43.30:1234">192.168.43.30:1234</a>)<br>[00000297] main private debug: using sout access module "access_output_udp"<br>[00000295] stream_out_standard private debug: access opened<br>[00000300] main private debug: looking for sout mux module: 1 candidate
<br>[00000300] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000<br>[00000300] main private debug: using sout mux module "mux_ts"<br>[00000291] main stream output debug: muxer support adding stream at any time
<br>[00000295] stream_out_standard private debug: mux opened<br>[00000295] main private debug: using sout stream module "stream_out_standard"<br>[00000292] main private debug: set sout option: sout-transcode-vcodec to mp2v
<br>[00000292] main private debug: set sout option: sout-transcode-vb to 2048<br>[00000292] main private debug: set sout option: sout-transcode-acodec to mpga<br>[00000292] main private debug: set sout option: sout-transcode-ab to 256
<br>[00000292] stream_out_transcode private debug: codec audio=mpga 0Hz 0 channels 256Kb/s<br>[00000292] stream_out_transcode private debug: codec video=mp2v 0x0 scaling: 1.000000 2048kb/s<br>[00000292] main private debug: using sout stream module "stream_out_transcode"
<br>[00000289] main input debug: `v4l:/dev/video0:norm=pal:size=720x576:adev=/dev/dsp:channels=2' gives access `v4l' demux `' path `/dev/video0:norm=pal:size=720x576:adev=/dev/dsp:channels=2'<br>[00000289] main input debug: creating demux: access='v4l' demux='' path='/dev/video0:norm=pal:size=720x576:adev=/dev/dsp:channels=2'
<br>[00000301] main demuxer debug: looking for access_demux module: 1 candidate<br>[00000301] v4l demuxer debug: WxH 720x576<br>[00000301] v4l demuxer warning: unknown option<br>[00000301] v4l demuxer debug: main device=`/dev/video0'
<br>[00000301] v4l demuxer debug: V4L device BT878 video (Osprey 210/220/230 2 channels 1 audios 48 < w < 924 32 < h < 576<br>[00000301] v4l demuxer debug: setting channel Composite0(0) 0 tuners flags=0x2 type=0x2 norm=0x0
<br>[00000301] v4l demuxer debug: v4l device uses brightness: 32768<br>[00000301] v4l demuxer debug: v4l device uses colour: 32768<br>[00000301] v4l demuxer debug: v4l device uses hue: 32768<br>[00000301] v4l demuxer debug: v4l device uses contrast: 32768
<br>[00000301] v4l demuxer debug: v4l device uses frame size: 1244160<br>[00000301] v4l demuxer debug: v4l device uses chroma: RV24<br>[00000301] v4l demuxer debug: openened adev=`/dev/dsp' stereo 44100Hz<br>[00000301] v4l demuxer debug: v4l grabbing started
<br>[00000301] v4l demuxer debug: added new video es RV24 720x576<br>[00000289] main input debug: selecting program id=0<br>[00000301] v4l demuxer debug: new audio es 2 channels 44100Hz<br>[00000301] main demuxer debug: using access_demux module "v4l"
<br>[00000303] main packetizer debug: looking for packetizer module: 17 candidates<br>[00000303] main packetizer debug: using packetizer module "rawvideo"<br>[00000303] main packetizer debug: thread 2999225264 (decoder) created at priority 0 (input/decoder.c:159)
<br>[00000309] main packetizer debug: looking for packetizer module: 17 candidates<br>[00000309] main packetizer debug: using packetizer module "packetizer_copy"<br>[00000309] main packetizer debug: thread 2989116336 (decoder) created at priority 0 (input/decoder.c:159)
<br>[00000289] main input debug: starting in sync mode<br>[00000289] main input debug: `v4l:/dev/video0:norm=pal:size=720x576:adev=/dev/dsp:channels=2' successfully opened<br>[00000291] main stream output debug: adding a new input
<br>[00000292] stream_out_transcode private debug: creating video transcoding from fcc=`RV24' to fcc=`mp2v'<br>[00000335] main decoder debug: looking for decoder module: 24 candidates<br>[00000291] main stream output debug: adding a new input
<br>[00000335] main decoder debug: using decoder module "rawvideo"<br>[00000336] main encoder debug: looking for encoder module: 9 candidates<br>[00000336] ffmpeg encoder debug: libavcodec initialized (interface 3345152 )
<br>[00000336] ffmpeg encoder debug: found encoder MPEG-2 Video<br>[00000336] main encoder debug: using encoder module "ffmpeg"<br>[00000336] main encoder debug: removing module "ffmpeg"<br>[00000292] stream_out_transcode private debug: creating audio transcoding from fcc=`s16l' to fcc=`mpga'
<br>[00000354] main decoder debug: looking for decoder module: 24 candidates<br>[00000354] araw decoder debug: samplerate:44100Hz channels:2 bits/sample:16<br>[00000354] main decoder debug: using decoder module "araw"
<br>[00000355] main encoder debug: looking for encoder module: 9 candidates<br>[00000355] ffmpeg encoder debug: libavcodec already initialized<br>[00000355] ffmpeg encoder debug: found encoder MPEG Audio layer 1/2<br>[00000355] main encoder debug: using encoder module "ffmpeg"
<br>[00000300] main private debug: adding a new input<br>[00000300] mux_ts private debug: adding input codec=mpga pid=68<br>[00000300] mux_ts private debug: new PCR PID is 68<br>[00000292] stream_out_transcode private debug: decoder aspect is 576000:432000
<br>[00000292] stream_out_transcode private debug: source pixel aspect is 1.066667:1<br>[00000292] stream_out_transcode private debug: scaled pixel aspect is 1.066667:1<br>[00000292] stream_out_transcode private debug: source 720x576, crop 720x576, destination 720x576, padding 720x576
<br>[00000292] stream_out_transcode private debug: encoder aspect is 576000:432000<br>[00000336] main encoder debug: looking for encoder module: 9 candidates<br>[00000336] ffmpeg encoder debug: libavcodec already initialized
<br>[00000336] ffmpeg encoder debug: found encoder MPEG-2 Video<br>[00000336] main encoder debug: using encoder module "ffmpeg"<br>[00000300] main private debug: adding a new input<br>[00000300] mux_ts private debug: adding input codec=mpgv pid=69
<br>[00000300] mux_ts private debug: new PCR PID is 69<br>[00000356] main private debug: looking for crop padd module: 1 candidate<br>[00000356] ffmpeg private debug: input: 720x576 RV24 -> 720x576 I420<br>[00000356] ffmpeg private debug: libavcodec already initialized
<br>[00000356] main private debug: using crop padd module "ffmpeg"<br><br style="font-family: times new roman,serif; font-weight: bold;"><span style="font-family: times new roman,serif; font-weight: bold;">My problem is the next:
</span><br style="font-family: times new roman,serif; font-weight: bold;"><span style="font-family: times new roman,serif; font-weight: bold;">When i connect an vlc client to watch the signal of streaming i have video but not audio, really i have bad audio...more than audio is noise.
</span><br style="font-family: times new roman,serif; font-weight: bold;"><span style="font-family: times new roman,serif; font-weight: bold;">Both signals,video and audio, came from the same device and i listen the audio from it and its seems to be ok.
</span><br style="font-family: times new roman,serif; font-weight: bold;"><span style="font-family: times new roman,serif; font-weight: bold;">Listening the audio output from Osprey card it sounds ok too.</span><br style="font-family: times new roman,serif; font-weight: bold;">
<span style="font-family: times new roman,serif; font-weight: bold;">I've comprobed net stats and there's no problem and the target machine is in the same local net of the machine that capture the signals.</span><br style="font-family: times new roman,serif; font-weight: bold;">
<span style="font-family: times new roman,serif; font-weight: bold;">I've comprobed that conections are ok on the source so i suppose it would be a problem of the device im using in vlc command.</span><br style="font-family: times new roman,serif; font-weight: bold;">
<span style="font-family: times new roman,serif; font-weight: bold;">I have probed too the next devices instead of /dev/dsp but i didnt have good results:</span><span style="font-family: arial,sans-serif;"><br>/dev/adsp</span>
<br style="font-family: arial,sans-serif;"><span style="font-family: arial,sans-serif;">/dev/audio</span><br style="font-family: arial,sans-serif;"><span style="font-family: arial,sans-serif;">/dev/snd</span><br style="font-family: arial,sans-serif;">
<span style="font-family: arial,sans-serif;">/dev/mixer</span><br style="font-family: arial,sans-serif;"><br><span style="font-weight: bold; font-family: times new roman,serif;">I dont know what more devices i could probe:
</span><br><font style="font-family: arial,sans-serif;" size="2"># ls /dev<br>adsp hpet loop6 ptyp0 ptypd ram4 sg1 tty11 tty23 tty35 tty47 tty59 ttyp4 ttyS1 usbdev5.1_ep81 vcsa4<br>agpgart initctl loop7 ptyp1 ptype ram5 shm tty12 tty24 tty36 tty48 tty6 ttyp5 ttyS2 vbi0 vcsa5
<br>audio input MAKEDEV ptyp2 ptypf ram6 snapshot tty13 tty25 tty37 tty49 tty60 ttyp6 ttyS3 vcs vcsa6<br>bus kmem mapper ptyp3 ram0 ram7 snd tty14 tty26 tty38 tty5 tty61 ttyp7 urandom vcs1 video0
<br>cdrom kmsg mem ptyp4 ram1 ram8 sndstat tty15 tty27 tty39 tty50 tty62 ttyp8 usbdev1.1_ep00 vcs2 xconsole<br>console log mixer ptyp5 ram10 ram9 sr0 tty16 tty28 tty4 tty51 tty63 ttyp9
usbdev1.1_ep81 vcs3 zero<br>core loop net ptyp6 ram11 random stderr tty17 tty29 tty40 tty52 tty7 ttypa usbdev2.1_ep00 vcs4<br>disk loop0 null ptyp7 ram12 scd0 stdin tty18 tty3 tty41 tty53 tty8 ttypb
usbdev2.1_ep81 vcs5<br>dsp loop1 port ptyp8 ram13 sda stdout tty19 tty30 tty42 tty54 tty9 ttypc usbdev3.1_ep00 vcs6<br>dvd loop2 ppp ptyp9 ram14 sda1 tty tty2 tty31 tty43 tty55 ttyp0 ttypd
usbdev3.1_ep81 vcsa<br>fd loop3 psaux ptypa ram15 sda2 tty0 tty20 tty32 tty44 tty56 ttyp1 ttype usbdev4.1_ep00 vcsa1<br>fd0 loop4 ptmx ptypb ram2 sda5 tty1 tty21 tty33 tty45 tty57 ttyp2 ttypf
usbdev4.1_ep81 vcsa2<br>full loop5 pts ptypc ram3 sg0 tty10 tty22 tty34 tty46 tty58 ttyp3 ttyS0 usbdev5.1_ep00 vcsa3</font><br><br><span style="font-family: times new roman,serif; font-weight: bold;">
I installed alsa-base,alsa-utils and alsa-tools and i execute alsaconf but all still the same.</span><br style="font-family: times new roman,serif; font-weight: bold;"><br style="font-family: times new roman,serif; font-weight: bold;">
<span style="font-family: times new roman,serif; font-weight: bold;">Someone could help or guide me to solve my problem????</span><br style="font-family: times new roman,serif; font-weight: bold;"><br style="font-family: times new roman,serif; font-weight: bold;">
<span style="font-family: times new roman,serif; font-weight: bold;">Thanks</span><br style="font-family: times new roman,serif; font-weight: bold;"><span style="font-family: times new roman,serif; font-weight: bold;">Francisco Sanchez del Amo
</span><br style="font-family: times new roman,serif; font-weight: bold;"><br>