Hello, I have a problem
I have like 1500 video files, in mpeg format
I need to trim 2 minute fragments from very fist second of each video and save the files with same names in mpeg format
How can I do that ? Is there any solution?
+ Reply to Thread
Results 1 to 4 of 4
-
-
Try mencoder,
Code:mencoder -ss 00:02:00 -ovc copy -oac copy source.mpg -o result.mpg
and then if that works make a .bat file in the folder with all mpgs run it like
Code:FOR %%F IN ("*.mpg") DO mencoder -ss 00:02:00 -ovc copy -oac copy %%F -o new-%%F
see also https://forum.videohelp.com/topic346473.html
edit: I see that you are in mac so the bat file wont work but there should be some similar methods for it also. -
Originally Posted by Baldrick
This is the final code for .bat file:
Code:FOR %%F IN ("*.mpg") DO mencoder -ovc copy -oac copy -of mpeg -endpos 00:02:00 %%F -o done/%%F -mpegopts tsaf:vbitrate=5800:muxrate=7500 -noskip -mc 0
-
Great! And thanks for posting the final working solution.
Similar Threads
-
Split/Trim/Join MOV files (works great with Canon SX130's files)
By truchopol in forum EditingReplies: 3Last Post: 27th Jul 2012, 10:35 -
Need one app to trim, crop, menu, chapter and author to DVD... in batch!
By bhershey in forum Authoring (DVD)Replies: 4Last Post: 24th Mar 2011, 12:06 -
Batch trim a .MOV?
By romfre in forum Newbie / General discussionsReplies: 2Last Post: 20th May 2010, 06:21 -
suggestion for batch trim of AVI files under Windows please
By rjalex in forum EditingReplies: 0Last Post: 29th Jun 2009, 04:25 -
App to trim .flv files?
By brassplyer in forum Video Streaming DownloadingReplies: 1Last Post: 13th May 2008, 01:33