[FFmpeg-devel] FireWire DV/HDV input device using libiec61883

Michael Niedermayer michaelni at gmx.at
Thu Jul 5 14:06:23 CEST 2012


On Thu, Jul 05, 2012 at 01:50:44PM +0200, Michael Niedermayer wrote:
> On Tue, Jul 03, 2012 at 11:59:56PM +0200, Georg Lippitsch wrote:
> [...]
> > diff --git a/configure b/configure
> > index b3719f8..1723197 100755
> > --- a/configure
> > +++ b/configure
> > @@ -1627,6 +1627,7 @@ dshow_indev_deps="IBaseFilter"
> >  dshow_indev_extralibs="-lpsapi -lole32 -lstrmiids -luuid"
> >  dv1394_indev_deps="dv1394 dv_demuxer"
> >  fbdev_indev_deps="linux_fb_h"
> > +iec61883_indev_deps="iec61883"
> >  jack_indev_deps="jack_jack_h sem_timedwait"
> >  lavfi_indev_deps="avfilter"
> >  libcdio_indev_deps="libcdio"
> > @@ -2764,6 +2765,7 @@ case $target_os in
> >      linux)
> >          add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
> >          enable dv1394
> > +        enable iec61883
> >          ;;
> >      irix*)
> >          target_os=irix
> > @@ -3194,6 +3196,7 @@ enabled avisynth   && require2 vfw32 "windows.h vfw.h" AVIFileInit -lavifil32
> >  enabled fontconfig && require_pkg_config fontconfig "fontconfig/fontconfig.h" FcInit
> >  enabled frei0r     && { check_header frei0r.h || die "ERROR: frei0r.h header not found"; }
> >  enabled gnutls     && require_pkg_config gnutls gnutls/gnutls.h gnutls_global_init
> > +enabled iec61883   && require libiec61883 libiec61883/iec61883.h iec61883_cmp_connect -lraw1394 -lavc1394 -lrom1394 -liec61883
> >  enabled libaacplus && require  "libaacplus >= 2.0.0" aacplus.h aacplusEncOpen -laacplus
> >  enabled libass     && require_pkg_config libass ass/ass.h ass_library_init
> >  enabled libbluray  && require libbluray libbluray/bluray.h bd_open -lbluray
> 
> this cant work, you unconditionally enable iec61883 but then fail
> hard when its dependancies arent available
> 
> ive removed the unconditional enable to avoid the failure but either
> some docs should be added to configure that --enable-... is needed
> to enable it or autodetection should be added.

ive cleanedup the code so it can be enabled manually at least
please review (ive no libiec61883 here so maybe it doesnt work ...)
also teh autodecttion vs. not maybe has to be discussed ...
Once you are ok with the code just tell me to merge the branch from
your repo where the final solution is

no hurry on this as the failure has been fixed ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120705/063de7c3/attachment.asc>


More information about the ffmpeg-devel mailing list