chidiwilliams / buzz

Buzz transcribes and translates audio offline on your personal computer. Powered by OpenAI's Whisper.
https://chidiwilliams.github.io/buzz
MIT License
12.4k stars 934 forks source link

how can my buzz v1.0.0 suddenly refuse to work with the installed ffmpeg? thx #884

Closed ccchan234 closed 4 weeks ago

ccchan234 commented 2 months ago

hi,

i have already installed v1.0.0 and used with lemonfox.ai for a period of time, today it suddenly say version error:

image

i updated to v1.0.1 and same result.

however i am more concerned, as i didn't change anything, how come it become not working.

thank you.

win1064bit, windows.

raivisdejus commented 2 months ago

Strange indeed.

What we can do is to look at the information in the log files - https://chidiwilliams.github.io/buzz/docs/faq Maybe there is something useful.

Also you could try to install ffmpeg locally if that is not already done. If it is done, try running the ffmpeg or ffmpeg -h from the Power shell. If there is some issue with some library, maybe it will show up.

ccchan234 commented 2 months ago

Strange indeed.

What we can do is to look at the information in the log files - https://chidiwilliams.github.io/buzz/docs/faq Maybe there is something useful.

Also you could try to install ffmpeg locally if that is not already done. If it is done, try running the ffmpeg or ffmpeg -h from the Power shell. If there is some issue with some library, maybe it will show up.

i cant find a "log" word in the faq page, can you help me for that? thanks

ccchan234 commented 2 months ago

Strange indeed.

What we can do is to look at the information in the log files - https://chidiwilliams.github.io/buzz/docs/faq Maybe there is something useful.

Also you could try to install ffmpeg locally if that is not already done. If it is done, try running the ffmpeg or ffmpeg -h from the Power shell. If there is some issue with some library, maybe it will show up.

i do have a local ffmpeg, but the version is different. when i type ffmpeg in powershell, i assume this report normal: image

my local ffmpeg version is 2021.

ccchan234 commented 2 months ago

Strange indeed.

What we can do is to look at the information in the log files - https://chidiwilliams.github.io/buzz/docs/faq Maybe there is something useful.

Also you could try to install ffmpeg locally if that is not already done. If it is done, try running the ffmpeg or ffmpeg -h from the Power shell. If there is some issue with some library, maybe it will show up.

honestly, in v0.9, there is a warning that there is ?malware in the installer so a digital signature is bought, correct?

and honestly i was scared and after that, i always run buzz inside sandboxie-plus. everything worked, even drag and drog.

what is interesting to me is that howcome a program, inside a sandboxie sandbox, could modify itself, if ever.

thanks

ps: i made a new sandbox, re-installed v1.0.1, the testing of api key worked, but still suck at this actual work with the ffmpeg.

ccchan234 commented 2 months ago

hi, i installed buzz into a new sandbox, and choose install for all. then the buzz is installed to c:\program files (x86)

in this folder's buzz, there is a copy of ffmpeg, obviously brought by buzz. and it's the version shown with problem: image

pls advise.

ps: i am pretty sure v0.9, v1.0.0 previously could work with buzz and give me a feel of security. i prefer not to run unsigned .exe without protection again, thanks.

ps i only have lemonfox.ai or gorq's API so i have to stick /w v1.0.0 or v1.0.1, thanks

raivisdejus commented 2 months ago

Paste this in the address bar to get to the log folder %USERPROFILE%\AppData\Local\Buzz\Buzz\Logs

And yes, unsigned apps may be scary. In this case Buzz you download from the releases section is perfectly safe even unsigned. Source code is available and if there was something suspicious someone would have noticed, so you are safe to run the unsigned app.

ccchan234 commented 2 months ago

Paste this in the address bar to get to the log folder %USERPROFILE%\AppData\Local\Buzz\Buzz\Logs

And yes, unsigned apps may be scary. In this case Buzz you download from the releases section is perfectly safe even unsigned. Source code is available and if there was something suspicious someone would have noticed, so you are safe to run the unsigned app.

here is the log, just with my username removed.

[2024-08-16 04:59:56,385] locale.:12 DEBUG -> UI locales ['en-HK', 'en-Latn-HK', 'en-GB', 'en-Latn-GB'] [2024-08-16 04:59:56,488] model_loader.:40 DEBUG -> Model root directory: C:\Users12345678AppData\Local\Buzz\Buzz\Cache\models [2024-08-16 05:00:01,009] utils._find_ffmpeg_extension:114 DEBUG -> Loading FFmpeg6 [2024-08-16 05:00:01,018] utils._find_ffmpeg_extension:120 DEBUG -> Failed to load FFmpeg6 extension. Traceback (most recent call last): File "torio_extension\utils.py", line 116, in _find_ffmpeg_extension File "torio_extension\utils.py", line 105, in _find_versionsed_ffmpeg_extension File "", line 95, in find_spec ModuleNotFoundError: No module named 'torio.lib' [2024-08-16 05:00:01,023] utils._find_ffmpeg_extension:114 DEBUG -> Loading FFmpeg5 [2024-08-16 05:00:01,023] utils._find_ffmpeg_extension:120 DEBUG -> Failed to load FFmpeg5 extension. Traceback (most recent call last): File "torio_extension\utils.py", line 116, in _find_ffmpeg_extension File "torio_extension\utils.py", line 105, in _find_versionsed_ffmpeg_extension File "", line 95, in find_spec ModuleNotFoundError: No module named 'torio.lib' [2024-08-16 05:00:01,025] utils._find_ffmpeg_extension:114 DEBUG -> Loading FFmpeg4 [2024-08-16 05:00:01,025] utils._find_ffmpeg_extension:120 DEBUG -> Failed to load FFmpeg4 extension. Traceback (most recent call last): File "torio_extension\utils.py", line 116, in _find_ffmpeg_extension File "torio_extension\utils.py", line 105, in _find_versionsed_ffmpeg_extension File "", line 95, in find_spec ModuleNotFoundError: No module named 'torio.lib' [2024-08-16 05:00:01,030] utils._find_ffmpeg_extension:114 DEBUG -> Loading FFmpeg [2024-08-16 05:00:01,030] utils._find_ffmpeg_extension:120 DEBUG -> Failed to load FFmpeg extension. Traceback (most recent call last): File "torio_extension\utils.py", line 116, in _find_ffmpeg_extension File "torio_extension\utils.py", line 105, in _find_versionsed_ffmpeg_extension File "", line 95, in find_spec ModuleNotFoundError: No module named 'torio.lib' [2024-08-16 05:00:01,275] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:01,349] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:01,349] buzz.main:60 DEBUG -> app_dir: C:\Program Files (x86)\Buzz_internal [2024-08-16 05:00:01,349] buzz.main:61 DEBUG -> log_dir: C:\Users12345678AppData\Local\Buzz\Buzz\Logs [2024-08-16 05:00:01,349] buzz.main:62 DEBUG -> cache_dir: C:\Users12345678AppData\Local\Buzz\Buzz\Cache [2024-08-16 05:00:01,349] buzz.main:63 DEBUG -> data_dir: C:\Users12345678AppData\Local\Buzz\Buzz [2024-08-16 05:00:01,565] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:01,576] migrator.log_execute:72 INFO -> Database migration: Create table transcription with SQL: CREATE TABLE transcription ( id TEXT PRIMARY KEY, error_message TEXT, export_formats TEXT, file TEXT, output_folder TEXT, progress DOUBLE PRECISION DEFAULT 0.0, language TEXT, model_type TEXT, source TEXT, status TEXT, task TEXT, time_ended TIMESTAMP, time_queued TIMESTAMP NOT NULL, time_started TIMESTAMP, url TEXT, whisper_model_size TEXT, hugging_face_model_id TEXT ) [2024-08-16 05:00:01,576] migrator.log_execute:72 INFO -> Database migration: Create table transcription_segment with SQL: CREATE TABLE transcription_segment ( id INTEGER PRIMARY KEY, end_time INT DEFAULT 0, start_time INT DEFAULT 0, text TEXT NOT NULL, translation TEXT DEFAULT '', transcription_id TEXT, FOREIGN KEY (transcription_id) REFERENCES transcription(id) ON DELETE CASCADE ) [2024-08-16 05:00:01,576] migrator.log_execute:72 INFO -> Database migration: Columns change: Create table transcription with updated schema with SQL: CREATE TABLE transcription_migration_new ( id TEXT PRIMARY KEY, error_message TEXT, export_formats TEXT, file TEXT, output_folder TEXT, progress DOUBLE PRECISION DEFAULT 0.0, language TEXT, model_type TEXT, source TEXT, status TEXT, task TEXT, time_ended TIMESTAMP, time_queued TIMESTAMP NOT NULL, time_started TIMESTAMP, url TEXT, whisper_model_size TEXT, hugging_face_model_id TEXT ) [2024-08-16 05:00:01,576] migrator.migrate:204 INFO -> cols: {'error_message', 'export_formats', 'language', 'task', 'progress', 'file', 'time_ended', 'hugging_face_model_id', 'id', 'output_folder', 'status', 'time_started', 'source', 'url', 'model_type', 'time_queued', 'whisper_model_size'}, pristine_cols: {'error_message', 'export_formats', 'language', 'task', 'progress', 'file', 'time_ended', 'hugging_face_model_id', 'id', 'output_folder', 'status', 'time_started', 'source', 'url', 'model_type', 'time_queued', 'whisper_model_size'} [2024-08-16 05:00:01,576] migrator.log_execute:72 INFO -> Database migration: Migrate data for table transcription with SQL: INSERT INTO transcription_migration_new (error_message, export_formats, language, task, progress, file, time_ended, hugging_face_model_id, id, output_folder, status, time_started, source, url, model_type, time_queued, whisper_model_size) SELECT error_message, export_formats, language, task, progress, file, time_ended, hugging_face_model_id, id, output_folder, status, time_started, source, url, model_type, time_queued, whisper_model_size FROM transcription [2024-08-16 05:00:01,576] migrator.log_execute:72 INFO -> Database migration: Drop old table transcription now data has been migrated with SQL: DROP TABLE transcription [2024-08-16 05:00:01,576] migrator.log_execute:72 INFO -> Database migration: Columns change: Move new table transcription over old with SQL: ALTER TABLE transcription_migration_new RENAME TO transcription [2024-08-16 05:00:01,576] migrator.log_execute:72 INFO -> Database migration: Columns change: Create table transcription_segment with updated schema with SQL: CREATE TABLE transcription_segment_migration_new ( id INTEGER PRIMARY KEY, end_time INT DEFAULT 0, start_time INT DEFAULT 0, text TEXT NOT NULL, translation TEXT DEFAULT '', transcription_id TEXT, FOREIGN KEY (transcription_id) REFERENCES transcription(id) ON DELETE CASCADE ) [2024-08-16 05:00:01,580] migrator.migrate:204 INFO -> cols: {'transcription_id', 'translation', 'text', 'id', 'start_time', 'end_time'}, pristine_cols: {'transcription_id', 'translation', 'text', 'id', 'start_time', 'end_time'} [2024-08-16 05:00:01,580] migrator.log_execute:72 INFO -> Database migration: Migrate data for table transcription_segment with SQL: INSERT INTO transcription_segment_migration_new (transcription_id, translation, text, id, start_time, end_time) SELECT transcription_id, translation, text, id, start_time, end_time FROM transcription_segment [2024-08-16 05:00:01,580] migrator.log_execute:72 INFO -> Database migration: Drop old table transcription_segment now data has been migrated with SQL: DROP TABLE transcription_segment [2024-08-16 05:00:01,580] migrator.log_execute:72 INFO -> Database migration: Columns change: Move new table transcription_segment over old with SQL: ALTER TABLE transcription_segment_migration_new RENAME TO transcription_segment [2024-08-16 05:00:01,580] migrator.log_execute:72 INFO -> Database migration: Creating new index idx_transcription_id with SQL: CREATE INDEX idx_transcription_id ON transcription_segment(transcription_id) [2024-08-16 05:00:01,631] db._setup_db:38 DEBUG -> Database connection opened: C:\Users12345678AppData\Local\Buzz\Buzz\Buzz.sqlite [2024-08-16 05:00:01,704] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:01,869] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:01,963] file_transcriber_queue_worker.run:40 DEBUG -> Waiting for next transcription task [2024-08-16 05:00:05,975] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:06,421] backend._load_plugins:205 DEBUG -> Loading KWallet [2024-08-16 05:00:06,421] backend._load_plugins:205 DEBUG -> Loading SecretService [2024-08-16 05:00:06,421] backend._load_plugins:205 DEBUG -> Loading Windows [2024-08-16 05:00:06,437] init.:11 DEBUG -> Loaded cffi backend [2024-08-16 05:00:06,501] backend._load_plugins:205 DEBUG -> Loading chainer [2024-08-16 05:00:06,502] backend._load_plugins:205 DEBUG -> Loading libsecret [2024-08-16 05:00:06,504] backend._load_plugins:205 DEBUG -> Loading macOS [2024-08-16 05:00:06,798] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:07,128] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:07,129] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:43,578] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:43,582] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:43,699] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:43,700] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:44,669] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:00:44,678] connectionpool._new_conn:1055 DEBUG -> Starting new HTTPS connection (1): api.lemonfox.ai:443 [2024-08-16 05:00:45,977] connectionpool._make_request:549 DEBUG -> https://api.lemonfox.ai:443 "GET /v1/models HTTP/1.1" 200 None [2024-08-16 05:00:45,980] _config.load_ssl_context:80 DEBUG -> load_ssl_context verify=True cert=None trust_env=True http2=False [2024-08-16 05:00:45,981] _config.load_ssl_context_verify:146 DEBUG -> load_verify_locations cafile='C:\Program Files (x86)\Buzz\_internal\certifi\cacert.pem' [2024-08-16 05:00:46,592] _base_client._build_request:442 DEBUG -> Request options: {'method': 'get', 'url': '/models', 'post_parser': <function SyncAPIClient._request_api_list.._parser at 0x000002463F083E20>, 'json_data': None} [2024-08-16 05:00:46,927] _trace.trace:45 DEBUG -> connect_tcp.started host='api.lemonfox.ai' port=443 local_address=None timeout=5 socket_options=None [2024-08-16 05:00:46,946] _trace.trace:45 DEBUG -> connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x000002463F0E1D10> [2024-08-16 05:00:46,946] _trace.trace:45 DEBUG -> start_tls.started ssl_context=<ssl.SSLContext object at 0x000002463F0B5A30> server_hostname='api.lemonfox.ai' timeout=5 [2024-08-16 05:00:46,959] _trace.trace:45 DEBUG -> start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x000002463F0E0A50> [2024-08-16 05:00:46,959] _trace.trace:45 DEBUG -> send_request_headers.started request=<Request [b'GET']> [2024-08-16 05:00:46,959] _trace.trace:45 DEBUG -> send_request_headers.complete [2024-08-16 05:00:46,959] _trace.trace:45 DEBUG -> send_request_body.started request=<Request [b'GET']> [2024-08-16 05:00:46,960] _trace.trace:45 DEBUG -> send_request_body.complete [2024-08-16 05:00:46,960] _trace.trace:45 DEBUG -> receive_response_headers.started request=<Request [b'GET']> [2024-08-16 05:00:47,443] _trace.trace:45 DEBUG -> receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Thu, 15 Aug 2024 21:00:57 GMT'), (b'Content-Type', b'application/json; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Access-Control-Allow-Origin', b'null'), (b'Access-Control-Allow-Methods', b'GET'), (b'Report-To', b'{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=UTUeG1Uwo%2ForBk8vwFD9UXjsGzAY%2BgwWg4lrPlCjQWByHD2Nno%2FxSrel5s%2BvbG8dDMocAbpCnDtgbB8aEh6SO9ZBIn9rZ1GumBeudxiIoUfXnpG4vdGz1B0sdzCCGtc8hEQ%3D"}],"group":"cf-nel","max_age":604800}'), (b'NEL', b'{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'), (b'Vary', b'Accept-Encoding'), (b'Server', b'cloudflare'), (b'CF-RAY', b'8b3c1df56a1db442-HKG'), (b'Content-Encoding', b'br'), (b'alt-svc', b'h3=":443"; ma=86400')]) [2024-08-16 05:00:47,443] _client._send_single_request:1026 INFO -> HTTP Request: GET https://api.lemonfox.ai/v1/models "HTTP/1.1 200 OK" [2024-08-16 05:00:47,444] _trace.trace:45 DEBUG -> receive_response_body.started request=<Request [b'GET']> [2024-08-16 05:00:47,444] _trace.trace:45 DEBUG -> receive_response_body.complete [2024-08-16 05:00:47,444] _trace.trace:45 DEBUG -> response_closed.started [2024-08-16 05:00:47,444] _trace.trace:45 DEBUG -> response_closed.complete [2024-08-16 05:00:47,444] _base_client._request:962 DEBUG -> HTTP Request: GET https://api.lemonfox.ai/v1/models "200 OK" [2024-08-16 05:01:06,393] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:01:06,393] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:01:20,344] file_transcriber_queue_worker.run:56 DEBUG -> Starting next transcription task [2024-08-16 05:01:20,359] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:01:20,361] _config.load_ssl_context:80 DEBUG -> load_ssl_context verify=True cert=None trust_env=True http2=False [2024-08-16 05:01:20,364] _config.load_ssl_context_verify:146 DEBUG -> load_verify_locations cafile='C:\Program Files (x86)\Buzz\_internal\certifi\cacert.pem' [2024-08-16 05:01:20,963] openai_whisper_api_file_transcriber.init:30 DEBUG -> Will use whisper API on https://api.lemonfox.ai/v1, whisper-1 [2024-08-16 05:01:20,970] openai_whisper_api_file_transcriber.transcribe:34 DEBUG -> Starting OpenAI Whisper API file transcription, file path = C:/Users12345678Documents/mp3recorder/2024-08-15 20-31-27.mp3, task = Task.TRANSCRIBE [2024-08-16 05:01:21,831] openai_whisper_api_file_transcriber.transcribe:47 ERROR -> Traceback (most recent call last): File "buzz\transcriber\openai_whisper_api_file_transcriber.py", line 45, in transcribe File "subprocess.py", line 571, in run subprocess.CalledProcessError: Command '['ffmpeg', '-i', 'C:/Users12345678Documents/mp3recorder/2024-08-15 20-31-27.mp3', 'C:\Users\12345678\AppData\Local\Temp\tmpce2agh0j.mp3']' returned non-zero exit status 4294967294. [2024-08-16 05:01:21,838] file_transcriber.run:61 ERROR -> Traceback (most recent call last): File "buzz\transcriber\openai_whisper_api_file_transcriber.py", line 45, in transcribe File "subprocess.py", line 571, in run subprocess.CalledProcessError: Command '['ffmpeg', '-i', 'C:/Users12345678Documents/mp3recorder/2024-08-15 20-31-27.mp3', 'C:\Users\12345678\AppData\Local\Temp\tmpce2agh0j.mp3']' returned non-zero exit status 4294967294.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "buzz\transcriber\file_transcriber.py", line 59, in run File "buzz\transcriber\openai_whisper_api_file_transcriber.py", line 48, in transcribe Exception: ffmpeg version 7.0.1-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers

built with gcc 13.2.0 (Rev5, Built by MSYS2 project)

configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint

libavutil 59. 8.100 / 59. 8.100

libavcodec 61. 3.100 / 61. 3.100

libavformat 61. 1.100 / 61. 1.100

libavdevice 61. 1.100 / 61. 1.100

libavfilter 10. 1.100 / 10. 1.100

libswscale 8. 1.100 / 8. 1.100

libswresample 5. 1.100 / 5. 1.100

libpostproc 58. 1.100 / 58. 1.100

[in#0 @ 00000233eb345040] Error opening input: No such file or directory

Error opening input file C:/Users12345678Documents/mp3recorder/2024-08-15 20-31-27.mp3.

Error opening input files: No such file or directory

[2024-08-16 05:01:21,852] file_transcriber_queue_worker.run:40 DEBUG -> Waiting for next transcription task [2024-08-16 05:07:30,422] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:07:30,423] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:07:34,191] file_transcriber_queue_worker.run:56 DEBUG -> Starting next transcription task [2024-08-16 05:07:34,191] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:07:34,193] _config.load_ssl_context:80 DEBUG -> load_ssl_context verify=True cert=None trust_env=True http2=False [2024-08-16 05:07:34,211] _config.load_ssl_context_verify:146 DEBUG -> load_verify_locations cafile='C:\Program Files (x86)\Buzz\_internal\certifi\cacert.pem' [2024-08-16 05:07:34,896] openai_whisper_api_file_transcriber.init:30 DEBUG -> Will use whisper API on https://api.lemonfox.ai/v1, whisper-1 [2024-08-16 05:07:34,901] openai_whisper_api_file_transcriber.transcribe:34 DEBUG -> Starting OpenAI Whisper API file transcription, file path = C:/Users12345678Documents/mp3recorder/2024-08-15 20-31-27.mp3, task = Task.TRANSCRIBE [2024-08-16 05:07:35,433] openai_whisper_api_file_transcriber.transcribe:47 ERROR -> Traceback (most recent call last): File "buzz\transcriber\openai_whisper_api_file_transcriber.py", line 45, in transcribe File "subprocess.py", line 571, in run subprocess.CalledProcessError: Command '['ffmpeg', '-i', 'C:/Users12345678Documents/mp3recorder/2024-08-15 20-31-27.mp3', 'C:\Users\12345678\AppData\Local\Temp\tmpfjkr75zz.mp3']' returned non-zero exit status 4294967294. [2024-08-16 05:07:35,443] file_transcriber.run:61 ERROR -> Traceback (most recent call last): File "buzz\transcriber\openai_whisper_api_file_transcriber.py", line 45, in transcribe File "subprocess.py", line 571, in run subprocess.CalledProcessError: Command '['ffmpeg', '-i', 'C:/Users12345678Documents/mp3recorder/2024-08-15 20-31-27.mp3', 'C:\Users\12345678\AppData\Local\Temp\tmpfjkr75zz.mp3']' returned non-zero exit status 4294967294.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "buzz\transcriber\file_transcriber.py", line 59, in run File "buzz\transcriber\openai_whisper_api_file_transcriber.py", line 48, in transcribe Exception: ffmpeg version 7.0.1-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers

built with gcc 13.2.0 (Rev5, Built by MSYS2 project)

configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint

libavutil 59. 8.100 / 59. 8.100

libavcodec 61. 3.100 / 61. 3.100

libavformat 61. 1.100 / 61. 1.100

libavdevice 61. 1.100 / 61. 1.100

libavfilter 10. 1.100 / 10. 1.100

libswscale 8. 1.100 / 8. 1.100

libswresample 5. 1.100 / 5. 1.100

libpostproc 58. 1.100 / 58. 1.100

[in#0 @ 00000216d86e8400] Error opening input: No such file or directory

Error opening input file C:/Users12345678Documents/mp3recorder/2024-08-15 20-31-27.mp3.

Error opening input files: No such file or directory

[2024-08-16 05:07:35,462] file_transcriber_queue_worker.run:40 DEBUG -> Waiting for next transcription task [2024-08-16 05:08:52,791] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:08:52,795] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:08:52,936] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:08:52,937] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:11:08,549] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:11:08,549] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:11:13,430] file_transcriber_queue_worker.run:56 DEBUG -> Starting next transcription task [2024-08-16 05:11:13,430] settings.init:14 DEBUG -> Settings filename: \HKEY_CURRENT_USER\Software\Buzz\OrganizationDefaults [2024-08-16 05:11:13,434] _config.load_ssl_context:80 DEBUG -> load_ssl_context verify=True cert=None trust_env=True http2=False [2024-08-16 05:11:13,454] _config.load_ssl_context_verify:146 DEBUG -> load_verify_locations cafile='C:\Program Files (x86)\Buzz\_internal\certifi\cacert.pem' [2024-08-16 05:11:14,190] openai_whisper_api_file_transcriber.init:30 DEBUG -> Will use whisper API on https://api.lemonfox.ai/v1, whisper-1 [2024-08-16 05:11:14,195] _trace.trace:45 DEBUG -> close.started [2024-08-16 05:11:14,195] _trace.trace:45 DEBUG -> close.complete [2024-08-16 05:11:14,194] openai_whisper_api_file_transcriber.transcribe:34 DEBUG -> Starting OpenAI Whisper API file transcription, file path = C:/Users12345678Documents/mp3recorder/2024-08-15 20-31-27_xSTT.mp3, task = Task.TRANSCRIBE [2024-08-16 05:11:14,739] openai_whisper_api_file_transcriber.transcribe:47 ERROR -> Traceback (most recent call last): File "buzz\transcriber\openai_whisper_api_file_transcriber.py", line 45, in transcribe File "subprocess.py", line 571, in run subprocess.CalledProcessError: Command '['ffmpeg', '-i', 'C:/Users12345678Documents/mp3recorder/2024-08-15 20-31-27_xSTT.mp3', 'C:\Users\12345678\AppData\Local\Temp\tmp692lk0k2.mp3']' returned non-zero exit status 4294967294. [2024-08-16 05:11:14,750] file_transcriber.run:61 ERROR -> Traceback (most recent call last): File "buzz\transcriber\openai_whisper_api_file_transcriber.py", line 45, in transcribe File "subprocess.py", line 571, in run subprocess.CalledProcessError: Command '['ffmpeg', '-i', 'C:/Users12345678Documents/mp3recorder/2024-08-15 20-31-27_xSTT.mp3', 'C:\Users\12345678\AppData\Local\Temp\tmp692lk0k2.mp3']' returned non-zero exit status 4294967294.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "buzz\transcriber\file_transcriber.py", line 59, in run File "buzz\transcriber\openai_whisper_api_file_transcriber.py", line 48, in transcribe Exception: ffmpeg version 7.0.1-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers

built with gcc 13.2.0 (Rev5, Built by MSYS2 project)

configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint

libavutil 59. 8.100 / 59. 8.100

libavcodec 61. 3.100 / 61. 3.100

libavformat 61. 1.100 / 61. 1.100

libavdevice 61. 1.100 / 61. 1.100

libavfilter 10. 1.100 / 10. 1.100

libswscale 8. 1.100 / 8. 1.100

libswresample 5. 1.100 / 5. 1.100

libpostproc 58. 1.100 / 58. 1.100

[in#0 @ 00000295ead68400] Error opening input: No such file or directory

Error opening input file C:/Users12345678Documents/mp3recorder/2024-08-15 20-31-27_xSTT.mp3.

Error opening input files: No such file or directory

[2024-08-16 05:11:14,768] file_transcriber_queue_worker.run:40 DEBUG -> Waiting for next transcription task

ccchan234 commented 2 months ago

i asked gpt4 if the log file give any insights, this is his/her reply:

Issue with Buzz Application & FFmpeg:

Problem: The Buzz application is failing to load FFmpeg extensions and cannot process an MP3 file due to missing modules and file access errors.

Errors Noted:

Repeated ModuleNotFoundError for torio.lib when attempting to load FFmpeg versions. subprocess.CalledProcessError indicating that the specified MP3 file could not be found or accessed. Possible Causes:

FFmpeg might not be installed correctly, or its configuration paths might be incorrect. The application might have incorrect file paths or lack necessary permissions to access files and directories. Suggested Fixes:

Verify that FFmpeg is correctly installed and that all required dependencies are present. Check and correct file paths and permissions for FFmpeg and the Buzz application. Review and adjust the FFmpeg configuration settings within the Buzz application. If these suggestions don't resolve the issue, consider reaching out on the official support channels for Buzz or FFmpeg.

ccchan234 commented 2 months ago

it's true that no torio.lib in my whole PC, i searched this with "everything“ by voidtools. While if i type ffmpeg.exe, it can found the internal one bring by buzz. thx

raivisdejus commented 2 months ago

@ccchan234 Errors about torio.lib can be ignored, the system is trying to load ffmpeg in different formats and versions, it always happens like that and some version is always found and loaded.

Possible problems and things to check:

If all fails try running Buzz from source. Notes on that are here https://github.com/chidiwilliams/buzz/blob/main/CONTRIBUTING.md#windows

ccchan234 commented 2 months ago

As i mentioned before, sandboxie runs well with the v1.0.0 for about a month, and i got myself a python to use the lemonfox.ai for that particular .mp3 and worked.

so i dont think there is problem on myside.

btw, as the author claimed that v0.9.0 is digitally signed, the signature is just for v0.9.0? not extending to other versions? so expensive? thanks

at this moment i'll wait to see other's reponse first then. thanks

ccchan234 commented 2 months ago

hi, it turns out it is a FILE format problem image

however, i myself success with my own python script + lemonfox.ai and could transcribe that .mp3 (i extracted the 2024-08-15 20-31-27.mp3 as 2024-08-15 20-31-27_xSTT.mp3 using FFmpeg batch av converter)

image

the setting of the converter: image

for my python script + lemonfox.ai, i am NOT using the openai api, i use the pythone way, out of the 3 method suggested by lemonfox.ai

i'll close this issue as it's NOT very much related to buzz.

thanks

raivisdejus commented 2 months ago

@ccchan234 Any chance you can share some or the problematic files with us? We could try to implement some checks to prevent such issues.

ccchan234 commented 2 months ago

sure ofcoz,

it is made by a recorder that can record video conference.

let me record something randomly, verify that it sucks and upload.

if too large i will put the file on google drive as read only share.

thankyou

On Thu, 29 Aug 2024, 13:31 Raivis Dejus, @.***> wrote:

@ccchan234 https://github.com/ccchan234 Any chance you can share some or the problematic files with us? We could try to implement some checks to prevent such issues.

— Reply to this email directly, view it on GitHub https://github.com/chidiwilliams/buzz/issues/884#issuecomment-2316746660, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI6PKYK3NJHP5LAX6WFCDGTZT2WZJAVCNFSM6AAAAABMSJLNQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJWG42DMNRWGA . You are receiving this because you were mentioned.Message ID: @.***>

ccchan234 commented 1 month ago

hi,

the .mp3 is produced by the cok free mp3 recorder,

it's digitally signed and is likely from china.

https://www.coksoft.com/mp3recorder.htm

i found i better forward you to the recorder to produce suitable mp3 instead of recording in mp3 that the content may not help.

thankyou.

the only setting: image

raivisdejus commented 1 month ago

I was not able to replicate the problem. Recordings from mp3 recorder were recorded and transcribed fine. No crashes or errors. Tested on latest development version from https://github.com/chidiwilliams/buzz/actions/workflows/ci.yml?query=branch%3Amain on Windows 10.

ccchan234 commented 1 month ago

I was not able to replicate the problem. Recordings from mp3 recorder were recorded and transcribed fine. No crashes or errors. Tested on latest development version from https://github.com/chidiwilliams/buzz/actions/workflows/ci.yml?query=branch%3Amain on Windows 10.

are you using the same cok mp3 recorder? if no, let me know if you have interest in testing that particular one. thanks

raivisdejus commented 1 month ago

Yes tested with recording with mp3 recorder from https://www.coksoft.com/mp3recorder.htm

And yes, if you can share the problematic audio I would be glad to check it out and see if we can find some fix for it.

ccchan234 commented 1 month ago

Yes tested with recording with mp3 recorder from https://www.coksoft.com/mp3recorder.htm

And yes, if you can share the problematic audio I would be glad to check it out and see if we can find some fix for it.

that problematic mp3 would have my own private conversation.

how about i try to record something for you and test if it still suck before i send you?

what do you want me to record? or just me yelling "hello hello hello"? ar, that's not good in the AI era, someone may have my voice fingerprint. what else can i do?

thanks

ps will take some time to do it.

raivisdejus commented 1 month ago

Record anything that is causing error on your end. "hello hello hello" is fine or as the recorder can record anything that is playing on your computer you can record part of some public youtube video. Test on your end that you get the error.