moviemasher.rb | Ruby library for mashing up video , images and audio | Video Utils library
kandi X-RAY | moviemasher.rb Summary
kandi X-RAY | moviemasher.rb Summary
The project aims to simplify common audio/video editing operations by turning your job into a series of shell commands, and then overseeing their execution. As part of job processing, media inputs can be downloaded from remote hosts and rendered outputs can be uploaded as well. Using the same request mechanisms, external systems can be alerted by callbacks triggered when a job is started, during its processing and/or when it's completed. In addition to the raw media assets (video, audio and images), jobs can contain mash inputs that describe more complex compositing, titling and other effects. The related moviemasher.js project can be used to generate and display JSON formatted mash descriptions within a web browser, and angular-moviemasher can be used to package these into job descriptions. Jobs are provided to the system for processing in different ways, depending on how it's been configured and deployed. At the lowest level, the MovieMasher.process method is sent a job as a hash, a JSON/YAML formatted string or a local path to one. The MovieMasher.process_queues method calls it with any jobs it finds while scanning a preconfigured watch folder or queue. This scanning can be done for a certain number of seconds, until no jobs are found, just once or forever. There are rake tasks for each of these methods, to simplify calling from shell scripts, cron jobs and other tasks.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Prints a string representation of the scope
- Create callback method
- This function returns the value of a command name .
- Creates a new array of dimensions .
- = begin Function to initialize the configs . yml
- Processes the given error and returns a success message .
- Execute command
- Initializes the chain
- Truncate a range
- Run the graph command
moviemasher.rb Key Features
moviemasher.rb Examples and Code Snippets
{
"inputs": [{ "source": "/path/to/local.png", "type": "image" }],
"outputs": [{ "type": "image", "name": "smaller.png", "dimensions": "1536x864" }],
"destination": { "type": "file", "path": "/path/to", "method": "move" }
}
Community Discussions
Trending Discussions on moviemasher.rb
QUESTION
I follow the page Create a mosaic out of several input videos to merge videos. When I use http://*.flv video as input, it works fine.
But when I use rtmp://** as video input. Such as:
...ANSWER
Answered 2018-Apr-03 at 11:51You're reading the same network input 4 times. At the time the filtering starts, ffmpeg hasn't detected a video stream in at least one of the inputs.
I'm assuming that you ultimately wish to use four different inputs. If so, add -analyzeduration 20M -probesize 10M
before each input. Increase the values till the error disappears.
QUESTION
I follow the page Create a mosaic out of several input videos to merge videos. But,I got poor video quality. How can I get the video same as the original.
...ANSWER
Answered 2018-Apr-03 at 08:49Since you're outputting to FLV and haven't specified an encoder, ffmpeg is selecting flv1
. By default, it will use a target bitrate of 200 kbps.
So, you can set a quality scale target, e.g.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install moviemasher.rb
Review Dockerfile for commands that work on the ruby image
Install av libraries for supported formats and codecs
Install sox, ecasound and ffmpeg applications (in that order)
Install ruby and bundler gem
To install required gems cd to project directory and execute: bundle install
Edit config/config.yml configuration file to match paths on system and configure logging/debugging options
To scan watch folder and/or queue for jobs cd to project directory and execute: rake moviemasher:process_queues
optionally add crontab entry from config/aws/moviemasher.cron, after checking its binary paths
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page