arielmol / dviz

Automatically exported from code.google.com/p/dviz
0 stars 0 forks source link

Videos at less than realtime #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Videos at less than realtime, even slower when the UI is busy doing other
intensive tasks such as loading a list of images in the media browser.

Original issue reported on code.google.com by josiahbryan@gmail.com on 12 Nov 2009 at 7:10

GoogleCodeExporter commented 8 years ago
Reworked algorithms in /trunk/src/qvideo/QVideo.cpp and
/trunk/src/qvideo/QVideoDecoder.cpp that calculate the frame display delay. 
Added
algorithm to "skip" the frame when the display thread "falls behind" by 
displaying
the frame with a 0ms delay. Updates in svn r354.

Limited testing on Linux and Windows XP seems to indicate acceptable realtime
results. More testing needed, as well as a quantifiable test program added 
(e.g. play
a video of known length and time how long it played.) I'll add a test program
tomorrow (hopefully.) In the mean time, svn r354 contains the core decoder 
updates
and they can be tested perceptually and subjectively through DViz using the 
normal
slide group and video playing facilities/

Original comment by josiahbryan@gmail.com on 12 Nov 2009 at 10:36