

Why would you use "myEPd1" in each of the five files? I've stated 4 times, the section I want to copy is unique in each episode, yet, here you have named all the files the same changing only the episode number.

playa.shįfmpeg -i -c copy -map 0:v -map 0:m:language:eng įfmpeg -i -c copy -map 0:v -map 0:m:language:eng įfmpeg -i -c copy -map 0:v -map 0:m:language:eng įfmpeg -i -c copy -map 0:v -map 0:m:language:eng įfmpeg -i -c copy -map 0:v -map 0:m:language:eng įor some reason you refuse to put a unique portion into the file names.


Here's the result of running the script: $. Here's what I have in my directory: $ ls -1 * It's a bit ugly - but good as a test harness. output like in your example (although your command line ffmpeg wasn't doing that).Ok, here it's - had problems with globbing of file names and changing the extension. If you want multiple outputs, you can add more. You can add multiple input or output options in one line using an array of options, the fluent ffmpeg github will also point you to some javascript code that works as shortcuts for some of these commands, although I still find it easier to use command line syntax. outputOptions()īasically, anything before -i is considered an input option, and anything between the input and output file is considered an output option. / encoding is complete, so callback or move on at this point / do stuff with progress data if you want Try this: var ffmpeg = require('fluent-ffmpeg') You've probably figured this out by now, but I'll answer anyway.
