From owner-freebsd-multimedia@FreeBSD.ORG Thu Nov 20 07:20:34 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F215D16A4CE for ; Thu, 20 Nov 2003 07:20:33 -0800 (PST) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EA0643FD7 for ; Thu, 20 Nov 2003 07:20:32 -0800 (PST) (envelope-from mistry.7@osu.edu) Received: from 192.168.0.2 (adsl-66-72-216-74.dsl.wotnoh.ameritech.net [66.72.216.74]) (authenticated bits=0)hAKFOkZ3004815 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 20 Nov 2003 10:24:48 -0500 (EST) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: "Steve O'Hara-Smith" Date: Thu, 20 Nov 2003 10:18:32 -0500 User-Agent: KMail/1.5.3 References: <200311192304.30668.mistry.7@osu.edu> <20031120072941.7fb9dc36.steve@sohara.org> In-Reply-To: <20031120072941.7fb9dc36.steve@sohara.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_PtNv/mPodtn0mih"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200311201018.39097.mistry.7@osu.edu> cc: freebsd-multimedia@freebsd.org Subject: Re: ffmpeg deinterlace broken? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 15:20:34 -0000 --Boundary-02=_PtNv/mPodtn0mih Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Thursday 20 November 2003 01:29 am, Steve O'Hara-Smith wrote: > On Wed, 19 Nov 2003 23:04:22 -0500 > Anish Mistry wrote: >=20 > AM> I've finally started using ffmpeg again, and the latest version 0.4.8 > AM> seems to have deinterlace broken. With 0.4.7 and below I was able to > AM> use the deinterlace option, which worked fine. I can't seem to=20 figure >=20 > Interesting I have never seen the deinterlace option have any > effect whatsoever. Then again I've been running the current grab code > for a few months longer than most :) >=20 > AM> how to downgrade to 0.4.7 (ffmpeg045 doesn't want to compile on my > AM> system). I did try to just change the version in the Makefile to=20 grab > AM> 0.4.7, which worked, and all the patches seemed to apply ok, but > AM> deinterlacing was still broken, so it seems like some of the port > AM> specific patches breaks deinterlacing at least with bktr grabbing?=20 >=20 > Try downgrading the grab_bsdbktr.c to version 1.6. If that > makes a difference then would you do some patch testing please ? >=20 Version 1.6 doesn't compile. cc -O -pipe -I/usr/local/include -O3 -ffast-math -fomit-frame-pointer -g= =20 =2DO3 - Wall -I.. -I/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.8= =20 =2DI/usr/ports/multimed ia/ffmpeg/work/ffmpeg-0.4.8/libavcodec=20 =2DDHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE= =20 =2DD_GNU_SOURCE -c -o grab_bsdbktr.o grab_bsdbktr.c=20 grab_bsdbktr.c:42: syntax error before `INT64' grab_bsdbktr.c:70: syntax error before `*' grab_bsdbktr.c:70: warning: type defaults to `int' in declaration of=20 `video_buf' grab_bsdbktr.c:70: warning: data definition has no type or storage class grab_bsdbktr.c: In function `bktr_init': grab_bsdbktr.c:96: structure has no member named `last_frame_time' grab_bsdbktr.c: In function `grab_read_packet': grab_bsdbktr.c:160: syntax error before `curtime' grab_bsdbktr.c:167: `curtime' undeclared (first use in this function) grab_bsdbktr.c:167: (Each undeclared identifier is reported only once grab_bsdbktr.c:167: for each function it appears in.) grab_bsdbktr.c:168: structure has no member named `last_frame_time' grab_bsdbktr.c:169: structure has no member named `last_frame_time' grab_bsdbktr.c:169: structure has no member named `per_frame' grab_bsdbktr.c:170: structure has no member named `last_frame_time' grab_bsdbktr.c:170: structure has no member named `per_frame' grab_bsdbktr.c:170: structure has no member named `per_frame' grab_bsdbktr.c:173: structure has no member named `last_frame_time' grab_bsdbktr.c:173: structure has no member named `per_frame' grab_bsdbktr.c:178: structure has no member named `last_frame_time' grab_bsdbktr.c: In function `grab_read_header': grab_bsdbktr.c:207: structure has no member named `per_frame' grab_bsdbktr.c:207: warning: implicit declaration of function `INT64_C' grab_bsdbktr.c:207: `FRAME_RATE_BASE' undeclared (first use in this=20 function) grab_bsdbktr.c: In function `grab_read_close': grab_bsdbktr.c:227: warning: implicit declaration of function=20 `please_use_av_fre e' gmake[1]: *** [grab_bsdbktr.o] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/ffmpeg/work/ ffmpeg-0.4.8/liba vformat' gmake: *** [lib] Error 2 *** Error code 2 Stop in /usr/ports/multimedia/ffmpeg. =2D-=20 Anish Mistry --Boundary-02=_PtNv/mPodtn0mih Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/vNtPxqA5ziudZT0RAk++AKC4cueMU6WOZfhgNwZ0f4jtqTmp1ACgxf81 uFoPcNKKJgskw3gXr7bDaO4= =daWC -----END PGP SIGNATURE----- --Boundary-02=_PtNv/mPodtn0mih--