[FFmpeg-devel] [PATCH] configure - simplify grab device selection

Roman Shaposhnick rvs
Thu Aug 9 22:35:54 CEST 2007


On Thu, 2007-08-09 at 15:56 -0300, Ramiro Ribeiro Polla wrote:
> Diego Biurrun wrote:
> > On Tue, Aug 07, 2007 at 12:33:06AM -0300, Ramiro Ribeiro Polla wrote:
> >   
> >> Attached patches simplify configure by treating grab devices like normal 
> >> demuxers. They have a proper check in configure.
> >>     
> >
> > Hmm, what about dc1394 and dv1394?
> >
> >   
> 
> dc1394 seems to be easy too. It just needs to be disabled by default.
> 
> The problem is with dv1394. It looks like a hack. Is it normal that 
> every program that wants to use dv1394 in linux must have its own 
> include file with ioctl definitions? Doesn't the kernel supply this? I 
> don't how to check for it cleanly. Any thoughts, Roman?

  Short answer is: it is still a mess. The following is a nice
introduction into how it evolved:
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-September/014875.html

  Basically, the problem is that linux/drivers/ieee1394/dv1394.h is
still not being exported to the /usr/include hierarchy. 

  Now, we can, if we want to make kernel sources to be a requirement
for building dv1394 capturing support. It is, perhaps, less ugly
than letting libavformat/dv1394.h bitrot. 

   Should we do that?

Thanks,
Roman.





More information about the ffmpeg-devel mailing list