[FFmpeg-devel] Problem logging feature request/patch on bug tracker.

Rodney Baker rodney.baker
Tue Jan 27 14:41:46 CET 2009


On Tuesday 27 January 2009 23:34:25 Alexandre FERRIEUX - FT/RD/SIRP/ASF/SOFTL 
wrote:
> 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.

Regards,
Rodney.

-- 
===================================================
Rodney Baker VK5ZTV
rodney.baker at iinet.net.au
=================================================== 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090128/09f87b8f/attachment.pgp>



More information about the ffmpeg-devel mailing list