[FFmpeg-user] filter: subtitles and special chars
george at nsup.org
Thu Mar 2 22:21:01 EET 2017
Le duodi 12 ventôse, an CCXXV, Mike F a écrit :
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the ffmpeg-user