[FFmpeg-user] Get fatal error informations
Thibault
thibault at capitalvision.fr
Mon Mar 14 15:00:58 CET 2016
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:ffmpeg-user-bounces at ffmpeg.org] De la part de Moritz Barsnick
Envoyé : mercredi 9 mars 2016 21:47
À : FFmpeg user discussions <ffmpeg-user at ffmpeg.org>
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
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list