From owner-freebsd-multimedia Thu Feb 28 14:14:36 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from smtp3.wanadoo.nl (sukke.wanadoo.nl [194.134.35.186]) by hub.freebsd.org (Postfix) with ESMTP id BBD3937B400 for ; Thu, 28 Feb 2002 14:14:31 -0800 (PST) Received: from ams-gw.sohara.org (i1046.vwr.wanadoo.nl [194.134.212.27]) by smtp3.wanadoo.nl (8.11.3/8.11.3) with SMTP id g1SMEMv22758; Thu, 28 Feb 2002 23:14:22 +0100 (MET) Date: Thu, 28 Feb 2002 23:14:22 +0100 From: "Steve O'Hara-Smith" To: freebsd-multimedia@freebsd.org Cc: alex@acatysmoof.com Subject: Capture support for ffmpeg - patch to test Message-Id: <20020228231422.0d84c11f.steve@sohara.org> X-Mailer: Sylpheed version 0.7.1 (GTK+ 1.2.10; i386--freebsd4.5) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX,Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have a first working cut patch to enable capture from the bktr and pcm devicess with ffmpeg. Currently audio and video capture are working fine but sync slips badly, I don't know why yet. I'd like a few more people to play with it and maybe someone can tell me how to stop the sync from slipping. I have put a modified port skeleton (ffmpeg_patched.tgz) and a separate copy of the patch in it (patch-zgrab) on ftp.sohara.org in /pub. The change to the port is just adding the patch to files and removing the line in Makefile setting --disable-grab as a config option). CAVEAT: The patch is hardcoded to PAL (I tried leaving it out and got garbage and I didn't want to play with the ffmpeg command line it's a two spot change (line 64 and 65 change format and frame_time - which is in microseconds) in work/ffmpeg/libav/grab.c after running make patch to change to NTSC or SECAM). I am all ears for good ideas to get this more convenient - as a last resort it can be a make time define I suppose. -- C:>WIN | Directable Mirrors The computer obeys and wins. |A Better Way To Focus The Sun You lose and Bill collects. | licenses available - see: | http://www.sohara.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message