Mailing List Archive

pvr-350 sound issues
Heya guys - first of all I wanna send out a huge thanks for all the work
everybody's done...this project is moving along at an awesome rate.
I've talked at least 3 friends into getting their own MythTV setup. :)

So, got my ivtv drivers and mythtv working, except for sound. I'm using
the right msp3400 driver, I'm running it in debug mode, not seeing any
sign of what's wrong, but I *think* it's a Myth issue...if I run "mplayer
/dev/video" then I get sound just fine. Any thoughts? Some debug info
below, I'll provide any other info you guys think would be handy...

loading module:
May 23 01:41:15 media msp34xx: setvolume: mute=on 65535:65535 v=0x00 b=0x00
May 23 01:41:15 media msp34xx: init: chip=MSP3448W-A2, has NICAM support
May 23 01:41:15 media msp3410: daemon started
May 23 01:41:15 media msp3410: thread: sleep
May 23 01:41:15 media msp3410: thread: wakeup
May 23 01:41:15 media msp3410: setting mode: autodetect start (0x0001)
May 23 01:41:15 media msp3410: detection still in progress
May 23 01:41:15 media msp3410: detection still in progress
May 23 01:41:15 media msp3410: current mode: 4.5/4.72 M Dual FM-Stereo (0x0002)
May 23 01:41:15 media msp34xx: setbass: 32768 0x00
May 23 01:41:15 media msp34xx: settreble: 32768 0x00
May 23 01:41:15 media msp34xx: setvolume: mute=on 65535:65535 v=0x00 b=0x00
May 23 01:41:15 media msp3410: thread: sleep
May 23 01:41:18 media msp34xx: scart switch: mono => 1

Then, when I startup mythbackend:
May 23 01:41:31 media msp34xx: VIDIOCSCHAN
May 23 01:41:31 media msp34xx: switching to TV mode
May 23 01:41:31 media msp34xx: MSP_SET_MATRIX
May 23 01:41:31 media msp34xx: scart switch: mute => 1
May 23 01:41:31 media msp34xx: MSP_SET_MATRIX
May 23 01:41:31 media msp34xx: scart switch: mono => 1

...so, looks like it might be muted? Thing is, I ran mplayer after
this, got no additional log entries, so not sure if that's what's going
on.

Also, I know there's been alot of pvr250/350 noise on the list recently,
thanks for putting up with those of us trying to figure out our new
toys. :) I'm willing to pay with beer for anybody in San Francisco. :)

John
Re: pvr-350 sound issues [ In reply to ]
Have you tried cat /dev/video0 > out.mpg and see if it
has sound?
If this works, then set the output to uncompressed and
give it a shot.

For me, setting audio to mp3 compression causes me
problems.

Leigh
--- John Kinsella <jlk@thrashyour.com> wrote:
> Heya guys - first of all I wanna send out a huge
> thanks for all the work
> everybody's done...this project is moving along at
> an awesome rate.
> I've talked at least 3 friends into getting their
> own MythTV setup. :)
>
> So, got my ivtv drivers and mythtv working, except
> for sound. I'm using
> the right msp3400 driver, I'm running it in debug
> mode, not seeing any
> sign of what's wrong, but I *think* it's a Myth
> issue...if I run "mplayer
> /dev/video" then I get sound just fine. Any
> thoughts? Some debug info
> below, I'll provide any other info you guys think
> would be handy...
>
> loading module:
> May 23 01:41:15 media msp34xx: setvolume: mute=on
> 65535:65535 v=0x00 b=0x00
> May 23 01:41:15 media msp34xx: init:
> chip=MSP3448W-A2, has NICAM support
> May 23 01:41:15 media msp3410: daemon started
> May 23 01:41:15 media msp3410: thread: sleep
> May 23 01:41:15 media msp3410: thread: wakeup
> May 23 01:41:15 media msp3410: setting mode:
> autodetect start (0x0001)
> May 23 01:41:15 media msp3410: detection still in
> progress
> May 23 01:41:15 media msp3410: detection still in
> progress
> May 23 01:41:15 media msp3410: current mode:
> 4.5/4.72 M Dual FM-Stereo (0x0002)
> May 23 01:41:15 media msp34xx: setbass: 32768 0x00
> May 23 01:41:15 media msp34xx: settreble: 32768 0x00
> May 23 01:41:15 media msp34xx: setvolume: mute=on
> 65535:65535 v=0x00 b=0x00
> May 23 01:41:15 media msp3410: thread: sleep
> May 23 01:41:18 media msp34xx: scart switch: mono =>
> 1
>
> Then, when I startup mythbackend:
> May 23 01:41:31 media msp34xx: VIDIOCSCHAN
> May 23 01:41:31 media msp34xx: switching to TV mode
> May 23 01:41:31 media msp34xx: MSP_SET_MATRIX
> May 23 01:41:31 media msp34xx: scart switch: mute =>
> 1
> May 23 01:41:31 media msp34xx: MSP_SET_MATRIX
> May 23 01:41:31 media msp34xx: scart switch: mono =>
> 1
>
> ...so, looks like it might be muted? Thing is, I
> ran mplayer after
> this, got no additional log entries, so not sure if
> that's what's going
> on.
>
> Also, I know there's been alot of pvr250/350 noise
> on the list recently,
> thanks for putting up with those of us trying to
> figure out our new
> toys. :) I'm willing to pay with beer for anybody
> in San Francisco. :)
>
> John
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
>
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
RE: pvr-350 sound issues [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Have you tried cat /dev/video0 > out.mpg and see if it
> has sound?
> If this works, then set the output to uncompressed and
> give it a shot.
>
> For me, setting audio to mp3 compression causes me
> problems.

The PVR series has the MPEG audio integrated into the stream; the
various audio values like /dev/dsp and the audio parameters like MP3
/ Uncompressed should be pretty much ignored as far as I know.



-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPs4l0Pc1NpCTlP0JEQI+swCggsQlTb6B9OpHkpEBYVFhGEiE+zUAoMeK
sdF4td8+DOHMdrQAyXR/KS1n
=8/pE
-----END PGP SIGNATURE-----
Re: pvr-350 sound issues [ In reply to ]
Yeah, I don't think(hope) that MythTV is encoding the audio, should be
part of the mp2 stream. But, Leigh kickstarted my brain (maybe it's the
sleep ;) so I started tinkering with the setup stuff for record and
playback. Once I changed the audio out device from /dev/adsp to
/dev/sound/dsp, I realized how people felt when they first saw a film
with sound synced to it. ;)

So, thanks for the thoughts - what I'm left with is a functioning
system, except mythtv is taking up 85% of my cpu(celeron 1.1ghz) causing
a load of about 1.6, which is resulting in a bit of audio skipping.
Will tinker with that, seems like the the load shouldn't be that high on
a CPU this fast(thought people had run on slower) but I'll investigate
that myself.

btw fwiw I've gotten this running on Gentoo Linux, more than happy to
write up notes for the HOWTO for both mythtv and the ivtv projects.

John

On Fri, May 23, 2003 at 08:44:48AM -0500, Robert Kulagowski wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > Have you tried cat /dev/video0 > out.mpg and see if it
> > has sound?
> > If this works, then set the output to uncompressed and
> > give it a shot.
> >
> > For me, setting audio to mp3 compression causes me
> > problems.
>
> The PVR series has the MPEG audio integrated into the stream; the
> various audio values like /dev/dsp and the audio parameters like MP3
> / Uncompressed should be pretty much ignored as far as I know.
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
>
> iQA/AwUBPs4l0Pc1NpCTlP0JEQI+swCggsQlTb6B9OpHkpEBYVFhGEiE+zUAoMeK
> sdF4td8+DOHMdrQAyXR/KS1n
> =8/pE
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: pvr-350 sound issues [ In reply to ]
On Fri, May 23, 2003 at 09:58:31AM -0700, John Kinsella wrote:
> Yeah, I don't think(hope) that MythTV is encoding the audio, should be
> part of the mp2 stream. But, Leigh kickstarted my brain (maybe it's the
> sleep ;) so I started tinkering with the setup stuff for record and
> playback. Once I changed the audio out device from /dev/adsp to
> /dev/sound/dsp, I realized how people felt when they first saw a film
> with sound synced to it. ;)
>
> So, thanks for the thoughts - what I'm left with is a functioning
> system, except mythtv is taking up 85% of my cpu(celeron 1.1ghz) causing
> a load of about 1.6, which is resulting in a bit of audio skipping.
> Will tinker with that, seems like the the load shouldn't be that high on
> a CPU this fast(thought people had run on slower) but I'll investigate
> that myself.
>
> btw fwiw I've gotten this running on Gentoo Linux, more than happy to
> write up notes for the HOWTO for both mythtv and the ivtv projects.

Please do, as this is exactly what I plan to use for my soon-to-be-built
system :)