[FFmpeg-user] Subtitle filter and filename with quotes and spaces

Ramit Bhalla ramitbhalla at gmail.com
Mon Jan 20 16:26:35 CET 2014


BTW I tried this:

-vf subtitles=D:\MCEBuddy\MCEBuddy^
2.x\MCEBuddy.ServiceCMD\bin\x86\Debug\working0\HD^ Small'.srt

and the results was

[NULL @ 045d6620] Unable to find a suitable output format for
'2.x\MCEBuddy.ServiceCMD\bin\x86\Debug\working0\HD^'
2.x\MCEBuddy.ServiceCMD\bin\x86\Debug\working0\HD^: Invalid argument


On Mon, Jan 20, 2014 at 10:19 AM, Ramit Bhalla <ramitbhalla at gmail.com>wrote:

> Thanks for the prompt response. What about the colon, Slashes and the
> single quote - do those needs to be escaped?
>
> Also, where is this documented? I can't seem to get what's written here:
> https://ffmpeg.org/ffmpeg-utils.html#Quoting-and-escaping
> to work.
>
> And if you don't mind is there a simpler way to enclose the entire string
> in a some escaped character (like I assumed double quotes, I tried single
> quotes and that also doesn't work).
>
>
> On Mon, Jan 20, 2014 at 10:09 AM, Pavel Koshevoy <pkoshevoy at gmail.com>wrote:
>
>> On Jan 20, 2014 7:44 AM, "Ramit Bhalla" <ramitbhalla at gmail.com> wrote:
>> >
>> > Anyone any advice how to escape a string for the subtitle filter which
>> > contains colons, space and a single quote?
>> >
>> > -vf subtitles="D:\MCEBuddy\MCEBuddy
>> > 2.x\MCEBuddy.ServiceCMD\bin\x86\Debug\working0\HD
>> > Small'.srt"
>> >
>> > is not working :(
>>
>> On windows ^ is the escape character, so try this:
>>
>> D:\MCEBuddy\MCEBuddy^ 2.x\MCEBuddy^ ServiceCMD\bin\x86\Debug\working0\HD^
>> Small'.srt
>>
>> and don't bother with the quotes
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>


More information about the ffmpeg-user mailing list