Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
What I need to do is to build an application that can playback mediafiles using the Windows media player control (easy part). Is it possible to have events embedded inside the media file so that I can display certain text to the user at certain points in the video without having to track the playback time which is really not reliable.

This is similar to the yellow lines you see in a youtube video that displays annotations and adds.

Is there maybe any other technology that is better suited to this? I read something about Microsoft media Foundation.. Does anyone know what this is good for and what platforms is supported?

I am using Visual studio 2010 C# on Win 7 Pro.

Any help would be appreciated
Posted

1 solution

You do not "embed events" since an event is nothing more than code that is kicked off upon receipt of some message to trigger it.

You would be adding data to signal these "events" to happen in the metadata for the video and providing a custom video player to read that metadata and kick off whatever events you have coded at the specified time in the video.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900