fluent-ffmpeg / node-fluent-ffmpeg

A fluent API to FFMPEG (http://www.ffmpeg.org)
MIT License
7.85k stars 874 forks source link

ffmpeg takeScreenshots failing when output dir has some types of characters #1126

Open FabioNevesRezende opened 3 years ago

FabioNevesRezende commented 3 years ago

Version information

Code to reproduce

fileNane='%#%&#_*%&#%#+#/  * _#*_/('
tempDir='otherdir/%#%&#_*%&#%#+#/  * _#*_/(/'
     await ffmpeg(fileName).takeScreenshots({
                            count: 1,
                            timemarks: [ '5' ] 
                        }, tempDir).on('end', async (err) => {
if(err) ... //code doesn't even start to run this onEnd function
})

(note: if the problem only happens with some inputs, include a link to such an input file)

Expected results

a tn.png inside tempDir directory

Observed results

In debug console of vsstudio only shows "Process exited with code 1" with no stacktrace

Checklist