[mythtv] Wrong time of recordings when using PVR 350

Petter Gundersen pettergundersen at gmail.com
Thu Sep 30 19:46:03 EDT 2004


On Thu, 30 Sep 2004 22:22:45 +0100, John Harvey
<john.p.harvey at btinternet.com> wrote:
> Peter
> 
> I just checked and it all seems to be working so can you after loading ivtv
> run
> 
>  ivtvctl -U
> 
> Then start mythbackend
> And then run
>  ivtvctl -U
> 
> again and then send the output.
> 
> John
> 

John, the output from both ivtvctl runs are:
ioctl: VIDIOC_G_STD
Standard = 0x000000ff


I have done some more systematic testing, and it looks like the
problem actually is related to recording, not playback. Recordings
done with the old driver shows correct time regardless if I play it
back with the old or new driver, recordings done with the new driver
shows wrong time on playback with both old and new driver.

The fact that it looks like I'm the only one with this problem makes
me wonder it might be some other stuff related to my system that
causes this. The ratio between the wrong and correct time is 0.80, but
25fps/30fps = 0.83, perhaps the time ratio's closeness to 25/30 is
just a coincidence, and it's actually not a PAL-NTSC issue?

I would appreciate if you or someone else could give me some pointers
to what I can do for further debugging of this problem.


Regards,
Petter


 
> > -----Original Message-----
> > From: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-bounces at mythtv.org]
> > On Behalf Of Isaac Richards
> > Sent: 30 September 2004 18:12
> > To: Development of mythtv
> > Subject: Re: [mythtv] Wrong time of recordings when using PVR 350
> >
> > On Thursday 30 September 2004 12:46 pm, John Harvey wrote:
> > > Isaac
> > > So i'm assuming then that myth asks the driver if its
> > > in PAL or NTSC at playback and that you believe the
> > > driver is getting this wrong in some mode. If so i'll
> > > try and take a look at this over the next couple of
> > > days and get a fix to Chris.
> > >
> > > I am assuming this check is made somewhere in
> > > videoout_ivtv.cpp (sorry i'm at work and don't have
> > > the source code to hand at the moment).
> >
> > Yup, that's right, though it's in ivtvdecoder.cpp, not videoout_ivtv.cpp.
> >
> >     v4l2_std_id std = V4L2_STD_NTSC;
> >     ntsc = true;
> >
> >     if (ioctl(testfd, VIDIOC_G_STD, &std) < 0)
> >         perror("VIDIOC_G_STD");
> >     else
> >     {
> >         if (std & V4L2_STD_625_50)
> >             ntsc = false;
> >     }
> >
> > is the code in question from ivtvdecoder.cpp.
> >
> > Isaac
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 
> 
>


More information about the mythtv-dev mailing list