Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 May 2005 20:30:27 -0300
From:      Mario Sergio Fujikawa Ferreira <lioux-list@uol.com.br>
To:        freebsd-multimedia@freebsd.org
Subject:   [help] New FFMPEG-devel not working (Re: New ffmpeg CVS versions)
Message-ID:  <20050507233049.23708.qmail@exxodus.fedaykin.here>
In-Reply-To: <20050507202430.GG28885@puff.jakemsr.gom>
References:  <20050502043610.51034.qmail@exxodus.fedaykin.here> <20050503064417.GE11140@puff.jakemsr.gom> <20050507031447.71190.qmail@exxodus.fedaykin.here> <20050507202430.GG28885@puff.jakemsr.gom>

next in thread | previous in thread | raw e-mail | index | archive | help
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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050507233049.23708.qmail>