Comments (6)
Hi, glad you find it useful!
As for monitoring a folder, you would have to write a script yourself to watch a folder for any changes and then create a job for each new file. Then, after the job has completed you can remove the source file. Codem does not provide this functionality by itself, most people want to integrate it in their own workflow where they already have other processes taking care of ingest and/or delivery.
For example, both Ruby and NodeJS provide easy ways to hook into filesystem events so you get notified if anything changes. For Ruby, check out the "listen" gem (https://github.com/guard/listen), for NodeJS, check out fs.watch
(http://nodejs.org/api/fs.html#fs_fs_watch_filename_options_listener).
from codem-transcode.
Ok, thanks.
Some other thing: I need to execute a filter-complex action with ffmopeg, which requires 2 files as inputs (.mov and .png). How could I do that with transcodem ?
thanks again
from codem-transcode.
It might, but depends on the kind of command you are using. Can you post the ffmpeg command? I presume you mean to use it as some kind of watermark/overlay?
from codem-transcode.
Sure:
ffmpeg -i input.mp4 -i my-overlay.png -filter_complex '[0:v][1]overlay=0:0[outv]' -map [outv] -map 0:a -c:a aac -ab 192k -vcodec libx264 -vb 9000k -strict experimental $file.mp4
from codem-transcode.
I did try a curl command with that, ffmpeg completed the job but the overaly was not apllied: I used:
curl -d '{"source_file": "myfile.mp4","destination_file":"myout.mp4","encoder_options": "-i my-overlay.png -filter_complex '[0:v][1]overlay=0:0[outv]' -map [outv] -map 0:a -c:a aac -ab 192k -vcodec libx264 -vb 9000k -strict experimental"}' http://localhost:8080/job
I do have another two question about the codem-schedule:
1 - When i call jobs from curl, like these one above, it does not show it in the dashboard.
2 - I do create a new job though the we browser and it shows as "scheduled" in the dashboadr bit it never starts.. how do i trigger it ? Already have a working host in it. Is there other documentaion about the schedule ?
many thanks in advance
from codem-transcode.
Hi again..
I did suceed with all 3 tasks..
For the overlay, using the preset without quotes did the trick: -i /media/dados/md.png -filter_complex [0:v][1]overlay=0:0[outv] -map [outv] -map 0:a -acodec libfaac -ab 192k -vcodec libx264 -vb 9000k
for 1: using the codem script documented here I could achieve! http://transcodem.com/documentation/codem.html
for 2 : I did realize how to trigger actions and updates with the curl command in cron ;)
from codem-transcode.
Related Issues (20)
- Is it possible to generate multiple bit-rate as well as corresponding master m3u8 in a single job? HOT 8
- Idea: Incorporate provision for AWS Lambda HOT 2
- node-sqlite3 is throwing error, does it affect Transcodem? HOT 1
- Database configuration using port isn't working HOT 2
- /jobs/:id is MUCH slower than /jobs HOT 5
- Transcoder sometimes doesn't clear jobs from memory correctly
- Transcoding file streams HOT 1
- External mysql2 connection HOT 4
- Init script with codem-transcode and CentOS 7 not working HOT 7
- How to add file input name in the email report
- changing sqlite3 to mysql HOT 1
- Install depends on old packages and non-existing too HOT 3
- PID file
- -ss and or -t should be before -i HOT 2
- ffmpeg stderr buffer size HOT 1
- Generate SPRITE image for thumbnail HOT 7
- Object storage integration HOT 6
- v.1.0-alpha: job failed processing with bunyan usage error HOT 4
- cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
- hướng dẫn tạo video lên top google
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codem-transcode.