[FFmpeg-devel] Problem logging feature request/patch on bug tracker.
Tue Jan 27 14:41:46 CET 2009
On Tuesday 27 January 2009 23:34:25 Alexandre FERRIEUX - FT/RD/SIRP/ASF/SOFTL
> Rodney Baker wrote:
> > Can show_banner() in cmdutils.c be modified to write to stdout?
> Please no ! Doing so will make "-" unusable as an output for all ffmpeg
> users... Surely you don't want thousands of enemies in one minute ,right
Not really - what is "-" used for? I don't recall seeing that in the man page
(maybe I missed it).
> In unix the tradition is to have the valuable and/or binary data flow
> through stdout, and human-intended logs and diagnosis through stderr.
> Just stick to it; the fact that one part of it doesn't please you is
> your business (though it might violate some legale agreement BTW). You
> can always filter the stderr with 'sed' if you really need to.
sed (along with awk) is something that I've always been meaning to learn but
never really needed to use in any sort of serious way (I usually copy other
people's examples/recipes if I need to use it).
Thanks for the advice though. Like I said in my original post, I really didn't
have any idea of the wider implications - it just seemed like a simple
solution. I figured there was probably a reason for it though. So, I've
learned something. At least that is worthwhile.
Rodney Baker VK5ZTV
rodney.baker at iinet.net.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part.
More information about the ffmpeg-devel