[PD] pix_video + firewire problem

Antoine Villeret antoine.villeret at gmail.com
Tue Aug 12 15:06:31 CEST 2014


hi,

if you can `dvgrab` your camera, then your camera has a DV link interface.
`dc1394` is not the same and it's intended for industrial IIDC compliant
cameras.
You *cannot* grab a DV camera with the DC1394 library, see [1].

To use your DV camera with Gem, you need either to compile the `videoDV4L`
plugin or to use a V4L wrapper for DV camcorder [2].
 You can also try the Unicap plugin, but I'm not sure if it supports DV cam.

Unfortunately, I'm unable to build the videoDV4L plugin on Ubuntu 14.04.
`./configure` says DV plugin is enable (but is it the same ?) but the is no
gem_videoDV4L.so.
I'll file a bug report for this.

Maybe this plugin works in 0.93.3 release, I never tried it before.
if you build Gem yourself, please consider the use of the git repo [3].
there are *lots* of improvements since 0.93.3 release.
The latest build system update will give you more information about which
plugins are actually enabled when configuring.

+
A

[1] :
http://damien.douxchamps.net/ieee1394/libdc1394/faq/#Can_I_use_it_for_my_DV_camcorder
[2] : https://sourceforge.net/projects/dv4l.berlios/
[3] : git://git.code.sf.net/p/pd-gem/gem

--
do it yourself
http://antoine.villeret.free.fr


2014-08-10 23:55 GMT+02:00 <gnd at itchybit.org>:

> Hi,
>
> im running a clean install of Ubuntu 12.04, with Puredata 0.43.0-4 from
> Ubuntu repos, with a compiled Gem-0.93.3.
>
> Configure output of Gem shows:
>
> capture-support
>     use PLUGINS          : yes
>     use v4l              : yes (libv4l)
>     use v4l2             : yes (libv4l)
>     use ieee1394         : yes ( libdc1394 )
>
> When i connect the dv device i see in dmesg:
>
> [14522.765477] firewire_core: phy config: card 0, new root=ffc1,
> gap_count=5
> [14522.765695] firewire_core: phy config: card 0, new root=ffc1,
> gap_count=5
> [14523.269924] firewire_core: created device fw1: GUID 002011010f002781,
> S400
>
> Im able to dvgrab from the device without problems.
>
> When i create pix_video i see in console:
>
> [pix_video]: backend #0='v4l2'  : v4l2 analog
> [pix_video]: backend #1='v4l'   : v4l analog
> [pix_video]: backend #2='dc1394'        : dc1394 iidc
>
> When i send [driver dv( to pix_video:
>
> videoctl: driver dv
> [pix_video]: could not find a backend for driver 'dv'
>
> When i send [device /dev/fw1( to pix_video:
>
> videoctl: device /dev/fw1
> Cannot open '/dev/fw1': 25, Inappropriate ioctl for device
> videoDC1394: no cameras found
>
> I try to set [driver 2(:
>
> videoDC1394: no cameras found
>
> I send now [device /dev/fw1( to pix_video:
>
> videoctl: device /dev/fw1
> videoDC1394: no cameras found
>
> and so on ..
>
> The device is there (i chmoded it to 777 to make sure)
>
> # ls -la /dev|grep fw
> crwxrwxrwx   1 root root    251,   0 Aug 10 19:41 fw0
> crwxrwxrwx+  1 root video   251,   1 Aug 10 23:43 fw1
>
> this is my kernel:
>
> 3.2.0-65-lowlatency #68-Ubuntu SMP PREEMPT
>
> Does anyone have any idea what could be wrong ? I guess it must be sth
> stupid and trivial..
>
> thx & regards,
>
>
> gnd/
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
> listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140812/2106d6d8/attachment.html>


More information about the Pd-list mailing list