This is exactly what i need. Thank you.

Btw, you're saying that my ffmpeg version is old, but I've done a yum install 
ffmpeg from my CENTOS 6.5.
Is there any reason why I don't get  the latest version?

Regards,
Thibault Leboucq

-----Message d'origine-----
De : ffmpeg-user [mailto:[email protected]] De la part de Moritz 
Barsnick
Envoyé : mercredi 9 mars 2016 21:47
À : FFmpeg user discussions <[email protected]>
Objet : Re: [FFmpeg-user] Get fatal error informations

Hello Thibault,

On Wed, Mar 09, 2016 at 16:20:55 +0000, Thibault wrote:

> No, it was -loglevel error but you've helped me to get it. But now I
> understand that ffmpeg is mixing standard output and error output
> which is a problem for me because I need to calculate progression
> using the log.

A good way to parse the progression of conversion is not to take the
console output, but to use the "-progress <file|url>" option instead.

$ ffmpeg -loglevel error -progress myconversion.log [...]

You will see the error message on the console, and you can separately
parse the log file myconversion.log, which has all the values nicely
lined up in variable=value lines, much easier to parse.

I must emphasize that your very old version of ffmpeg probably doesn't
support the "-progress" option. As Carl Eugen pointed out, it may even
have security issues. Please get hold of the latest release, or of a
build of git master, or build it yourself.

Moritz
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to