[FFmpeg-cvslog] r20822 - in trunk: ffmpeg.c ffplay.c
Mon Dec 21 03:16:14 CET 2009
On Sun, Dec 20, 2009 at 6:06 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> 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
Applied in a bunch of small steps...
More information about the ffmpeg-cvslog