By default, libavformat writes error messages to stderr , Like:
Estimating duration from bitrate, this may be inaccurate
How can i turn it off? or better yet, plug it into my own neat logging function?
Edit: Redirecting stderr to another location is unacceptable since I need it for other logging purposes, I just want libavformat not to write to it.
c ffmpeg libav libavcodec libavformat
amrhassan
source share