[prev in list] [next in list] [prev in thread] [next in thread]
List: theora-dev
Subject: [theora-dev] Time in video file
From: "Bjoern D. Rasmussen" <bjoern.d.rasmussen () gmail ! com>
Date: 2011-03-15 17:36:30
Message-ID: AANLkTim2QG53r-Zg-Gf-PvcVSqroGzqghDi7tvdJekdX () mail ! gmail ! com
[Download RAW message or body]
Hi
I'm trying to store video I encode to a file using Theora and Ogg. The
video I record is from my webcam and although the framerate is set to
30 fps I rarely get more then 28-29 fps. Since Theora is fed with a
framerate which isn't precise the time of each frame when I play it in
VLC doesn't match the exact time of when the frame occurred. So
basically I wonder how can I sync a video frame to a clock using
Theora and Ogg?
I tried looking at th_granule_time() and ogg_page_granulepos() but
they seem to be concerned with the frame number and not time of the
frame.
Thanks for a great video codec!
Regards
Bjoern
_______________________________________________
theora-dev mailing list
theora-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/theora-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic