VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. I'd like to use an image-editor to batch process all frames in a 3-minute MTS video.

    I used KMplayer to extract the frames, which produced about 1000 frame images in BMP format.

    Following advice obtained from my first post here:
    https://forum.videohelp.com/threads/402220-Getting-an-accurate-frame-count-for-whole-v...eo#post2624011

    ffprobe and avisynth were used to count frames in the video. Each counted about 5000 frames.

    Can anyone explain why KMplayer only captures 20% of the frames?

    Is there a way to extract all 5000 frames using something other than KMplayer?
    Quote Quote  
  2. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Try Virtualdub2 file/export/image sequence
    Quote Quote  
  3. Try something like:
    Code:
    ffmpeg -i inupt.mp4 pic%%05d.png
    Quote Quote  
  4. ffmpeg did the job perfectly. Thanks for the advice.
    Quote Quote  
  5. If the MTS is "HD", you probably want to use bt709 for the RGB conversion for the images. By default ffmpeg uses bt601 (the matrix used for SD by convention), and the colors will be slightly shifted

    Code:
    ffmpeg -i input.mts -vf scale=in_color_matrix=bt709,format=rgb24 output%05d.png
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!