ffmpeg(url) .output(tempPath) .outputOptions('-codec', 'copy') // Use the 'copy' codec…
- User
ffmpeg(url) .output(tempPath) .outputOptions('-codec', 'copy') // Use the 'copy' codec .outputOptions('-threads', '8')
also add -extension_picky 0
Assistant
Okay, you can add
-extension_picky 0using the sameoutputOptionsmethod.Here's how you'd modify your chain:
// Assuming 'ffmpeg' is an instance of fluent-ffmpeg // const ffmpeg = require('fluent-ffmpeg'); ffmpeg(url) .output(tempPath) .outputOptions('-codec', 'copy') // Use the 'copy' codec .outputOptions('-threads', '8') .outputOptions('-extension_picky', '0') // <<< Added this line // .on('end', function() { // console.log('Processing finished!'); // }) // .on('error', function(err) { // console.error('An error occurred: ' + err.message); // }) // .run(); // or .save(tempPath) if you prefer
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.