Yes it is possible. To get the current position and foreground clip
you need to open a notify port and then listen for frame sync events.
The format is text: 1|ctime|fgclip|frame|fps

where ctime is the time in seconds since playback started
fgclip is the foreground clip number
frame is the frame number
fps is the current clip fps

There is an example of this here in perl:
http://lives.svn.sourceforge.net/viewvc/lives/trunk/tools/monitorlives.pl

Here is a list of the current events which are notified:
http://lives.svn.sourceforge.net/viewvc/lives/trunk/src/osc_notify.h
(note, you wont get success, failure or cancelled messages unless you
specifically ask for them - this is for apps which need a response for
every command sent)

To get the background clip is a little more tricky. You need to open a
status socket (similar to opening a notify socket, but you will use a
different port). Then on the command port, you send
"/clip/background/get" and LiVES will repsond by sending the clip
number on the status port.

Hope this helps !

Gabriel.




http://lives.sourceforge.net
https://www.ohloh.net/accounts/salsaman



On Fri, Jan 6, 2012 at 06:30, Jeremy -- AMMD <[email protected]> wrote:
> Hi!
> I'm looking for some tips about osc control.
> Is Lives can send the background & foreground clip in osc (to another
> device)?
> Is Lives can send the current position of the clip in osc?
> Thanks
> Jeremy
>
> --
> Jeremy - *AMMD* [Freak&  Free Arts Coo[r]p]
> +33 (0)95 234 72 48 -- tel.:+33 (0)6 07 95 26 98
> http://www.ammd.net  /  [email protected]
> --
> Artists:
> *Sebkha-Chott* (http://www.sebkhachott.net) [Free hip-hop, Metal 
> Experiemental]
> *Le Grand Corvidé et ses Cachottes* (http://jeanbleu.free.fr/corvide) 
> [Walcobilly, Dommage à JeanBleu]
> *JeanBleu* (http://jeanbleu.free.fr) [Mammuuuth-Punk, Psychobilly 
> Paléolitique]
> *Sackboutboute* (http://www.groolot.net/sackboutboute) [Conte Musical 
> Fantastique]
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Lives-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lives-users

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Lives-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lives-users

Reply via email to