Hi I have hundreds and hundreds of video files from TV series with intro's and outro's. I want to cut these off and it will take me days to cut one file at a time. Is there a program that allows me to say cut 2 mins lots of video files at once?
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 12 of 12
			
		- 
	
- 
	FFmpeg will recompress them, use avidemux if you dont want to recompress (loose quality) 
 
 http://www.howtogeek.com/howto/42107/how-to-quickly-cut-a-clip-from-a-video-file-with-avidemux/I love it when a plan comes together!
- 
	mkvmerge can be used also, splitting feature can be used, 
 put this BAT into directory where videos are
 you use cut_off_intro function to cut off intro, or you can call :cut_off_intro_and_outro function if video feature has always the same lengthCode:@echo off SET mkv_path=C:\My Programs\MeGUI\tools\mkvmerge\mkvmerge.exe SET destination_folder=E:\cut_off_videos SET renaming_indicator= SET intro_length=00:02:00 rem feature_video_finish = intro length + video feature length SET feature_video_finish=00:47:00 if not exist "%destination_folder%" ( MD "%destination_folder%" ) for %%a in ("*.mp4","*.mkv") DO ( call :cut_off_intro "%%a" ) echo done pause exit :cut_off_intro rem %%a becomes %1 after calling this function "%mkv_path%" -o "%destination_folder%\%~n1.mkv" "--no-global-tags" "--split" "timecodes:%intro_length%" "%~n1%~x1" rem deleting intro video part DEL /Q "%destination_folder%\%~n1-001.mkv REN "%destination_folder%\%~n1-002.mkv" "%~n1%renaming_indicator%.mkv" goto :eof :cut_off_intro_and_outro "%mkv_path%" -o "%destination_folder%\%~n1.mkv" "--no-global-tags" "--split" "timecodes:%intro_length%,%feature_video_finish%" "%~n1%~x1" DEL /Q "%destination_folder%\%~n1-001.mkv DEL /Q "%destination_folder%\%~n1-003.mkv REN "%destination_folder%\%~n1-002.mkv" "%~n1%renaming_indicator%.mkv" goto :eofLast edited by _Al_; 29th Jun 2014 at 12:10. 
- 
	This script seems to work: Assuming your clip is exactly 20 min long and you want to cut out the first and last 2 min: 
 
 for %%a in ("*.mp4") do ffmpeg -i %%a -ss 2:00 -t 16:00 -c:v copy -c:a copy -y output.mkvGot my retirement plans all set. Looks like I only have to work another 5 years after I die........
- 
	I love it when a plan comes together!
- 
	It may very well default to nearest keyframe, I don't know. This is something I have zero interest in, I only suggested it because I thought the OP only wanted to save the first couple of minutes of all videos for whatever reason. ffmpeg can trim anything, even hevc. 
 
 If and when I want to trim mp4's, I use MpegStreamClip. Those are very rare occasions anyway..........Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
- 
	Thanks Racer, i digged a bit further .... 
 
 Originally Posted by mark4oI love it when a plan comes together!


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote 
			
 
			