<p>I did solved this with " "</p>

<pre><code>"subtitles=subtitle.srt:force_style='FontName=ubuntu,Fontsize=30'"
</code></pre>

CC BY-SA 3.0
2016-12-11T23:21:38.907Z
2016-12-11T23:21:38.907Z
Slobodan Vidovic
<p>Remove the space.</p>

<pre><code>ffmpeg -i movie.avi -strict -2 -vf subtitles=subtile.srt:force_style='FontName=ubuntu,Fontsize=30' -qscale:v 3 out.avi
</code></pre>

CC BY-SA 3.0
2016-12-11T18:06:10.070Z
Tnx for quick reply but Iv got same error 
[AVFilterGraph @ 0x1f56f20] No such filter: 'Fontsize'
Slobodan Vidovic
CC BY-SA 3.0
2016-12-11T19:08:24.343Z
This is a matter of which quote marks you're using. If I use double quotes, I get the same error. With single quotes, it works. Is your command run from inside a batch file?
Gyan
CC BY-SA 3.0
2016-12-11T19:29:49.280Z
No its not its command line Im getting error and I using single quotes TNX
Slobodan Vidovic
CC BY-SA 3.0
2016-12-11T19:34:12.593Z
Show the full console output.
Gyan
CC BY-SA 3.0
2016-12-11T19:51:06.557Z
Here you go http://pastebin.com/GWT0YMtW
Slobodan Vidovic
CC BY-SA 3.0
2016-12-11T20:04:47.310Z
Try escaping the single quotes. This is really a shell-related Q, not ffmpeg.
Gyan
CC BY-SA 3.0
2016-12-11T20:50:37.187Z
I did tried without '' but same dial filter error
Slobodan Vidovic
CC BY-SA 3.0
2016-12-11T21:10:57.023Z
Try my command on another OS or setup if you can.
Gyan
CC BY-SA 4.0
2020-09-08T11:31:13.463Z
In my shell I had to escape the comma: `ffmpeg -i movie.avi -strict -2 -vf subtitles=subtile.srt:force_style='FontName=ubuntu\,Fontsize=30' -qscale:v 3 out.avi`
user1169629
CC BY-SA 3.0
2016-12-11T17:56:17.577Z
2016-12-11T17:56:17.577Z
Gyan
<p>Im trying to set font and font size but i can use only one of the filters not both here is mine command </p>

<pre><code>ffmpeg -i movie.avi -strict -2 -vf subtitles=subtile.srt:force_style='FontName=ubuntu, Fontsize=30' -qscale:v 3 out.avi
</code></pre>

<p>but I get</p>

<pre><code>No such filter: 'Fontsize'
</code></pre>

<p>But if I set just Fontsize it works just fine, any help ? TNX in advance</p>

<ffmpeg><filter><linux>
"ffmpeg" set fontsize and font
Slobodan Vidovic
# "ffmpeg" set fontsize and font

(Asked by: username_0 on 2016-12-11)

Im trying to set font and font size but i can use only one of the filters not both here is mine command 
ffmpeg -i movie.avi -strict -2 -vf subtitles=subtile.srt:force_style='FontName=ubuntu, Fontsize=30' -qscale:v 3 out.avi

but I get
No such filter: 'Fontsize'

But if I set just Fontsize it works just fine, any help ? TNX in advance

**Tags:** ffmpeg, filter, linux


---

## 2 answers

### Answer by username_0 on 2016-12-11. Score: 3

I did solved this with " "
"subtitles=subtitle.srt:force_style='FontName=ubuntu,Fontsize=30'"


---

### Answer by username_1 on 2016-12-11. Score: 1

Remove the space.
ffmpeg -i movie.avi -strict -2 -vf subtitles=subtile.srt:force_style='FontName=ubuntu,Fontsize=30' -qscale:v 3 out.avi

> **Comments:**
> **username_0**: Tnx for quick reply but Iv got same error  [AVFilterGraph @ 0x1f56f20] No such filter: 'Fontsize'  
> **username_1**: This is a matter of which quote marks you're using. If I use double quotes, I get the same error. With single quotes, it works. Is your command run from inside a batch file?  
> **username_0**: No its not its command line Im getting error and I using single quotes TNX  
> **username_1**: Show the full console output.  
> **username_0**: Here you go http://pastebin.com/GWT0YMtW  
> **username_1**: Try escaping the single quotes. This is really a shell-related Q, not ffmpeg.  
> **username_0**: I did tried without '' but same dial filter error  
> **username_1**: Try my command on another OS or setup if you can.  
> **username_2**: In my shell I had to escape the comma: `ffmpeg -i movie.avi -strict -2 -vf subtitles=subtile.srt:force_style='FontName=ubuntu\,Fontsize=30' -qscale:v 3 out.avi`  

---

