Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to convert an image sequence to a video file with some text overlay(eventually frame counter).

The command I am using

ffmpeg -r 24 -y -i mambo_%05d.png -i ..\3DW_Mambo.wav \
  -vf drawtext="fontfile=/Windows/Fonts/arial.ttf:text='test' " test.mp4

Unfortunately everytime I try running it, it can't seem to find the font. I've seen other people succesfully use the same syntax, so not sure what I might be doing different?

I've checked that the font is named correctly.

share|improve this question

migrated from stackoverflow.com Apr 29 '13 at 14:29

This question came from our site for professional and enthusiast programmers.

up vote 6 down vote accepted

Carl suggests double escaping

-vf drawtext="fontfile=C\\:/Windows/Fonts/arial.ttf:text='test'"
share|improve this answer
    
That worked. What an odd quirk. Thank you :-) – Dhruv Govil Apr 26 '13 at 3:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .