[Ffmpeg-devel] av_log, usage in mpeg12.c

Giovanni Bandini giovannibandini
Mon Apr 2 15:46:27 CEST 2007


Hello,

I'm working on ffmpeg (trying to convert a java-jffmpeg-based watermarking
utility) and I need to write some variables on a file in mpeg12.c, where
fprintf is not allowed.
I tried to use av_log and i set av_log_set_callback so that it writes
messages to my .txt file instead of stderr.
How can I use av_log in mpeg12.c to write variables to my .txt file, or,
where can I found a guide on av_log's usage?
Thanks,
Giovanni




More information about the ffmpeg-devel mailing list