Skip to content

Mirrors your video file, convert the output to a gif and repeats individually for the specified list of video files in the same folder.

Notifications You must be signed in to change notification settings

nemoninja/FFmpeg-mirror-video-and-convert-to-gif-batch-job

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

FFmpeg-mirror-video-and-convert-to-gif-batch-job

  1. Creates a reversed copy of your original file.
  2. Appends the reversed copy of the original to the video file.
  3. Converts the combined video file to a gif.
  4. Repeats this conversion for all video files in the folder using a batch file.

How it Works

convert.batch reads list.txt and parses every line containing <name>.<video type> to FFmpeg to do the listed conversions. The output would be the respective <name>.gif files.

Files will be converted to .mkv format before the conversion for a clearer and more consistent output. The .mkv files will be deleted after their conversion to .gif.

How to Use

  1. Move both files convert.batch and list.txt to an empty new folder.
  2. Move video files to the same folder.
  3. Replace the contents in list.txt with the names of the video files to convert.
  4. Open a cmd terminal in the folder.

cd <folder path>

  1. Run the convert.bat.

convert.bat

Prerequisites

Install FFmpeg and set its path variables. Check that FFmpeg is working by running the following in cmd terminal,

ffmpeg

About

Mirrors your video file, convert the output to a gif and repeats individually for the specified list of video files in the same folder.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published