Click here to Skip to main content
13,003,930 members (99,823 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I don't want to user other direct control or any third party tool. I want to make video player using picture box. How fetch image frame and audio from media file?
Posted 6-Feb-13 5:09am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

How fetch image frame and audio from media file?

With extreme difficulty.

Rarely do you find a video with a stream of full frames that you can just pick out and show in a picturebox. FAR more commonly the video and audio are compressed into various formats and same rates which must be decoded using drivers called "codecs".

The user32 library isn't going to help you with decoding this stuff. It's for the creation and management of windows you see on screen, window message handling, data exchange and various other user interface bits, but NOTHING for decoding video and audio and rendering it.

BTW, forget using a picturebox. You don't need it at all.

Perhaps you should be looking into DirectShow instead?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170627.1 | Last Updated 6 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100