[vdr] Weird frame rate issue (VDR 1.6 recording, VDR 1.7 playback)

Tobi listaccount at e-tobi.net
Tue Jan 24 01:18:00 CET 2012


Hi!

Several recordings recorded from JSC Sports (S13.0E-318-500-8440) seem to
have a weird framerate. The recordings were done in PES format with VDR
1.6, so there's no framerate setting in the info file and VDR will use 25
fps by default. This leads to a wrong recording length display (30 minutes
for a recording that was actually 20 minutes long). VDR 1.7.22 is used for
playback and with a small patch I can provide the framerate via the
info.vdr (Which might be a useful feature anyways, patch attached.).

So far so good, but the recording seems to have a weird framerate

This is the recording:

501593483 2012-01-20 13:15:00.000000000 +0100 001.vdr
   366032 2012-01-20 13:15:00.000000000 +0100 index.vdr
      149 2012-01-20 12:55:05.000000000 +0100 info.vdr

The mtime diff between info.vdr and 001.vdr is 19:55 minutes. index.vdr is
366032 bytes in size, which divided by 8 gives a framerate of 38,29 fps.

Can anyone explain this framerate?

ffmpeg and mediainfo both say 25fps (see below) and VLC tells me it's 50fps.

When I convert the recording to TS using project-x, set the framerate in
the info.vdr to 25 and reindex it with VDR 1.7.22, it still shows the
wrong length.

bye,

Tobias


ffmpeg says:

Input #0, mpeg, from '001.vdr':
  Duration: 00:19:55.77, start: 59497.383833, bitrate: 3355 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR
64:45 DAR 16:9], 3049 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc

and mediainfo says:

Complete name                            : 001.vdr
Format                                   : MPEG-PS
Duration                                 : 19mn 55s

Video
Format                                   : MPEG Video
Format version                           : Version 2
Duration                                 : 19mn 55s
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 fps
Standard                                 : PAL

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xeatre-manualframerate.dpatch
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20120124/d7570add/attachment.ksh>


More information about the vdr mailing list