Opened 15 years ago

Closed 15 years ago

#761 closed defect (worksforme)

Thumbnail generation for MythWeb - Recorded Programs doesn't alwaya honor PreviewPixmapOffset

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythweb Version:
Severity: medium Keywords:
Cc: Ticket locked: no


The selected frames seem pretty odd sometimes. Things that should be excluded by cutlists, things way out near the end of the recording, ...

Change History (2)

comment:1 Changed 15 years ago by xris

Owner: changed from xris to Isaac Richards

mythweb just requests the pixmap, it doesn't generate it. this is a backend issue (though I've never had a problem, myself).

comment:2 Changed 15 years ago by cpinkham

Resolution: worksforme
Status: newclosed

The preview pixmap generate will ignore PreviewPixmapOffset? in lots of cases. It also takes into account RecordPreRoll?, PreviewFromBookmark?, the commercial skip list, and the cutlist, so there are lots of reasons why the image would not always be from a fixed position in the recording. Closing ticket unless you can document cases where it's not working as it should. Unfortunately, "pretty odd sometimes" doesn't help us debug. If you want to try to track this down, edit NuppelVideoPlayer?.cpp and search for NuppelVideoPlayer::GetScreenGrab?() and insert some lines like the one below every time you see the 'number' variable modified. Then you can see why it is choosing the frame it chooses.

cerr << "NVP::GetScreenGrab?: Line: " << LINE << ", number = " << number << endl;

That will print out the current value of number and the current line number as well so you can see where it is being changed at.

Note: See TracTickets for help on using tickets.