# [FFmpeg-user] FW: ffmpeg report option - syntax error

gergely Gergely.Lukacsy at streamnet.hu
Wed Jun 25 10:18:29 CEST 2014

Hi again!

Tried on linux, and it works like it should be.

On windows, it's a bit more complicated, but nothing serious.
In NT environment, when you want to insert a full path in the 'file'
argument, you have to escape both backslashes and colons.
So when I used the following expression:

C:\>SET FFREPORT=level=48:file=C:\a.txt

I got following (not critical) error:

C:\>ffmpeg-20140617-git-61df081-win64-static\bin\ffmpeg.exe -report
Failed to parse FFREPORT environment variable: Error number -22 occurred
ffmpeg started on 2014-06-25 at 09:56:13
Report written to "C"
[...]

So the correct form is:
C:\>SET FFREPORT=level=48:file=C\:\\path\\to\\logfile.txt