-
Notifications
You must be signed in to change notification settings - Fork 69
concat & mutli-output #30
Comments
So I made the changes to job.js for those who want to know how to do concat.
and spawn:
send the string "concat" as the input file, then in your "encoder_options" format your options as specified in the ffmpeg documentation for concat. |
Hi Scott, glad you got it working with the concat filter. I'm going to refer to what I just wrote at #31 as well (check it out if you will): Codem was initially built with the one file in, one file out philosophy. That doesn't seem always viable anymore, so we are considering other options, but we don't have any short-term plans to implement these features. We need to rewrite a considerable amount of code to support these features properly. |
Thanks for responding, after looking at your code I would agree that in conjunction with the scheduler it would indeed take a lot of code refactoring. The standard tee is a much different animal than the HLS outputs mentioned in issue #31. Since the transcoder js code alone could be easily refactored to allow for multiple predictable outputs by simply implementing an output array+loop in a few places, I am going to work on it a little bit. The scheduler however... ruby is new to me. like since last week.. To get around it I will implement a similar 'hack' if you will, in the filters or directly with json for the output in the jobs table until my project settles down and I will start to learn ruby properly. Nice work btw. even with the tweaks, this project is saving me from re-inventing the wheel. |
I agree. We were going to build out an internal solution from scratch. This Julian Bankston On Thu, Jul 24, 2014 at 9:34 AM, Scott Freeman notifications@github.com
|
I want to be able to use the concat feature of ffmpeg with the transcoder using a txt list of files. is there any way to simply override the -i and in the transcoder? I am pretty new to this projects code and I am sure I can figure out how to override by catching an input file name of concat and removing the -i. I just need a little guidance to know where things are happening in the code..
https://trac.ffmpeg.org/wiki/How%20to%20concatenate%20%28join,%20merge%29%20media%20files
Another feature that would be nice it to be able to leverage the capability of ffmpeg to generate multiple outputs from a singe input.
https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs
The text was updated successfully, but these errors were encountered: