Skip to content

mpvnet can't open videos with long path, while mpv.exe canΒ #735

@bmacho

Description

@bmacho

Describe the bug
mpvnet fails to open videos with long PATH from command line/another program.

To Reproduce

I have this longname

$longname = "Big.Back.Bunny.Test.File.With.A.Very.Long.Name.That.Ensures.Total.Path.Length.Exceeds.Windows.Limit.Players.Fail.Debugging.Headache.2025.Edition.UltraHD.x265.DTS.TrueHD"

And videos $longname/Bunny.mp4 (a working case) and $longname/$longname.mp4.

In powershell

~Downloads/mpv.net-v7.1.1.3-beta-portable-x64/mpvnet.exe $longname/Bunny.mp4
# works
~Downloads/mpv.net-v7.1.1.3-beta-portable-x64/mpvnet.exe $longname/$longname.mp4
# does not work

while with mpv.exe they work

mpv.exe $longname/Bunny.mp4
# works
mpv.exe $longname/$longname.mp4
# works

Additional context

  1. mpv.net version latest beta
  2. Windows version latest windows 10

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions