Skip to content

Get an error in ffmpeg_audio() func when adding --mdx_device cuda:1 #398

@xueli12

Description

@xueli12

Why do I get an error when I add --mdx_device cuda:1, but it works fine without it?

Faster Whisper execution command:

./Faster-Whisper-XXL/Faster-Whisper-XXL/faster-whisper-xxl -m large-v2-japanese-5k-steps --model_dir models --verbose true videos/4106665-2.wav -l ja -d cuda:1 --output_format srt --skip -o /working/subtitles --vad_filter true --vad_threshold 0.22 --vad_method silero_v4_fw --ff_mdx_kim2 --one_word 0 --sentence --max_line_width 18 --max_line_count 1 --max_comma 5 --max_comma_cent 50 --vad_device cuda:1 --mdx_device cuda:1

2025-02-07 15:18:35,817 - INFO - [Task 1] [File videos/[4106665-2.wav](http://4106665-2.wav/)] Output: Standalone Faster-Whisper-XXL r245.2 running on: CUDA
2025-02-07 15:18:35,817 - INFO - [Task 1] [File videos/[4106665-2.wav](http://4106665-2.wav/)] Output: Standalone Faster-Whisper-XXL r245.2 running on: CUDA
2025-02-07 15:18:35,819 - INFO - [Task 1] [File videos/[4106665-2.wav](http://4106665-2.wav/)] Output: Number of visible GPU devices: 2
2025-02-07 15:18:35,819 - INFO - [Task 1] [File videos/[4106665-2.wav](http://4106665-2.wav/)] Output: Number of visible GPU devices: 2
2025-02-07 15:18:35,822 - INFO - [Task 1] [File videos/[4106665-2.wav](http://4106665-2.wav/)] Output: Supported compute types by GPU: {'int8', 'float32', 'int8_float16', 'int8_float32', 'float16'}
2025-02-07 15:18:35,822 - INFO - [Task 1] [File videos/[4106665-2.wav](http://4106665-2.wav/)] Output: Supported compute types by GPU: {'int8', 'float32', 'int8_float16', 'int8_float32', 'float16'}
2025-02-07 15:18:35,824 - INFO - [Task 1] [File videos/[4106665-2.wav](http://4106665-2.wav/)] Output: Audio filtering is in progress...
2025-02-07 15:18:35,824 - INFO - [Task 1] [File videos/[4106665-2.wav](http://4106665-2.wav/)] Output: Audio filtering is in progress...
2025-02-07 15:18:35,852 - ERROR - [Task 1] [File videos/[4106665-2.wav](http://4106665-2.wav/)] Error: Error: Some error in ffmpeg_audio() func.
2025-02-07 15:18:35,852 - ERROR - [Task 1] [File videos/[4106665-2.wav](http://4106665-2.wav/)] Error: Error: Some error in ffmpeg_audio() func.
2025-02-07 15:18:36,228 - INFO - [Task 1] [File videos/[4106665-2.wav](http://4106665-2.wav/)] Faster Whisper return value: 130
2025-02-07 15:18:36,228 - INFO - [Task 1] [File videos/[4106665-2.wav](http://4106665-2.wav/)] Faster Whisper return value: 130

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions