thewh1teagle / vibe

Transcribe on your own!
https://thewh1teagle.github.io/vibe/
MIT License
430 stars 28 forks source link

[Bug]: Unable to Process MP4 due to OGG Vorbis Audio Track #111

Closed faxotherapy closed 6 days ago

faxotherapy commented 3 weeks ago

What happened?

Vibe does not start processing the video file. OGG Vorbis is the issue. I had to convert the audio track to AAC first.

Steps to reproduce

  1. Make sure video's audio track is Vorbis.
  2. Start conversion, and Vibe won't even start converting.

What OS are you seeing the problem on?

Linux

Relevant log output

options: {
  "path": "/home/helene/Videos/tmp/RV-FM.mp4",
  "model_path": "/home/helene/.local/share/github.com.thewh1teagle.vibe/ggml-medium.bin",
  "lang": "en",
  "verbose": false,
  "n_threads": 6,
  "init_prompt": "",
  "temperature": 0.4,
  "translate": null,
  "max_text_ctx": 32
}

Caused by:
    Invalid argument

Location:
    core/src/audio/encoder.rs:143:13
thewh1teagle commented 3 weeks ago

Thanks for reporting! Can you share the audio file? So I can check why it failed to load it? You can upload it to google drive and share the link here

faxotherapy commented 2 weeks ago

Hi, please download audio 1 and audio 2. Thank you for examining the files.

thewh1teagle commented 2 weeks ago

Hi, please download audio 1 and audio 2. Thank you for examining the files.

I just tried to transcribe both files, looks like it does transcribe them without errors on Windows 11 with vibe 2.0.3 Does it partially works for you too and only after a while throws error? or for you it doesn't work at all and immediately show error?

faxotherapy commented 2 weeks ago

Ah, of course, tested on Linux. Vibe doesn't even start transcribing.

thewh1teagle commented 1 week ago

Maybe try from cli with rust log enabled? See debug.md in this repo

faxotherapy commented 1 week ago

OK, I'll try it again.

oleole39 commented 1 week ago

Hi, please download audio 1 and audio 2. Thank you for examining the files.

I tested audio 1 on Linux Mint 21 (Ubuntu 22.04-based) with Vibe 2.0.6 and it did start to transcribe - everything looked fine on my side.

thewh1teagle commented 6 days ago

@oleole39 Thanks! It works for me too. since we now use ffmpeg directly, seems like the problem resolved :)