[FFmpeg-user] FFmpeg / dshow Windows 11 bug

Gabriel Balaich roderrooder at gmail.com
Fri Jul 2 01:15:34 EEST 2021


>
> When I go to record any capture card using FFmpeg with dshow, whether I'm
> encoding with Nvenc or h264, Windows Explorer crashes perpetually:
> https://www.youtube.com/watch?v=BWqpUaMIFtc
>
I've further narrowed this down to encoding an *audio *source with dshow in
FFmpeg, for example:
 ffmpeg -y `
-guess_layout_max 0 -thread_queue_size 9999 -indexmem 9999 -f dshow
-rtbufsize 2147.48M `
-i audio="Microphone Array (Realtek Audio)" `
-map 0 -c:a aac -ac 2 -ar 44100 -b:a 320k -max_muxing_queue_size 9999 `
"C:\Users\$env:UserName\Videos\audio_test.wav"

When I do encodes with only video, or if I transcode an existing audio file
I have no problems:
ffmpeg -y `
-i "C:\Users\$env:UserName\Music\test.mp3" `
-map 0 -c:a aac -ac 2 -ar 44100 -b:a 320k `
"C:\Users\$env:UserName\Music\test.wav"

 I've now additionally tested this on an Intel (i7-8650U) based laptop and
got the same results, so it does not appear to be at all tied to the
chipset. Summary - encoding live audio via FFmpeg with dshow perpetually
crashes Explorer in the Windows 11 dev preview.


More information about the ffmpeg-user mailing list