russelltg / wl-screenrec

High performance wlroots screen recording, featuring hardware encoding
Apache License 2.0
266 stars 10 forks source link

choose audio encoding settings #71

Open SArpnt opened 1 month ago

SArpnt commented 1 month ago

with ffmpeg -i i can see the audio format used in recordings is vorbis, which i assume is just the default that ffmpeg uses. i'd prefer it if i could record with libopus at a custom bitrate, or sometimes flac.

russelltg commented 1 month ago

I recently added --audio-codec (set codec, let ffmpeg decide encoder) and --ffmpeg-audio-encoder (hardcode which encoder to use) flags in main. Agree that a --audio-bitrate flag would be a good addition still.