Closed matteos closed 10 years ago
Normalization should just be removed, it is useless. Le 9 mai 2014 17:29, "Matteo" notifications@github.com a écrit :
FFmpeg can be used to push a stream towards remote servers or clients using different protocols. However, the current codebase prevents such outputs, because the normalization applied to the target string breaks protocol identifiers.
this.options.outputfile = path.normalize(target);
My suggestion is to implement a new method, "saveToStream" for example, and move the normalization check to the "saveToFile" method.
FfmpegCommand.prototype.saveToStream = function(targetstream, callback) { this._process(targetstream); };
and
FfmpegCommand.prototype.saveToFile = function(targetfile, callback) { this._process(path.normalize(targetfile)); };
— Reply to this email directly or view it on GitHubhttps://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/245 .
Also, this will be fully supported in 2.x
Note to self: write tests for this feature.
Works in 2.x
Works in 2.x
So can you please explain how?
FFmpeg can be used to push a stream towards remote servers or clients using different protocols. However, the current codebase prevents such outputs, because the normalization applied to the target string breaks protocol identifiers.
My suggestion is to implement a new method, "saveToStream" for example, and move the normalization check to the "saveToFile" method.
and