[pvrusb2] It's alive! or Findings so far

Per Christian Henden perchrh at pvv.org
Sat Sep 10 09:25:47 CDT 2005


On Saturday 10 September 2005 13:47, Mike Isely wrote:
> On Sat, 10 Sep 2005, Per Christian Henden wrote:
> > On Saturday 10 September 2005 13:17, Mike Isely wrote:
> > > On Sat, 10 Sep 2005, Per Christian Henden wrote:
> > > > I had the following problem:
> > > > When I used mplayer, I got a bad picture.
> > > > The color and placement of parts of the picture was completely wrong.
> > > > When I used xawtv I didn't get a picture.
> > > > My solution: start xawtv before mplayer, that makes the picture right
> > > > and then unmute the sound using the sysfs interface.
> > >
> > > That's very strange.  If you just feed mplayer an mpeg2 file does it
> > > still do this?  If not, then try this:
> > >
> > > cat /dev/video0 >/tmp/foo.mpg # or /dev/video1 or whatever
> > > ^C # after a few seconds
> > > mplayer foo.mpg
> > >
> > > Do this without your xawtv workaround.  Does it still screw up?
> >
> > Yes
> >
> > > Can you
> > > transfer that foo.mpg to another machine and see the same problem?
> >
> > Yes
> >
> > > I'm
> > > trying to figure out if this is mplayer (or maybe your video driver) or
> > > if it is the driver.
> >
> > Ok, I uploaded the mpeg2 file to http://www.pvv.org/~perchrh/tvtest.vob
> > (5.9MB)
>
> I'm downloading the file now.  But I will have to look at it later on
> tonight (about 11 hours from now).  I have to head out for an all-day
> event so I'm out of time now.
>
> I'm really curious to know what xawtv is doing to "fix" this driver.  From
> the driver's viewpoint they should look the same.
>
Ok, to eloborate:
When I boot linux the /sys/class/pvrusb2/sn*/ctl_frequency/cur_val is set to 
17525000 which is a valid frequency, i.e. there is something there.
When Xawtv starts, it uses that same frequency. 
I do nothing in Xawtv except press 'q' to quit. 
when I run mplayer /dev/video0 the picture is good.

dmesg shows 
"pvrusb2 Setting initial video standard to SECAM-L (detected from eeprom)"
I'm using PAL-BG in xawtv.

Could it be that Xawtv changes video standard from default SECAM-L to PAL-BG?
What can I type to change the video standard without using Xawtv?

-PER


More information about the pvrusb2 mailing list