Skip to content

A python script that takes a video file and attaches it to itself x no. of times essentially looping it.

Notifications You must be signed in to change notification settings

0-BlackSpectrum-0/Video-Looper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Video_Looper.py

A python script that takes a video file and attaches it to itself x no. of times essentially looping it.

  • Requirements:

    1. FFmpeg is needed install that here if you don't have it: https://ffmpeg.org/download.html
    2. Ensure ffmpeg and ffprobe are accessible via command line (ffmpeg -version to check)
  • Steps:

    1. Download/copy the python script, saving it in a dedicated folder is recommended.

    2. In that folder add the video file, naming the video file as video.mp4 is recommended.

    3. Open cmd/terminal in the folder and use:

      python Video_looper.py

    4. It'll ask you the number of time you'd like to loop, enter it.

    5. It'll show you size and the total time of the output video.

    6. Say Y if you accept and N if you don't.

    7. Now let it process.

    8. Once done your folder will have now output_video.mp4.

Note: Size displayed is the estimated size of the output file, actual file size may be different (mostly less than the estimated value), due to ffmpeg compressing the final output video file.

About

A python script that takes a video file and attaches it to itself x no. of times essentially looping it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages