processing-video icon indicating copy to clipboard operation
processing-video copied to clipboard

GStreamer error when reading filename with tilde. (Windows 11)

Open MaiRiosIPla opened this issue 2 weeks ago • 0 comments

Description

When attempting to play a video, if the file is within a file path that contains a tilde, it wont play.

This also affects exported Windows EXE builds, making it impossible to guarantee correct playback for end users with non-ASCII usernames or install paths.

Expected Behavior

Playing the video as normal.

Current Behavior

BaseSrc: [source] : Could not open file "C:\[...]\HELLÓ\[...]\video.mp4" for reading.
BaseSrc: [source] : GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
BaseSrc: [source] : Could not open file "C:\[...]\HELLÓ\[...]\video.mp4" for reading.
BaseSrc: [source] : GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.

Steps to reproduce:

  • Rename any sketch folder containing a video (to include ´ or `)
  • Run any file, when .play() is ran, the above error is thrown.

Specs:

Intel(R) Core(TM) Ultra 9 275HX (2.70 GHz) NVIDIA GeForce RTX 5070 Laptop GPU Windows 24H2

Possible Causes / Solutions

Probably at some point, strings are reduced to ASCII, chage it back to UNICODE (but then again, i dont know :/)

MaiRiosIPla avatar Jan 07 '26 12:01 MaiRiosIPla