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

2017-09-07 Thread Gonzalo Garramuño

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

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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

2017-09-06 Thread Gonzalo Garramuño


$ ffplay 
/media/gga/Datos/movies/trailers/big_buck_bunny_1080p_surround.avi -vf 
subtitles="Charlie's Angels.srt"


ffplay version N-87016-g7fde655 Copyright (c) 2003-2017 the FFmpeg 
developers

  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --enable-gpl --enable-shared --enable-gray 
--enable-runtime-cpudetect --enable-bzlib --enable-libfreetype 
--enable-libmp3lame --enable-libtheora --enable-libvorbis 
--enable-libass --enable-libvpx --enable-libx264 --enable-libx265

  libavutil  55. 74.100 / 55. 74.100
  libavcodec 57.102.100 / 57.102.100
  libavformat57. 76.100 / 57. 76.100
  libavdevice57.  7.100 / 57.  7.100
  libavfilter 6. 99.100 /  6. 99.100
  libswscale  4.  7.102 /  4.  7.102
  libswresample   2.  8.100 /  2.  8.100
  libpostproc54.  6.100 / 54.  6.100
Input #0, avi, from 
'/media/gga/Datos/movies/trailers/big_buck_bunny_1080p_surround.avi':

  Metadata:
encoder : AVI-Mux GUI 1.17.7, Aug  8 2006  20:59:17
JUNK:
  Duration: 00:09:56.46, start: 0.00, bitrate: 12455 kb/s
Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), 
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 12001 kb/s, 24 fps, 24 tbr, 24 
tbn, 24 tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), 
fltp, 448 kb/s
[Parsed_subtitles_0 @ 0x7f0969925ac0] Shaper: FriBidi 0.19.7 (SIMPLE) 
HarfBuzz-ng 1.0.1 (COMPLEX)

[Parsed_subtitles_0 @ 0x7f0969925ac0] Unable to open Charlies Angels.srt
Error initializing filter 'subtitles' with args 'Charlies Angels.srt'
  -0.01 A-V:nan fd=   0 aq=   74KB vq= 1081KB sq=0B f=0/0

Notice in the above log that Charlie's Angels.srt has mutated to 
Charlies Angels.srt.  I've tried backslashing (\) the ' (single quote), 
adding double quotes, single quotes, etc. with no success.


Is the file not playable at all by the vf_subtitles filter?

--
Gonzalo Garramuño

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".