[FFmpeg-user] Playing a file with subtitles that have single quotes in their filename
Gonzalo Garramuño
ggarra13 at gmail.com
Thu Sep 7 01:19:04 EEST 2017
$ 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
libavformat 57. 76.100 / 57. 76.100
libavdevice 57. 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
libpostproc 54. 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.000000, 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
More information about the ffmpeg-user
mailing list