FAQ  •  Register  •  Login

File name space escaping

<<

trevasbr

Serviio newbie

Posts: 1

Joined: Sun Dec 11, 2011 5:52 pm

Post Sun Dec 11, 2011 5:59 pm

File name space escaping

Hi,
I was having some problems with FFmpeg and I got that on the log:

2011-12-11 11:42:17,818 DEBUG [ProcessExecutor] Starting /Applications/Serviio.app/Contents/Resources/Java/../../MacOS/ffmpeg -i /Users/guilhermef/Downloads/movies/Immortals 2011 R6 READNFO AC3 XViD - U.S.M.avi -y -threads 4 -vcodec mpeg2video -sameq -r 24000/1001 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /var/folders/b8/046bk9cn15nb6vgddfc24v5c0000gp/T/Serviio/transcoding-temp-17-MPEG2TS.stf

if you execute that line on the terminal it doesn't found the video file, because the right one is like this:

/Applications/Serviio.app/Contents/Resources/Java/../../MacOS/ffmpeg -i /Users/guilhermef/Downloads/movies/Immortals\ 2011\ R6\ READNFO\ AC3\ XViD\ -\ U.S.M.avi -y -threads 4 -vcodec mpeg2video -sameq -r 24000/1001 -g 15 -copyts -acodec ac3 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /var/folders/b8/046bk9cn15nb6vgddfc24v5c0000gp/T/Serviio/transcoding-temp-17-MPEG2TS.stf

Serviio isn't escaping filename that has space on it.

I was looking for the source code so I could fix it.

is it on github ?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Dec 11, 2011 7:44 pm

Re: File name space escaping

it does it but it's not shown in the log, it's done on a lower level by Java itself.

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 40 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.