FREE Downloads

FLV Video Player

Animated GIF Maker

Text-To-Speech Reader

 

 

Splitting Video Frames

Technically, the Frame Recorder does not split frames from a video, it captures snapshots of the video as it plays. The Frame Recorder also can't capture frames from a DVD. But here's a method for turning your PC DVD player into a frame splitting application.

Most DVD players can step through a video 1 frame at a time and allow you to copy a frame to the Windows clipboard. If you had the patience you could split up an entire video this way by copying the clipboard images to an image editing application, then saving the images to the HD.  The obvious drawback to this method is that it's time-consuming, but only if done manually.

The solution is to program Windows to do the work for you.  If you have a Windows Control Language application such as Hotkeys Macros installed on your PC, you can coordinate the frame splitting process with a few programmed keystrokes and mouse clicks.

Step 1: Load a DVD into your DVD Player and Pause it at the starting point of the video.

Step 2: Open your favorite image editor (even MS Paint will do).

Step 3: Create a Hotkeys Macro that advances the DVD Player by a single frame, copies the image to the clipboard, pastes it into the image editor, then saves the file to the HD. Place this procedure inside a loop representing the total number of frames to split.

Step 4: Use the Import Frames option in the Frame Recorder if the files require renaming to the 0001.ext format

The Hotkeys Macros application provides a sample program that can be applied to the PowerDVD Player and MS Paint. Open both applications and pause the DVD at the starting point of the split. You will need to re-define the mouse click positions for the following:

  • PowerDVD Control form

  • PowerDVD Capture icon

  • MS Paint form

The mouse clicks function to place the focus on either application when applying the keystrokes. You must ensure that Paint is saving the files to the target folder. Here is the Hotkeys Macro code to split a DVD video:

# split 200 frames from a DVD using PowerDVD & Paint
[LOOP X=1-200]
  # create the output file name in 0001.ext format
 
[N=STR(X)]
  [IF X<10]
    [F="000"&N&".BMP"&"~"]
  [ELSE]
    [IF X<100]
      [F="00"&N&".BMP"&"~"]
    [ELSE]
      [IF X<1000]
        [F="0"&N&".BMP"&"~"]
      [ELSE]
        [F=N&".BMP"&"~"]
      [ENDIF]
    [ENDIF]
  [ENDIF]
  # Click on the PowerDVD control
  [LEFTDOWN 26 635]
  [LEFTUP 26 635]
  # Advance 1 frame
  [SENDKEYS "T"]
  # Click on the Capture button
  [WAIT .5]
  [LEFTDOWN 75 702]
  [LEFTUP 75 702]
  # Click on Paint
 
[WAIT .5]
  [LEFTDOWN 48 75]
  [LEFTUP 48 75]
  # Paste the image and save as F
  [SENDKEYS "^v"]
  [SENDKEYS "%"]
  [SENDKEYS "{DOWN}a"]
  [WAIT 1.5]
  [SENDKEYS F]
[ENDLOOP]

  • Before you run the Hotkeys Macro code, ensure that the PowerDVD Control and MS Paint are both visible so that mouse clicks can access them

  • You must also make sure that MS Paint is saving the output files to the intended destination folder (save the 1st frame manually)

  • You can change the file type from BMP to JPG or GIF

The X/Y screen locations for the LEFTDOWN and LEFTUP mouse commands must be defined so that they click on the PowerDVD Control and MS Paint. The previous code example uses the following screen positions:

 

This method is slower than an actual frame splitting application, but it takes advantage of the DVD player's video processor to automatically de-interlace and enhance the images. The images also do not suffer a loss in quality from converting to and from a Flash Video format.

 

Back

 

 

   

Steps to Splitting DVD Video Frames

  1. Load a DVD into the DVD Player and Pause at the starting point

  2. Open your favorite image editor and place it and the DVD player into position to receive programmed mouse click events.

  3. Create a Hotkeys Macro to send mouse clicks and keystrokes to both applications.

  4. Run the macro and split the frames

  5. Open the frames in the Frame Player

  6. Stabilize/Add enhancements