Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Converter error #31

Open
diegotonetti99 opened this issue Dec 27, 2024 · 0 comments
Open

Video Converter error #31

diegotonetti99 opened this issue Dec 27, 2024 · 0 comments

Comments

@diegotonetti99
Copy link

When trying to load videos with file paths that contain white spaces in the file paths the conversion gets stuck.
The video path is \home\diego\Videos\Concerto Natale\video.mp4.
Looking at the terminal log reports

Exception in thread Thread-2 (getting_ffmpeg_file_settings):
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/davinci_helper/functions/logic/conversion_settings.py", line 151, in get_file_info
    raise ValueError(f"ffprobe error: {result.stderr.strip()}")
ValueError: ffprobe error: Argument 'Natale' provided as input filename, but '/home/diego/Videos/Concerto' was already specified.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.13/threading.py", line 1041, in _bootstrap_inner
    self.run()
    ~~~~~~~~^^
  File "/usr/lib64/python3.13/threading.py", line 992, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/davinci_helper/functions/gui/function_5_gui.py", line 639, in getting_ffmpeg_file_settings
    self.video_settings_list, self.audio_settings, self.total_file_weight, self.unsupported_file_list, self.duration_list = conversion_settings.calculate_disk_space(self.file_path_list, self.video_quality, self.audio_quality)
                                                                                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/davinci_helper/functions/logic/conversion_settings.py", line 66, in calculate_disk_space
    width, height, duration, fps = get_file_info(file)
                                   ~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/site-packages/davinci_helper/functions/logic/conversion_settings.py", line 170, in get_file_info
    raise RuntimeError(f"Failed to get video info: {e}")
RuntimeError: Failed to get video info: ffprobe error: Argument 'Natale' provided as input filename, but '/home/diego/Videos/Concerto' was already specified.
^CTraceback (most recent call last):

Renaming the folder by removing the white space \home\diego\Videos\Concerto_Natale\video.mp4is a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant