This is a linux Shell script to merge multiple videos files stored in a directory into a single video using ffmpeg. Instructions to run- when running the shell script, send the first arguments as follows- 1st argument- path to the directory containing the videos 2nd argument - the name you want to give the output file along with the format of video example- sh vdo2.sh /home/chhavi/vdos result.avi
Note: 1.While executing, do not open the terminal at the location of the directory containing the files as an intermediate text document is created in the present directory which reads the directory containing videos 2. The directory containing the videos should have only have the video files which needs to be merged