Re: WinTV HVR-900 (usb 2040:6500) (model 65008) / no audio but clicking noise

2011-03-08 Thread AW
hi!

i was able to find an antenna position/orientation that allows good quality for 
7 stations with SNR above 0x78... *wag tail*
up to 4 stations with just one stick at the same time... *w00t*

so it is not as urgent as before that the analog audio part works...

thx...

bye
arne


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: WinTV HVR-900 (usb 2040:6500) (model 65008) / no audio but clicking noise

2011-02-28 Thread AW
Hi!

Since I really need analog TV support, I would like to bring this up again... 
:-)

Now i hacked the em28xx module,
so that it would try to get the audio data via the em28xx_alsa module...

But that fails in the usb_submit_urb() call in the em28xx_init_audio_isoc() 
function, because:
wMaxPacketSize of endpoint 0x83 is 0...

Does someone still know how em28xx_alsa was to be used properly?
Is there some specialist, that could help me?
Markus R. doesnt like to do open src things anymore, or did I misunderstand 
that?

Btw: I have an em2882/em2883 chip, which needs to be handled by the em28xx_alsa 
module according to this page:
http://www.linuxtv.org/wiki/index.php/Em28xx_devices#em2880.2F2881.2F2883

Here is the em28xx related syslog from my box:
https://bugzilla.redhat.com/attachment.cgi?id=481332

Bye
Arne


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: WinTV HVR-900 (usb 2040:6500) (model 65008) / no audio but clicking noise

2011-02-26 Thread AW
yesterday i wrote:
 Now I  bought a Hauppauge WinTV HVR-900 (USB, DVB-T/analog Hybrid).


today i found that i have quite good DVB-T connectivity...
but sometimes there r too many errors...

so i m still interested in analog tv...

after some rebooting and
after i dropped a lot of firmware files from 
http://konstantin.filtschew.de/v4l-firmware/firmware_v3.tgz into /lib/firmware 
(in addition to xc3028-v27.fw)
i can hear the analog audio,
but from time to time there is still this strong clicking noise...
example: http://www.wgboome.de./20110226,hvr.mpg (i blurred the picture due to 
copyright considerations...)...

could it be that i use the wrong amux?
i found that theory here (but i dont know if i can just change the kernel 
module):
http://www.freak-search.com/de/thread/332374/linux-dvb_em28xx-audio_hvr-900_b3c0_id_20406502_hauppa


-arne


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


WinTV HVR-900 (usb 2040:6500) (model 65008) / no audio but clicking noise

2011-02-25 Thread AW
Hi!

Now I bought a Hauppauge WinTV HVR-900 (USB, DVB-T/analog Hybrid).

video is ok...
But: Audio sounds almost as bad as before (with that Pinnacle stick):
http://www.wgboome.de./hvr900.wav

I used this mplayer command:
mplayer -tv 
driver=v4l2:input=0:width=768:height=576:device=/dev/video2:alsa=1:forceaudio=1:adevice=hw.1:audiorate=48000:immediatemode=0:amode=0:norm=pal:chanlist=europe-west:freq=280
 tv://

The difference to the Pinnacle thingy is:
The correct audio isnt even in the background...
I hear just that clicking noise...

What did I do wrong?

PS: With my PCI PVR-250 i have no problem...

Thx.

Bye
Arne


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: PCTV USB2 PAL / adds loud hum to correct audio

2011-02-13 Thread AW
Andy Walls wrote:
 I find audio at 8 ksps very unusual for a TV capture device.

I tried it with pulseaudio at 44100 samples/sec
and with some commercial tuned in...
(no big copyright problem hopefully) :-)

i used this command:
parec --device=alsa_input.hw_1  blah.raw
resulting raw data: http://www.wgboome.de./blah.raw

 The data set contains no large positive values
 (nothing in the range 0x1000-0x7fff).

Now the noise is in the positive range, 2...
I made a new filter program (see appendix),
that produces acceptable but still distorted sound.
filter output: http://www.wgboome.de./blah.ogg

 The valuex 0x10 and 0x80 do remind me of the YUV values for black: Y =
 0x10, U = 0x80, V = 0x80.  Maybe some video data is getting thrown in
 with the audio?

sounds good...
because: the unwanted data changed its range now...

-arne

appendix:
...
(buf[i]/256=0x80  buf[i]/2560xC0) ||
(buf[i]/256=0x40  buf[i]/2560x80)) {
...


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: PCTV USB2 PAL / adds loud hum to correct audio

2011-02-12 Thread AW
Devin Heitmueller dheitmuel...@kernellabs.com wrote:
  When I use this command  simultaneously:
  arecord -D front:CARD=PAL,DEV=0 -f S16_LE -c 2 -r 8000  /aux/tmp/bla.wav
  I get correct audio with strong noise:
  http://www.wgboome.de./bla.wav
  (it is from input=1 for copyright  reasons... so there is silence plus 
noise)
 
 The -r argument should  almost certainly be 48000, not 8000.
 
Maybe...
That device is rather old...
And i didnt tell pactl anything about sample rate...

With the filter from the appendix the noise is gone...
But it feels like a dirty hack, because it would cut out (overly?) loud noise, 
2...

My wild guess is, that the usbaudio driver injects some bad samples 
(0x8000..0x9000) every appr. 256 bytes...

-Arne

appendix:
#include stdint.h
#include unistd.h

int main() {
uint16_t buf[100];
const int r = read(0,buf,sizeof(buf));
for (int i=0; i*sizeof(*buf)r; i++) {
if (buf[i]/256=0x80  buf[i]/2560x90) continue;
if (write(1,buf+i,2) != 2) break;
}
return 0;
}


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html