[MPlayer-users] Issue with Unicode file name in the slave mode with Windows binary

Abu Abdullah falcon.sheep at gmail.com
Thu Mar 7 05:50:08 CET 2013


On Wed, Mar 6, 2013 at 10:40 PM, Reimar Döffinger
<Reimar.Doeffinger at gmx.de>wrote:

> On Tue, Mar 05, 2013 at 02:15:16PM +0400, Abu Abdullah wrote:
> > Hi,
> >
> > I'm running mplayer from inside my application. Passing Unicode file name
> > works fine if it is in the normal mode i.e.
> > $ mplayer.exe  filename
> >
> > but it is not working in the slave mode using the loadfile <Unicode file
> > name>. I tried also to use loadlist <ASCII file name> and the file itself
> > is encoded in UTF8, still not working:
>
> The exact same code is used for both.
> So if you give loadfile the exact same bytes (i.e. in the system's
> single-byte encoding) it will work just the same as from the
> command-line - unless the build you used added some special patches.
> Two workarounds should exist
> 1) Using the 8.3 compatibility file name
> 2) Using ffmpeg://file_names_as_utf8


Using the prefix "ffmpeg://" solved the issue. But I did not get the idea,
did "ffmpeg://" changed the byte encoding for the file name (i.e. if it
starts with ASCII).


More information about the MPlayer-users mailing list