madebyhiro / codem-transcode

Offline video transcoder written in node.js
Other
153 stars 68 forks source link

Using Concatenation command #28

Closed vishnuprasad9633 closed 10 years ago

vishnuprasad9633 commented 10 years ago

Hi, How can i assign a job to concatenate 3 files using ffmpeg via codem transcode? is it possible?

Here is the code that i want to assign as a job !

ffmpeg -i "concat:/home/cinesoft/input/Films/Aanavaal mothiram/VIDEO_TS/VTS_01_1.VOB|/home/cinesoft/input/Films/Aanavaal mothiram/VIDEO_TS/VTS_01_2.VOB|/home/cinesoft/input/Films/Aanavaal mothiram/VIDEO_TS/VTS_01_3.VOB" -f mpeg -c copy /home/cinesoft/input/aanaval.VOB

Helps would be appreciated.

tieleman commented 10 years ago

The concat protocol is not supported for input files, only real files. However, you might have some luck using the concat demuxer as described here (creating a text file containing the input files and use that as an input file):

http://trac.ffmpeg.org/wiki/How%20to%20concatenate%20(join%2C%20merge)%20media%20files#demuxer

I have not tried this though, it is not a use-case we currently support.