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

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



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?


More information about the ffmpeg-user mailing list