Purfview / whisper-standalone-win

Whisper & Faster-Whisper standalone executables for those who don't want to bother with Python.
1.25k stars 63 forks source link

How to Have No Timestamps in Output Text File? #309

Closed Soeroah closed 1 week ago

Soeroah commented 1 week ago

Hi,

Using the normal fork of Whisper I'm able to have the notepad transcript output as just the words recorded, no timestamps. This is what I'd like to be able to do, but this version of Whisper doesn't seem to allow me to do that baseline.

What's the code I should use to make the output files not include the timestamps?

Thanks

wangfeng35 commented 1 week ago

--output_format text

Soeroah commented 1 week ago

--output_format text

I've tried this a few times but it keeps giving me a notepad file (which is what I want) with timestamps included (which I don't want)

The code I run is

C:\Users\David\Downloads\Faster-Whisper-XXL_r192.3.4_windows\Faster-Whisper-XXL\faster-whisper-xxl.exe "C:\Users\David\Documents\SoundRecordMp3\SoundRecordMp3\bin\Debug\Output" --language=en --model=medium --batch_recursive --output_format txt --output_dir "C:\Users\David\Documents\SoundRecordMp3\SoundRecordMp3\bin\Debug\Output"

And the notepad file I get is this

[00:16.020 --> 00:41.090] Can you feel life? Moving through your mind. Oh, it looks like it came back for more. Yeah, yeah, yeah. Can you feel time? Slip it down your throat. [00:41.090 --> 01:00.840] When you can hardly swallow your fears and pain. When you can't help but believe. [01:03.460 --> 01:26.200] Live and learn, hanging on the edge of tomorrow. Live and learn, drop the words of yesterday. Live and learn, if you beg or if you borrow. Live and learn, you may never find your way. [01:31.720 --> 01:56.270] Can you feel life? Tangle you up inside. Yeah, now you're face down on the floor, eating trade. [01:56.270 --> 02:25.790] When you can't help but follow, it puts you right back where you came from. Live and learn, hanging on the edge of tomorrow. Live and learn, drop the words of yesterday. Live and learn, if you beg or if you borrow. [02:25.790 --> 02:34.150] Live and learn, you may never find your way. [02:36.590 --> 02:51.670] Oh, oh, oh, oh, oh, yeah. Yeah, yeah, yeah, yeah, yeah. [03:02.240 --> 03:19.280] There's a place searching far, so far and wide. There's a place where you dream you never find. Hold on to whatever, hold on to whatever. [03:22.280 --> 03:42.540] Hang on the edge of tomorrow. Live and learn, drop the words of yesterday. Live and learn, if you beg or if you borrow. Live and learn, you may never find your way. [03:42.540 --> 04:07.160] Live and learn, hanging on the edge of tomorrow. Live and learn, drop the words of yesterday. Live and learn, if you beg or if you borrow. Live and learn, you may never find your way. [04:08.820 --> 04:24.530] Live and learn, drop the words of yesterday. Live and learn, drop the words of yesterday. Live and learn, drop the words of yesterday.

I'm trying to get just the text, not the timestamps at the start of each line

Purfview commented 1 week ago

I've tried this

No, you didn't! Look at your command.

wangfeng35 commented 1 week ago

--output_format text not --output_format txt with timestamp.

Soeroah commented 1 week ago

--output_format text not --output_format txt with timestamp.

Uugh, ffs. I did actually try it with text before but it came out with a file that didn't look openable so figured something had gone wrong. Had to set it to open with Notepad and now it's working fine.

Thanks and sorry for the bother.