Skip to main content

Video editing in a text file

Project description

SeeNoVideo

  • A text based basic video editing program
  • Created in python + ffmpeg backend
  • Please do read this document for syntax and capbilites

Installation

  • pip install seenovideos
  • Grab all the required programs from the list [Requirements]

Features so far

  • Simple text based syntax : just write down what you want
  • Works for audio/video (Same syntax. Just change filenames)
  • Video stabilization
  • Add audio
  • Merge videos with individual settings
  • Remove audio or replace with another
  • Resize the video
  • Speed up/slow down audio and video

Syntax

  • Note: here testVideos is the folder where I have my video files (so I dont have to specify the full path)
  • Note: commands.txt is the name of the file where I can have my string instead of directly passing it.
  • The most basic way to run it is
python -m seenovideos -f testVideos/ -t commands.txt 

Here, commands.txt has the string required.

  • If you want to directly supply the string instead
python -m seenovideos -f testVideos/ -d -t "{name:venus.mp4,A:0,}+{name:grassTutorialNew.mp4,A:0,resize:128;128,}"
  • To specify an output file name if youre merging videos add -o "filename.mp4"

Supported options

  • example syntax: { name: file.mp4, resize: 128;128, }
  • stabilize:1 for video stabilization (this requires vidstab)
  • resize: size1,size2 for resizing
  • trim:00-01-00;00-5-10 format: hh:mm:ss; hh:mm,ss for start and end time of trimming the video
  • speedV: multiplier speed up video by a factor of the multipler (eg: 2)
  • speedA: multiplier speed up audio by a factor of the multipler (eg: 2)
  • Merge multiple videos by
{name:file1.mp4}+{name:grassTutorialNew.mp4}
    - Note that each of these videos can have their own arguments

Demos

  • Do check the demo.ipynb notebook
  • note that since the demos are in a notebook the function call is a bit different. For proper syntax check the above section

Requirements

  • Linux/MacOS/WSL
  • python of course
  • ffmpeg
  • vidstab for video stabilization

FAQ

  • WTF are you nuts? - You know what. I probably am. But basic video edit is too much work.
  • Why. - This is for basic video editing. Why bother getting a UI and everything when you can just write it in a text file and be done with it?

Contribution Guidelines

  • Can I contribute? YES
  • What do I need to do? First file an issue with a suggestion. Fork it. Code. Drop a PR
  • Suggestions? File a PR

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seenovideos-1.2.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file seenovideos-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: seenovideos-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for seenovideos-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 91b0681b5f05ec34719ed7fe061abdd3f85837f1737e3fa5ea59966e8602b8b6
MD5 56b1534eafcd1f2b4e2e17fc9df2ef36
BLAKE2b-256 0e84b39f4df11ce4ef422c8ef8fd37f4ee34c3ee73c4bb9ea0dd94f7a81a34bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page