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

Ramiro Polla ramiro.polla
Sun Dec 20 18:03:21 CET 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: help_no_arguments_2.diff
Type: text/x-diff
Size: 2296 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20091220/c8080089/attachment-0001.diff>



More information about the ffmpeg-cvslog mailing list