Re: [PD] RPi - GEM openGL

2013-02-16 Thread Antoine Villeret
hello,

if by from within PD you mean triggering omxplayer from pd
you can do that either by using [shell] like Simon explained
or by using pdsend and pdreceive, this could be done remotely, here is an
how to :
http://antoine.villeret.free.fr/?p=600
cheers
a

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


2013/2/15 João de Brito Rocha Reis Vidigal jbvidi...@gmail.com

 Simon,

 Your patch seems to be a GREAT simplification work of what I got. Thanks
 so much!

 I got the omxplayer working on the RPi from terminal... Perfect!
 however I can't get it to work from within PD!
 any suggestions?

 JV
 ___
 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] RPi - GEM openGL

2013-02-16 Thread Simon Wise

On 16/02/13 20:16, Antoine Villeret wrote:

hello,

if by from within PD you mean triggering omxplayer from pd
you can do that either by using [shell] like Simon explained
or by using pdsend and pdreceive, this could be done remotely, here is an
how to :
http://antoine.villeret.free.fr/?p=600
cheers


yes .. a pipe works fine as well.

Antoine did you check out xbmc further, I don't have a Pi here at the moment but 
have been looking at the xbmc docs and it can be controlled directly through a 
TCP port, so you should be able to do a lot more control (via netsend etc). 
Perhaps only the media centre playlist, looping and seeking stuff ... no 
crossfades that I can see. There does seem to be some provision for custom 
effects somewhere, via shaders but it seems, but probably only in GL, not in 
GL-ES. Still ... accurate seeking could be useful, there seems to be access to a 
global clock and seeks in files ... both with high enough resolution to sync 
things well. I'll test that when I can when I get a chance.


Has anyone tried using pdp on a Pi? again, I'll have a play when I've got one 
here. Pdp has an xv window, and a movie player that uses the linux quicktime 
library ... is the quicktime library available for Pi? and if so does it use the 
built-in codecs? ... that could be a way to go for fairly straightforward video 
playback.


Simon

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


Re: [PD] RPi - GEM openGL

2013-02-15 Thread João de Brito Rocha Reis Vidigal
Simon,

Your patch seems to be a GREAT simplification work of what I got. Thanks so 
much!

I got the omxplayer working on the RPi from terminal... Perfect!
however I can't get it to work from within PD!
any suggestions?

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


Re: [PD] RPi - GEM openGL

2013-02-14 Thread dreamer
On Wed, Feb 13, 2013 at 10:28 PM, Antonio Roberts
anto...@hellocatfood.comwrote:

 I'd imagine lack of motivation ;-)

Maybe we should each write a personal email to dmotd in order to motivate
him ;)



 On 13 February 2013 21:21, João de Brito Rocha Reis Vidigal
 jbvidi...@gmail.com wrote:
  One thing I didn't really get by going through the dev lists is where it
 stopped and why!
 
  JV
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list



 --
 
 anto...@hellocatfood.com
 http://www.hellocatfood.com
 

 ___
 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] RPi - GEM openGL

2013-02-13 Thread João de Brito Rocha Reis Vidigal
Ok... Hands on!
I kinda need this... So guide me and I'll try my best!

1st - can I use pdp_xv on the RPi?... will it work?
putting it very simply, the thing I need is really just a video window to throw 
some videos in... short videos and from time to time.
meaning it is not a VJ machine... which it could be... but it ain't!

2nd - if not, so if there is currently NO WAY to have video coming out of PD in 
a RPi, where can I start to try an make it happen!?

3rd - I got a git account... I don't really know how to use it though!!! As I 
said before, give me a bit of guidance and I'll try my best to help on the 
development of this!

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


Re: [PD] RPi - GEM openGL

2013-02-13 Thread Hans-Christoph Steiner

One place to start is to read thru the archives on this list, and the pd-dev
and gem-dev lists, since this topic has been discussed quite a bit. There was
one recent suggestion of trying to use a new library that makes it easier to
port OpenGL apps to OpenGL ES.  Trying to build Gem with that library would be
a good thing to try.

.hc

On 02/13/2013 08:15 AM, João de Brito Rocha Reis Vidigal wrote:
 Ok... Hands on!
 I kinda need this... So guide me and I'll try my best!
 
 1st - can I use pdp_xv on the RPi?... will it work?
 putting it very simply, the thing I need is really just a video window to 
 throw some videos in... short videos and from time to time.
 meaning it is not a VJ machine... which it could be... but it ain't!
 
 2nd - if not, so if there is currently NO WAY to have video coming out of PD 
 in a RPi, where can I start to try an make it happen!?
 
 3rd - I got a git account... I don't really know how to use it though!!! As I 
 said before, give me a bit of guidance and I'll try my best to help on the 
 development of this!
 
 thanks
 JV
 ___
 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] RPi - GEM openGL

2013-02-13 Thread Simon Wise

On 13/02/13 21:15, João de Brito Rocha Reis Vidigal wrote:

Ok... Hands on!
I kinda need this... So guide me and I'll try my best!

1st - can I use pdp_xv on the RPi?... will it work?
putting it very simply, the thing I need is really just a video window to
throw some videos in... short videos and from time to time. meaning it is not
a VJ machine... which it could be... but it ain't!



if you really just need to play videos triggered by your pd patch then you can 
use the player that comes with the Pi, it can be played using [shell].


here is a very quick example I set up for a friend who wanted to play a bunch of 
videos on que, starting different videos together on 4 or 5 Pis cued from a 
laptop over wifi. It wasn't hard for her to get a screenfull of buttons to do 
the cues she wanted, and the Pis were great since she didn't have much time to 
set up in the venue, so her wifi network could be run and tested offsite. Plus 
the Pis worked out cheaper than buying long VGA cables etc.


Anyway this worked for her .. obviously it is extremely limited, but it does let 
you play videos cued by pd. Just open pihelp.pd


Now I want to get things a bit better, and see if I can put together a very 
simple set of pd objects to set up a window then play and crossfade a series of 
videos. Nothing fancy yet, but just getting that up will be a start.


Unfortunately it can't happen too soon, I've got some other stuff on my plate 
too.


Simon
#N canvas 7 74 428 368 10;
#X obj 36 118 starter;
#X obj 250 117 playit;
#X text 116 201 open me using right-click for more info;
#X text 125 327 Simon Wise 2012;
#X text 139 219 (or control-click on OSX);
#X text 222 96 put this on each Pi ..;
#X text 6 279 IMPORTANT: if [netsend] can't connect it will hang;
#X text 5 294 for a long time \, until eventually it times out;
#X text 77 27 sudo apt-get install pd-ggee;
#X text 12 65 THEN:;
#X text 11 4 FIRST: to get [shell] install package pd-ggee on the Pi's
;
#X text 30 95 put this on your laptop;
#N canvas 5 102 227 118 10;
#X obj 31 23 netreceive 3001;
#X floatatom 118 56 5 0 0 0 - - -;
#X obj 31 52 ggee/shell;
#X connect 0 0 2 0;
#X connect 0 1 1 0;
#N canvas 391 98 379 614 10;
#X obj 185 300 netsend;
#X msg 196 249 connect 192.168.0.11 3001;
#X obj 101 88 bng 15 250 50 0 empty empty 1 5 8 0 10 -1794 -1 -262144
;
#X obj 97 23 bng 60 250 50 0 empty empty go 5 25 0 40 -1794 -1 -262144
;
#X obj 101 104 bng 15 250 50 0 empty empty 1 5 8 0 10 -173826 -1 -262144
;
#X obj 72 402 netsend;
#X obj 121 88 bng 15 250 50 0 empty empty 2 5 8 0 10 -1794 -1 -262144
;
#X obj 121 104 bng 15 250 50 0 empty empty 2 5 8 0 10 -173826 -1 -262144
;
#X obj 177 489 netsend;
#X obj 141 88 bng 15 250 50 0 empty empty 3 5 8 0 10 -1794 -1 -262144
;
#X obj 141 104 bng 15 250 50 0 empty empty 3 5 8 0 10 -173826 -1 -262144
;
#X msg 83 378 connect 192.168.0.12 3001;
#X msg 188 466 connect 192.168.0.13 3001;
#X msg 11 194 connect localhost 3001;
#X text 11 175 for a local test ...;
#X msg 11 220 send gvim;
#X text 214 196 the command goes here ..;
#X text 244 233 the address here;
#X text 215 267 3001 is the port number;
#X text 175 43 all go at once;
#X text 173 89 green = go;
#X text 172 104 brown = connect;
#X text 135 589 Simon Wise 2012;
#X text 185 58 (must be connected first);
#X text 59 562 just edit commands and addreses to suit!;
#X msg 185 211 send omxplayer fireleft.mov;
#X msg 72 350 send omxplayer waterleft.mov;
#X msg 177 437 send omxplayer fireright.mov;
#X connect 1 0 0 0;
#X connect 2 0 25 0;
#X connect 3 0 2 0;
#X connect 3 0 6 0;
#X connect 3 0 9 0;
#X connect 4 0 1 0;
#X connect 6 0 26 0;
#X connect 7 0 11 0;
#X connect 9 0 27 0;
#X connect 10 0 12 0;
#X connect 11 0 5 0;
#X connect 12 0 8 0;
#X connect 13 0 0 0;
#X connect 15 0 0 0;
#X connect 25 0 0 0;
#X connect 26 0 5 0;
#X connect 27 0 8 0;
#X coords 0 -1 1 1 75 120 1 90 2;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] RPi - GEM openGL

2013-02-13 Thread João de Brito Rocha Reis Vidigal
Could I ask you guys to check my patch? I guess this way it would be easier to 
understand what I'm talking about and what I need to do, as well as getting an 
idea of what it is possible to do with it on a RPi!

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


Re: [PD] RPi - GEM openGL

2013-02-13 Thread João de Brito Rocha Reis Vidigal
One thing I didn't really get by going through the dev lists is where it 
stopped and why!

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


Re: [PD] RPi - GEM openGL

2013-02-13 Thread Antonio Roberts
I'd imagine lack of motivation ;-)

On 13 February 2013 21:21, João de Brito Rocha Reis Vidigal
jbvidi...@gmail.com wrote:
 One thing I didn't really get by going through the dev lists is where it 
 stopped and why!

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



-- 

anto...@hellocatfood.com
http://www.hellocatfood.com


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


[PD] RPi - GEM openGL

2013-02-12 Thread João de Brito Rocha Reis Vidigal
Hi guys.

I'm almost back from the dead for what concerns this list... Well... I'm almost 
back from the dead for what concerns PD at all!!! Let's Just say that almost 
3years have passed!

Anyways, to my questions!

Ok, so the issue, as pretty self explanatory as the subject of this email can 
be, has to do with the in vogue RPi.
I have this old patch I built 3 years ago. At the time I was using an arduino 
to trigger some video/audio in PD.
It's for an interactive video installation.
So, I even bought a miniMac to work with it... Works just fine.
However, I wanted to reduce/minimise the hardware... An besides after all this 
time, the miniMac became part of the well functioning of my house.
So I thought: why not try to get this patch in a RPi?
Got hold of one, read shit loads of stuff about it, prepared it, installed it, 
got PD in... So to realise that the bastard is not working.
Damn...
Read more and more.
So it seems that this is a contemporary matter going on. GEM doesn't work on 
openGL ES...

The thing is, I need a GEM window (or so I think!) to do this.
Is there ANY work around this issue?
Ideas? Plans? Jokes!!???

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


Re: [PD] RPi - GEM openGL

2013-02-12 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-02-12 13:45, João de Brito Rocha Reis Vidigal wrote:
 Ideas? Plans? Jokes!!???

great that you are back: welcome!

regarding your problem, the mailinglist has seen quite a number of
posts on *exactly this topic* in the last few months.

if you have missed them, check the archives for details.

the short answer is no: Gem needs openGL, and the RPi only offers
openGL-ES, so we are all out of luck.

gfadm
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlEaO6sACgkQkX2Xpv6ydvSNFACdFqBS17FAVHvfSNUjhjURYJeb
Tf4AoOHf3GDZqqJ0u0zfUjVOE7g1t2j+
=015z
-END PGP SIGNATURE-

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


Re: [PD] RPi - GEM openGL

2013-02-12 Thread Charles Goyard
Hi,

João de Brito Rocha Reis Vidigal wrote:
 So it seems that this is a contemporary matter going on. GEM doesn't work 
 on openGL ES...
 
 The thing is, I need a GEM window (or so I think!) to do this.
 Is there ANY work around this issue?
 Ideas? Plans? Jokes!!???

Just a shot in the dark, doesn't pdp have a window that can work without
opengl ?


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


Re: [PD] RPi - GEM openGL

2013-02-12 Thread Hans-Christoph Steiner
On 02/12/2013 07:55 AM, IOhannes m zmoelnig wrote:
 On 2013-02-12 13:45, João de Brito Rocha Reis Vidigal wrote:
 Ideas? Plans? Jokes!!???
 
 great that you are back: welcome!
 
 regarding your problem, the mailinglist has seen quite a number of posts
 on *exactly this topic* in the last few months.
 
 if you have missed them, check the archives for details.
 
 the short answer is no: Gem needs openGL, and the RPi only offers 
 openGL-ES, so we are all out of luck.

To exapand on that, Gem can be ported to OpenGL ES, its just a matter of
someone doing the work.

.hc

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


Re: [PD] RPi - GEM openGL

2013-02-12 Thread Pagano, Patrick
I think pdp_xv might be?
I am pretty sure pdp_glx and pdp_sdl are GL based

-Original Message-
From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of 
Charles Goyard
Sent: Tuesday, February 12, 2013 9:13 AM
To: pd-list@iem.at
Subject: Re: [PD] RPi - GEM openGL

Hi,

João de Brito Rocha Reis Vidigal wrote:
 So it seems that this is a contemporary matter going on. GEM doesn't work 
 on openGL ES...
 
 The thing is, I need a GEM window (or so I think!) to do this.
 Is there ANY work around this issue?
 Ideas? Plans? Jokes!!???

Just a shot in the dark, doesn't pdp have a window that can work without opengl 
?


___
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