×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

.wmv Seek by Frame

.wmv Seek by Frame

.wmv Seek by Frame

(OP)
I am trying to grab frames (ISampleGrabber) from various formats, one of which is Windows Media Video (.wmv).  As this uses variable bit rate encoding, then it is not possible to set the time format (IMediaSeeking->SetTimeFormat()) to TIME_FORMAT_FRAME.

I have been looking at the Directshow Editing Services (DES) as a possible solution, but it does say that IMediaDet->get_FrameRate() does not work with ASF files (of which .wmv is one).

Anyone have any ideas, or similar experiences?????

RE: .wmv Seek by Frame

(OP)
I have found the answer to my own question, as so invariably happens.

By using the Media 9 SDK, asf format files (in this case .wmv) can be re-indexed - therefore allowing the likes of DirectShow SampleGrabber to set frame accurate times.  This does slightly increase the size of the file, as all the indexing data is added, but it does not alter the movie data.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close