[FFmpeg-cvslog] r20822 - in trunk: ffmpeg.c ffplay.c

Michael Niedermayer michaelni
Sun Dec 20 21:06:00 CET 2009


On Sun, Dec 20, 2009 at 03:03:21PM -0200, Ramiro Polla wrote:
> On Sun, Dec 20, 2009 at 11:08 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Sun, Dec 20, 2009 at 11:03:11AM +0100, Reimar D?ffinger wrote:
> >> On Sun, Dec 20, 2009 at 02:01:45AM -0200, Ramiro Polla wrote:
> >> > By the way I agree with Stefano. FFmpeg prints out the whole help
> >> > which is big enough to exhaust a console's buffer and the last lines
> >> > of help don't really help much...
> >
> > if help exhaust the buffer this is a seperate problem because it makes
> > help kinda hard to use especially for unix newbies
> 
> VLC has --help, --longhelp, and --full-help. Maybe Stefano wants to
> implement something similar for FFmpeg =)
> 
> >> > Patch attached. Help on wording is welcome.
> >>
> >> Even better would be to print a really short help, to remind the
> >> user in case the generic syntax has slipped and they need a reminder.
> >> E.g.
> >> "Basic usage:
> >> ffmpeg -i <input> -vcodec <video codec> -acodec <audio codec> <output>
> >> Use -h to get full help or even better read the man page"
> >
> > s/read the man page/run 'man ffmpeg'/
> > and yes
> 
> New patch with a couple of ideas taken from ffmbc:
> - make a show_usage function.
> - invert printing program description and basic usage
> - add [option] before all input options in the basic usage

patches ok

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20091220/221400b4/attachment.pgp>



More information about the ffmpeg-cvslog mailing list