Windows and video
mphair last edited by
I'm working on a project where I want to be able to seek quickly through a video. On OSX, this works great with a QVideoWidget and a QMediaPlayer::setPosition(quint64).
On windows, each time I call setPosition, it takes almost a full second to update the QVideoWidget. I thought maybe it was a codec issue but I can't seem to figure out the "right" codec to use.
My questions are these:
- Is there a "best" codec to use for windows that allows quick and accurate seeking? (I'm using ffmpeg in the background to translate codec to codec)
- Is there an alternative to the QVideoWidget + QMediaPlayer setup that might work better?
- Is Qt5 multimedia stuff just still too young to handle this sort of interaction and if so, are there good alternatives?
I don't know the answer to your questions, but there are people on the "Interest mailing list":http://lists.qt-project.org/mailman/listinfo/interest who do. Subscribe and ask there.