This repository was archived by the owner on May 22, 2025. It is now read-only.

Description
Trying to transcode using the following setup
var command = ffmpeg(this.options.url, { timeout: 24*60*60 })
.videoCodec('libx264')
.audioBitrate('128k')
.audioCodec('libfaac')
.outputOptions([
'-profile:v', 'high',
'-strict', '-2',
'-threads', '0'
])
.fps(25)
.format('mp4')
.on('start', function(data) {
console.log('\nffmpeg:start', data);
})
.on('codecData', function(data) {
console.log('\nffmpeg:codecData', data);
})
.on('progress', function(data) {
console.log('\nffmpeg:progress', data);
})
.on('error', function(err, stdout, stderr) {
console.log('\nffmpeg:error', err);
console.log('\nffmpeg:stdout', stdout);
console.log('\nffmpeg:stderr', stderr);
})
.on('end', function() {
console.log('ffmpeg:end');
self.emit('finished');
})
.pipe(out, { end: true });
Where this.options.url is an online avi file. Using .save('./output.mp4'); works fine instead of .pipe(out, { end: true });
When using the pipe output it gives me
muxer does not support non seekable output