Page 1 of 1

File name space escaping

PostPosted: Sun Dec 11, 2011 5:59 pm
by trevasbr
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 ?

Re: File name space escaping

PostPosted: Sun Dec 11, 2011 7:44 pm
by zip
it does it but it's not shown in the log, it's done on a lower level by Java itself.