Page 1 of 1

Video stream without sound on Pinnacle PCTV Pro

Posted: 28 Jun 2005 17:55
by luckys
I’m trying the streaming on my network with vlc. On server ( Linux Ubuntu 2.6.10-5-386) I’ve one card Pinnacle Pctv Studio Pro. My dmesg show this output:

bttv0: Bt878 (rev 17) at 0000:00:0d.0, irq: 11, latency: 32, mmio: 0xfb000000
bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012
bttv0: using: Pinnacle PCTV Studio/Rave [card=39,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ff47df [init]
bttv0: i2c: checking for MSP34xx @ 0x80... found
bttv0: miro: id=17 tuner=14 radio=fmtuner stereo=yes
bttv0: using tuner=14
bttv0: i2c: checking for MSP34xx @ 0x80... found
msp34xx: init: chip=MSP3451G-A2 +nicam +simple +simpler +radio mode=simple
msp3410: daemon started
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
tuner: chip found at addr 0xc2 i2c-bus bt878 #0 [sw]
tuner: type set to 14 (Temic PAL_BG (4006FH5)) by bt878 #0 [sw]
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. ok

The card is attached to decoder by rf cable.
The script for streaming is

vlc -vvv v4l:/dev/video0:norm=pal:channel=0:size=320x240:adev=/dev/dsp1:audio=0 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=192}:standard{access=http,mux=ts,url=:8080}'

The problem is that on my client I’ve video but no sound. I’ve attach speaker to the card and sound is ok.
I’ve try to use dsp ( sound onboard device on server linux) instead of dsp1 and in the stream I’ve sound but no video.
Where is the problem? On the module bttv?

Thanks

Posted: 05 Jul 2005 09:11
by Guest
Try to run any tv-viewing software (tvtime) after starting the vlc' translation

And select the appropriate sound source in your mixer

Posted: 06 Jul 2005 10:10
by luckys
On mixer I've two sound device only: Cmedia Sys Si7012 with many switches and Capture Brooktree BT878 with only one switch (I can select Tv Tuner, FM and Mic/Line). When I start tvtime, video and sound are ok; I hear the sound from speaker connected to the audio out of PCTV. ( However I don't have any switches to control volume for this card). If I start vlc transcode only, I've not sound from the speaker. If I start vlc transcode and after that I start tvtime, I can hear the sound, however in the stream on the client I've video only, no sound.
I don't understand....
Why I've only one control for PCTV?

Posted: 06 Jul 2005 10:50
by luckys
On mixer I've two sound device only: Cmedia Sys Si7012 with many switches and Capture Brooktree BT878 with only one switch (I can select Tv Tuner, FM and Mic/Line). When I start tvtime, video and sound are ok; I hear the sound from speaker connected to the audio out of PCTV. ( However I don't have any switches to control volume for this card). If I start vlc transcode only, I've not sound from the speaker. If I start vlc transcode and after that I start tvtime, I can hear the sound, however in the stream on the client I've video only, no sound.
I don't understand....
Why I've only one control for PCTV?

Posted: 06 Jul 2005 16:17
by a7k
If your short sound-cord from tuner is connected to the Line In on your soundcard:
amixer -c 0 set Line 40% unmute cap