Pasupuleti Rudrama Naidu

Results 3 comments of Pasupuleti Rudrama Naidu

Not able to download a youtube video as it is showing that video file is not supported by the files

Thanks @phyzical How to ffmpeg a video Error during extraction: Error: ffmpeg exited with code 1: pipe:1: Invalid argument ffmpeg(fs.createReadStream('video.mp4')) .setStartTime(0) .setDuration(15) .output(fs.createWriteStream('outputPath.mp4')) .on('end', () => { console.log('Segment extraction finished');...

Able to solve it on my own here is the corrected code: ffmpeg('video.mp4') .setStartTime(0) .setDuration(15) .output(outputPath.mp4') .on('end', () => { console.log('Segment extraction finished'); }) .on('error', (err) => { console.error('Error during...