Re: [PD] [OT] get video stream with pdgst from XIMEA camera

2013-08-23 Thread Jack

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

Le 22/08/2013 21:03, IOhannes zmölnig a écrit :
 On 08/22/2013 08:40 PM, Jack wrote:

 $ cat /sys/devices/virtual/video4linux/video1/format
 GREY?30:1280x1024@30

 I expect 60 fps.
 If i set :
 $ v4l2-ctl -d /dev/video1 -p 60
 or
 $ v4l2-ctl -d /dev/video1 -p 1
 It doesn't change anything.
 Do you know if there is a possibility to get this frame rate (60 fps) ?
 Is it a limitation using videoloopback ?

 no.
 v4l2loopback does not know nor care about frames or formats.
 it simply passes the frames from one application to another. there is no
 colorspace-conversion of resampling or the like involved.
OK.



 it's gstreamer that doesn't set the framerate correctly.

 you could force it by running:
  $ echo @60 | sudo tee /sys/devices/virtual/video4linux/video1/format

 in practice i don't think that this framerate setting will do much.
Yes, it doesn't change anything.



 For info, i get 60 fps when I use the application streamViewer.

 how do you know?
It is written in the top window border : Acquisition [ cptured: 2854,
skipped: 1, fps : 61.40 ]
Seeing the video capture in the Gem window, i guess it is at 60 fps.
So, in this case, information about framerate return by :
$ v4l2-ctl --all -d /dev/video1
or
$ cat /sys/devices/virtual/video4linux/video1/format
is incorrect.
Thank you for your help IOhannes, now I can get the stream from a XIMEA
camera in Gem.
Do you think, it will be much better/faster/stable to get a v4l2 driver
from XIMEA than to use a pipe with gstreamer/v4l2loopback ?
++

Jack




 fdsmard
 IOhannes



 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
http://lists.puredata.info/listinfo/pd-list

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSFzakAAoJEOuluecjw8GUxh8H/3uYQ0ZG0on0w8h1J6Rox2Tr
kiIt4tSeV3fBPJfaBugYky6e003MprM8aLSyEE2ugbDMQ2tGX7O3qtau1jqpuRd6
gSA7l5R4UVK+whIunilwmG+mrBytwVUi4lx9CRmaRIgcN6GNYJO9mIDMKgOwNO7S
B86SOYGX7TtKr7vTyC+z9jIq/fDaKgNQTN85gyYgimqdtP/zt1rIhkoomDuQO5u1
9IpezxPxu7JnEWqSjLJ+1VPM69k6JNsOga5A9Vv6IKvHbgWiK42n+Zr2KE4+HxlZ
ZEAPJNNQg/sWH+/fAd+84tsQpAxUEr5bgTpw3ROt+wBumwk2S8wZzVZDA1BZ9rE=
=1w9V
-END PGP SIGNATURE-

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] outlet_float crashes on windows

2013-08-23 Thread Orm Finnendahl
Hi,

 trying to compile an external for Windows XP I get a very strange
error: pd crashes when calling outlet_float on an external outlet
(even if it isn't connected). The very same code runs well on both OSX
and Linux (same pd version, but has been running there for several
years). Bypassing the outlet_floats by sending to dedicated receivers
in the patch makes everything work as expected without any problems
(which makes it even stranger as it is a pretty involved external with
internal dynamic loading and connection of abstractions communicating
with internal in- and outlets with proxies using outlet_float and such
internally without any issues).

This is my first attempt with supporting Windows and my setup might be
screwed up, so I thought I'd ask on the list whether someone has an
idea how to further investigate into the problem. I'm compiling on a
virtual machine with XP and latest MinGW. I'm linking against a pd.dll
of pd-0.43-44 using all header files from that version as well. The
test is done with a pd of the same version.

Unfortunately I don't know anything about getting a debugger to work
on Windows. (I remember it was already painful to get it working with
inspection and breakpoints on my linux machine).

Below are the relevant code snippets of the external.

Any ideas?

--
Orm

--
code snippets:

# typedef:

typedef struct _quograph
{
  t_object x_ob;
  t_outlet *x_o0;
  t_float x_currtime;
...
} t_quograph;

# instantiation/binding:

static void *quograph_new(t_symbol *s)
{
...
x-x_o0 = outlet_new(x-x_ob, s_list);
...
}

# calling example:

outlet_float(x-x_o0, x-x_currtime);

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Pd Extended zip file from downloads page, network install issues

2013-08-23 Thread Richie Cyngler
Dear List,

The technology department at the learning institution I work at have
agreed to install Pd Extended. They used the zip file (not the install) on
puredata.info to do a network install (not something I know very much
about). Pd Extended loads and runs core audio functionality fine but
libraries appear to be missing, no GEM objects I tested work, neither does
[cup]

Does anyone know if there is a way to get a network install of Pd Extended
to load all the libraries automatically?

Thanks very much

-- 
Richie Cyngler

www.glitchpop.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] pd 0.45-0 released

2013-08-23 Thread Miller Puckette
Hi all,

Pd version 0.45-0 is available on http://crca.ucsd.edu/~msp/software.htm
or via git from sourceforge:
  git clone git://git.code.sf.net/p/pure-data/pure-data
  cd pure-data
  git checkout -b 0.45

As always I'm sure there will be problems here and there - you're welcome
to report them on the Pd mailing list (pd-list@iem.at) which is always the
fastest way to get me to see them.

cheers
Miller

___
Pd-announce mailing list
pd-annou...@iem.at
http://lists.puredata.info/listinfo/pd-announce

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Pd to Raspberry Pi SPI

2013-08-23 Thread Dan Nigrin
Background:  I'm very well versed in Max, but still a newbie in Pd.  I'm
working on a project to that will use Pd running on a Raspberry Pi, and that
will generate control voltages using DACs (ideally something like a MCP4922
or similar, 
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en020399 ).

I know about Miller's gpio external, found here:
http://crca.ucsd.edu/~msp/syllabi/206.13w/index.htm , but it does not do any
of the SPI interfacing, which is the way that will need to interface with
the DACs.

Is there any possibility (Miller or anyone smarter than I am on this stuff)
to extend the gpio external to include SPI interfacing?

Thanks in advance,
Dan
-- 
Dan Nigrin / Defective Records / http://defectiverecords.com
CycliC, M185  Klee Sequencers / MC-4  MC-202 Hack / Audio Plugin Player /
General MIDI Player / Major Malfunction
Jack OS X / http://jackosx.com


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pd 0.45-0 released

2013-08-23 Thread Alexandre Torres Porres
 Objects/messages/comments have settable box widths.

hi there, please, how can I use this new feature? I didn't get it.
cheers

2013/8/23 Miller Puckette m...@ucsd.edu

 Hi all,

 Pd version 0.45-0 is available on http://crca.ucsd.edu/~msp/software.htm
 or via git from sourceforge:
   git clone git://git.code.sf.net/p/pure-data/pure-data
   cd pure-data
   git checkout -b 0.45

 As always I'm sure there will be problems here and there - you're welcome
 to report them on the Pd mailing list (pd-list@iem.at) which is always the
 fastest way to get me to see them.

 cheers
 Miller

 ___
 Pd-announce mailing list
 pd-annou...@iem.at
 http://lists.puredata.info/listinfo/pd-announce

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pd 0.45-0 released

2013-08-23 Thread Miller Puckette
'hover' over the right-hand side of any object/message/comment in edit
mode and the cursor should change to a 'grow' cursor (double arrow) - then
drag to the left or right.

enjoy...
Miller
On Fri, Aug 23, 2013 at 06:42:47PM -0300, Alexandre Torres Porres wrote:
  Objects/messages/comments have settable box widths.
 
 hi there, please, how can I use this new feature? I didn't get it.
 cheers
 
 2013/8/23 Miller Puckette m...@ucsd.edu
 
  Hi all,
 
  Pd version 0.45-0 is available on http://crca.ucsd.edu/~msp/software.htm
  or via git from sourceforge:
git clone git://git.code.sf.net/p/pure-data/pure-data
cd pure-data
git checkout -b 0.45
 
  As always I'm sure there will be problems here and there - you're welcome
  to report them on the Pd mailing list (pd-list@iem.at) which is always the
  fastest way to get me to see them.
 
  cheers
  Miller
 
  ___
  Pd-announce mailing list
  pd-annou...@iem.at
  http://lists.puredata.info/listinfo/pd-announce
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
 

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list