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 seenovideo
  • 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 seenovideo -f testVideos/ -t commands.txt 

Here, commands.txt has the string required.

  • If you want to directly supply the string instead
python -m seenovideo -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 Distribution

seenovideos-1.tar.gz (9.4 MB view details)

Uploaded Source

File details

Details for the file seenovideos-1.tar.gz.

File metadata

  • Download URL: seenovideos-1.tar.gz
  • Upload date:
  • Size: 9.4 MB
  • Tags: Source
  • 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.tar.gz
Algorithm Hash digest
SHA256 4ab57856abf7f9d9d9bd6468f7885cdec00c390b7a2d11d2d8e0aaf870499c8f
MD5 a32b2fc589476727d453d71f73d8c0c7
BLAKE2b-256 073d90312b0e17d025d38c33e1d6a801cce31e5242f1ace2a2717d8cd5160e13

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