Opened 14 years ago

Closed 14 years ago

#162 closed defect (invalid)

The length of recorded programs are wrong in OSD where using PAL

Reported by: Mats.cedergren@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords: PAL OSD length
Cc: Ticket locked: no

Description

Due to the fact that PAL uses 25 fps instead of 24 fps the routine to calculate the length of a recorded show in OSD ( "i" key during playback) returns the wrong length.

An example: 1 hour PAL recording is 90000 frames (3600 second x 25 fps) . When using 24 fps to get the length this translates into 3750 secons (90000 frames / 24 fps), with is 1 hour 2 minutes and 30 seconds.

Only tested this on linux but I guess it's the same on all platforms.

I'm running against source code version (updated a couple of weeks ago) but have seen this in any version I have tried.

Change History (2)

comment:1 Changed 14 years ago by Mats Cedergren <mats.cedergren@…>

Not sure if my calculations is correct but the problem remains. An exactly one hour show is reported to have an length of one hour 2 minutes and 30 seconds in the OSD display. An show that is 55 minutes is reported as about 58 minutes. I guess there is some trouble with the routine that calculates the length of a show (seems to be using frames as the base forcalculations)

comment:2 Changed 14 years ago by Isaac Richards

Resolution: invalid
Status: newclosed

The fps value is read directly from the stream, and is indeed 25fps for pal.

Note: See TracTickets for help on using tickets.