[FFmpeg-user] Playing a file with subtitles that have single quotes in their filename

Gonzalo Garramuño ggarra13 at gmail.com
Thu Sep 7 19:29:24 EEST 2017


Never mind me.  I figured it out by myself.   Here's the quoted line:

$ ffplay 
/media/gga/Datos/movies/trailers/big_buck_bunny_1080p_surround.avi -vf 
subtitles=/media/gga/Datos/code/applications/mrViewer/Charlie\\\\\\\'s\ 
Angels.srt:charenc=ISO-8859-1


El 06/09/17 a las 21:36, Gonzalo Garramuño escribió:
>
>
> El 06/09/17 a las 19:19, Gonzalo Garramuño escribió:
>
>> I found the web page 
>> https://ffmpeg.org/ffmpeg-utils.html#Quoting-and-escaping
>> and according to that and ffescape, I should be using:
> Charlie\'s Angels.srt
>
> Trying:
>  ffplay 
> /media/gga/Datos/movies/trailers/big_buck_bunny_1080p_surround.avi -vf 
> subtitles=../../Charlie\\\'s\\\ Angels.srt
>
> Gets me a tad further:
>
> [Parsed_subtitles_0 @ 0x7fc591925420] Unable to open ../../Charlies 
> Angels.srt
> Error initializing filter 'subtitles' with args '../../Charlie's 
> Angels.srt'
>
> Reports the file name is being passed correctly, but the subtitle 
> parser messes it up.
> Is there any workaround against this dilemma?

-- 
Gonzalo Garramuño



More information about the ffmpeg-user mailing list