Generate Stripe previews for a video.

Granottier Redemptor.M eeca1bddb2 Added Text Wrapping for long title, and Dynamic Spacing for the Wrapped title hai 7 meses
README.md f780364c53 Test READme edit hai 9 meses
video_strip_preview.sh eeca1bddb2 Added Text Wrapping for long title, and Dynamic Spacing for the Wrapped title hai 7 meses

README.md

Hello World.

Video Stripe Preview Generator

This is a Script that uses ffmpeg to generate a stripe preview of a given video.

Usage

video_strip_preview.sh [ -Flag "Input" ]...

  • First Argument is the path to the shell script file
  • Second argument is the Flag
  • Third Argument is the Input for the Flag


Flag, Input, and Description Table

This table will show possible flags and Inputs

Flag Input Description
-h
--help
[N/A] This Flag will print out the useful info about this script
-sr
--safe_run
[N/A] This flag will Quit the Script right before FFmpeg command (-dr -el -ew wont work with this)
-dr
--dry_run
[N/A] This flag will Run the FFmpeg but outputs no data "-f null /dev/null"
-el
--error_log
[N/A] This Flag will make ffmpeg log everything to stderr
-ew
--error_write
[N/A] This Flag will write FFmpegs stderr to ffmpeg_error.log in Current Working Directory
-q
--quiet
[N/A] This Flag will print out the useful info about this script
-vf
--video_file
Input File [**] This flag will take <String> Input of the Video File location
-l
--lenght
Final Preview Width [~] This flag will take <Integer> Input of the approximate width in pixels of the final preview image
-b
--border
Border Size [~] This flag will take <Integer> Input of border size in pixels of the final tiled preview
-p
--padding
Padding Size [~] This flag will take <Integer> Input of padding size in pixels of the final tiled preview
-c
--column
No of Columns [~] This flag will take <Integer> Input of number of columns of tiles in the final preview Minimum Value = 1
-r
--row
No of Rows [~] This flag will take <Integer> Input of number of rows of tiles in the final preview Minimum Value = 1

[N/A]: This Flag requires no Input.

[**]: This Flag requires a mandatory Input.

[~]: This Flag is Optional.

[!IMPORTANT] If Name has [Space], then wrap it in Double Quotes -> "Name"


Requirements

Requiremets

I don’t know what packages you'll need to use the following tools, i.e I'll just list the tools, and you make sure to get it before running the script.

  • bash
  • printf
  • echo
  • test
  • expr
  • ffmpeg
  • ffprobe
  • exit
  • shift
  • basename
  • grep
  • sed
  • tail
  • tr
  • eval
  • pwd
  • readlink

[!NOTE] Probably the Only additional package you'll need is FFmpeg, but better be safe that sorry