[Ffmpeg-devel] ffmpeg could not grab from video device whileisnot open xawtv

Luca Abeni lucabe72
Tue Jun 6 12:18:14 CEST 2006


Hi again,

On Tue, 2006-06-06 at 09:29 +0200, Luca Abeni wrote:
> Hi Martin,
> 
> On Mon, 2006-06-05 at 12:52 +0200, Martin Farnik wrote:
> [...]
> > ffmpeg -vd /dev/video0 -an -s 720x576 -f mpeg -tvstd PAL -b 1024 -y
> > ./test.mpg
> > 
> > i will get:
> > FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
> >   configuration:  
> >   libavutil version: 49.0.0
> >   libavcodec version: 51.9.0
> >   libavformat version: 50.4.0
> >   built on May 31 2006 11:49:22, gcc: 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)
> > [video4linux @ 0x82d1184]Fatal: grab device does not support suitable format
> > Could not find video grab device
> I just tried, and it worked here with an Osprey 100 card...
I had a quick look at the code, and it seems to me that it is doing
something very wrong... I do not know why it is working here ;-)

Anyway, can you try the attached patch? Maybe it fixes the problem that
you are seeing.

BTW, is anyone interested in maintaining grab.c? I am looking at this
problem, but this is the last time: I do not want to maintain it.


			Thanks,
				Luca
-- 
Proud to be "coglione"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-v4l-depth.diff
Type: text/x-patch
Size: 2727 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060606/3b550431/attachment.bin>



More information about the ffmpeg-devel mailing list