After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 739923 - deinterlace: messes up timestamps for soft telecine
deinterlace: messes up timestamps for soft telecine
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-10 21:18 UTC by Matej Knopp
Modified: 2014-11-12 16:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matej Knopp 2014-11-10 21:18:04 UTC
Source file is progressive soft telecine 29.97fps; 
deinterlace has locking=2 set so that it gets pattern lock and determines correct framerate (23.976 fps)

Original Timestamps       Broken Timestamps
(without pattern lock)    (with pattern lock)
PTS: 0:00:00.000000000    PTS: 0:00:00.000000000
PTS: 0:00:00.083000000    PTS: 0:00:00.091708332
PTS: 0:00:00.133000000    PTS: 0:00:00.133416664
PTS: 0:00:00.167000000    PTS: 0:00:00.167000000
PTS: 0:00:00.217000000    PTS: 0:00:00.229562498
PTS: 0:00:00.250000000    PTS: 0:00:00.292124996
PTS: 0:00:00.300000000    PTS: 0:00:00.300000000
PTS: 0:00:00.334000000    PTS: 0:00:00.341708332
PTS: 0:00:00.384000000    PTS: 0:00:00.383416664
PTS: 0:00:00.417000000    PTS: 0:00:00.417000000
PTS: 0:00:00.467000000    PTS: 0:00:00.479562498
PTS: 0:00:00.501000000    PTS: 0:00:00.542124996
PTS: 0:00:00.551000000    PTS: 0:00:00.551000000
PTS: 0:00:00.584000000    PTS: 0:00:00.592708332
PTS: 0:00:00.634000000    PTS: 0:00:00.634416664
PTS: 0:00:00.667000000    PTS: 0:00:00.667000000
PTS: 0:00:00.717000000    PTS: 0:00:00.729562498
PTS: 0:00:00.751000000    PTS: 0:00:00.792124996
PTS: 0:00:00.801000000    PTS: 0:00:00.801000000
PTS: 0:00:00.834000000    PTS: 0:00:00.842708332
PTS: 0:00:00.884000000    PTS: 0:00:00.884416664
PTS: 0:00:00.918000000    PTS: 0:00:00.918000000
PTS: 0:00:00.968000000    PTS: 0:00:00.980562498
PTS: 0:00:01.001000000    PTS: 0:00:01.043124996
PTS: 0:00:01.034000000    PTS: 0:00:01.034000000
PTS: 0:00:01.084000000    PTS: 0:00:01.096562498
PTS: 0:00:01.118000000    PTS: 0:00:01.159124996
PTS: 0:00:01.168000000    PTS: 0:00:01.168000000
PTS: 0:00:01.201000000    PTS: 0:00:01.209708332
PTS: 0:00:01.251000000    PTS: 0:00:01.251416664
PTS: 0:00:01.285000000    PTS: 0:00:01.285000000
PTS: 0:00:01.335000000    PTS: 0:00:01.347562498
PTS: 0:00:01.368000000    PTS: 0:00:01.410124996
PTS: 0:00:01.418000000    PTS: 0:00:01.418000000
PTS: 0:00:01.451000000    PTS: 0:00:01.459708332
PTS: 0:00:01.502000000    PTS: 0:00:01.501416664
PTS: 0:00:01.535000000    PTS: 0:00:01.535000000
PTS: 0:00:01.585000000    PTS: 0:00:01.597562498
PTS: 0:00:01.618000000    PTS: 0:00:01.660124996
PTS: 0:00:01.668000000    PTS: 0:00:01.668000000
PTS: 0:00:01.702000000    PTS: 0:00:01.709708332
PTS: 0:00:01.752000000    PTS: 0:00:01.751416664
PTS: 0:00:01.785000000    PTS: 0:00:01.785000000
PTS: 0:00:01.835000000    PTS: 0:00:01.847562498
PTS: 0:00:01.869000000    PTS: 0:00:01.910124996
PTS: 0:00:01.919000000    PTS: 0:00:01.919000000
PTS: 0:00:01.952000000    PTS: 0:00:01.960708332

Original timestamps are aligned to timebase (29.976) and give different longer durations for frames with RFF
Resulting (broken) timestamps are sometimes non monotonous, or very close together (i.e. 0:00:01.410124996 and 0:00:01.418000000)
Comment 2 Matej Knopp 2014-11-12 16:57:12 UTC
Yeah, looks like the decoder wasn't setting the TFF/RFF flags properly.