[Feature Request]: Transcribe only segment(s) of an audio file
oleole39 opened this issue · 4 comments
Describe the feature
Hello,
When submitting an audio file for transcription, it will currently get transcribed from the beginning to the end (except if cancelled at some point).
If you need only part of the file to be transcribed, you can of course cut the file to the required segment priori to submitting it to Vibe, but it could prove convenient to be able define a segment from within Vibe, e.g. enter start time and end time as in ffmpeg -ss 00:22:10 -i file.mp3 -to 00:26:20 -c:a copy file_segment.mp3
so that it then starts transcription only for file_segment.mp3
.
An even nicer but more complex implementation could also show the spectrogram of the submitted audio file and allow to select on it one or several portions to be transcribed (as in Audacity for instance).
I created a draft PR, but I'm unsure how useful the time range feature is. I'm only adding what's essential to keep the app minimal. #330
Yes I understand. That draft PR looks good already!
You may be able to use the new custom ffmpeg command for that added in https://github.com/thewh1teagle/vibe/releases/tag/v2.6.7