[Ffmpeg-devel] Streaming from camera segfaults on Ubuntu Dapper
Wed Oct 11 02:14:57 CEST 2006
On Tue, Oct 10, 2006 at 03:27:50PM +0300, Timo Rantalaiho wrote:
> I'm trying to stream video from a Logitech Quickcam 8000
> that I had working with older machine, Linux version and
> ffmpeg some years ago.
> ffmpeg crashes right away in a segmentation fault. This
> happens both with the package coming with Dapper
> (0.cvs20050918-) and with the Subversion snapshot I just
> Below are the details.
> Linux toro 2.6.15-27-686 #1 SMP PREEMPT Sat Sep 16 02:13:27 UTC 2006 i686 GNU/Linux
> thrantal at toro:~/downloads/ffmpeg$ ./ffserver &  26614
> thrantal at toro:~/downloads/ffmpeg$ ffserver started.
> thrantal at toro:~/downloads/ffmpeg$
> thrantal at toro:~/downloads/ffmpeg$ gdb ./ffmpeg_g GNU gdb 6.4-debian
> Copyright 2005 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
> (gdb) r -an http://localhost:8090/feed1.ffm
> Starting program: /home/thrantal/downloads/ffmpeg/ffmpeg_g -an http://localhost:8090/feed1.ffm
> FFmpeg version SVN-r6624, Copyright (c) 2000-2006 Fabrice Bellard, et al.
> libavutil version: 49.0.1
> libavcodec version: 51.16.0
> libavformat version: 50.5.0
> built on Oct 10 2006 15:00:07, gcc: 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
> 127.0.0.1 - - [Tue Oct 10 15:16:26 2006] "GET /feed1.ffm HTTP/1.0" 200 4165
> [video4linux2 @ 0x8348fa0]Capabilities: 5000001
> The V4L2 driver changed the video from 352x240 to 320x240
> Input #0, video4linux2, from '':
> Duration: N/A, bitrate: N/A
> Stream #0.0: Video: rawvideo, yuv420p, 320x240, 13823 kb/s, 15.00 fps(r)
> Input #1, audio_device, from '':
> Duration: N/A, bitrate: N/A
> Stream #1.0: Audio: pcm_s16le, 22050 Hz, mono, 352 kb/s
> Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
> Stream #0.0: Audio: mp2, 22050 Hz, mono, 64 kb/s
> Stream #0.1: Video: msmpeg4, yuv420p, 352x240, q=3-31, 256 kb/s, 15.00 fps(c)
> Stream mapping:
> Stream #1.0 -> #0.0
> Stream #0.0 -> #0.1
> [msmpeg4 @ 0x83e18dc]removing common factors from framerate
> Press [q] to stop encoding
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7ecb9dc in memcpy () from /lib/tls/i686/cmov/libc.so.6
> (gdb) bt
> #0 0xb7ecb9dc in memcpy () from /lib/tls/i686/cmov/libc.so.6
> #1 0x080b435c in v4l2_read_packet (s1=0x8456070, pkt=0x8516000) at v4l2.c:313
> #2 0x08062bbb in av_read_frame_internal (s=0x8456070, pkt=0xbfad8028)
> at utils.c:551
> #3 0x0805e774 in main (argc=3, argv=0x8456f80) at ffmpeg.c:1902
does this also happen without ffserver?
if no then you are on your own as ffserver lacks a maintainer currently
though a patches for ffserver are welcome of course
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
More information about the ffmpeg-devel