VideoHelp.com Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date: Apr 2008
    Location: US
    Hai All
    I was just implement the thread concept in video rendering.To render the video one thread and convertion and frame by frame set up done by another thread. The following algorithm used for full fill the concept.
    Thread 1.
    Read a Frame.
    Lock the rectangle area for render.
    Pack the data as per the format supported by display
    Unlock the rectangle area for render.
    Thread 2.
    Begin a scene
    Set The Texture
    Draw use the primitivesUP macro
    End the scene
    Present.
    Exit from the thread.
    I am using system memory and never use video cards.My system memory nearly 760 MB and processor speed 1.7 GHz.
    The above algorithm for thread consistently work for small video files.But when large file come rendering fails after 100 frames.
    I am setting the thread loop by total number of frames.
    Can someone interested just replay how i solve the problem.
    Quote Quote  

  2. Member
    Join Date: Dec 2005
    Location: none
    Watch your process with Task Manager. If "Mem Usage" goes up and up as the program runs you have a memory leak.
    Quote Quote  

  3. Member
    Join Date: Apr 2008
    Location: US
    No memory problem.
    Suppose same texture use with multiple times with same device then any type of problem.
    This breakage is the aftermath of the above reason.
    Quote Quote  




Similar Threads

  1. Thread about video cables?
    By osaeed09 in forum Feedback
    Replies: 2
    Last Post: 28th Nov 2011, 18:23
  2. video rendering
    By rizvii in forum Authoring (DVD)
    Replies: 4
    Last Post: 7th May 2009, 04:30
  3. Replies: 8
    Last Post: 3rd Mar 2009, 20:24
  4. Video Rendering
    By tapal in forum Authoring (DVD)
    Replies: 4
    Last Post: 23rd May 2008, 09:30
  5. Replies: 11
    Last Post: 6th Apr 2008, 03:47
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools