Lessica / TrollRecorder

(i18n/CLI) Not the first, but the best phone call recorder with TrollStore.
GNU Affero General Public License v3.0
1.62k stars 74 forks source link

Custom Naming and Encoding Flexibility Proposal #37

Closed SandiyosDev closed 6 months ago

SandiyosDev commented 6 months ago

Hey Lessica (彩華 from Cytus?), I freaking love this project. It's the best audio recorder I've seen so far, and I've been thinking about enabling power users to tinker with the recording settings.

I'm talking about more flexible options for naming recordings and tweaking encoding parameters directly using ffmpeg.

For the naming feature, I think it would be incredibly useful to incorporate regex or a similar pattern-matching system, so users could define their own naming conventions based on variables (date, time, caller ID, location, etc.). It would make organizing, categorizing, archiving, and locating recordings much easier down the line.

For the encoding part, it would be killer to have the ability to do custom encoder parameters. Here's an example of how I usually set up my voice recordings (this is for single channel only): ./ffmpeg (audio device) -ar 16000 -acodec libopus -ac 1 -frame_duration 60 -vbr on -b:a 24k -application voip -compression_level 6 "(target path)\audio_record_${currentDate}_${currentTime}_${Caller}.ogg", and these settings are VERY efficient while retaining great quality and are low on processing demands.

I'm totally willing to contribute and implement it in TrollRecorder, though I gotta admit, I'm a bit unfamiliar with the codebase. If you could help me figure this out with some boilerplates, similar to a merge I completed on Uptime Kuma.

What do you think?

Lakr233 commented 6 months ago

Out goal is trying to make phone recording simple and easy, which means we are unlikely to accept these kind of feature request. However, our app was built with flexibility. You can write your own daemon monitoring file changes inside the recording dir and apply changes directly into recording files. App will respond to these changes. Good luck.