Hello
I want a way to make 2 minute preview video from a 45 minutes movie (Automatically)
Assume that I have a movie its duration around 43 min, I want to take 3 seconds splits every X times then merge those splits into one file to produce a 2 minute long video.
How could I do this? and with which programs/scripts?
It will be great too if I could do this to multiple files at once (batch)
Thanks in advance
+ Reply to Thread
Results 1 to 10 of 10
-
Last edited by master1024; 24th Jul 2016 at 07:17.
-
Thanks for your suggestion, I will appreciate a step by step guide, if you have time.
I am totally new to virtualdub and other scripting world.
The function you mentioned seems to do exactly what I am looking for. but what I should do after opening the video file with virtualdub? -
Now, I am stuck with this. I created this script file (.avs)
Code:AVISource("D:\My Files\05 Videos\Videotomakeapreview.mp4") SelectRangeEvery(clip, 3000, 120, 0)
Error during script execution at line 1, column 10:Variable 'AVISource' not found -
Source is an mp4 file?
Code:a=ffvideosource("C:\Users\Superuser\Desktop\Titanic.mp4") SelectRangeEvery(a, 100, 25, 0)
Code:# to keep the audio a=audiodub(ffvideosource("C:\Users\Superuser\Desktop\Titanic.mp4"), ffaudiosource("C:\Users\Superuser\Desktop\Titanic.mp4")) SelectRangeEvery(a, 100, 25, 0)
# and unzip the file ffms2.dll to the Avisynth/plugins folder.
# Haali splitter may also be required to be installed
# https://www.videohelp.com/tools/Haali-Media-Splitter -
-
You can use ffmpeg - there are at least 2(3 when fps conversion used) filters capable to do such thing - thumbnail seem to be best for such task, only one case is to create dynamic script where total length for movie can be used to create interval parameter for thumbnail...
https://ffmpeg.org/ffmpeg-filters.html#thumbnail -
-
This one works for me... feel free to modify (i use only key frames)
Code:@ffmpeg -y -hide_banner -loglevel 24 -color_range 2 -skip_frame nokey -i %1 -an -c:v libvpx-vp9 -b:v 64K -speed 0 -tile-columns 0 -frame-parallel 0 -auto-alt-ref 1 -lag-in-frames 25 -g 9999 -aq-mode 0 -vf "scale=256:-2:sws_flags=bicubic:sws_dither=none:in_range=1:out_range=1,format=pix_fmts=yuv420p,thumbnail=5,setpts=N/(15*TB)" -dash 0 "%~n1_.webm"
Similar Threads
-
VSDC video editor shows image on preview, but when I export the video
By elisape in forum Newbie / General discussionsReplies: 2Last Post: 20th Oct 2016, 03:51 -
Sony Movie Studio 13 - Black Preview Screen and Rendered Video
By kapparomeo in forum EditingReplies: 5Last Post: 15th Jul 2015, 21:29 -
[Vegas Movie Studio] The Preview is OK, but the Rendered Video isn't
By Brach_Movic in forum EditingReplies: 4Last Post: 11th Feb 2015, 17:25 -
video preview
By shawnmcm in forum Newbie / General discussionsReplies: 1Last Post: 30th Aug 2012, 22:56 -
avi/mp4 splitter with good precision and fast movie preview
By maradas in forum EditingReplies: 4Last Post: 6th Mar 2012, 19:04