[MPlayer-users] Bug Report: jpeg to avi is broken NOVIRUS

Daniel Swan swan_daniel at hotmail.com
Mon Jul 25 19:37:31 CEST 2005


Guillaume,

Thank you for the pointer.  I installed lingpng-dev, and was able to compile 
mplayer/mencoder.

I also converted my JPGs to PNGs, using imagemagic.

I still had failures on the encoding into avi, though.     The errors are 
below.  Any help decoding them is appreciated:

Selected video codec: [mpng] vfm:mpng (PNG image decoder)
==========================================================================
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp h
eader.
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using BGR 24-bit as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: using unscaled BGR 24-bit -> Planar YV12 special converter
videocodec: libavcodec (640x480 fourcc=34504d46 [FMP4])
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp h
eader.
VDec: vo config request - 320 x 240 (preferred csp: BGR 24-bit)[1148:0]
VDec: using BGR 24-bit as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)[1147:0]
VDec: using BGR 24-bit as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
vf.c: have to REALLOCATE buffer memory :(
VDec: vo config request - 320 x 240 (preferred csp: BGR 24-bit)[1067:0]
VDec: using BGR 24-bit as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
VDec: vo config request - 640 x 480 (preferred csp: BGR 24-bit)[1036:0]
VDec: using BGR 24-bit as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
vf.c: have to REALLOCATE buffer memory :(
libpng error: IDAT: CRC errorfps Trem:   0min   0mb  A-V:0.000 [794:0]]
Aborted




>From: Guillaume POIRIER <poirierg at gmail.com>
>Reply-To: Guillaume POIRIER <poirierg at gmail.com>,"MPlayer usage questions,  
>feature requests, bug reports" <mplayer-users at mplayerhq.hu>
>To: "MPlayer usage questions, feature requests,  bug reports" 
><mplayer-users at mplayerhq.hu>
>Subject: Re: [MPlayer-users] Bug Report: jpeg to avi is broken NOVIRUS
>Date: Mon, 25 Jul 2005 00:25:19 +0200
>MIME-Version: 1.0
>Received: from mail.mplayerhq.hu ([192.190.173.45]) by mc8-f8.hotmail.com 
>with Microsoft SMTPSVC(6.0.3790.211); Sun, 24 Jul 2005 15:26:04 -0700
>Received: from mail.mplayerhq.hu (localhost [127.0.0.1])by 
>mail.mplayerhq.hu (Postfix) with ESMTPid 37DA644640; Mon, 25 Jul 2005 
>00:26:03 +0200 (CEST)
>Received: by mail.mplayerhq.hu (Postfix, from userid 94)id BADD544608; Mon, 
>25 Jul 2005 00:25:57 +0200 (CEST)
>Received: from localhost (localhost [127.0.0.1])by mail.mplayerhq.hu 
>(Postfix) with ESMTP id 02039445C9for <mplayer-users at mplayerhq.hu>; Mon, 25 
>Jul 2005 00:25:37 +0200 (CEST)
>Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.204])by 
>mail.mplayerhq.hu (Postfix) with ESMTP id 523844478Afor 
><mplayer-users at mplayerhq.hu>; Mon, 25 Jul 2005 00:25:29 +0200 (CEST)
>Received: by nproxy.gmail.com with SMTP id i2so103436nfefor 
><mplayer-users at mplayerhq.hu>; Sun, 24 Jul 2005 15:25:19 -0700 (PDT)
>Received: by 10.48.249.6 with SMTP id w6mr137867nfh;Sun, 24 Jul 2005 
>15:25:19 -0700 (PDT)
>Received: by 10.48.4.16 with HTTP; Sun, 24 Jul 2005 15:25:19 -0700 (PDT)
>X-Message-Info: BVVQfv+dWoOUqcV5GCf+syjAZFLs6BHxTQ5ObZlhIv0=
>X-Original-To: mplayer-users at mplayerhq.hu
>Delivered-To: mplayer-users at mplayerhq.hu
>DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; 
>d=gmail.com;h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;b=Hh4FOhjsC1J/oiMH8QKdeD+FhaEMrREinrvLlPYTPJY+xSCJqTpbeo/1DxOo4pPbQ9mgg7Qi6Gbb3BUCsmC2AUSPUif/CfyQWmXvS0RZuvLqQp2AXQTjs6RhXu6vhCDu570HDZv4iDogUWfisXveVkBPZuAsux+prJVyoO+S7+w=
>References: 
><20050724200006.GA16209 at rz.uni-karlsruhe.de><BAY7-F21CD0760AA8FDB037CD87A90CB0 at phx.gbl>
>X-Virus-Scanned: by AMaViS 0.3.12-A1 at mail.mplayerhq.hu
>X-DCC-CTc-Metrics: mail 1030; Body=1 Fuz1=1 Fuz2=1
>X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on 
>mail.mplayerhq.hu
>X-Spam-Level: X-Spam-Status: No, score=-8.2 required=4.0 
>tests=AWL,BAYES_00,RCVD_BY_IP,SARE_TOCC_USER,TW_BP autolearn=ham 
>version=3.0.1
>X-BeenThere: mplayer-users at mplayerhq.hu
>X-Mailman-Version: 2.1.4
>Precedence: list
>List-Id: "MPlayer usage questions, feature requests,bug reports" 
><mplayer-users.mplayerhq.hu>
>List-Unsubscribe: 
><http://mplayerhq.hu/mailman/listinfo/mplayer-users>,<mailto:mplayer-users-request at mplayerhq.hu?subject=unsubscribe>
>List-Archive: </pipermail>
>List-Post: <mailto:mplayer-users at mplayerhq.hu>
>List-Help: <mailto:mplayer-users-request at mplayerhq.hu?subject=help>
>List-Subscribe: 
><http://mplayerhq.hu/mailman/listinfo/mplayer-users>,<mailto:mplayer-users-request at mplayerhq.hu?subject=subscribe>
>Errors-To: mplayer-users-bounces at mplayerhq.hu
>Return-Path: mplayer-users-bounces at mplayerhq.hu
>X-OriginalArrivalTime: 24 Jul 2005 22:26:05.0015 (UTC) 
>FILETIME=[AE1AC670:01C5909E]
>
>Hi,
>
>On 7/24/05, Daniel Swan <swan_daniel at hotmail.com> wrote:
> > Reimar, that's an excellent call on the progressive JPG.
> >
> > I've converted my JPGS to PNGs and tried to mencode them, but mencoder
> > complains about not recognizing their format.  So, I try to recompile 
>with
> > --enable-jpg, but the compile craps out with the following error:
> >
> > ...
> > vd_mpng.c:80: error: `png_colorp' undeclared (first use in this 
>function)
> > vd_mpng.c:80: error: syntax error before "pal"
> > vd_mpng.c:85: error: `png' undeclared (first use in this function)
> > vd_mpng.c:85: warning: implicit declaration of function
> > `png_create_read_struct'
> > vd_mpng.c:85: error: `PNG_LIBPNG_VER_STRING' undeclared (first use in 
>this
> > function)
> > vd_mpng.c:86: warning: implicit declaration of function
> > `png_create_info_struct'
> > vd_mpng.c:86: error: incompatible types in assignment
> > vd_mpng.c:87: error: `endinfo' undeclared (first use in this function)
> > vd_mpng.c:91: warning: implicit declaration of function 
>`png_set_read_fn'
> > vd_mpng.c:92: warning: implicit declaration of function 
>`png_set_sig_bytes'
> > vd_mpng.c:93: warning: implicit declaration of function `png_read_info'
> > vd_mpng.c:94: warning: implicit declaration of function `png_get_IHDR'
> > vd_mpng.c:94: error: `png_width' undeclared (first use in this function)
> > vd_mpng.c:94: error: `png_height' undeclared (first use in this 
>function)
> > vd_mpng.c:95: warning: implicit declaration of function `png_set_bgr'
> > vd_mpng.c:97: error: invalid type argument of `->'
> > vd_mpng.c:98: error: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use 
>in
> > this function)
> > vd_mpng.c:101: error: `PNG_COLOR_TYPE_GRAY' undeclared (first use in 
>this
> > function)
> > vd_mpng.c:104: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in 
>this
> > function)
> > vd_mpng.c:107: error: `PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use 
>in
> > this function)
> > vd_mpng.c:110: error: `PNG_COLOR_TYPE_RGB' undeclared (first use in this
> > function)
> > vd_mpng.c:114: error: invalid type argument of `->'
> > vd_mpng.c:140: error: syntax error before ')' token
> > vd_mpng.c:142: error: `i' undeclared (first use in this function)
> > vd_mpng.c:143: warning: implicit declaration of function 
>`png_read_image'
> > vd_mpng.c:147: warning: implicit declaration of function `png_get_PLTE'
> > vd_mpng.c:147: error: `pal' undeclared (first use in this function)
> > vd_mpng.c:158: warning: implicit declaration of function `png_read_end'
> > vd_mpng.c:159: warning: implicit declaration of function
> > `png_destroy_read_struct'
> > make[1]: *** [vd_mpng.o] Error 1
> > make[1]: Leaving directory `/var/tmp/cvs/main/libmpcodecs'
> > make: *** [libmpcodecs/libmpcodecs.a] Error 2
> > memeticcandiru:/var/tmp/cvs/main#
> >
> >
> > Any thoughts?  I am using Debian Sarge, and have libpng installed.
>
>You need also the dev headers (probably called libpng-dev). Please
>note that the "--enable" switches allow you to shoot yourself in the
>foot, as it's try to compile the parts of mplayer you activated
>whether or not you have the necessary headers.
>
>So, WHENEVER you use --enable, please be sure that you're not doing
>smth dumb. :-)
>Guillaume
>--
>I feel sorry for people who don't drink.
>When they wake up in the morning, that's
>as good as they're going to feel all day.
>  -- Frank Sinatra
>
>_______________________________________________
>MPlayer-users mailing list
>MPlayer-users at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-users





More information about the MPlayer-users mailing list