archienz / ps3mediaserver

Automatically exported from code.google.com/p/ps3mediaserver
0 stars 0 forks source link

Files passed to encoders (like MEncoder) should be "quoted" (or might not be opened) #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, world! :-)

Wow, this project is great! Please keep up with the good work!

I'm a new user and just tried PS3 Media server. I've noticed that subtitles
where not working, and the debug.log showed there was a problem with the
path of the subtitle. Here's the relevant parameter sent to MEncoder:

-sub C:\Documents and Settings\Ric\My Documents\My Videos\Breathless
(Jean-Luc Godard, 1960) - 1h26\Breathless (Jean-Luc Godard, 1960).srt

As you can see, there are commas (just after "Godard") in the path and
MEncoder seems to use it as a separator. Here's the error I found in debug.log:

File not found: 'C:\Documents and Settings\Ric\My Documents\My
Videos\Breathless (Jean-Luc Godard'

My guess is that the parameter should be "quoted", or special characters
should be escaped with backslashes. I never used MEncoder before so I don't
know how it would work out, though...

Anyway, renaming the folder and file to remove commas (",") and the minus
sign ("-") it can play the video with subtitles.

My system:

 - Windows XP (SP3)
 - PS3 Media Server 1.02.1

Original issue reported on code.google.com by Ric.CE...@gmail.com on 8 Jan 2009 at 2:51

GoogleCodeExporter commented 9 years ago
good find, mencoder wants comas to be piped

Original comment by ps3mediaserver@gmail.com on 8 Jan 2009 at 6:23

GoogleCodeExporter commented 9 years ago

Original comment by ps3mediaserver@gmail.com on 9 Jan 2009 at 11:39