[vlc-devel] spaces in filenames for transcoding and dumping to files

Derk-Jan Hartman hartman at videolan.org
Mon Sep 1 11:24:52 CEST 2008


On 31 aug 2008, at 15:16, Antoine Cellerier wrote:
> On Fri, Aug 29, 2008, Steven Woolley wrote:
>>   I'm trying to transcode audio from a mms stream to output to a  
>> file that
>>   has spaces in its path (on windows, haven't confirmed on other  
>> OS's but I
>>   asssume its the same.  Basically, the command I'm running is:
>>   C:\Program Files\VideoLAN\VLC\vlc.exe -vvv --intf telnet mms://mystreamurl
>>   -- 
>> sout 
>> = 
>> #transcode 
>> {ab 
>> = 
>> 64 
>> ,acodec 
>> = 
>> mp3 
>> ,channels=2,samplerate=44100}:standard{access=file,mux=raw,dst="C: 
>> \Documents
>>   and Settings\wooo\Application
>>   Data\ooTunes\Caches\64-894E7FF6F415F3B2-1r6kosdi6e82u"} vlc:quit
>
> Try using "\ " instead of " " in the filename (or add single quotes
> arround the whole sout chain option/value). I guesst that the option
> parser is spliting the option at the first space hence VLC only gets
> -- 
> sout 
> = 
> #transcode 
> {ab 
> = 
> 64 
> ,acodec 
> = 
> mp3,channels=2,samplerate=44100}:standard{access=file,mux=raw,dst="C: 
> \Documents
> as the sout stream and adds the other stuff as playlist items.

And note how you have to use vlc://quit these days.

DJ






More information about the vlc-devel mailing list