Cómo agregar texto a un video con ffmpeg y python

He estado tratando de agregar texto a un avi con ffmpeg y parece que no puedo hacerlo bien.

Por favor ayuda

import subprocess

ffmpeg = "C:\\ffmpeg_10_6_11.exe"
inVid = "C:\\test_in.avi"
outVid = "C:\\test_out.avi"

proc = subprocess.Popen(ffmpeg + " -i " + inVid + " -vf drawtext=fontfile='arial.ttf'|text='test' -y " + outVid , shell=True, stderr=subprocess.PIPE)
proc.wait()
print proc.stderr.read()

Respuestas a la pregunta(2)

Su respuesta a la pregunta