[FFmpeg-user] filter: subtitles and special chars

Nicolas George george at nsup.org
Thu Mar 2 22:21:01 EET 2017


Le duodi 12 ventôse, an CCXXV, Mike F a écrit :
> Hello,

Hello. You just hijacked a thread. It is forbidden on this list. I
suggest you re-read the posting guidelines carefully in order to not do
anything forbidden again.

> The only small issues is that the subtitle filename.srt can not use
> any characters that need to be escaped, such as '[' ']' etc.

This is not specific to the subtitles filter. The escaping rules are
documented, you just need to read them. Of course, you have to take into
account the escaping required by your shell.

> -filter:v scale=960:-1,subtitles=myvidfile\[1of3\].srt:charenc=CP1250:force_style='Fontsize=24:original_size=hd480'
> 
> the "myvidfile\[1of10\].srt" name causes ffmpeg to error out with:

The fact that the file name does not match is rather worrisome. If you
want useful help, you have to be very careful that the commands you show
here match exactly the one you tested and the errors you report.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170302/8b9d6060/attachment.sig>


More information about the ffmpeg-user mailing list