All Projects → jtguibas → Cinema

jtguibas / Cinema

Licence: mit
a lightweight video editing library for go (trimming, resizing, cropping, and more!)

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Cinema

video-audio-tools
To process/edit video and audio with Python+FFmpeg. [简单实用] 基于Python+FFmpeg的视频和音频的处理/剪辑。
Stars: ✭ 164 (-23%)
Mutual labels:  video-processing, video-editing
Optivideoeditor For Android
Native Video editor : Video trim, Audio, Video merge, Slow and fast motion, Text and image, etc...
Stars: ✭ 209 (-1.88%)
Mutual labels:  video-processing, video-editing
Implicit-Internal-Video-Inpainting
[ICCV 2021]: IIVI: Internal Video Inpainting by Implicit Long-range Propagation
Stars: ✭ 190 (-10.8%)
Mutual labels:  video-processing, video-editing
Transcoder
🎞 Hardware-accelerated video transcoding using Android MediaCodec APIs. Supports cropping, concatenation, clipping, audio processing, video speed and much more.
Stars: ✭ 404 (+89.67%)
Mutual labels:  video-processing, video-editing
Pyjumpcutterv2
carykh's but with improvements and a GUI!
Stars: ✭ 25 (-88.26%)
Mutual labels:  video-processing, video-editing
Metalvideoprocess
MetalVideoProcess is a High-Performance video effects processing framework. It's base on GPUImage3 Metal, support asynchronous and multithread processing.
Stars: ✭ 52 (-75.59%)
Mutual labels:  video-processing, video-editing
Auto Editor
Auto-Editor: Effort free video editing!
Stars: ✭ 382 (+79.34%)
Mutual labels:  video-processing, video-editing
Libopenshot
OpenShot Video Library (libopenshot) is a free, open-source project dedicated to delivering high quality video editing, animation, and playback solutions to the world. API currently supports C++, Python, and Ruby.
Stars: ✭ 601 (+182.16%)
Mutual labels:  video-processing, video-editing
Mp4composer Android
This library generate an Mp4 movie using Android MediaCodec API and apply filter, scale, trim, transcode, crop, timeScale, mute and rotate Mp4.
Stars: ✭ 674 (+216.43%)
Mutual labels:  video-processing, video-editing
Moviepy
Video editing with Python
Stars: ✭ 8,795 (+4029.11%)
Mutual labels:  video-processing, video-editing
Webmgenerator
UI and Automation to cut, filter and join high quality webms, mp4s or gifs.
Stars: ✭ 103 (-51.64%)
Mutual labels:  video-processing, video-editing
Anime4k
A High-Quality Real Time Upscaler for Anime Video
Stars: ✭ 14,083 (+6511.74%)
Mutual labels:  video-processing
Mediapipe
Cross-platform, customizable ML solutions for live and streaming media.
Stars: ✭ 15,338 (+7100.94%)
Mutual labels:  video-processing
Filestack Android
Official Android SDK for Filestack - API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
Stars: ✭ 140 (-34.27%)
Mutual labels:  video-processing
Abnormal event detection
Abnormal Event Detection in Videos using SpatioTemporal AutoEncoder
Stars: ✭ 139 (-34.74%)
Mutual labels:  video-processing
Iseebetter
iSeeBetter: Spatio-Temporal Video Super Resolution using Recurrent-Generative Back-Projection Networks | Python3 | PyTorch | GANs | CNNs | ResNets | RNNs | Published in Springer Journal of Computational Visual Media, September 2020, Tsinghua University Press
Stars: ✭ 202 (-5.16%)
Mutual labels:  video-processing
Rdvideoeditsdk For Ios
iOS Video Edit SDK; iOS Video Edit SDK: Video Cut, Video Join, Video Watermark, Video Subtitle, Video Rotate...
Stars: ✭ 182 (-14.55%)
Mutual labels:  video-editing
Vidgear
A High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features 🔥
Stars: ✭ 2,048 (+861.5%)
Mutual labels:  video-processing
Avdemo
Demo projects for iOS Audio & Video development.
Stars: ✭ 136 (-36.15%)
Mutual labels:  video-processing
Pubgis
Generate maps of your position throughout PUBG gameplay
Stars: ✭ 135 (-36.62%)
Mutual labels:  video-processing

cinema : a lightweight video editing library for Go

alt text

Overview GoDoc

cinema is a simple video editing library based on ffmpeg. It supports trimming, resizing, cropping and more. Use it to create videos directly or let it generate command lines that use ffmpeg for you.

Installation

You must have FFMPEG installed on your machine! Make sure ffmpeg and ffprobe are available from the command line on your machine. To install cinema run:

go get github.com/jtguibas/cinema

Example Usage

func main() {
	downloadTestVideo("example.mp4")

	video, err := cinema.Load("example.mp4")
	check(err)

	video.Trim(10*time.Second, 20*time.Second) // trim video from 10 to 20 seconds
	video.SetStart(1 * time.Second)            // trim first second of the video
	video.SetEnd(9 * time.Second)              // keep only up to 9 seconds
	video.SetSize(400, 300)                    // resize video to 400x300
	video.Crop(0, 0, 200, 200)                 // crop rectangle top-left (0,0) with size 200x200
	video.SetSize(400, 400)                    // resize cropped 200x200 video to a 400x400
	video.SetFPS(48)                           // set the output framerate to 48 frames per second
	video.Render("test_output.mov")            // note format conversion by file extension

	// you can also generate the command line instead of applying it directly
	fmt.Println("FFMPEG Command", video.CommandLine("test_output.mov"))
}

TODO

  • [ ] add concatenation support
  • [x] improve godoc documentation
  • [x] add cropping support
  • [ ] expand to audio
  • [ ] test ubuntu support
  • [x] implement fps support
  • [ ] implement bitrate support

Feel free to open pull requests!

Acknowledgments

  • Big thanks to gonutz for contributing to this project!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].