From xvid-devel-bounces@xvid.org Thu Jan 5 12:32:11 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id 2C98B126D89 for ; Thu, 5 Jan 2006 12:32:11 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id E65341F037; Thu, 5 Jan 2006 12:31:54 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id 084F61F032 for ; Thu, 5 Jan 2006 12:31:40 +0100 (CET) Received: from cacad.com (mail.cacad.com [83.148.87.2]) by s6.lansco.de (Postfix) with SMTP id 314EC294A7 for ; Thu, 5 Jan 2006 12:31:37 +0100 (CET) Received: (qmail 16884 invoked by uid 33); 5 Jan 2006 11:30:46 -0000 Received: from 84.252.46.3 (SquirrelMail authenticated user ivan) by mail.cacad.com with HTTP; Thu, 5 Jan 2006 13:30:46 +0200 (EET) Message-ID: <35665.84.252.46.3.1136460646.squirrel@mail.cacad.com> In-Reply-To: <1135145706.3200.3.camel@localhost.localdomain> References: <20051220044416.GJ6501@MichaelsNB> <1135145706.3200.3.camel@localhost.localdomain> Date: Thu, 5 Jan 2006 13:30:46 +0200 (EET) Subject: Re: [XviD-devel] possible qpel direct chroma MV rounding bug From: "Ivan Kalvachev" To: skal@planet-d.net, xvid-devel@xvid.org User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Cc: X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org Pascal Massimino said: > > Hi Michael! > > On Tue, 2005-12-20 at 05:44, Michael Niedermayer wrote: >> Hi >> >> after some heated flam .. ehh i mean disscussion about libavcodec ability >> to decode xvid encoded files binary identically to xvid i found some >> differences, when using qpel + b frames, one of these is caused by the >> following code in xvid, which doesnt seem to match the mpeg4 spec but >> its 5oclock in the morning so please forgive me if iam wrong > > Indeed, i think you're perfectly right (even at 5am;). > The code doesn't follow the spec. Now, even if the fix > is trivial, we'll have to think of something for the > backward compatibility... > > later! > Skal I'm just curious have you checked if there is (not) similar bug in the encoder? I'm sure you did but I just need confirmation. _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Thu Jan 5 13:05:38 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id B703D126D89 for ; Thu, 5 Jan 2006 13:05:38 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id 3B0B01F03B; Thu, 5 Jan 2006 13:05:29 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id 4A51D1F02F for ; Thu, 5 Jan 2006 13:05:20 +0100 (CET) Received: from localhost (ASte-Genev-Bois-151-1-45-178.w83-114.abo.wanadoo.fr [83.114.155.178]) by s6.lansco.de (Postfix) with ESMTP id BD041294D5 for ; Thu, 5 Jan 2006 13:05:11 +0100 (CET) Received: from massimin by localhost with local (Exim 4.60) (envelope-from ) id 1EuTrZ-0000mR-KK for xvid-devel@xvid.org; Thu, 05 Jan 2006 13:05:01 +0100 Subject: Re: [XviD-devel] possible qpel direct chroma MV rounding bug From: skal Cc: xvid-devel@xvid.org In-Reply-To: <35665.84.252.46.3.1136460646.squirrel@mail.cacad.com> References: <20051220044416.GJ6501@MichaelsNB> <1135145706.3200.3.camel@localhost.localdomain> <35665.84.252.46.3.1136460646.squirrel@mail.cacad.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 05 Jan 2006 13:05:01 +0100 Message-Id: <1136462701.2913.4.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org Hi Ivan and all, On Thu, 2006-01-05 at 13:30 +0200, Ivan Kalvachev wrote: > > I'm just curious have you checked if there is (not) similar bug in the encoder? Actually, (and surprisingly? :) the encoder side is ok (~> motion_comp.c:240), and that's rather fortunate. Bye! Skal _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Thu Jan 5 23:49:48 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id 5D60D126D90 for ; Thu, 5 Jan 2006 23:49:48 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id 37D0B1EECB; Thu, 5 Jan 2006 23:49:34 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id 78A581EEBB for ; Thu, 5 Jan 2006 23:49:29 +0100 (CET) Received: from debi.pekin.waw.pl (pekin.waw.pl [80.55.44.166]) by s6.lansco.de (Postfix) with ESMTP id D4AEB296BE for ; Thu, 5 Jan 2006 23:49:25 +0100 (CET) Received: from debi.pekin.waw.pl (debi.pekin.waw.pl [127.0.0.1]) by debi.pekin.waw.pl (Postfix) with ESMTP id 03348129C2 for ; Thu, 5 Jan 2006 23:49:24 +0100 (CET) Received: from rathann.pekin.waw.pl (rathann.pekin.waw.pl [192.168.2.15]) by debi.pekin.waw.pl (Postfix) with ESMTP id 52F13129B2 for ; Thu, 5 Jan 2006 23:49:23 +0100 (CET) Received: by rathann.pekin.waw.pl (Postfix, from userid 500) id 5B5E9389E9; Thu, 5 Jan 2006 23:49:22 +0100 (CET) Date: Thu, 5 Jan 2006 23:49:22 +0100 From: Dominik 'Rathann' Mierzejewski To: xvid-devel@xvid.org Message-ID: <20060105224922.GA7551@rathann.pekin.waw.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Linux-Registered-User: 134951 X-Homepage: http://rpm.greysector.net/ User-Agent: Mutt/1.5.9i X-Virus-Scanned: ClamAV using ClamSMTP Subject: [XviD-devel] Possible GPL violation by Nvideo Technology X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org Hello, folks. You probably haven't heard about NPlayer[1], supposedly Nvideo Tech's own product. They advertised it in June 2004 on doom9 forum[2], but vanished quickly when someone uncovered it as a potential MPlayer ripoff. It isn't so obvious now, probably because they obfuscated the strings in the binaries more thoroughly (some kind of compression, I guess). We (MPlayer team) never investigated it[3], but maybe it's time to change that. What does it have to do with XviD? Well, now they're selling NConvert[4], which seems to contain at least XviD 0.9.1 copyright notice in one of the files that get installed: [~/.wine/drive_c/Program Files/nvideo-tech/firmwire]$ md5sum enccore.firm 7ed2323299043249e02246c7001aea50 enccore.firm [~/.wine/drive_c/Program Files/nvideo-tech/firmwire]$ strings enccore.firm | egrep 'XviD|source code' This software is derived from the GNU GPL XviD codec (0.9.1). Your software distributor has to give access to its source code. I thought you might be interested in investigating that. Regards, R. [1] http://www.nvideo-tech.com/nplayer_detail.htm [2] http://forum.doom9.org/showthread.php?s=&threadid=78043 [3] http://thread.gmane.org/gmane.comp.video.mplayer.devel/18174 [4] http://www.nvideo-tech.com/nconvert_detail.htm PS. While googling for the copyright notice, I came across this: http://www.pdaphonehome.com/forums/showthread.php?s=&threadid=25576&perpage=20&pagenumber=2 PS2. I guess nobody is buying "their" software or else we would've heard about it by now... -- MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/ "I am Grey. I stand between the candle and the star. We are Grey. We stand between the darkness ... and the light." -- Delenn in Grey Council in Babylon 5:"Babylon Squared" _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Fri Jan 6 13:04:27 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id 85D4B126D82 for ; Fri, 6 Jan 2006 13:04:27 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id 447871F044; Fri, 6 Jan 2006 13:04:18 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id 96FF41F044 for ; Fri, 6 Jan 2006 13:03:48 +0100 (CET) Received: from smtp1.nexcess.net (smtp1.nexcess.net [69.56.137.10]) by s6.lansco.de (Postfix) with SMTP id 8BAA82968C for ; Fri, 6 Jan 2006 13:03:44 +0100 (CET) Received: (qmail 25320 invoked by uid 108); 6 Jan 2006 12:03:42 -0000 Received: from ultrvet.nexcess.net (66.118.191.15) by smtp1.nexcess.net with SMTP; 6 Jan 2006 12:03:42 -0000 Received: (qmail 13859 invoked by uid 109); 6 Jan 2006 12:03:17 -0000 Received: from dualin.et.tudelft.nl (dualin.et.tudelft.nl [130.161.38.17]) by itsacon.net (Horde) with HTTP for ; Fri, 6 Jan 2006 07:03:17 -0500 Message-ID: <20060106070317.vsjqyzjfp4u84kkk@itsacon.net> Date: Fri, 6 Jan 2006 07:03:17 -0500 From: postmaster@itsacon.net To: xvid-devel@xvid.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.1) Subject: [XviD-devel] Entry point for encoder X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org Hi everyone. For a university project, I'm currently trying to port XviD to a Texas Instruments DM642 DSP. This board, to be exactly: http://focus.ti.com/docs/toolsw/folders/print/tmdsevm642.html I already have the video capture and video out parts, and I'm trying to find the best way to hook in the decoder. My video capture code gives me three pointers to a fram (Y, U & V), and I've found that I probably need to hook these into the image queue for the enc_encode() function. My first question, what is the best way to do this? Can I pass them as parameters to an enc_create() call? Or is enc_create only called once, as an init function, and not every frame? I'm not very clear on this part. If the second, what IS the right way? For the first parameter of enc_encode() wants a lot more than only the frame pointers, so do I really need to send these again every frame? Second, I'm trying to create a loopback device, that is, encode my incoming videostream, decode it again and pass it on to de video out. What is the 'easiest' way to hook the encoder's output to the decoder's input? Thank you all in advance, Bernard. _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Sun Jan 8 23:42:32 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id 4F09A126D82 for ; Sun, 8 Jan 2006 23:42:32 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id BF4E51F00A; Sun, 8 Jan 2006 23:42:29 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id 7381F1F007 for ; Sun, 8 Jan 2006 23:42:21 +0100 (CET) Received: from s5.lansco.de (s5.lansco.de [212.63.130.170]) by s6.lansco.de (Postfix) with ESMTP id 014CC28E58 for ; Sun, 8 Jan 2006 23:42:17 +0100 (CET) Received: from localhost (s5.lansco.de [212.63.130.170]) by s5.lansco.de (Postfix) with ESMTP id D2DAEC65F for ; Sun, 8 Jan 2006 23:42:17 +0100 (CET) Received: from p54B5C0D3.dip.t-dialin.net (p54B5C0D3.dip.t-dialin.net [84.181.192.211]) by www.lansco.de (IMP) with HTTP for ; Sun, 8 Jan 2006 23:42:17 +0100 Message-ID: <1136760137.43c19549bf8b5@www.lansco.de> Date: Sun, 8 Jan 2006 23:42:17 +0100 From: Michael Militzer To: xvid-devel@xvid.org Subject: Re: [XviD-devel] Possible GPL violation by Nvideo Technology References: <20060105224922.GA7551@rathann.pekin.waw.pl> In-Reply-To: <20060105224922.GA7551@rathann.pekin.waw.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Originating-IP: 84.181.192.211 X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org Hi, thanks for pointing this out. We can confirm that there are XviD strings in the software but we didn't have a closer look yet (e.g. how XviD is actually integrated in their app etc. (not that it would make a difference)). Will investigate further... Regards, Michael Quoting Dominik 'Rathann' Mierzejewski : > Hello, folks. > > You probably haven't heard about NPlayer[1], supposedly Nvideo Tech's own > product. > > They advertised it in June 2004 on doom9 forum[2], but vanished quickly > when someone uncovered it as a potential MPlayer ripoff. > > It isn't so obvious now, probably because they obfuscated the strings in > the binaries more thoroughly (some kind of compression, I guess). > > We (MPlayer team) never investigated it[3], but maybe it's time to change > that. > > What does it have to do with XviD? Well, now they're selling NConvert[4], > which seems to contain at least XviD 0.9.1 copyright notice in one of the > files that get installed: > > [~/.wine/drive_c/Program Files/nvideo-tech/firmwire]$ md5sum enccore.firm > 7ed2323299043249e02246c7001aea50 enccore.firm > [~/.wine/drive_c/Program Files/nvideo-tech/firmwire]$ strings enccore.firm | > egrep 'XviD|source code' > This software is derived from the GNU GPL XviD codec (0.9.1). > Your software distributor has to give access to its source code. > > I thought you might be interested in investigating that. > > Regards, > R. > > [1] http://www.nvideo-tech.com/nplayer_detail.htm > [2] http://forum.doom9.org/showthread.php?s=&threadid=78043 > [3] http://thread.gmane.org/gmane.comp.video.mplayer.devel/18174 > [4] http://www.nvideo-tech.com/nconvert_detail.htm > > PS. While googling for the copyright notice, I came across this: > http://www.pdaphonehome.com/forums/showthread.php?s=&threadid=25576&perpage=20&pagenumber=2 > PS2. I guess nobody is buying "their" software or else we would've > heard about it by now... > > -- > MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/ > "I am Grey. I stand between the candle and the star. We are Grey. > We stand between the darkness ... and the light." > -- Delenn in Grey Council in Babylon 5:"Babylon Squared" > _______________________________________________ > XviD-devel mailing list > XviD-devel@xvid.org > http://list.xvid.org/mailman/listinfo/xvid-devel > _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Wed Jan 11 11:29:22 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id 79361126D8B for ; Wed, 11 Jan 2006 11:29:22 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id A1FAC1F002; Wed, 11 Jan 2006 11:29:08 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id 132561F002 for ; Wed, 11 Jan 2006 11:29:04 +0100 (CET) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by s6.lansco.de (Postfix) with SMTP id 4290226611 for ; Wed, 11 Jan 2006 11:29:00 +0100 (CET) Received: (qmail invoked by alias); 11 Jan 2006 10:29:00 -0000 Received: from d014021.adsl.hansenet.de (EHLO [80.171.14.21]) [80.171.14.21] by mail.gmx.net (mp036) with SMTP; 11 Jan 2006 11:29:00 +0100 X-Authenticated: #530625 Message-ID: <43C4DDEB.9060508@gmx.de> Date: Wed, 11 Jan 2006 11:28:59 +0100 From: Roland Illig User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.7.11) Gecko/20050903 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: xvid-devel@xvid.org References: <1136968775l.1081l.0l@origin.amelgem.be> In-Reply-To: <1136968775l.1081l.0l@origin.amelgem.be> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: tech-pkg@NetBSD.org, dieter Roelants Subject: [XviD-devel] Re: Wrong distfile for xvidcore on ftp.NetBSD.org X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org [cross-posted from tech-pkg@NetBSD.org] dieter Roelants wrote: > > Not much to add to the subject. :) > > The file (xvidcore-1.1.0.tar.bz2) on the DISTSITE seems to be a little > newer and more cleaned up (no CVS dirs). distinfo matches with that > file, not with the one on ftp.NetBSD.org (and thus mirrors). Dear xvid developers, apparently the file xvidcore-1.1.0.tar.bz2 has changed after it had been released first. This places an additional burden on third-party packaging systems that save the checksum of the tarball and compare that to the checksum of the freshly downloaded file. If that change had been from you and had been intended, you should have increased the version number when releasing the changed version. You can find a much more detailed discussion about typical problems of software packagers (including this one) in the following articles: http://www.onlamp.com/pub/a/onlamp/2005/03/31/packaging.html http://www.onlamp.com/pub/a/onlamp/2005/03/31/packaging.html?page=2 Greetings, Roland _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Thu Jan 12 14:13:58 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id 1D391126D8F for ; Thu, 12 Jan 2006 14:13:58 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id 579C51EF65; Thu, 12 Jan 2006 14:13:40 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id 0E06318C04 for ; Thu, 12 Jan 2006 14:13:30 +0100 (CET) Received: from s5.lansco.de (s5.lansco.de [212.63.130.170]) by s6.lansco.de (Postfix) with ESMTP id 5A8DD22285 for ; Thu, 12 Jan 2006 14:13:27 +0100 (CET) Received: from localhost (s5.lansco.de [212.63.130.170]) by s5.lansco.de (Postfix) with ESMTP id E557B307DA; Thu, 12 Jan 2006 14:13:26 +0100 (CET) Received: from p54B5FE6B.dip.t-dialin.net (p54B5FE6B.dip.t-dialin.net [84.181.254.107]) by www.lansco.de (IMP) with HTTP for ; Thu, 12 Jan 2006 14:13:26 +0100 Message-ID: <1137071606.43c655f6b2948@www.lansco.de> Date: Thu, 12 Jan 2006 14:13:26 +0100 From: Michael Militzer To: xvid-devel@xvid.org, Roland Illig Subject: Re: [XviD-devel] Re: Wrong distfile for xvidcore on ftp.NetBSD.org References: <1136968775l.1081l.0l@origin.amelgem.be> <43C4DDEB.9060508@gmx.de> In-Reply-To: <43C4DDEB.9060508@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Originating-IP: 84.181.254.107 Cc: tech-pkg@NetBSD.org, dieter Roelants X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org Hi all, XviD 1.1.0 has been released on Dec 30, ~18:00 CET (see the official announcements on the XviD mailing lists and homepage). At that time also the download page and links on the XviD page have been updated to reflect the availability of 1.1.0 final. Since then, the release tarballs have not been changed. Regards, Michael Quoting Roland Illig : > [cross-posted from tech-pkg@NetBSD.org] > > dieter Roelants wrote: > > > > Not much to add to the subject. :) > > > > The file (xvidcore-1.1.0.tar.bz2) on the DISTSITE seems to be a little > > newer and more cleaned up (no CVS dirs). distinfo matches with that > > file, not with the one on ftp.NetBSD.org (and thus mirrors). > > Dear xvid developers, > > apparently the file xvidcore-1.1.0.tar.bz2 has changed after it had been > released first. This places an additional burden on third-party > packaging systems that save the checksum of the tarball and compare that > to the checksum of the freshly downloaded file. > > If that change had been from you and had been intended, you should have > increased the version number when releasing the changed version. > > You can find a much more detailed discussion about typical problems of > software packagers (including this one) in the following articles: > > http://www.onlamp.com/pub/a/onlamp/2005/03/31/packaging.html > http://www.onlamp.com/pub/a/onlamp/2005/03/31/packaging.html?page=2 > > Greetings, > > Roland > _______________________________________________ > XviD-devel mailing list > XviD-devel@xvid.org > http://list.xvid.org/mailman/listinfo/xvid-devel > _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Sun Jan 15 01:01:55 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id B5677126D83 for ; Sun, 15 Jan 2006 01:01:55 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id B57981EF65; Sun, 15 Jan 2006 01:01:41 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id 94D871EF60 for ; Sun, 15 Jan 2006 01:01:37 +0100 (CET) Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [85.10.199.196]) by s6.lansco.de (Postfix) with ESMTP id BDA7527C0C for ; Sun, 15 Jan 2006 01:01:33 +0100 (CET) Received: id: bigeasy by Chamillionaire.breakpoint.cc with local (easymta 1.00 BETA 1) id 1ExvKv-00010y-Ij for xvid-devel@xvid.org; Sun, 15 Jan 2006 01:01:33 +0100 Date: Sun, 15 Jan 2006 01:01:33 +0100 From: Sebastian Siewior To: xvid-devel@xvid.org Message-ID: <20060115000133.GB2917@Chamillionaire.breakpoint.cc> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline X-Key-Id: FE3F4706 X-Key-Fingerprint: FFDA BBBB 3563 1B27 75C9 925B 98D5 5C1C FE3F 4706 User-Agent: Mutt/1.5.11 Subject: [XviD-devel] NX-Stack Patch (AMD64) X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Hello, please find attached a patch (one line) against xvidcore-1.1.0 that will make libxvidcore.so.4.1' stack non-executable. Files with executable stacks make trouble on pax-enabled systems. This is how it should be scanelf -e libxvidcore.so.4.1 TYPE STK/REL/PTL FILE ET_DYN RW- --- RW- libxvidcore.so.4.1 This is how it is without: scanelf -e libxvidcore.so.4.1 TYPE STK/REL/PTL FILE ET_DYN RWX --- RW- libxvidcore.so.4.1 -- Regards Sebastian Siewior --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: attachment; filename="nx_patch.diff" diff -urN xvidcore-1.1.0-org/src/dct/x86_64_asm/fdct_mmx_skal.asm xvidcore-1.1.0/src/dct/x86_64_asm/fdct_mmx_skal.asm --- xvidcore-1.1.0-org/src/dct/x86_64_asm/fdct_mmx_skal.asm 2005-12-30 15:34:57.000000000 +0100 +++ xvidcore-1.1.0/src/dct/x86_64_asm/fdct_mmx_skal.asm 2006-01-15 00:29:12.747581880 +0100 @@ -461,3 +461,6 @@ ;----------------------------------------------------------------------------- MAKE_FDCT_FUNC fdct_skal_x86_64, fMTX_MULT_XMM + +section ".note.GNU-stack" noalloc noexec nowrite progbits + diff -urN xvidcore-1.1.0-org/src/dct/x86_64_asm/idct_mmx.asm xvidcore-1.1.0/src/dct/x86_64_asm/idct_mmx.asm --- xvidcore-1.1.0-org/src/dct/x86_64_asm/idct_mmx.asm 2005-12-30 15:34:57.000000000 +0100 +++ xvidcore-1.1.0/src/dct/x86_64_asm/idct_mmx.asm 2006-01-15 00:29:12.747581880 +0100 @@ -523,3 +523,6 @@ ret .endfunc + +section ".note.GNU-stack" noalloc noexec nowrite progbits + diff -urN xvidcore-1.1.0-org/src/image/x86_64_asm/interpolate8x8_mmx.asm xvidcore-1.1.0/src/image/x86_64_asm/interpolate8x8_mmx.asm --- xvidcore-1.1.0-org/src/image/x86_64_asm/interpolate8x8_mmx.asm 2005-12-30 15:34:57.000000000 +0100 +++ xvidcore-1.1.0/src/image/x86_64_asm/interpolate8x8_mmx.asm 2006-01-15 00:29:12.747581880 +0100 @@ -706,4 +706,6 @@ pop rbx ret -.endfunc \ No newline at end of file +.endfunc +section ".note.GNU-stack" noalloc noexec nowrite progbits + diff -urN xvidcore-1.1.0-org/src/image/x86_64_asm/interpolate8x8_xmm.asm xvidcore-1.1.0/src/image/x86_64_asm/interpolate8x8_xmm.asm --- xvidcore-1.1.0-org/src/image/x86_64_asm/interpolate8x8_xmm.asm 2005-12-30 15:34:57.000000000 +0100 +++ xvidcore-1.1.0/src/image/x86_64_asm/interpolate8x8_xmm.asm 2006-01-15 00:29:12.747581880 +0100 @@ -704,3 +704,6 @@ EPILOG .endfunc + +section ".note.GNU-stack" noalloc noexec nowrite progbits + diff -urN xvidcore-1.1.0-org/src/image/x86_64_asm/qpel_mmx.asm xvidcore-1.1.0/src/image/x86_64_asm/qpel_mmx.asm --- xvidcore-1.1.0-org/src/image/x86_64_asm/qpel_mmx.asm 2005-12-30 15:34:57.000000000 +0100 +++ xvidcore-1.1.0/src/image/x86_64_asm/qpel_mmx.asm 2006-01-15 00:29:12.747581880 +0100 @@ -1152,3 +1152,6 @@ .endfunc ;////////////////////////////////////////////////////////////////////// + +section ".note.GNU-stack" noalloc noexec nowrite progbits + diff -urN xvidcore-1.1.0-org/src/motion/x86_64_asm/sad_mmx.asm xvidcore-1.1.0/src/motion/x86_64_asm/sad_mmx.asm --- xvidcore-1.1.0-org/src/motion/x86_64_asm/sad_mmx.asm 2005-12-30 15:34:58.000000000 +0100 +++ xvidcore-1.1.0/src/motion/x86_64_asm/sad_mmx.asm 2006-01-15 00:29:12.747581880 +0100 @@ -162,4 +162,6 @@ ;; All done ret -.endfunc \ No newline at end of file +.endfunc +section ".note.GNU-stack" noalloc noexec nowrite progbits + diff -urN xvidcore-1.1.0-org/src/motion/x86_64_asm/sad_xmm.asm xvidcore-1.1.0/src/motion/x86_64_asm/sad_xmm.asm --- xvidcore-1.1.0-org/src/motion/x86_64_asm/sad_xmm.asm 2005-12-30 15:34:58.000000000 +0100 +++ xvidcore-1.1.0/src/motion/x86_64_asm/sad_xmm.asm 2006-01-15 00:29:12.747581880 +0100 @@ -439,4 +439,6 @@ movd eax, mm7 pop rbx ret -.endfunc \ No newline at end of file +.endfunc +section ".note.GNU-stack" noalloc noexec nowrite progbits + diff -urN xvidcore-1.1.0-org/src/quant/x86_64_asm/quantize_h263_mmx.asm xvidcore-1.1.0/src/quant/x86_64_asm/quantize_h263_mmx.asm --- xvidcore-1.1.0-org/src/quant/x86_64_asm/quantize_h263_mmx.asm 2005-12-30 15:34:58.000000000 +0100 +++ xvidcore-1.1.0/src/quant/x86_64_asm/quantize_h263_mmx.asm 2006-01-15 00:29:12.747581880 +0100 @@ -505,3 +505,6 @@ xor rax, rax ret .endfunc + +section ".note.GNU-stack" noalloc noexec nowrite progbits + diff -urN xvidcore-1.1.0-org/src/quant/x86_64_asm/quantize_mpeg_xmm.asm xvidcore-1.1.0/src/quant/x86_64_asm/quantize_mpeg_xmm.asm --- xvidcore-1.1.0-org/src/quant/x86_64_asm/quantize_mpeg_xmm.asm 2005-12-30 15:34:58.000000000 +0100 +++ xvidcore-1.1.0/src/quant/x86_64_asm/quantize_mpeg_xmm.asm 2006-01-15 00:29:12.747581880 +0100 @@ -807,4 +807,6 @@ xor rax, rax ret -.endfunc \ No newline at end of file +.endfunc +section ".note.GNU-stack" noalloc noexec nowrite progbits + diff -urN xvidcore-1.1.0-org/src/utils/x86_64_asm/cpuid.asm xvidcore-1.1.0/src/utils/x86_64_asm/cpuid.asm --- xvidcore-1.1.0-org/src/utils/x86_64_asm/cpuid.asm 2005-12-30 15:34:58.000000000 +0100 +++ xvidcore-1.1.0/src/utils/x86_64_asm/cpuid.asm 2006-01-15 00:29:12.747581880 +0100 @@ -216,3 +216,6 @@ .endfunc + +section ".note.GNU-stack" noalloc noexec nowrite progbits + diff -urN xvidcore-1.1.0-org/src/utils/x86_64_asm/interlacing_mmx.asm xvidcore-1.1.0/src/utils/x86_64_asm/interlacing_mmx.asm --- xvidcore-1.1.0-org/src/utils/x86_64_asm/interlacing_mmx.asm 2005-12-30 15:34:58.000000000 +0100 +++ xvidcore-1.1.0/src/utils/x86_64_asm/interlacing_mmx.asm 2006-01-15 00:29:12.747581880 +0100 @@ -212,3 +212,6 @@ ret .endfunc + +section ".note.GNU-stack" noalloc noexec nowrite progbits + diff -urN xvidcore-1.1.0-org/src/utils/x86_64_asm/mem_transfer_mmx.asm xvidcore-1.1.0/src/utils/x86_64_asm/mem_transfer_mmx.asm --- xvidcore-1.1.0-org/src/utils/x86_64_asm/mem_transfer_mmx.asm 2005-12-30 15:34:58.000000000 +0100 +++ xvidcore-1.1.0/src/utils/x86_64_asm/mem_transfer_mmx.asm 2006-01-15 00:29:12.747581880 +0100 @@ -434,3 +434,6 @@ COPY_8_TO_8 ret .endfunc + +section ".note.GNU-stack" noalloc noexec nowrite progbits + --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel --ZPt4rx8FFjLCG7dd-- From xvid-devel-bounces@xvid.org Mon Jan 16 00:33:08 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id 4B83E126D82 for ; Mon, 16 Jan 2006 00:33:08 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id D2D6E1F06D; Mon, 16 Jan 2006 00:32:53 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id 04B461F050 for ; Mon, 16 Jan 2006 00:32:50 +0100 (CET) Received: from s5.lansco.de (s5.lansco.de [212.63.130.170]) by s6.lansco.de (Postfix) with ESMTP id 0079221AEF for ; Mon, 16 Jan 2006 00:32:46 +0100 (CET) Received: from localhost (s5.lansco.de [212.63.130.170]) by s5.lansco.de (Postfix) with ESMTP id D193ACE81 for ; Mon, 16 Jan 2006 00:32:45 +0100 (CET) Received: from p54B5FAEE.dip.t-dialin.net (p54B5FAEE.dip.t-dialin.net [84.181.250.238]) by www.lansco.de (IMP) with HTTP for ; Mon, 16 Jan 2006 00:32:45 +0100 Message-ID: <1137367965.43cadb9db3d70@www.lansco.de> Date: Mon, 16 Jan 2006 00:32:45 +0100 From: Michael Militzer To: xvid-devel@xvid.org Subject: Re: [XviD-devel] Entry point for encoder References: <20060106070317.vsjqyzjfp4u84kkk@itsacon.net> In-Reply-To: <20060106070317.vsjqyzjfp4u84kkk@itsacon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Originating-IP: 84.181.250.238 X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org Hi, you should communicate with the XviD en- and decoder through the XviD API, which is defined in the header file xvid.h. Refer to the comments in xvid.h for some explanation for the params and data structs. Also see xvid_encraw.c, which as an example encoder front-end that demonstrates how to interface with the xvidcore library to implement encoding functionality. In more detail: enc_create() is called just once, so that's not the way to feed in your input. Rather, use the XviD API as defined in xvid.h. The xvid_enc_frame_t struct allows you to signal new Y,U,V pointers for every input frame. And in order to connect encoder and decoder: you should also do this using the XviD API. You can use the bitstream output of the encoder as soon as it finished to encode a frame and use this as input for the decoder. See xvid_decraw.c as an example how to interface with the XviD decoder using the XviD API. Regards, Michael Quoting postmaster@itsacon.net: > Hi everyone. > For a university project, I'm currently trying to port XviD to a Texas > Instruments DM642 DSP. This board, to be exactly: > http://focus.ti.com/docs/toolsw/folders/print/tmdsevm642.html > > I already have the video capture and video out parts, and I'm trying to find > the > best way to hook in the decoder. > My video capture code gives me three pointers to a fram (Y, U & V), and I've > found that I probably need to hook these into the image queue for the > enc_encode() function. My first question, what is the best way to do this? > Can > I pass them as parameters to an enc_create() call? Or is enc_create only > called > once, as an init function, and not every frame? I'm not very clear on this > part. > If the second, what IS the right way? For the first parameter of > enc_encode() > wants a lot more than only the frame pointers, so do I really need to send > these again every frame? > > Second, I'm trying to create a loopback device, that is, encode my incoming > videostream, decode it again and pass it on to de video out. > What is the 'easiest' way to hook the encoder's output to the decoder's > input? > > Thank you all in advance, > > Bernard. > _______________________________________________ > XviD-devel mailing list > XviD-devel@xvid.org > http://list.xvid.org/mailman/listinfo/xvid-devel > _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Tue Jan 17 23:51:18 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id 474F4126D82 for ; Tue, 17 Jan 2006 23:51:18 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id 7D9A21F03A; Tue, 17 Jan 2006 23:51:09 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id B51451F021 for ; Tue, 17 Jan 2006 23:51:00 +0100 (CET) Received: from fafnir.cs.unc.edu (fafnir.cs.unc.edu [152.2.129.90]) by s6.lansco.de (Postfix) with ESMTP id 8251E21B51 for ; Tue, 17 Jan 2006 23:50:56 +0100 (CET) Received-SPF: none (fafnir.cs.unc.edu: domain of ksu@unc.edu does not designate permitted sender hosts) Received: from quartet.cs.unc.edu (quartet.cs.unc.edu [152.2.133.252]) by fafnir.cs.unc.edu (8.13.4/8.13.4) with ESMTP id k0HMotPn028652 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 17 Jan 2006 17:50:55 -0500 Date: Tue, 17 Jan 2006 17:50:55 -0500 (EST) From: Sang-Uok Kum X-X-Sender: kumsu@quartet.cs.unc.edu To: xvid-devel@xvid.org In-Reply-To: <1132580023.3309.14.camel@localhost.localdomain> Message-ID: References: <43815E50.8@syskin.cjb.net> <1132568787.4381a0d36ead6@www.lansco.de> <4381A3B4.70708@syskin.cjb.net> <1132580023.3309.14.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.52 on 152.2.129.90 Subject: [XviD-devel] Statistics question X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org I had a few questions about the Statistics calculated in the xvid encoder, and was wondering if someone could verify the following 1. Statistics iTextBits: Sum of bits need to encode coefficents. The only place I see them is in mbcoding.c - CodeBlockIntra it only adds number of bits used to encode the coefficients. - CodeBlockInter it only adds number of bits used to encode the coefficients. 2. Statistics iMvCount: Total number of motion vectors in the frame. (in estimation_pvop.c motionStatsPVOP) 3. Statistics iMvSum: Sum of (motion vector size)*(motion vector size) (in estimation_pvop.c motionStatsPVOP) 4. xvid_enc_stats_t hlength: The comment says '/* [out] header length (bytes) */' but looking at the source code it is 'frame->length - (frame->sStat.iTextBits / 8);' (in encoder.c call_plugins) it seems to be total of bytes used for encoding except the coefficients. Which means for Inter MBs the number of bits needed to encode the motion vectors is also included in the hlength. I'm trying to calculate the number of bits needed to encode the motion vectors and was wondering if it is already done before I start putting in my own code. thanks. _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Thu Jan 19 23:24:59 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id B2DC5126D8F for ; Thu, 19 Jan 2006 23:24:59 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id B823E1F051; Thu, 19 Jan 2006 23:24:41 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id 69B9B1F04C for ; Thu, 19 Jan 2006 23:24:33 +0100 (CET) Received: from s5.lansco.de (s5.lansco.de [212.63.130.170]) by s6.lansco.de (Postfix) with ESMTP id 6108527AF0 for ; Thu, 19 Jan 2006 23:24:29 +0100 (CET) Received: from localhost (s5.lansco.de [212.63.130.170]) by s5.lansco.de (Postfix) with ESMTP id 339E710633 for ; Thu, 19 Jan 2006 23:24:29 +0100 (CET) Received: from p54B5F790.dip.t-dialin.net (p54B5F790.dip.t-dialin.net [84.181.247.144]) by www.lansco.de (IMP) with HTTP for ; Thu, 19 Jan 2006 23:24:29 +0100 Message-ID: <1137709469.43d0119d0e9d2@www.lansco.de> Date: Thu, 19 Jan 2006 23:24:29 +0100 From: Michael Militzer To: xvid-devel@xvid.org Subject: Re: [XviD-devel] Statistics question References: <43815E50.8@syskin.cjb.net> <1132568787.4381a0d36ead6@www.lansco.de> <4381A3B4.70708@syskin.cjb.net> <1132580023.3309.14.camel@localhost.localdomain> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Originating-IP: 84.181.247.144 X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org Hi, CodeBlockIntra/CodeBlockInter store how _many_ MBs of the current frame were coded using intra or inter prediction type. The number of bits required to code the motion vectors is really not included in the statistics. But you're right, for completeness it should. I have added a iMVBits entry to the stats to the code on CVS HEAD. But even if you can't update to latest CVS version, it's rather easy to count the motion vector bits. You just need to wrap your counter around the calls to CodeVector() in bitstream/mbcoding.c. Refer to latest CVS code. Regard, Michael Quoting Sang-Uok Kum : > > I had a few questions about the Statistics calculated in the xvid encoder, > and was wondering if someone could verify the following > > 1. Statistics iTextBits: Sum of bits need to encode coefficents. > The only place I see them is in mbcoding.c > - CodeBlockIntra it only adds number of bits used to encode the > coefficients. > - CodeBlockInter it only adds number of bits used to encode the > coefficients. > > 2. Statistics iMvCount: Total number of motion vectors in the frame. > (in estimation_pvop.c motionStatsPVOP) > > 3. Statistics iMvSum: Sum of (motion vector size)*(motion vector size) > (in estimation_pvop.c motionStatsPVOP) > > 4. xvid_enc_stats_t hlength: The comment says > '/* [out] header length (bytes) */' but looking at the source code > it is 'frame->length - (frame->sStat.iTextBits / 8);' (in encoder.c > call_plugins) it seems to be total of bytes used for encoding except > the coefficients. Which means for Inter MBs the number of bits > needed to encode the motion vectors is also included in the hlength. > > I'm trying to calculate the number of bits needed to encode the motion > vectors and was wondering if it is already done before I start putting > in my own code. > > thanks. > _______________________________________________ > XviD-devel mailing list > XviD-devel@xvid.org > http://list.xvid.org/mailman/listinfo/xvid-devel > _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Sun Jan 22 02:34:55 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id 5DB80126D93 for ; Sun, 22 Jan 2006 02:34:55 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id 3E6C71F045; Sun, 22 Jan 2006 02:34:50 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id C260B18B8A for ; Sun, 22 Jan 2006 02:34:41 +0100 (CET) Received: from web33007.mail.mud.yahoo.com (web33007.mail.mud.yahoo.com [68.142.206.71]) by s6.lansco.de (Postfix) with SMTP id 381ED28F15 for ; Sun, 22 Jan 2006 02:34:36 +0100 (CET) Received: (qmail 74526 invoked by uid 60001); 22 Jan 2006 01:34:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2PAzmsm77pIVH8dMjgVYUpIYr3N7bXARsuXUW7V/45nFdPvaIcUxpiNNVeYK+xoQVGJUT5rVEN8EivP0X0jCRK+YkXCo5ohPfMVcdcflXmujDSLBW5qWMcYuxpACWCFZPymXG7rY53Dxu1dJ1eYJVXZqv2HsTRzG9KbT54MQdG0= ; Message-ID: <20060122013436.74524.qmail@web33007.mail.mud.yahoo.com> Received: from [210.15.216.79] by web33007.mail.mud.yahoo.com via HTTP; Sun, 22 Jan 2006 12:34:36 EST Date: Sun, 22 Jan 2006 12:34:36 +1100 (EST) From: Matthew Kwan To: xvid-devel@xvid.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [XviD-devel] Problem with MPEG-4 headers X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org Hi. I'm developing a video application for mobile phones, and tried both XviD and ffmpeg (libavcodec) to generate MPEG-4 data. The XviD output doesn't work. Although I can proceed using libavcodec, it would be nice if you could fix the XviD problem so I have an alternative. Details: Simple profile, level 0. QCIF (176x144) resolution. 5fps target, at 50kpbs. No other options set. I tested a number of encoder -> decoder combinations. libavcodec -> phone: OK libavcodec -> XviD: OK XviD -> XviD: OK XviD -> phone: garbage XviD -> libavcodec: lots of errors - see below Frame 1 OK Frame 2 OK Frame 3 Marker bit missing before time_increment [mpeg4 @ 0x405a9160]hmm, seems the headers are not complete, trying to guess time_increment_bits [mpeg4 @ 0x405a9160]my guess is 16 bits ;) Marker bit missing before vop_coded Frame 4 OK Frame 5 [mpeg4 @ 0x405a9160]2. marker bit missing in 3. esc [mpeg4 @ 0x405a9160]Error at MB: 41 [mpeg4 @ 0x405a9160]concealing 99 DC, 99 AC, 99 MV errors Frame 6 Marker bit missing before time_increment [mpeg4 @ 0x405a9160]hmm, seems the headers are not complete, trying to guess time_increment_bits [mpeg4 @ 0x405a9160]my guess is 16 bits ;) Marker bit missing before vop_coded Frame 7 OK Frame 8 [mpeg4 @ 0x405a9160]concealing 13 DC, 13 AC, 13 MV errors Frame 9 Marker bit missing before time_increment [mpeg4 @ 0x405a9160]hmm, seems the headers are not complete, trying to guess time_increment_bits [mpeg4 @ 0x405a9160]my guess is 16 bits ;) Marker bit missing before vop_coded Frame 10 OK Frame 11 [mpeg4 @ 0x405a9160]hmm, seems the headers are not complete, trying to guess time_increment_bits [mpeg4 @ 0x405a9160]my guess is 3 bits ;) Regards, mkwan ____________________________________________________ Do you Yahoo!? Take your Mail with you - get Yahoo! Mail on your mobile http://au.mobile.yahoo.com/mweb/index.html _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Sun Jan 22 23:01:19 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from edu.bnhof.de (edu.bnhof.de [213.167.167.52]) by mail.kliche.org (Postfix) with ESMTP id 0471B126D83 for ; Sun, 22 Jan 2006 23:01:19 +0100 (CET) Received: from edu.bnhof.de (localhost [127.0.0.1]) by edu.bnhof.de (Postfix) with ESMTP id 89B4318B8A; Sun, 22 Jan 2006 23:00:28 +0100 (CET) X-Original-To: xvid-devel@edu.bnhof.de Delivered-To: xvid-devel@edu.bnhof.de Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by edu.bnhof.de (Postfix) with ESMTP id 897A518B8A for ; Sun, 22 Jan 2006 23:00:08 +0100 (CET) Received: from mail.fatooh.org (fire.casa-z.org [66.93.171.141]) by s6.lansco.de (Postfix) with ESMTP id C0F7821B87 for ; Sun, 22 Jan 2006 23:00:03 +0100 (CET) Received: from localhost (fire [127.0.0.1]) by mail.fatooh.org (Postfix) with ESMTP id E95C47347E for ; Sun, 22 Jan 2006 14:00:00 -0800 (PST) Received: from mail.fatooh.org ([127.0.0.1]) by localhost (fire [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04977-06 for ; Sun, 22 Jan 2006 14:00:00 -0800 (PST) Received: from [10.1.0.0] (c-24-5-192-235.hsd1.ca.comcast.net [24.5.192.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.fatooh.org (Postfix) with ESMTP id 94A0A73479 for ; Sun, 22 Jan 2006 14:00:00 -0800 (PST) Message-ID: <43D40063.7000207@fatooh.org> Date: Sun, 22 Jan 2006 14:00:03 -0800 From: Corey Hickey User-Agent: Debian Thunderbird 1.0.7 (X11/20051019) X-Accept-Language: en-us, en MIME-Version: 1.0 To: xvid-devel@xvid.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at fatooh.org Subject: [XviD-devel] mencoder, B-frames, and encoding delay X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: xvid-devel.xvid.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org Hello, I'm working on a patch for mencoder to compensate for video delay when encoding using B-frames. libavcodec and x264 both set the encoding delay in variables accessible to the calling program, but I was unable to find any such variable in XviD. That might just be because I wasn't looking hard enough, but I'm not familiar with the XviD source at all and I don't know where to start. Does such a variable exist? If not, I'll just set the delay manually based on the number of B-frames specified. For further information, here's the thread in mplayer-dev-eng: http://www1.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-January/039959.html (The fix mentioned in the thread-starting message is incorrect, but a better solution is discussed in subsequent messages.) Thanks, Corey _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Thu Jan 26 03:41:55 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 6DAAB126D90 for ; Thu, 26 Jan 2006 03:41:55 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id ECC78911D6; Thu, 26 Jan 2006 03:41:46 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12866-10; Thu, 26 Jan 2006 03:41:46 +0100 (CET) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 6A53C911DB; Thu, 26 Jan 2006 03:41:32 +0100 (CET) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 45223911BD for ; Thu, 26 Jan 2006 03:41:09 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12866-07 for ; Thu, 26 Jan 2006 03:41:02 +0100 (CET) Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by s8.lansco.de (Postfix) with ESMTP id D2053911B9 for ; Thu, 26 Jan 2006 03:41:02 +0100 (CET) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.199]) by s6.lansco.de (Postfix) with ESMTP id 3A92215F11 for ; Thu, 26 Jan 2006 03:40:52 +0100 (CET) Received: by uproxy.gmail.com with SMTP id j3so50732ugf for ; Wed, 25 Jan 2006 18:40:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=o2moq/XeDSTTobxH/4SK2alCGPuB0n3nHa4jQ47/yLZ0HLtjm0RYfMznk2T8UZx0EPv3d7oxEf208g8sSYBeQ0Ik9jXch5++Nzxo6V3tlKA0zPHGqEimRh/qwlN7lLOD9CEHlz7y93BfQ5TUT0uGsOvH4ao+ABHIqg5z+7dMxoM= Received: by 10.48.224.14 with SMTP id w14mr128112nfg; Wed, 25 Jan 2006 18:40:51 -0800 (PST) Received: by 10.48.236.8 with HTTP; Wed, 25 Jan 2006 18:40:51 -0800 (PST) Message-ID: Date: Wed, 25 Jan 2006 21:40:51 -0500 From: sean darcy To: yasm-devel@tortall.net, xvid-devel@xvid.org MIME-Version: 1.0 Content-Disposition: inline X-Virus-Scanned: amavisd-new at lansco.de Subject: [XviD-devel] xvidcore yasm build won't link w/ ffmpeg X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de amd64, gcc-4.1, fc5-test2, yasm-r1344 I'm building ffmpeg, which links to xvidcore-1.1 ( and cvs). I get this error when it tries to link everything into libavcodec.so: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.1.0/../../../../lib64/libxvidcore.a(qpel_mmx.o): relocation R_X86_64_PC32 against `xvid_FIR_14_3_2_1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value xvidcore builds qpel_mmx.o using yasm: A: image/x86_64_asm/qpel_mmx.asm /usr/bin/install -c -d =build/image/x86_64_asm yasm -I../../src/image/x86_64_asm/ -f elf -DMARK_FUNCS -m amd64 ../../src/image/x86_64_asm/qpel_mmx.asm -o =build/image/x86_64_asm/qpel_mmx.o xvidcore has a configure option --disable-assembly so gcc is used instead, and that library will link with ffmpeg. Is this a yasm isssue, or is xvidcore calling yasm incorrectly? I'm cross-posting on xvid and yasm. sean _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Fri Jan 27 01:21:53 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id C2BC1126D8F for ; Fri, 27 Jan 2006 01:21:53 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id D9D8696899; Fri, 27 Jan 2006 01:21:51 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10452-08; Fri, 27 Jan 2006 01:21:50 +0100 (CET) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id B87489686F; Fri, 27 Jan 2006 01:21:43 +0100 (CET) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 588DF9688F for ; Fri, 27 Jan 2006 01:21:37 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10452-05 for ; Fri, 27 Jan 2006 01:21:34 +0100 (CET) Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by s8.lansco.de (Postfix) with ESMTP id E1E1F9687F for ; Fri, 27 Jan 2006 01:21:34 +0100 (CET) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by s6.lansco.de (Postfix) with ESMTP id E6EF015F90 for ; Fri, 27 Jan 2006 01:21:23 +0100 (CET) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1F2HMY-00080r-M5 for xvid-devel@xvid.org; Fri, 27 Jan 2006 01:21:14 +0100 Received: from 64-148-59-185.adsl.snet.net ([64.148.59.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2006 01:21:14 +0100 Received: from seandarcy2 by 64-148-59-185.adsl.snet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2006 01:21:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: xvid-devel@xvid.org From: sean Date: Thu, 26 Jan 2006 17:43:47 -0500 Lines: 48 Message-ID: References: Mime-Version: 1.0 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 64-148-59-185.adsl.snet.net User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20051215 Fedora/1.7.12-3 X-Accept-Language: en-us, en In-Reply-To: X-Virus-Scanned: amavisd-new at lansco.de Subject: Re: [XviD-devel] xvidcore yasm build won't link w/ ffmpeg X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de sean darcy wrote: > amd64, gcc-4.1, fc5-test2, yasm-r1344 > > I'm building ffmpeg, which links to xvidcore-1.1 ( and cvs). > > I get this error when it tries to link everything into libavcodec.so: > > > /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.1.0/../../../../lib64/libxvidcore.a(qpel_mmx.o): > relocation R_X86_64_PC32 against `xvid_FIR_14_3_2_1' can not be used > when making a shared object; recompile with -fPIC > /usr/bin/ld: final link failed: Bad value > > > xvidcore builds qpel_mmx.o using yasm: > > > A: image/x86_64_asm/qpel_mmx.asm > /usr/bin/install -c -d =build/image/x86_64_asm > yasm -I../../src/image/x86_64_asm/ -f elf -DMARK_FUNCS -m amd64 > ../../src/image/x86_64_asm/qpel_mmx.asm -o > =build/image/x86_64_asm/qpel_mmx.o > > xvidcore has a configure option --disable-assembly so gcc is used > instead, and that library will link with ffmpeg. > > Is this a yasm isssue, or is xvidcore calling yasm incorrectly? > > I'm cross-posting on xvid and yasm. > > sean From the yasm list: [quote] While it could be a yasm error, I'm inclined to think not. It's more likely that qpel_mmx.asm is not written to be used in shared libraries, only in static linking situations. Peter Johnson [unquote] Is this so? As far as I can tell the other xvidcore asm's can be used in shared libraries. sean _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Fri Jan 27 01:39:11 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 7B3CC126D8F for ; Fri, 27 Jan 2006 01:39:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 02E6B96A25; Fri, 27 Jan 2006 01:39:11 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11333-03; Fri, 27 Jan 2006 01:39:11 +0100 (CET) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id E4AD996A19; Fri, 27 Jan 2006 01:38:57 +0100 (CET) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id C83A3969F8 for ; Fri, 27 Jan 2006 01:38:44 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11010-09 for ; Fri, 27 Jan 2006 01:38:40 +0100 (CET) Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by s8.lansco.de (Postfix) with ESMTP id E8756969ED for ; Fri, 27 Jan 2006 01:38:40 +0100 (CET) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by s6.lansco.de (Postfix) with ESMTP id 4E30C1616C for ; Fri, 27 Jan 2006 01:38:30 +0100 (CET) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F2Hd9-0002o9-59 for xvid-devel@xvid.org; Fri, 27 Jan 2006 01:38:25 +0100 Received: from 64-148-59-185.adsl.snet.net ([64.148.59.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2006 01:38:23 +0100 Received: from seandarcy2 by 64-148-59-185.adsl.snet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2006 01:38:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: xvid-devel@xvid.org From: sean Date: Thu, 26 Jan 2006 19:38:12 -0500 Lines: 59 Message-ID: References: Mime-Version: 1.0 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 64-148-59-185.adsl.snet.net User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20051215 Fedora/1.7.12-3 X-Accept-Language: en-us, en In-Reply-To: X-Virus-Scanned: amavisd-new at lansco.de Subject: Re: [XviD-devel] xvidcore yasm build won't link w/ ffmpeg X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de sean wrote: > sean darcy wrote: > >>amd64, gcc-4.1, fc5-test2, yasm-r1344 >> >>I'm building ffmpeg, which links to xvidcore-1.1 ( and cvs). >> >>I get this error when it tries to link everything into libavcodec.so: >> >> >>/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.1.0/../../../../lib64/libxvidcore.a(qpel_mmx.o): >>relocation R_X86_64_PC32 against `xvid_FIR_14_3_2_1' can not be used >>when making a shared object; recompile with -fPIC >>/usr/bin/ld: final link failed: Bad value >> >> >>xvidcore builds qpel_mmx.o using yasm: >> >> >> A: image/x86_64_asm/qpel_mmx.asm >>/usr/bin/install -c -d =build/image/x86_64_asm >>yasm -I../../src/image/x86_64_asm/ -f elf -DMARK_FUNCS -m amd64 >>../../src/image/x86_64_asm/qpel_mmx.asm -o >>=build/image/x86_64_asm/qpel_mmx.o >> >>xvidcore has a configure option --disable-assembly so gcc is used >>instead, and that library will link with ffmpeg. >> >>Is this a yasm isssue, or is xvidcore calling yasm incorrectly? >> >>I'm cross-posting on xvid and yasm. >> >>sean > > > From the yasm list: > > [quote] > > While it could be a yasm error, I'm inclined to think > not. It's more likely that qpel_mmx.asm is not written to > be used in shared libraries, only in static linking situations. > > Peter Johnson > > [unquote] > > Is this so? As far as I can tell the other xvidcore asm's > can be used in shared libraries. > > sean I built xvidcore with yasm, and tried to build ffmpeg with just static libs. ffmpeg built. So it seems that qpel_mmx.asm is not written for shared libs. Can it be written that way? If so, how? sean _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Fri Jan 27 01:41:39 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 363A9126D8F for ; Fri, 27 Jan 2006 01:41:39 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 224C396A86; Fri, 27 Jan 2006 01:41:33 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11332-10; Fri, 27 Jan 2006 01:41:33 +0100 (CET) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 2923A96A79; Fri, 27 Jan 2006 01:41:17 +0100 (CET) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 7B4B696A69 for ; Fri, 27 Jan 2006 01:41:01 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11333-07 for ; Fri, 27 Jan 2006 01:41:00 +0100 (CET) Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by s8.lansco.de (Postfix) with ESMTP id 0B82C96A5E for ; Fri, 27 Jan 2006 01:40:59 +0100 (CET) Received: from localhost.localdomain (edgomez.kicks-ass.org [81.57.38.90]) by s6.lansco.de (Postfix) with ESMTP id E3F8C16170 for ; Fri, 27 Jan 2006 01:40:48 +0100 (CET) Received: from ed by localhost.localdomain with local (Exim 4.60) (envelope-from ) id 1F2HfU-0001Cl-6v for xvid-devel@xvid.org; Fri, 27 Jan 2006 01:40:48 +0100 Date: Fri, 27 Jan 2006 01:40:47 +0100 From: Edouard Gomez To: xvid-devel@xvid.org Message-ID: <20060127004047.GA2925@edgomez.kicks-ass.org> Mail-Followup-To: Edouard Gomez , xvid-devel@xvid.org References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at lansco.de Subject: Re: [XviD-devel] xvidcore yasm build won't link w/ ffmpeg X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de sean (seandarcy2@gmail.com) wrote: > Is this so? As far as I can tell the other xvidcore asm's > can be used in shared libraries. The xvidcore assembly is not position independent code, and as amd64 ABI requires code to be PIC in a shared library, that's why the last stage ld pass bails out about using data directly without using rip to reference it in a PIC manner. -- Edouard Gomez _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Fri Jan 27 06:57:47 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 64612126D8F for ; Fri, 27 Jan 2006 06:57:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 47A979A395; Fri, 27 Jan 2006 06:57:46 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19934-01; Fri, 27 Jan 2006 06:57:45 +0100 (CET) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 840E19A3A1; Fri, 27 Jan 2006 06:57:42 +0100 (CET) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 058B89A38F for ; Fri, 27 Jan 2006 06:57:40 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19459-08 for ; Fri, 27 Jan 2006 06:57:39 +0100 (CET) Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by s8.lansco.de (Postfix) with ESMTP id 01D7697ACF for ; Fri, 27 Jan 2006 06:57:39 +0100 (CET) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by s6.lansco.de (Postfix) with ESMTP id D252F16281 for ; Fri, 27 Jan 2006 06:57:27 +0100 (CET) Received: by wproxy.gmail.com with SMTP id i32so462835wra for ; Thu, 26 Jan 2006 21:57:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=HqgWnvKr+c//ctB9a14tM/izHrS5P/2zdZ8gotl6UvSTzyxjZtUbhPqRAgi90lTiv7Owg7kT/iRvNftuRDM7Vu6RqNZAkLfMRzRyQeEx+yGT3a3T0K1UEtsX3Dju2DYyyaHWJbs+F4cZRlSVP+XUaPSh3W5P/TLMQMaaOYdTDA8= Received: by 10.54.71.15 with SMTP id t15mr3493486wra; Thu, 26 Jan 2006 21:57:26 -0800 (PST) Received: by 10.54.92.14 with HTTP; Thu, 26 Jan 2006 21:57:26 -0800 (PST) Message-ID: <4ff82da30601262157s2b2c0848g6db21fa4f7a5798a@mail.gmail.com> Date: Fri, 27 Jan 2006 11:27:26 +0530 From: sourav basu To: xvid-devel@xvid.org, Edouard Gomez In-Reply-To: <20060127004047.GA2925@edgomez.kicks-ass.org> MIME-Version: 1.0 References: <20060127004047.GA2925@edgomez.kicks-ass.org> X-Virus-Scanned: amavisd-new at lansco.de Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.6 Subject: Re: [XviD-devel] xvidcore yasm build won't link w/ ffmpeg X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de hii.. i need xvid decoder code in java...... thnx in advance On 1/27/06, Edouard Gomez wrote: > > sean (seandarcy2@gmail.com) wrote: > > Is this so? As far as I can tell the other xvidcore asm's > > can be used in shared libraries. > > The xvidcore assembly is not position independent code, and as amd64 > ABI requires code to be PIC in a shared library, that's why the last > stage ld pass bails out about using data directly without using rip to > reference it in a PIC manner. > > -- > Edouard Gomez > _______________________________________________ > XviD-devel mailing list > XviD-devel@xvid.org > http://list.xvid.org/mailman/listinfo/xvid-devel > -- --Regards --Sourav Basu-- _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Fri Jan 27 17:47:30 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id F3DF0126D92 for ; Fri, 27 Jan 2006 17:47:29 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 9E1F59A67A; Fri, 27 Jan 2006 17:47:29 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05394-02; Fri, 27 Jan 2006 17:47:29 +0100 (CET) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 62C9B9A670; Fri, 27 Jan 2006 17:47:19 +0100 (CET) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id B6C7C9A66B for ; Fri, 27 Jan 2006 17:47:06 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04584-10 for ; Fri, 27 Jan 2006 17:47:04 +0100 (CET) Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by s8.lansco.de (Postfix) with ESMTP id 46F139A662 for ; Fri, 27 Jan 2006 17:47:04 +0100 (CET) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.194]) by s6.lansco.de (Postfix) with ESMTP id 5D4291626E for ; Fri, 27 Jan 2006 17:46:53 +0100 (CET) Received: by uproxy.gmail.com with SMTP id c2so24222ugf for ; Fri, 27 Jan 2006 08:46:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CifZd7+GjUPgkDj1icF3FqM/hw9vy8foFHt0ljBR5GH/KX00acWOVTE3EcNiZ0uD3g0iTDBIfuRGMws4RMeOGHuMd6fwqU9gVK/15sfEasFgq5YsN/fGFu4HbAjrFG1XANNSLU9RravzKDpV2h2PiSkQlfVfIzuT/wkzRwCS7K0= Received: by 10.48.127.2 with SMTP id z2mr355182nfc; Fri, 27 Jan 2006 08:46:52 -0800 (PST) Received: by 10.48.236.8 with HTTP; Fri, 27 Jan 2006 08:46:52 -0800 (PST) Message-ID: Date: Fri, 27 Jan 2006 11:46:52 -0500 From: sean darcy To: xvid-devel@xvid.org, Edouard Gomez In-Reply-To: <20060127004047.GA2925@edgomez.kicks-ass.org> MIME-Version: 1.0 Content-Disposition: inline References: <20060127004047.GA2925@edgomez.kicks-ass.org> X-Virus-Scanned: amavisd-new at lansco.de Subject: Re: [XviD-devel] xvidcore yasm build won't link w/ ffmpeg X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de On 1/26/06, Edouard Gomez wrote: > sean (seandarcy2@gmail.com) wrote: > > Is this so? As far as I can tell the other xvidcore asm's > > can be used in shared libraries. > > The xvidcore assembly is not position independent code, and as amd64 > ABI requires code to be PIC in a shared library, that's why the last > stage ld pass bails out about using data directly without using rip to > reference it in a PIC manner. > > -- Is there any reason xvidcore assembly is not PIC? Is it difficult to make it PIC? Is it just a matter of changing the parameters for calling yasm? sean _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel From xvid-devel-bounces@xvid.org Tue Jan 31 18:36:22 2006 Return-Path: X-Original-To: itdp@fh-biergarten.de Delivered-To: itdp@localhost Received: from s8.lansco.de (s8.lansco.de [85.10.209.66]) by mail.kliche.org (Postfix) with ESMTP id 7D28D126D91 for ; Tue, 31 Jan 2006 18:36:22 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id 8ACCB10A3D4; Tue, 31 Jan 2006 18:36:22 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29878-09; Tue, 31 Jan 2006 18:36:22 +0100 (CET) Received: from s8.lansco.de (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id ED47010A1DA; Tue, 31 Jan 2006 18:36:17 +0100 (CET) X-Original-To: xvid-devel@s8.lansco.de Delivered-To: xvid-devel@s8.lansco.de Received: from localhost (localhost [127.0.0.1]) by s8.lansco.de (Postfix) with ESMTP id DE99B10A1DE for ; Tue, 31 Jan 2006 18:36:14 +0100 (CET) Received: from s8.lansco.de ([127.0.0.1]) by localhost (s8.lansco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29878-05 for ; Tue, 31 Jan 2006 18:36:13 +0100 (CET) Received: from s6.lansco.de (s6.lansco.de [213.239.218.110]) by s8.lansco.de (Postfix) with ESMTP id B8A7710A1DA for ; Tue, 31 Jan 2006 18:36:13 +0100 (CET) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by s6.lansco.de (Postfix) with SMTP id 5865815E7D for ; Tue, 31 Jan 2006 18:36:02 +0100 (CET) Received: (qmail invoked by alias); 31 Jan 2006 17:36:02 -0000 Received: from u-122-163.adsl.univie.ac.at (HELO 5f404cvpbw) [131.130.122.163] by mail.gmx.net (mp035) with SMTP; 31 Jan 2006 18:36:02 +0100 X-Authenticated: #11725910 Message-ID: <002a01c6268c$c2a1fa30$8c00000a@5f404cvpbw> From: "bond" To: References: Date: Tue, 31 Jan 2006 18:35:41 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at lansco.de Subject: [XviD-devel] BUG: real n-vops with b-frames combination b0rks X-BeenThere: xvid-devel@xvid.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: xvid-devel@xvid.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xvid-devel-bounces@xvid.org Errors-To: xvid-devel-bounces@xvid.org X-Virus-Scanned: amavisd-new at lansco.de for a long time xvid didnt insert real n-vops into the video stream when b-frames have been enabled (be it packed bitstream or not). since 1.1 this has been changed you can get xvid to insert real n-vops by increasing the framedropratio option (maximum is a value of 100) i made various tests with the framedropratio option and i noticed that in the case xvid inserts real n-vops together with b-frames things are not correct because of four reasons: 1) the amount of real n-vops is different whether i use packed bitstream or whether i dont (counting of course only the real n-vops, not the fake ones caused by packed bitstream) 2) the second problem is that the frametypes should be exactly the same no matter if packed bitstream is used or not, but when getting xvid to insert real n-vops this isnt true anymore, as the frametypes differ between using packed and not using it, altough all other settings are the same 3) the third problem is that when getting xvid to insert real n-vops the targeted bitrate isnt hit at all anymore in 2pass. 4) apart from that the final bitrate isnt hit it also differs clearly between the stream using packed bitstream and the stream not using (target bitrate was 700kbps, the packed stream had 800kbps, the not packed one had 850kbps) all these problems are not the case if xvid does NOT insert real n-vops in the stream, which tells me that this new feature of combining real n-vops with b-frames does not work correctly i hope this can either be fixed or reverted to the old stage, where inserting real n-vops was simply disabled when using b-frames thx ps: i am obviously not counting the fake n-vops here inserted by packed bitstream. i am talking about real n-vops _______________________________________________ XviD-devel mailing list XviD-devel@xvid.org http://list.xvid.org/mailman/listinfo/xvid-devel