public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] audio with TV crd
       [not found] <200607211059.44959.uwix@iway.na>
@ 2006-07-21 10:11 ` Raymond Lewis Rebbeck
       [not found]   ` <200607211209.46822.uwix@iway.na>
  0 siblings, 1 reply; 22+ messages in thread
From: Raymond Lewis Rebbeck @ 2006-07-21 10:11 UTC (permalink / raw
  To: gentoo-user

On Friday, 21 July 2006 19:29, Uwe Thiem wrote:
> Hi folks,
>
> I have got a Hauppauge WinTV-PVR 150. Got video to work and play it from a
> VCR with "mplayer /dev/video0". Please note: This is about saving old video
> tapes to DVDs. I connected "Video OUT" from the VCR to "Comp V" of the TV
> card.
>
> So far so good. How do I get audio as well? I tried to connect "Audio OUT"
> of the VCR to "Line IN" of the TV card. No result.
>
> Any advice?
>
> Uwe

I'd imagine anything audio related would be handled by ALSA, so perhaps there 
is a driver you are missing or you might be able to use the line in on an 
existing sound card instead to record the audio.

-- 
Raymond Lewis Rebbeck
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* [gentoo-user]  Re: audio with TV crd
       [not found]   ` <200607211209.46822.uwix@iway.na>
@ 2006-07-21 15:09     ` Marco Costa
  2006-07-21 16:54       ` Uwe Thiem
  2006-07-21 16:40     ` James
  1 sibling, 1 reply; 22+ messages in thread
From: Marco Costa @ 2006-07-21 15:09 UTC (permalink / raw
  To: gentoo-user

Hi,

Actually, that is what I _have_ to do with my old TV card.
It doesn't have a input for audio and no internal mixer, so I have to record the sound directly from the soundcard.

I use menconder to do just that:


mencoder tv:// -tv driver=v4l2:device=/dev/video0:input=3:width=640:height=480:alsa -oac mp3lame alsa -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=8800:vme=3 -o outfile.avi

The man page for mencoder is quite undertandable, if you want to customize the parameters.

Regards,

Marco

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* [gentoo-user]  Re: audio with TV crd
       [not found]   ` <200607211209.46822.uwix@iway.na>
  2006-07-21 15:09     ` [gentoo-user] " Marco Costa
@ 2006-07-21 16:40     ` James
  2006-07-22  2:45       ` Nick Rout
  1 sibling, 1 reply; 22+ messages in thread
From: James @ 2006-07-21 16:40 UTC (permalink / raw
  To: gentoo-user

Uwe Thiem <uwix <at> iway.na> writes:

>  how would I be able to record video *and* audio from the TV card 
> into an MPEG2 file?

Hello Uwe,

In my experienes, you need to build a 'mixing studio' or at least 
a very simple A/V mixing system. There are too many A/V tools to use.
I'd first look at the MoBo book and see what onboard hardware you have
plus 'lspci' -v and 'lshw'. Using the core mobo chips is usually the
most straightforward. Also look at what sound cards you have.


Then 'eix <keyword>' using mixer, audio, jack, alsa etc to 
discover the various packages and try them out. Also use
google to search for <keywords> + <audio chips> where
audio chips are the actual chips you find on your hardware.

'kmix' is a quick and simple mixer that often provides control
over the various audio chips. You'll also have to rebuild your
kernel many times to find the right combo of drivers to compile
in and/or load as modules. Often the various audio chip drivers
conflict at the kernel, udev or application level. There is
no 'silver bullet' to build a mixer/mux for A/V, in my experience.
It all depends on what you need. Moving over old movies, one
of your greatest challenges will be keeping the audio and
video synchronized over the duration of the recorded stream.


hth,

James



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
  2006-07-21 15:09     ` [gentoo-user] " Marco Costa
@ 2006-07-21 16:54       ` Uwe Thiem
  2006-07-24  9:00         ` Marco Costa
  0 siblings, 1 reply; 22+ messages in thread
From: Uwe Thiem @ 2006-07-21 16:54 UTC (permalink / raw
  To: gentoo-user

On 21 July 2006 16:09, Marco Costa wrote:
> Hi,
>
> Actually, that is what I _have_ to do with my old TV card.
> It doesn't have a input for audio and no internal mixer, so I have to
> record the sound directly from the soundcard.
>
> I use menconder to do just that:
>
>
> mencoder tv:// -tv
> driver=v4l2:device=/dev/video0:input=3:width=640:height=480:alsa -oac
> mp3lame alsa -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=8800:vme=3 -o
> outfile.avi

I'll try something like that. What do you think of this error message:

Playing tv://.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: Hauppauge WinTV PVR-150
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO LANG2
 Capabilites:  video capture  VBI capture device  tuner  audio  read/write
 supported norms: 0 = PAL-BGH; 1 = PAL-DK; 2 = PAL-I; 3 = PAL-M; 4 = PAL-N; 5 
= PAL-Nc; 6 = SECAM-BGH; 7 = SECAM-DK; 8 = SECAM-L; 9 = SECAM-L'; 10 = 
NTSC-M; 11 = NTSC-J; 12 = NTSC-K;
 inputs: 0 = Tuner 1; 1 = S-Video 1; 2 = Composite 1; 3 = S-Video 2; 4 = 
Composite 2;
 Current input: 2
 Current format: unknown (0x4745504d)
v4l2: current audio mode is : MONO
v4l2: ioctl request buffers failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

That ioctl failure doesn't seem to be a permission problem. The relevant 
devices all have group video rw permissions and I am member of video.

>
> The man page for mencoder is quite undertandable, if you want to customize
> the parameters.

Not really. I think that man page is a big mess. ;-) Though one can find one's 
way around in it with tons of time.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
  2006-07-21 16:40     ` James
@ 2006-07-22  2:45       ` Nick Rout
  2006-07-22  9:05         ` Uwe Thiem
                           ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Nick Rout @ 2006-07-22  2:45 UTC (permalink / raw
  To: gentoo-user

On Fri, 21 Jul 2006 16:40:07 +0000 (UTC)
James <wireless@tampabay.rr.com> wrote:

> Uwe Thiem <uwix <at> iway.na> writes:
> 
> >  how would I be able to record video *and* audio from the TV card 
> > into an MPEG2 file?
> 
> Hello Uwe,
> 
> In my experienes, you need to build a 'mixing studio' or at least 
> a very simple A/V mixing system. There are too many A/V tools to use.
> I'd first look at the MoBo book and see what onboard hardware you have
> plus 'lspci' -v and 'lshw'. Using the core mobo chips is usually the
> most straightforward. Also look at what sound cards you have.
> 
> 
> Then 'eix <keyword>' using mixer, audio, jack, alsa etc to 
> discover the various packages and try them out. Also use
> google to search for <keywords> + <audio chips> where
> audio chips are the actual chips you find on your hardware.
> 
> 'kmix' is a quick and simple mixer that often provides control
> over the various audio chips. You'll also have to rebuild your
> kernel many times to find the right combo of drivers to compile
> in and/or load as modules. Often the various audio chip drivers
> conflict at the kernel, udev or application level. There is
> no 'silver bullet' to build a mixer/mux for A/V, in my experience.
> It all depends on what you need. Moving over old movies, one
> of your greatest challenges will be keeping the audio and
> video synchronized over the duration of the recorded stream.
> 
> 
> hth,
> 
> James

this is all completely irrelevant to the question.

The PVR-150 muxes the audio and video into an mpeg stream.

When using "composite in" the sound should be coming in the "line in"

However your driver may need to be switched to the right device, use ivtvctl

ivtvctl -A   - lists the audio inputs
ivtvctl -Q   - tells which one it is switched to now
ivtvctl -qn   - switches to input n



> 
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
  2006-07-22  2:45       ` Nick Rout
@ 2006-07-22  9:05         ` Uwe Thiem
  2006-07-22  9:18         ` Uwe Thiem
  2006-07-22 18:07         ` [gentoo-user] Re: audio with TV crd James
  2 siblings, 0 replies; 22+ messages in thread
From: Uwe Thiem @ 2006-07-22  9:05 UTC (permalink / raw
  To: gentoo-user

On 22 July 2006 03:45, Nick Rout wrote:

> The PVR-150 muxes the audio and video into an mpeg stream.
>
> When using "composite in" the sound should be coming in the "line in"
>
> However your driver may need to be switched to the right device, use
> ivtvctl
>
> ivtvctl -A   - lists the audio inputs
> ivtvctl -Q   - tells which one it is switched to now
> ivtvctl -qn   - switches to input n

Uh-huh! I'll give it a try.

The other big question is, what to make of this error when using something 
like "mplayer tv:// blablabla":

v4l2: current audio mode is : MONO
v4l2: ioctl request buffers failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.


The ioctl failure doesn't seem to be a permission problem.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
  2006-07-22  2:45       ` Nick Rout
  2006-07-22  9:05         ` Uwe Thiem
@ 2006-07-22  9:18         ` Uwe Thiem
  2006-07-23  8:58           ` Nick Rout
       [not found]           ` <20060723133813.f8de080b.nick@rout.co.nz>
  2006-07-22 18:07         ` [gentoo-user] Re: audio with TV crd James
  2 siblings, 2 replies; 22+ messages in thread
From: Uwe Thiem @ 2006-07-22  9:18 UTC (permalink / raw
  To: gentoo-user

On 22 July 2006 03:45, Nick Rout wrote:

> When using "composite in" the sound should be coming in the "line in"
>
> However your driver may need to be switched to the right device, use
> ivtvctl
>
> ivtvctl -A   - lists the audio inputs
> ivtvctl -Q   - tells which one it is switched to now
> ivtvctl -qn   - switches to input n

Hm...
uwe@uwix ~ $ ivtvctl -A
ioctl: VIDIOC_ENUMAUDIO
        Input   : 0
        Name    : Tuner 1

        Input   : 1
        Name    : Line In 1

        Input   : 2
        Name    : Line In 2

There is only one Line IN socket. Anyway, I tried both with "iivtvctl -qn". 
Still no sound when doing "mplayer /dev/video0", and "mplayer tv://" gives me 
that damn ioctl error (see my other mail).

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* [gentoo-user]  Re: audio with TV crd
  2006-07-22  2:45       ` Nick Rout
  2006-07-22  9:05         ` Uwe Thiem
  2006-07-22  9:18         ` Uwe Thiem
@ 2006-07-22 18:07         ` James
  2 siblings, 0 replies; 22+ messages in thread
From: James @ 2006-07-22 18:07 UTC (permalink / raw
  To: gentoo-user

Nick Rout <nick <at> rout.co.nz> writes:

> > >  how would I be able to record video *and* audio from the TV card 
> > > into an MPEG2 file?

> > In my experienes, you need to build a 'mixing studio' or at least 
> > a very simple A/V mixing system. There are too many A/V tools to use.
> > I'd first look at the MoBo book and see what onboard hardware you have
> > plus 'lspci' -v and 'lshw'. Using the core mobo chips is usually the
> > most straightforward. Also look at what sound cards you have.

> this is all completely irrelevant to the question.

Well, yes and no. If the PVR-150 card does everything he
needs, with the available software packages that are stable with
that card, then you are right. And if the mobo's built in,
(if any) A/V hardware does not conflict with the PVR
card, then again you are correct. Sometimes the AV application
software gets confused between the mobo's A/V hardware
and the A/V hardware on the pci(PVR) card confuse the 
AV software.

My experiences with A/V manipulations on Linux always result
in using the hardware resouces of various cards and the mobo.
Every machine for slightly different purposes has resulted
in sometimes dramatically different hardware/firmware/kernel/driver/
/udev/appplication-software variations.

> The PVR-150 muxes the audio and video into an mpeg stream.

Great but if you find that you need additional hardware resources,
such as offered by the multiple channels of a highend audio card
or to remove a stereo audio track, and lay down 5.1 or 7.1
audio tracks, all syncronized with the video, 
then look at my previous posting. 

Hopefully Uwe will find everything he needs on this single card, 
because once you do need to start mixing and syncronizing hardware 
from a variety of cards &&  the mobo, then thing get dicey....

ymmv && peace,


James




-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
  2006-07-22  9:18         ` Uwe Thiem
@ 2006-07-23  8:58           ` Nick Rout
  2006-07-23 12:41             ` Uwe Thiem
       [not found]           ` <20060723133813.f8de080b.nick@rout.co.nz>
  1 sibling, 1 reply; 22+ messages in thread
From: Nick Rout @ 2006-07-23  8:58 UTC (permalink / raw
  To: gentoo-user

On Sat, 22 Jul 2006 10:18:48 +0100
Uwe Thiem <uwix@iway.na> wrote:

> On 22 July 2006 03:45, Nick Rout wrote:
> 
> > When using "composite in" the sound should be coming in the "line in"
> >
> > However your driver may need to be switched to the right device, use
> > ivtvctl
> >
> > ivtvctl -A   - lists the audio inputs
> > ivtvctl -Q   - tells which one it is switched to now
> > ivtvctl -qn   - switches to input n
> 
> Hm...
> uwe@uwix ~ $ ivtvctl -A
> ioctl: VIDIOC_ENUMAUDIO
>         Input   : 0
>         Name    : Tuner 1
> 
>         Input   : 1
>         Name    : Line In 1
> 
>         Input   : 2
>         Name    : Line In 2
> 
> There is only one Line IN socket. Anyway, I tried both with "iivtvctl -qn". 
> Still no sound when doing "mplayer /dev/video0", and "mplayer tv://" gives me 
> that damn ioctl error (see my other mail).
> 
> Uwe

well I just learned something new:

nick@media:/var/log$ ivtvctl -Y
ioctl: VIDIOC_QUERYCTRL
Brightness = 383
Contrast = 63
Saturation = 63
Hue = 0
Volume = 58880
Mute = 0


So there are volume and mute controls that are configurable from ivtvctl, like this:

ivtvctl -y mute=1   (will mute the output - set -0 to unmute)
ivtvctl -y volume=integer.

The volume allegedly has a range of 0-65535

Check them out, the vol may be zeroed, or the mute set.




> 
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
       [not found]           ` <20060723133813.f8de080b.nick@rout.co.nz>
@ 2006-07-23 11:19             ` Uwe Thiem
  2006-07-23 21:41               ` Nick Rout
  0 siblings, 1 reply; 22+ messages in thread
From: Uwe Thiem @ 2006-07-23 11:19 UTC (permalink / raw
  To: gentoo-user

On 23 July 2006 02:38, Nick Rout wrote:
> On Sat, 22 Jul 2006 10:18:48 +0100

> I find that tv:// doesn't work at all when using composite in, but
> /dev/video0 does.

So far, I have to agree.

>
> My device also has one physical line in (two plugs, red=right, white=left),
> but ivtvctl -A shows four line-ins! I find that all of -q1, -q2, -q3 work
> with the line-in. -q0 is the tuner and -q4 is static.
>
> nick@media:~$ ivtvctl -A
> ioctl: VIDIOC_ENUMAUDIO
>         Input   : 0
>         Name    : Tuner Audio In
>
>         Input   : 1
>         Name    : Audio Line 1
>
>         Input   : 2
>         Name    : Audio Line 2
>
>         Input   : 3
>         Name    : Audio Line 3
>
>         Input   : 4
>         Name    : Audio Line 4
>
> Are you really sure that there is an audio signal coming out the line thats
> plugged into the line-in? (Obvious I know!)

Yes. If I plug that line into Line IN of my soundcard I get audio. I actually 
tried to feed composite into the TV card and audio into my soundcard. 
Used "mplayer /dev/video0" and it kind of worked. But it isn't a solution for 
two reasons:

1. 
Audio and video are far out of sync that way.

2.
My goal isn't to watch tapes but to burn old tapes to DVDs. For that, I need 
the MPEG2 stream coming out of /dev/video0 to be combined video and audio.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
  2006-07-23  8:58           ` Nick Rout
@ 2006-07-23 12:41             ` Uwe Thiem
  0 siblings, 0 replies; 22+ messages in thread
From: Uwe Thiem @ 2006-07-23 12:41 UTC (permalink / raw
  To: gentoo-user

On 23 July 2006 09:58, Nick Rout wrote:

> well I just learned something new:

Yeah, the documentation is awful. One has to dig deep to find all the knobs.

>
> nick@media:/var/log$ ivtvctl -Y
> ioctl: VIDIOC_QUERYCTRL
> Brightness = 383
> Contrast = 63
> Saturation = 63
> Hue = 0
> Volume = 58880
> Mute = 0

I found that option already.

>
>
> So there are volume and mute controls that are configurable from ivtvctl,
> like this:
>
> ivtvctl -y mute=1   (will mute the output - set -0 to unmute)
> ivtvctl -y volume=integer.
>
> The volume allegedly has a range of 0-65535
>
> Check them out, the vol may be zeroed, or the mute set.

uwe@uwix ~ $ ivtvctl -Y
ioctl: VIDIOC_QUERYCTRL
Brightness = 128
Contrast = 64
Saturation = 64
Hue = 0
Volume = 60928
Balance = 32768
Bass = 32768
Treble = 32768
Mute = 0

It isn't muted, and the volume seems to be quite high. :-(

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
  2006-07-23 11:19             ` Uwe Thiem
@ 2006-07-23 21:41               ` Nick Rout
  2006-07-23 23:52                 ` Nick Rout
  0 siblings, 1 reply; 22+ messages in thread
From: Nick Rout @ 2006-07-23 21:41 UTC (permalink / raw
  To: gentoo-user


On Sun, 23 Jul 2006 12:19:46 +0100
Uwe Thiem wrote:

> On 23 July 2006 02:38, Nick Rout wrote:
> > On Sat, 22 Jul 2006 10:18:48 +0100
> 
> > I find that tv:// doesn't work at all when using composite in, but
> > /dev/video0 does.
> 
> So far, I have to agree.
> 
> >
> > My device also has one physical line in (two plugs, red=right, white=left),
> > but ivtvctl -A shows four line-ins! I find that all of -q1, -q2, -q3 work
> > with the line-in. -q0 is the tuner and -q4 is static.
> >
> > nick@media:~$ ivtvctl -A
> > ioctl: VIDIOC_ENUMAUDIO
> >         Input   : 0
> >         Name    : Tuner Audio In
> >
> >         Input   : 1
> >         Name    : Audio Line 1
> >
> >         Input   : 2
> >         Name    : Audio Line 2
> >
> >         Input   : 3
> >         Name    : Audio Line 3
> >
> >         Input   : 4
> >         Name    : Audio Line 4
> >
> > Are you really sure that there is an audio signal coming out the line thats
> > plugged into the line-in? (Obvious I know!)
> 
> Yes. If I plug that line into Line IN of my soundcard I get audio. I actually 
> tried to feed composite into the TV card and audio into my soundcard. 
> Used "mplayer /dev/video0" and it kind of worked. But it isn't a solution for 
> two reasons:
> 
> 1. 
> Audio and video are far out of sync that way.
> 
> 2.
> My goal isn't to watch tapes but to burn old tapes to DVDs. For that, I need 
> the MPEG2 stream coming out of /dev/video0 to be combined video and audio.
> 
> Uwe

Yes, exactly. There is a delay for buffering or processing or something
inherent in the pvr card. There is no such delay through the sound card.

I suppose the card could be broken. Sometimes they are. Any chance of
taking it back to the shop and asking for another one?

Or *cough* trying it in windows?

I also wonder whether you should try either the mythtv-users list or the
ivtv-dev mailing lists. Probably the first thing they will ask for is
the log information from dmesg between these two lines:

ivtv:  ==================== START INIT IVTV ====================

necessary info

ivtv:  ====================  END INIT IVTV  ====================

Just looking at this I see mine contains:

tveeprom 0-0050: audio processor is CX25843 (idx 37)
tveeprom 0-0050: decoder processor is CX25843 (idx 30)


Also I note via lsmod that I have a cx25840 module loaded. Presumably
that takes care of the sound. It may pay to look at your output - there
are many variations of chipsets on these cards, particularly between PAL
and NTSC models. 


> -- > gentoo-user@gentoo.org mailing list

-- 
Nick Rout <nick@rout.co.nz>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
  2006-07-23 21:41               ` Nick Rout
@ 2006-07-23 23:52                 ` Nick Rout
  2006-07-24 10:31                   ` Uwe Thiem
  0 siblings, 1 reply; 22+ messages in thread
From: Nick Rout @ 2006-07-23 23:52 UTC (permalink / raw
  To: gentoo-user


On Mon, 24 Jul 2006 09:41:38 +1200
Nick Rout wrote:


> 
> Just looking at this I see mine contains:
> 
> tveeprom 0-0050: audio processor is CX25843 (idx 37)
> tveeprom 0-0050: decoder processor is CX25843 (idx 30)
> 
> 
> Also I note via lsmod that I have a cx25840 module loaded. Presumably
> that takes care of the sound. It may pay to look at your output - there
> are many variations of chipsets on these cards, particularly between PAL
> and NTSC models. 
> 

Uwe I was just cruising the mythtv-user mailing list and found a tale
much like yours in terms of audio on a PVR-500 card (a PVR-500 is
essentially two PVR-150's on one card)

The whole 9 yards is here:

http://www.gossamer-threads.com/lists/mythtv/users/204597

But to cut a long thread short there was a firmware problem. The PVR
150/500 needs to load two lots of firmware, one for the audio and the
other for video. It may be that your audio firmware is not being loaded.

Very carefully check your dmesg for errors involving the firmware for
any of the ivtv related modules.

FYI here is the IVTV dmesg log for my card, I have marked the relevant
lines ********


ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.4.4 (tagged release) loading
ivtv:  Linux version: 2.6.15-chw-2 SMP preempt 586 gcc-3.3
ivtv:  In case of problems please include the debug info between
ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
ivtv:  any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
ACPI: PCI Interrupt 0000:00:14.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
**********cx25840 0-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
tveeprom 0-0050: The eeprom says no radio is present, but the tuner type
tveeprom 0-0050: indicates otherwise. I will assume that radio is present.
tveeprom 0-0050: Hauppauge model 26559, rev C260, serial# 2945285
tveeprom 0-0050: tuner model is LG S001D MK3 (idx 60, type 38)
tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom 0x74)
tveeprom 0-0050: audio processor is CX25843 (idx 37)
tveeprom 0-0050: decoder processor is CX25843 (idx 30)
tveeprom 0-0050: has radio, has no IR remote
*************ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0: Create encoder radio stream
tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
ivtv0: Initialized WinTV PVR 150, card #0
ivtv:  ====================  END INIT IVTV  ====================

-- 
Nick Rout <nick@rout.co.nz>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* [gentoo-user]  Re: audio with TV crd
  2006-07-21 16:54       ` Uwe Thiem
@ 2006-07-24  9:00         ` Marco Costa
  0 siblings, 0 replies; 22+ messages in thread
From: Marco Costa @ 2006-07-24  9:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]

Hi Uwe,

> I'll try something like that. What do you think of this error message:
> 
> Playing tv://.
> Selected driver: v4l2
>  name: Video 4 Linux 2 input
>  author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
>  comment: first try, more to come ;-)
> Selected device: Hauppauge WinTV PVR-150
>  Tuner cap: STEREO LANG1 LANG2
>  Tuner rxs: MONO LANG2
>  Capabilites:  video capture  VBI capture device  tuner  audio  read/write
>  supported norms: 0 = PAL-BGH; 1 = PAL-DK; 2 = PAL-I; 3 = PAL-M; 4 = PAL-N; 5 
> = PAL-Nc; 6 = SECAM-BGH; 7 = SECAM-DK; 8 = SECAM-L; 9 = SECAM-L'; 10 = 
> NTSC-M; 11 = NTSC-J; 12 = NTSC-K;
>  inputs: 0 = Tuner 1; 1 = S-Video 1; 2 = Composite 1; 3 = S-Video 2; 4 = 
> Composite 2;
>  Current input: 2
>  Current format: unknown (0x4745504d)
> v4l2: current audio mode is : MONO
> v4l2: ioctl request buffers failed: Invalid argument
> v4l2: 0 frames successfully processed, 0 frames dropped.

It seems that the format is not understood ( duh! ;) ) by mplayer. I don't have this card, my card is an old analog card. So maybe you have the stream alread in mpeg format. I believe I cannot help you more. Sorry.

Marco Costa


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
  2006-07-23 23:52                 ` Nick Rout
@ 2006-07-24 10:31                   ` Uwe Thiem
  2006-07-24 11:30                     ` Nick Rout
  0 siblings, 1 reply; 22+ messages in thread
From: Uwe Thiem @ 2006-07-24 10:31 UTC (permalink / raw
  To: gentoo-user

On 24 July 2006 00:52, Nick Rout wrote:

> ivtv:  ==================== START INIT IVTV ====================
> ivtv:  version 0.4.4 (tagged release) loading
> ivtv:  Linux version: 2.6.15-chw-2 SMP preempt 586 gcc-3.3
> ivtv:  In case of problems please include the debug info between
> ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
> ivtv:  any module options, when mailing the ivtv-users mailinglist.
> ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
> ACPI: PCI Interrupt 0000:00:14.0[A] -> Link [LNKB] -> GSI 10 (level, low)
> -> IRQ 10 ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
> tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
> cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
> **********cx25840 0-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
> ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
> wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
> ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
> tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
> ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
> tveeprom 0-0050: The eeprom says no radio is present, but the tuner type
> tveeprom 0-0050: indicates otherwise. I will assume that radio is present.
> tveeprom 0-0050: Hauppauge model 26559, rev C260, serial# 2945285
> tveeprom 0-0050: tuner model is LG S001D MK3 (idx 60, type 38)
> tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom
> 0x74) tveeprom 0-0050: audio processor is CX25843 (idx 37)
> tveeprom 0-0050: decoder processor is CX25843 (idx 30)
> tveeprom 0-0050: has radio, has no IR remote
> *************ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> ivtv0: Encoder revision: 0x02050032
> ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
> ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
> ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
> ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
> total) ivtv0: Create encoder radio stream
> tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
> ivtv0: Initialized WinTV PVR 150, card #0
> ivtv:  ====================  END INIT IVTV  ====================

Mine looks pretty much the same except that it detects the remote. Firmware 
gets loaded, all drivers get loaded, no errors.

Meanwhile I do have audio but very very faint if i raise everything to maximum 
(mixer, speaker amplifier, ivtvctl). 

I don't know. Maybe the hardware is fried.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
  2006-07-24 10:31                   ` Uwe Thiem
@ 2006-07-24 11:30                     ` Nick Rout
  2006-07-24 12:43                       ` Uwe Thiem
  0 siblings, 1 reply; 22+ messages in thread
From: Nick Rout @ 2006-07-24 11:30 UTC (permalink / raw
  To: gentoo-user

On Mon, 24 Jul 2006 11:31:01 +0100
Uwe Thiem <uwix@iway.na> wrote:

> On 24 July 2006 00:52, Nick Rout wrote:
> 
> > ivtv:  ==================== START INIT IVTV ====================
> > ivtv:  version 0.4.4 (tagged release) loading
> > ivtv:  Linux version: 2.6.15-chw-2 SMP preempt 586 gcc-3.3
> > ivtv:  In case of problems please include the debug info between
> > ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
> > ivtv:  any module options, when mailing the ivtv-users mailinglist.
> > ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
> > ACPI: PCI Interrupt 0000:00:14.0[A] -> Link [LNKB] -> GSI 10 (level, low)
> > -> IRQ 10 ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> > ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
> > tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> > ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
> > cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
> > **********cx25840 0-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
> > ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
> > wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
> > ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
> > tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
> > ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
> > tveeprom 0-0050: The eeprom says no radio is present, but the tuner type
> > tveeprom 0-0050: indicates otherwise. I will assume that radio is present.
> > tveeprom 0-0050: Hauppauge model 26559, rev C260, serial# 2945285
> > tveeprom 0-0050: tuner model is LG S001D MK3 (idx 60, type 38)
> > tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom
> > 0x74) tveeprom 0-0050: audio processor is CX25843 (idx 37)
> > tveeprom 0-0050: decoder processor is CX25843 (idx 30)
> > tveeprom 0-0050: has radio, has no IR remote
> > *************ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> > ivtv0: Encoder revision: 0x02050032
> > ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
> > ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
> > ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
> > ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
> > total) ivtv0: Create encoder radio stream
> > tuner 0-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
> > ivtv0: Initialized WinTV PVR 150, card #0
> > ivtv:  ====================  END INIT IVTV  ====================
> 
> Mine looks pretty much the same except that it detects the remote. Firmware 
> gets loaded, all drivers get loaded, no errors.
> 
> Meanwhile I do have audio but very very faint if i raise everything to maximum 
> (mixer, speaker amplifier, ivtvctl). 
> 
> I don't know. Maybe the hardware is fried.
> 
> Uwe

The guy on the mythtv list thought his was OK too until someone else spotted the error - I'm not saying you cannot read a log file, but y'know it happens to the best of us :-(

As far as i recall you have been trying so far with composite/line in. Is it worth trying the tuner?

What sort of input does your line-in have? Mine is two RCA plugs, but I have heard of them having the 2.5mm stereo plugs too (like a headphone socket on a walkman). If so, make sure the plug is the right one.

Not sure where else to go from here, except back to the vendor.

> 
> -- 
> Mark Twain: I rather decline two drinks than a German adjective.

I love that quote!

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
  2006-07-24 11:30                     ` Nick Rout
@ 2006-07-24 12:43                       ` Uwe Thiem
  2006-07-25  0:37                         ` Nick Rout
  0 siblings, 1 reply; 22+ messages in thread
From: Uwe Thiem @ 2006-07-24 12:43 UTC (permalink / raw
  To: gentoo-user

On 24 July 2006 12:30, Nick Rout wrote:

> The guy on the mythtv list thought his was OK too until someone else
> spotted the error - I'm not saying you cannot read a log file, but y'know
> it happens to the best of us :-(

Alright, here is my log:

ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.7.0 (tagged release) loading
ivtv:  Linux version: 2.6.17-gentoo-r3 SMP preempt mod_unload PENTIUM4 
4KSTACKS gcc-3.4
ivtv:  In case of problems please include the debug info between
ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
ivtv:  any module options, when mailing the ivtv-users mailinglist.
intel8x0_measure_ac97_clock: measured 50865 usecs
intel8x0: clocking to 48000
ivtv0: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based)
ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 17 (level, low) -> IRQ 209
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom 1-0050: The eeprom says no radio is present, but the tuner type
tveeprom 1-0050: indicates otherwise. I will assume that radio is present.
tveeprom 1-0050: Hauppauge model 26039, rev C1A5, serial# 8499471
tveeprom 1-0050: tuner model is TCL MPE05-2 (idx 105, type 38)
tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) (eeprom 
0x74)
tveeprom 1-0050: audio processor is CX25842 (idx 36)
tveeprom 1-0050: decoder processor is CX25842 (idx 29)
tveeprom 1-0050: has radio, has IR remote
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
tda9887 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
cx25840 1-0044: cx25842-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB 
total)
ivtv0: Create encoder radio stream
tuner 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
ivtv:  ====================  END INIT IVTV  ====================

>
> As far as i recall you have been trying so far with composite/line in. Is
> it worth trying the tuner?

Well, I am not interested in watching TV. Even if the tuner works that doesn't 
necessarily mean that the hardware dealing with composite and Line IN is 
working properly.

I may give it a try later but I don't even have an arial because I never watch 
TV. ;-)

>
> What sort of input does your line-in have? Mine is two RCA plugs, but I
> have heard of them having the 2.5mm stereo plugs too (like a headphone
> socket on a walkman). If so, make sure the plug is the right one.

The latter one - and yes, I think the plug is right.

>
> Not sure where else to go from here, except back to the vendor.

My feeling meanwhile. :-(

>
> > --
> > Mark Twain: I rather decline two drinks than a German adjective.
>
> I love that quote!

When I read it, I almost instantaneously fell in love with it. ;-)

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd
  2006-07-24 12:43                       ` Uwe Thiem
@ 2006-07-25  0:37                         ` Nick Rout
  2006-07-25 10:11                           ` [gentoo-user] Re: audio with TV crd [solved] Uwe Thiem
  0 siblings, 1 reply; 22+ messages in thread
From: Nick Rout @ 2006-07-25  0:37 UTC (permalink / raw
  To: gentoo-user


On Mon, 24 Jul 2006 13:43:05 +0100
Uwe Thiem wrote:

> On 24 July 2006 12:30, Nick Rout wrote:
> 
> > The guy on the mythtv list thought his was OK too until someone else
> > spotted the error - I'm not saying you cannot read a log file, but y'know
> > it happens to the best of us :-(
> 
> Alright, here is my log:
> 
> ivtv:  ==================== START INIT IVTV ====================
> ivtv:  version 0.7.0 (tagged release) loading
> ivtv:  Linux version: 2.6.17-gentoo-r3 SMP preempt mod_unload PENTIUM4 
Very recent ivtv, more so than mine. the website says it is only for 2.6.17, but you seem to fit the criteria.

Looking at the ivtv website did say this:
http://ivtvdriver.org/index.php/Troubleshooting

"Use the recommended firmware

    * In particular, if you are experiencing sound problems then first
make sure you are using the correct audio firmware. It is a known
problem with older versions that the audio standard is detected but
remains muted. It seems to be fixed with the latest firmware. "

How you tell whether the firmware you have is "correct" ? There are some checksums here:

http://ivtvdriver.org/index.php/Firmware#Firmware_Checksums

(Although I just checked mine, they do not match whats on the website,
but they work fine??)


[snip]
> >
> > As far as i recall you have been trying so far with composite/line in. Is
> > it worth trying the tuner?
> 
> Well, I am not interested in watching TV. Even if the tuner works that doesn't 
> necessarily mean that the hardware dealing with composite and Line IN is 
> working properly.
> 
> I may give it a try later but I don't even have an arial because I never watch 
> TV. ;-)


It was only a suggestion to eliminate the possibilty of the cable or
plugs being faulty. 

> > > Mark Twain: I rather decline two drinks than a German adjective.
> >
> > I love that quote!
> 
> When I read it, I almost instantaneously fell in love with it. ;-)
> 
> Uwe
> 

Of course most people these days don't even know what a declension is!


-- 
Nick Rout <nick@rout.co.nz>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd [solved]
  2006-07-25  0:37                         ` Nick Rout
@ 2006-07-25 10:11                           ` Uwe Thiem
  2006-07-25 23:54                             ` Nick Rout
  0 siblings, 1 reply; 22+ messages in thread
From: Uwe Thiem @ 2006-07-25 10:11 UTC (permalink / raw
  To: gentoo-user

On 25 July 2006 01:37, Nick Rout wrote:

Audio is now working with PVR-150. Thanks, Nick, for all your input.

Problem is, I don't know why and I hate it when magic is part of IT. ;-)

The whole difference between yesterday and today is that I tried to compile 
the new kernel 2.6.17-gentoo-r4 (as compared to r3). That compilation failed. 
Since I hadn't time to investigate, I just left it like that. Nothing 
installed, no reboot, noting. All of a sudden audio is coming out of that 
bugger at a decent volume. :-(

Audio quality is still poor, high noise level and it doesn't sound like 50Hz 
noise. So maybe, it's that VCR - have to check that by plugging the VCR 
directly into a TV.

Anyway, forward to the next step of creating a video DVD from that MPEG2 
stream!

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd [solved]
  2006-07-25 10:11                           ` [gentoo-user] Re: audio with TV crd [solved] Uwe Thiem
@ 2006-07-25 23:54                             ` Nick Rout
  2006-07-26  8:10                               ` Uwe Thiem
  0 siblings, 1 reply; 22+ messages in thread
From: Nick Rout @ 2006-07-25 23:54 UTC (permalink / raw
  To: gentoo-user


On Tue, 25 Jul 2006 11:11:50 +0100
Uwe Thiem wrote:

> On 25 July 2006 01:37, Nick Rout wrote:
> 
> Audio is now working with PVR-150. Thanks, Nick, for all your input.
> 
> Problem is, I don't know why and I hate it when magic is part of IT. ;-)
> 
> The whole difference between yesterday and today is that I tried to compile 
> the new kernel 2.6.17-gentoo-r4 (as compared to r3). That compilation failed. 
> Since I hadn't time to investigate, I just left it like that. Nothing 
> installed, no reboot, noting. All of a sudden audio is coming out of that 
> bugger at a decent volume. :-(
> 
> Audio quality is still poor, high noise level and it doesn't sound like 50Hz 
> noise. So maybe, it's that VCR - have to check that by plugging the VCR 
> directly into a TV.
> 
> Anyway, forward to the next step of creating a video DVD from that MPEG2 
> stream!
> 
> Uwe

There is a current "scratchy" noise problem with PVR-150 drivers.

AFTER you have started playing/recording the stream execute 

ivtvctl -qX 

where X is the audio input you are using. This fixes it for me and a
number of other mythtv users. Some have even set up a cron script to
execute that command every 10 seconds.

To get as close as possible to a DVD compatible stream use 

ivtvctl -c stream_type=X where X is the stream type you want from :

/* Stream types */
#define IVTV_STREAM_PS          0
#define IVTV_STREAM_TS          1
#define IVTV_STREAM_MPEG1       2
#define IVTV_STREAM_PES_AV      3
#define IVTV_STREAM_PES_V       5
#define IVTV_STREAM_PES_A       7
#define IVTV_STREAM_DVD         10
#define IVTV_STREAM_VCD         11
#define IVTV_STREAM_SVCD        12
#define IVTV_STREAM_DVD_S1      13
#define IVTV_STREAM_DVD_S2      14

I cannot for the life of me remember whether you want 10,13 or 14.



-- 
Nick Rout <nick@rout.co.nz>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd [solved]
  2006-07-25 23:54                             ` Nick Rout
@ 2006-07-26  8:10                               ` Uwe Thiem
  2006-07-28  0:20                                 ` Nick Rout
  0 siblings, 1 reply; 22+ messages in thread
From: Uwe Thiem @ 2006-07-26  8:10 UTC (permalink / raw
  To: gentoo-user

On 26 July 2006 00:54, Nick Rout wrote:

> There is a current "scratchy" noise problem with PVR-150 drivers.
>
> AFTER you have started playing/recording the stream execute
>
> ivtvctl -qX
>
> where X is the audio input you are using. This fixes it for me and a
> number of other mythtv users. Some have even set up a cron script to
> execute that command every 10 seconds.

I'll try that, weird as it is. ;-)

> > 
> To get as close as possible to a DVD compatible stream use
>
> ivtvctl -c stream_type=X where X is the stream type you want from :
>
> /* Stream types */
> #define IVTV_STREAM_PS          0
> #define IVTV_STREAM_TS          1
> #define IVTV_STREAM_MPEG1       2
> #define IVTV_STREAM_PES_AV      3
> #define IVTV_STREAM_PES_V       5
> #define IVTV_STREAM_PES_A       7
> #define IVTV_STREAM_DVD         10
> #define IVTV_STREAM_VCD         11
> #define IVTV_STREAM_SVCD        12
> #define IVTV_STREAM_DVD_S1      13
> #define IVTV_STREAM_DVD_S2      14
>
> I cannot for the life of me remember whether you want 10,13 or 14.

Interesting. is there actually any comprehensive documentation about ivtv? I 
only found scratches and pieces.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: [gentoo-user]  Re: audio with TV crd [solved]
  2006-07-26  8:10                               ` Uwe Thiem
@ 2006-07-28  0:20                                 ` Nick Rout
  0 siblings, 0 replies; 22+ messages in thread
From: Nick Rout @ 2006-07-28  0:20 UTC (permalink / raw
  To: gentoo-user


On Wed, 26 Jul 2006 09:10:42 +0100
Uwe Thiem wrote:

> On 26 July 2006 00:54, Nick Rout wrote:
> 
> > There is a current "scratchy" noise problem with PVR-150 drivers.
> >
> > AFTER you have started playing/recording the stream execute
> >
> > ivtvctl -qX
> >
> > where X is the audio input you are using. This fixes it for me and a
> > number of other mythtv users. Some have even set up a cron script to
> > execute that command every 10 seconds.
> 
> I'll try that, weird as it is. ;-)
> 
> > > 
> > To get as close as possible to a DVD compatible stream use
> >
> > ivtvctl -c stream_type=X where X is the stream type you want from :
> >
> > /* Stream types */
> > #define IVTV_STREAM_PS          0
> > #define IVTV_STREAM_TS          1
> > #define IVTV_STREAM_MPEG1       2
> > #define IVTV_STREAM_PES_AV      3
> > #define IVTV_STREAM_PES_V       5
> > #define IVTV_STREAM_PES_A       7
> > #define IVTV_STREAM_DVD         10
> > #define IVTV_STREAM_VCD         11
> > #define IVTV_STREAM_SVCD        12
> > #define IVTV_STREAM_DVD_S1      13
> > #define IVTV_STREAM_DVD_S2      14
> >
> > I cannot for the life of me remember whether you want 10,13 or 14.
> 
> Interesting. is there actually any comprehensive documentation about ivtv? I 
> only found scratches and pieces.
> 
> Uwe

Only what comes with it I think. The doc directory in the source is
worth a look.

This is also worth a look: http://ivtvdriver.org/index.php/Main_Page

The driver has been in such a rapid state of development that any
documentation would quickly be out of date. It is considerably more
mature lately.

The mythtv mailing list archives are also a very good source of
knowledge. I would say that a very big percentage of people using these
cards under linux do so in a mythtv box. The archives are very good and
appear here:

http://www.gossamer-threads.com/lists/mythtv/users/

simply running 

ivtvctl | less gives you a good idea of what you can control.


-- 
Nick Rout <nick@rout.co.nz>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2006-07-28  0:24 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200607211059.44959.uwix@iway.na>
2006-07-21 10:11 ` [gentoo-user] audio with TV crd Raymond Lewis Rebbeck
     [not found]   ` <200607211209.46822.uwix@iway.na>
2006-07-21 15:09     ` [gentoo-user] " Marco Costa
2006-07-21 16:54       ` Uwe Thiem
2006-07-24  9:00         ` Marco Costa
2006-07-21 16:40     ` James
2006-07-22  2:45       ` Nick Rout
2006-07-22  9:05         ` Uwe Thiem
2006-07-22  9:18         ` Uwe Thiem
2006-07-23  8:58           ` Nick Rout
2006-07-23 12:41             ` Uwe Thiem
     [not found]           ` <20060723133813.f8de080b.nick@rout.co.nz>
2006-07-23 11:19             ` Uwe Thiem
2006-07-23 21:41               ` Nick Rout
2006-07-23 23:52                 ` Nick Rout
2006-07-24 10:31                   ` Uwe Thiem
2006-07-24 11:30                     ` Nick Rout
2006-07-24 12:43                       ` Uwe Thiem
2006-07-25  0:37                         ` Nick Rout
2006-07-25 10:11                           ` [gentoo-user] Re: audio with TV crd [solved] Uwe Thiem
2006-07-25 23:54                             ` Nick Rout
2006-07-26  8:10                               ` Uwe Thiem
2006-07-28  0:20                                 ` Nick Rout
2006-07-22 18:07         ` [gentoo-user] Re: audio with TV crd James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox