[FFmpeg-devel] [PATCH] Set loglevel with strings in ffmpeg.c.

Ramiro Polla ramiro.polla
Thu Jun 11 23:48:59 CEST 2009


On Thu, Jun 11, 2009 at 6:30 PM, Michael Niedermayer<michaelni at gmx.at> wrote:
> On Thu, Jun 11, 2009 at 02:08:41PM -0300, Ramiro Polla wrote:
>> $subj makes it more user-friendly, i.e.:
>> ffmpeg -loglevel info -i input output
>>
>> Ramiro Polla
>
>> ?ffmpeg.c | ? 34 ++++++++++++++++++++++++++++++++--
>> ?1 file changed, 32 insertions(+), 2 deletions(-)
>> b69c3b8cd2469ff83024c20d90ce7b5da1fe5117 ?loglevel.diff
>
> iam not sure if this is worth it but i am sure ffmpeg.c is the wrong place
> ffplay & ffserver should also support that

libavutil/options.c maybe?
I don't want to spend much more time on this patch, but maybe Stefano
wants to pick it up =)

Ramiro Polla



More information about the ffmpeg-devel mailing list