VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. I watch lots of TV shows and some times, i need to capture specific scenes so i can play them back whenever. I know of course that this can easily be done in vdub, where you set start and end frames and then save the file direct stream copy. But when dealing with batch files and lots of scenes, this just doesnt help.

    Supposing i know start and end times (or frames) and the spcific video's filename. How can i create a batchfile so that theis gets done with one click?
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Maybe with ffmpeg and .bat file that you put in the same file as the video files

    Example:
    Code:
    ffmpeg -i input.avi -acodec copy -vcodec copy -ss 00:00:10:00 -t 00:00:30:00 output.avi
    ffmpeg -i input2.avi -acodec copy -vcodec copy -ss 00:00:15:00 -t 00:00:30:00 output2.avi
    -ss = start
    -t = duration

    If you are cutting exact same in all you could use a for loop.
    Quote Quote  
  3. So all i need is the latest ffmpeg executable on the folder where the batch is, and then it will extracted the selected parts without any reencoding? This sounds convenient.
    Quote Quote  
  4. Instead of duration could i set end point? Also is it also possible for this to be done in frames as well?

    And can i use this script for mkv h264 files?
    Quote Quote  



Similar Threads

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