Discussion:
OpenCV video playback too fast
Ruth
2010-12-12 09:41:23 UTC
Permalink
I'm running the samples and the video playback is about twice as it should be. Could it be a problem with ffmpeg/x264?

Anyone know what's up?



------------------------------------

Change settings: http://www.yahoogroups.com/mygroups, select
Get Emails (get all posts)
Daily Digest (one summary email per day)
Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-***@yahoogroups.com
Ruth
2010-12-12 09:42:50 UTC
Permalink
Post by Ruth
I'm running the samples and the video playback is about twice as it should be. Could it be a problem with ffmpeg/x264?
Anyone know what's up?
Sorry I meant to say above the video is twice as *fast* as it should be.



------------------------------------

Change settings: http://www.yahoogroups.com/mygroups, select
Get Emails (get all posts)
Daily Digest (one summary email per day)
Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-***@yahoogroups.com
Chris Nichols
2010-12-12 14:49:11 UTC
Permalink
What amount of time are you using in Wait()? When you are simply reading a video file, it will do it as fast as possible without regard for the fps of the video. So if you use your standard Wait(30) it will probably play back at around 30fps taking into account overhead from reading the video file. You should read the fps of your input video and then adjust your wait duration accordingly.
Post by Ruth
Post by Ruth
I'm running the samples and the video playback is about twice as it should be. Could it be a problem with ffmpeg/x264?
Anyone know what's up?
Sorry I meant to say above the video is twice as *fast* as it should be.
Loading...