[help] New FFMPEG-devel not working (Re: New ffmpeg CVS versions)

Mario Sergio Fujikawa Ferreira lioux-list at uol.com.br
Sat May 7 16:34:55 PDT 2005


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


More information about the freebsd-multimedia mailing list