hi I wants to get video file duration in qt.Can some body tell me how can i do that?
hi I wants to get video file duration in qt.Can some body tell me how can i do that?
This has nothing to do with Qt.
You need to know the format of the file, then you can read the file, and extract the duration.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
You can try with QtMobility's QMediaPlayer but you need to start playing the file to get the duration.
Bookmarks