phw / peek

Simple animated GIF screen recorder with an easy to use interface
GNU General Public License v3.0
10.15k stars 318 forks source link

Fix sound recording setting #1245

Closed bgpat closed 5 months ago

bgpat commented 9 months ago

Fixes https://github.com/phw/peek/issues/1061

The output file included an audio stream even when the sound recording setting was unchecked from the UI. The root cause was overlooking the UI-config linkage in #686.

With this change, I've ensured the file only includes the video stream. To validate the absence of an audio stream, you can use the following command:

$ ffmpeg -i 'Peek 2023-09-11 01-21.webm' -hide_banner 2>&1 | grep Audio; echo $?
1
phw commented 5 months ago

Thanks