Skip to content

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

@MaiRiosIPla

Description

@MaiRiosIPla

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 :/)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions