[Libav-user] Capture from webcam on Linux
confusosk8 at gmail.com
Thu Dec 1 02:37:20 CET 2011
It compiles file, but I get a segfault at like 55, as GDB says :/
gduarte at mohave:~/dev/test_camera$ gdb ./t1
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /home/gduarte/dev/test_camera/t1...done.
Starting program: /home/gduarte/dev/test_camera/t1
[Thread debugging using libthread_db enabled]
[video4linux2 @ 0x6132a0] The driver changed the time per frame from
32767/-9288 to 1/30
Abertura retornou 0
[video4linux2 @ 0x6132a0] Estimating duration from bitrate, this may be
Program received signal SIGSEGV, Segmentation fault.
0x0000000000400ffc in main (argc=1, argv=0x7fffffffde08) at t1.c:55
55 if (pIFormatCtx->streams[ix]->codec->codec_type ==
#0 0x0000000000400ffc in main (argc=1, argv=0x7fffffffde08) at t1.c:55
On Thu, Dec 1, 2011 at 2:24 AM, Gabriel Duarte <confusosk8 at gmail.com> wrote:
> It's ok, I'm Brasilian, so I can understand portuguese, I think.. :)
> On Thu, Dec 1, 2011 at 1:50 AM, Leandro Santiago <
> leandrosansilva at gmail.com> wrote:
>> Here is a simple example I use to test my webcam.
>> There are some comments in portuguese, but I think it's understandable
>> 2011/11/29 Gabriel Duarte <confusosk8 at gmail.com>:
>> > advance
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
> Gabriel Duarte
> Linux User #471185
> France / Grenoble - Rhône Alpes
Linux User #471185
France / Grenoble - Rhône Alpes
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user