Skip to content

This program is made for people who like to fast-forward while watching a movie or a tv series.

Notifications You must be signed in to change notification settings

atulpatildbz/smart-speedup-moviesOrTvshows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Smart Fast Forward for Movies and TV shows

This program provides a way to convert any movie or tv show episode and fast forward it such that parts where noone speaks is sped up, and part where someone is speaking is not. This allows us to watch a movie quickly and without missing out any dialogues.

Some prerequisites needed:

  • ffmpeg: this is an open source video software to work with video/audio
  • pysrt: this python library is required to work with srt files
  • moviepy: python library for ffmpeg

Installation

ffmpeg Full installation guide: https://github.com/adaptlearning/adapt_authoring/wiki/Installing-FFmpeg

pysrt

$ pip install pysrt

moviepy

$ pip install moviepy

Usage

Run the following command to get help:

$ python splitspeedconcatV2.py --help
  -h, --help            show this help message and exit
  -i INPUT_FILE, --input_file INPUT_FILE
                        the video file you want modified
  -s SUBTITLE_FILE, --subtitle_file SUBTITLE_FILE
                        the subtitle file to be process on
  -emkv EXTRACT_SUBS_MKV, --extract_subs_mkv EXTRACT_SUBS_MKV
                        extract subs from mkv
  -ds DIALOGUE_SPEED, --dialogue_speed DIALOGUE_SPEED
                        the speed when someone is speaking
  -ss SILENCE_SPEED, --silence_speed SILENCE_SPEED
                        the speed when there is silence
  -b BURN_SUBTITLES, --burn_subtitles BURN_SUBTITLES
                        the speed when theres silence
  --use_slower_split USE_SLOWER_SPLIT
                        use this option if the default split gives incorrect results
  --no_cleanup NO_CLEANUP
                        do not run cleanup after completion

About

This program is made for people who like to fast-forward while watching a movie or a tv series.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages