Closed xu455255849 closed 3 months ago
const ffmpegCommand = ffmpeg(`video=${deviceName}`) .setFfmpegPath('D:/yunxi/ffmpeg.exe') /*.input('0') .inputFormat('avfoundation')*/ .inputOptions([ '-f dshow', '-r 30', // Frame rate '-video_size 1920x1080' // Video size ]) .outputOptions([ '-pix_fmt yuv420p' // Pixel format ]) .outputFormat('rawvideo') const ffmpegProcess = ffmpegCommand.pipe();
(note: if the problem only happens with some inputs, include a link to such an input file)
@xu455255849 I'm having the same problem. Did you manage to solve it?
Version information
Code to reproduce
(note: if the problem only happens with some inputs, include a link to such an input file)
Expected results
Observed results
Checklist