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 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.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: seenovideos-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 8.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a5fb013ca7db5666dc271e35129a9cd05c7ac8ed7f3e9d0c8a00c25a6d295161
MD5 8b8c1b48eedf4947d01f65b094cce16e
BLAKE2b-256 92b077015dceb3c1e52729a6c481c984e81564f0d79161bb3578c9425cbb32a5

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