Answers.Body: <p>I did solved this with " "</p>
  
  <pre><code>"subtitles=subtitle.srt:force_style='FontName=ubuntu,Fontsize=30'"
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-11T23:21:38.907Z
Answers.LastActivityDate: 2016-12-11T23:21:38.907Z
Answers.UserDisplayName: Slobodan Vidovic
Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-11T18:06:10.070Z
Answers.Text: Tnx for quick reply but Iv got same error 
  [AVFilterGraph @ 0x1f56f20] No such filter: 'Fontsize'
Answers.UserDisplayName: Slobodan Vidovic
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-11T19:08:24.343Z
Answers.Text: 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?
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-11T19:29:49.280Z
Answers.Text: No its not its command line Im getting error and I using single quotes TNX
Answers.UserDisplayName: Slobodan Vidovic
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-11T19:34:12.593Z
Answers.Text: Show the full console output.
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-11T19:51:06.557Z
Answers.Text: Here you go http://pastebin.com/GWT0YMtW
Answers.UserDisplayName: Slobodan Vidovic
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-11T20:04:47.310Z
Answers.Text: Try escaping the single quotes. This is really a shell-related Q, not ffmpeg.
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-11T20:50:37.187Z
Answers.Text: I did tried without '' but same dial filter error
Answers.UserDisplayName: Slobodan Vidovic
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-11T21:10:57.023Z
Answers.Text: Try my command on another OS or setup if you can.
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-08T11:31:13.463Z
Answers.Text: 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`
Answers.UserDisplayName: user1169629
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-11T17:56:17.577Z
Answers.LastActivityDate: 2016-12-11T17:56:17.577Z
Answers.UserDisplayName: Gyan
Body: <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>
  
Tags: <ffmpeg><filter><linux>
Title: "ffmpeg" set fontsize and font
UserDisplayName: Slobodan Vidovic
ThreadText: # "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`  
  
  ---
  
  