VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Hi guys , I have like 100 clips in MP4 and I'd like to cut from all of them first 30 seconds or so and I know that there are a lot of tools out there but all of them that I've tried are for do it 1 by 1 and what I'd like to do is to do it in "batch mode " to do something like config files that I want and press "enter" . Do you know any tool that can do that? Would be need to recode the videos?

    Thanks for your help
    Last edited by darkyei; 10th Jul 2013 at 12:00. Reason: add more details
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    You can use ffmpeg with a batch file.

    ffmpeg cut example:
    http://stackoverflow.com/questions/15629490/how-to-cut-part-of-mp4-video-using-ffmpeg-...losing-quality

    and then you make a batch file for it
    https://forum.videohelp.com/threads/356314-How-to-batch-convert-multiplex-any-files-with-ffmpeg


    I'm not sure you will find any easier method with a gui/frontend.
    Quote Quote  
  3. Thanks for answer , what I've tried is this :
    for %%a in ("*.mp4") do ffmpeg -i "%%a" -t 21 -acodec copy -vcodec copy "newfiles\%%~na.mp4"
    But result is that I get the first 21 seconds of the video and what I want is to delete that part and get the other part.

    Thanks again!

    Edit: Fixed!

    for %%a in ("*.mp4") do ffmpeg -i "%%a" -ss 20 -acodec copy -vcodec copy "newfiles\%%~na.mp4"
    Last edited by darkyei; 11th Jul 2013 at 10:39.
    Quote Quote  
  4. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Great! And thanks for posting your working ffmpeg command.
    Quote Quote  
  5. Originally Posted by Baldrick View Post
    Great! And thanks for posting your working ffmpeg command.
    You are welcome (I think you can close this thread) .
    Quote Quote  



Similar Threads