From owner-freebsd-multimedia@FreeBSD.ORG Sat May 7 23:34:55 2005 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 1C84E16A4DD for ; Sat, 7 May 2005 23:34:55 +0000 (GMT) Received: from vette.gigo.com (vette.gigo.com [216.218.228.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2C0F43DBE for ; Sat, 7 May 2005 23:34:54 +0000 (GMT) (envelope-from lioux-list@uol.com.br) Received: from 201.24.15.75 (unknown [201.24.15.75]) by vette.gigo.com (Postfix) with ESMTP id A803557B0 for ; Sat, 7 May 2005 16:34:53 -0700 (PDT) Received: (qmail 23755 invoked by uid 1001); 7 May 2005 23:30:49 -0000 Message-ID: <20050507233049.23708.qmail@exxodus.fedaykin.here> Date: Sat, 7 May 2005 20:30:27 -0300 From: Mario Sergio Fujikawa Ferreira To: freebsd-multimedia@freebsd.org References: <20050502043610.51034.qmail@exxodus.fedaykin.here> <20050503064417.GE11140@puff.jakemsr.gom> <20050507031447.71190.qmail@exxodus.fedaykin.here> <20050507202430.GG28885@puff.jakemsr.gom> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050507202430.GG28885@puff.jakemsr.gom> User-Agent: Mutt/1.5.9i Subject: [help] New FFMPEG-devel not working (Re: New ffmpeg CVS versions) 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: Sat, 07 May 2005 23:34:55 -0000 On Sat, May 07, 2005 at 01:24:08PM -0700, Jacob Meuser wrote: > On Sat, May 07, 2005 at 12:14:25AM -0300, Mario Sergio Fujikawa Ferreira wrote: > > Hi, > > > > I have updated the ffmpeg-devel port with all the latest > > suggestions. However, the tv capture is not yet working. > > > > $ ffmpeg output.mpg > > ffmpeg version 0.4.9-pre1, build 4753, Copyright (c) 2000-2004 Fabrice Bellard > > configuration: --cc=/usr/local/libexec/ccache/cc --prefix=/usr/local --make=gmake --disable-debug --enable-memalign-hack --enable-shared --source-path=/usr/home/lioux/src/myports/tmp/ffmpeg-devel/work/ffmpeg --enable-a52 --enable-a52bin --enable-dts --enable-faac --enable-faad --enable-faadbin --enable-gpl --enable-mp3lame --enable-libogg --enable-pp --enable-shared-pp --enable-pthreads --enable-vorbis --enable-x264 --enable-xvid > > built on May 6 2005 23:24:05, gcc: 3.4.2 [FreeBSD] 20040728 > > Could not find video grab device > > you should specify the frame grab size, or it may try to use too large > of an area and error out, giving the misleading message above. > > ffmpeg -s 640x480 output.mpg > > and you'll probbaly want to use a higher bitrate ... man ffmpeg. $ ffmpeg -s 640x480 output.mpg ffmpeg version 0.4.9-pre1, build 4753, Copyright (c) 2000-2004 Fabrice Bellard configuration: --cc=/usr/local/libexec/ccache/cc --prefix=/usr/local --make=gmake --disable-debug --enable-memalign-hack --enable-shared --source-path=/usr/home/lioux/src/myports/tmp/ffmpeg-devel/work/ffmpeg --enable-a52 --enable-a52bin --enable-dts --enable-faac --enable-faad --enable-faadbin --enable-gpl --enable-mp3lame --enable-libogg --enable-pp --enable-shared-pp --enable-pthreads --enable-vorbis --enable-x264 --enable-xvid built on May 6 2005 23:24:05, gcc: 3.4.2 [FreeBSD] 20040728 Input #0, video4linux, from '': Duration: N/A, bitrate: N/A Stream #0.0: Video: rawvideo, yuv422, 640x480, 25.00 fps Input #1, audio_device, from '': Duration: N/A, bitrate: N/A Stream #1.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s Output #0, mpeg, to 'output.mpg': Stream #0.0: Video: mpeg1video, yuv420p, 640x480, 25.00 fps, q=2-31, 200 kb/s Stream #0.1: Audio: mp2, 44100 Hz, mono, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #1.0 -> #0.1 Press [q] to stop encoding Memory fault (core dumped) Could you try the port version I last published? http://people.FreeBSD.org/~lioux/ffmpeg-devel.tgz with distfile http://people.FreeBSD.org/~lioux/ffmpeg-cvs-20050427.tar.gz I want to see what do you think of the grabbing code. By the way, I am using (intptr_t) instead of (unsigned char) because this is what I got with mmap source code. Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature