[Kdenlive-devel] i cant capture with my webcam

Dan Dennedy dan at dennedy.org
Mon Jul 27 19:58:30 UTC 2009


2009/7/27 Javier Agustìn Fernàndez Arroyo <elhoir at gmail.com>:
> and how can i know it?

Since I originally responded, I feel obliged to respond, but my answer
is that I do not know from memory. I rarely deal with V4L2 myself
instead working mainly in the FireWire space. I think if you post this
to the forums at kdenlive.org site, you might get more help since
there are more people, and this mailing list is mostly just
developers. I see from the model spec page you posted in the link that
the camera supports MJPEG as YUY2. YUY2 is uncompressed, but not not
MJPEG. I would say you have to figure out how to put it into YUY2
mode, but I do not know how. So, please looking around for general V4L
info/utilities or ask on the forums.

> On Mon, Jul 27, 2009 at 8:09 PM, Dan Dennedy <dan at dennedy.org> wrote:
>>
>> ffmpeg only supports uncompressed via V4L(2). Please lookup what
>> formats your webcam provides.
>>
>> 2009/7/27 Javier Agustìn Fernàndez Arroyo <elhoir at gmail.com>:
>> > hello,
>> > i dont know if this is the corerct way for reporting problems... but let
>> > me
>> > explain..
>> >
>> > i have recently bought a webcam, and it works in videolan, using the
>> > video4linux 2 setting. The device file is /dev/video0.
>> >
>> > But in kdenlive, it shows "broken capture. Please check params"
>> >
>> > this is the kdenlive log when i try to capture:
>> >
>> > kdenlive(9822) RecMonitor::slotRecord: Capture: Running ffmpeg  "-f
>> > video4linux2 -s 320x240 -r 15 -i /dev/video0 -qscale 1 -ab 224k -vcodec
>> > mpeg4 -acodec mp2 -y /home/elhoir/capture0000.mp4 -f mpegts -vcodec
>> > mpeg4
>> > -acodec mp2 -"
>> > kdenlive(9822) RecMonitor::slotRecord: Capture: Running ffplay  "-f
>> > mpegts
>> > -x 465 -y 124 -"
>> >
>> > When running it in the command line, i get this:
>> >
>> > elhoir at elhoir-desktop:~$ ffmpeg  -f video4linux2 -s 320x240 -r 15 -i
>> > /dev/video0 -qscale 1 -ab 224k -vcodec mpeg4 -acodec mp2 -y
>> > /home/elhoir/capture0000.mp4 -f mpegts -vcodec mpeg4 -acodec mp2 -
>> > FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c)
>> > 2000-2009 Fabrice Bellard, et al.
>> >   configuration: --enable-gpl --enable-postproc --enable-swscale
>> > --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6
>> > --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm
>> > --enable-libschroedinger --enable-libspeex --enable-libtheora
>> > --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook
>> > --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-armv6t2
>> > --disable-armvfp --disable-neon --disable-altivec --disable-vis
>> > --enable-shared --disable-static
>> >   libavutil     49.15. 0 / 49.15. 0
>> >   libavcodec    52.20. 0 / 52.20. 0
>> >   libavformat   52.31. 0 / 52.31. 0
>> >   libavdevice   52. 1. 0 / 52. 1. 0
>> >   libavfilter    0. 4. 0 /  0. 4. 0
>> >   libswscale     0. 7. 1 /  0. 7. 1
>> >   libpostproc   51. 2. 0 / 51. 2. 0
>> >   built on Apr 10 2009 23:18:41, gcc: 4.3.3
>> > [video4linux2 @ 0x833fac0][3]Capabilities: 4000001
>> > [video4linux2 @ 0x833fac0]Cannot find a proper format.
>> > /dev/video0: I/O error occurred
>> > Usually that means that input file is truncated and/or corrupted.
>> > elhoir at elhoir-desktop:~$
>> >
>> > Can anyone help me? Many thanks
>> >
>> > The params string in kdenlive is this:
>> >
>> >  -f video4linux2 -s 320x240 -r 15 -i /dev/video0
>> >
>> > Im using Ubuntu 9.04, and kdenlive 0.7.3 (too old?)
>> >
>> >
>> > ------------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Kdenlive-devel mailing list
>> > Kdenlive-devel at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
>> >
>> >
>>
>>
>>
>> --
>> +-DRD-+
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Kdenlive-devel mailing list
>> Kdenlive-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Kdenlive-devel mailing list
> Kdenlive-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
>
>



-- 
+-DRD-+




More information about the Kdenlive mailing list