[MPlayer-dev-eng] patch for PNG output
Vincent Chapdelaine-Couture
chapdelv at iro.umontreal.ca
Thu Nov 1 17:39:08 CET 2007
Hi,
I tested the command you suggested using the latest svn. As soon as I use the 'vcodec=png' option (for eg./mencoder videoin.mpg -o videoout.png -ovc lavc -lavcopts
codec=png -of rawvideo"), I get no output.
I briefly looked at the source code, and the problem seems to be in libavcodec/png.c, in the function
static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)
The value of 'avctx->pix_fmt' doesn't seem to be set correctly; it is always 0 and doesn't enter any cases
in
switch(avctx->pix_fmt) {
...
}
Any help will be appreciated.
Regards,
-Vincent
Reimar Döffinger wrote:
> On Thu, Oct 18, 2007 at 09:05:12AM -0400, Vincent Chapdelaine-Couture wrote:
>
>> We propose a simple change to the PNG output module to create
>> concatenated PNG data in a single file instead of multiple files.
>>
>
> This was reviewed by me on Oct 3rd already, until at least the issues I
> pointed out then are fixed this is rejected.
> It would also help to say why you can't use "mencoder -ovc lavc -lavcopts
> codec=png -of rawvideo" or similar.
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
More information about the MPlayer-dev-eng
mailing list