Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
20th February 2012, 09:30 | #1 | Link |
Registered User
Join Date: Feb 2012
Posts: 2
|
Navigation to the 1st frame: A problem in GraphEdit, a solution in MPC-HC?
Hello everyone,
I encountered a weird problem: I created a media file where each frame shows me its number. The problem is, my first frame isn't being displayed when I use GraphEdit to play it. If I use the File Writer to create a new file, instead of a renderer, then all frames are stored properly and the 1st one isn't left out. They just aren't displayed by the renderer. Interestingly, if I use both a renderer and the file writer, then the file writer skips the first frame as well. MPC, however, is able to show me all frames and this is why I am posting here, in the hope of finding experts who know what MPC does to solve this problem. Actually I found out about that problem while trying to create my own player in WinForms (C#) and the DirectShow.NET library. I use the Callback Events of the SampleGrabber filter to tell me the exact position in the video while I play it and I noticed that I don't get a Callback Event for the 1st frame. Also if I set the position to 0 using the IMediaSeeking interface, my player just navigates to the 2nd frame. The formats of my test videos are RGB24 or RGB32 - both in Raw. They're 100x100 pixels, but I don't think it's because of an exotic resolution, because I also tried it with a 1280x800 raw RGB24 file and I had the same result. Cheers Squall83 |
Tags |
frame, mpc-hc, navigation, seek |
|
|