[MPlayer-dev-eng] [PATCH] Add prefix to filename of files created by PNG video output

compn tempn at twmi.rr.com
Tue Feb 1 17:33:38 CET 2011


On Tue, 1 Feb 2011 17:01:55 +0100, Clément Bœsch wrote:
>On Sun, Dec 12, 2010 at 03:04:33PM -0200, Marco Aurélio Graciotto Silva wrote:
>> I was wondering if Mplayer couldn't add a prefix to the filename of
>> the PNG created using PNG 'video' output.
>> 
>> Thus, I created a small patch that allows the usage of a prefix for
>> the PNG output filename. The new option is "outfile", which is used to
>> define the 'png_outfile_prefix' variable. The default behaviour is the
>> same as Mplayer currently has (default value for 'png_outfile_prefix'
>> is an empty string), so backwards compatibility is kept.
>> 
>> The patch was created against MPlayer svn #32707.
>> 
>> Regards,
>> 
>> Marco Aurélio
>
>> Index: libvo/vo_png.c
>> ===================================================================
>> --- libvo/vo_png.c	(revision 32707)
>> +++ libvo/vo_png.c	(working copy)
>
>It seems we forgot your patch, sorry. I'll test and commit it tonight if
>it works.

feature request: it would be better if there were a generic filename
output modifyer for vo_gif vo_jpeg vo_tga vo_png etc

-compn


More information about the MPlayer-dev-eng mailing list