Search found 25 matches
- Sun Sep 11, 2016 9:06 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
Re: CasparCG countdown clock
Thanks Jacque - I don't need it to be really often, but I do need more than a second, otherwise somewhere it'll hop. I've made it loop every 500 milliseconds now. It's incredibly satisfying watching the Livecode countdown clock and reverse timecode on a clip counting down together! Now I just have t...
- Sat Sep 10, 2016 5:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
Re: CasparCG countdown clock
Ok, it's sorted. Thanks to all who have contributed to my latest angst. The answer is that "send xxx to me in yyyy seconds" is never going to be accurate. So all those answers about implementing timers I've read are wrong. I started to think laterally and wondered if Livecode has access to Unix Time...
- Sat Sep 10, 2016 11:20 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
Re: CasparCG countdown clock
Running my 7.44 test clip I can see the Livecode countdown against the clip timecode. LC starts ahead and by about 2 mins into the clip they are running in sync. By the end LC is somewhat behind - ie it runs slow. I ran an extra test and opened Photoshop whilst the clip was running, then took a Snip...
- Sat Sep 10, 2016 10:14 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
Re: CasparCG countdown clock
Hello -hh That's rather impressive by my standards! I'll put together a branch and give it a try. What matters to me is that the countdown is accurate - and it isn't so far. That is either because something in my code slows things up, or that something in Livecode is slowing it up. The current loop ...
- Fri Sep 09, 2016 10:41 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
Re: CasparCG countdown clock
Here's a video demo of the version before the countdown clock. It works extremely well, though the demo is about as basic as it could possibly be (said the highly experienced tv producer, slightly embarrassed). It was made to show a couple of colleagues. http://www.tech-ops.co.uk/bern/caspar.html Ca...
- Fri Sep 09, 2016 5:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
Re: CasparCG countdown clock
Hi Klaus No, no player - just a button called player1 which sends a one off command - write field "tMedia" & format("\r\n") to socket cgAdd to the CasparCG server, which plays a clip. it also sets off the showTime handler above, which you helped with, which should provide an accurate countdown to th...
- Fri Sep 09, 2016 11:00 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
Re: CasparCG countdown clock
Do we know anything about the actual mechanics of a loop like this one? I've added a few more " of stack "main" " and got the thing to run again but it isn't reliable. In fact I think it might slow down over time. I have a clip with reversed timecode so that I can see one against the other. They don...
- Thu Sep 08, 2016 8:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
Re: CasparCG countdown clock
Deleted last version as it was wrong, and I've been trying things as I've been writing. I've now got rid of the various errors by putting in versions of " of stack "main" " or "of stack "pop" " all over the place. It doesn't actually count down now, but I imagine that's a similar problem. thanks Ber...
- Thu Sep 08, 2016 5:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
Re: CasparCG countdown clock
New question.... I thought it would be a good idea to have the countdown timer on a floater, so that it could appear when a clip is running and count down, whatever you do with the main stack - like going off and putting on a caption, then coming back to the running clip card. So I made a substack w...
- Thu Sep 08, 2016 11:33 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
Re: CasparCG countdown clock
All help gratefully received - and I know that people in the future will be trawling through this thread looking for clues just as I have for the past few weeks. First - it's fixed, but I don't know why. The loop must just run more quickly with Klaus's corrections. I found a few mistakes along the w...
- Wed Sep 07, 2016 10:31 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
Re: CasparCG countdown clock
Klaus - thank you. I've made those changes - you live and learn. Unfortunately it doesn't make any obvious difference to the speed of the counter. Also - not that it matters in the wider context - the system didn't throw an error. I had moved the showTime code from a button, to the card, to the stac...
- Wed Sep 07, 2016 8:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
Re: CasparCG countdown clock
put totalsecs div 3600 into xhrs of card "clipper" totalsecs - a variable div 3600 - divide by 3600 and give just the integer xhrs of card "clipper" - a variable on card clipper It gives the hours for the countdown clock at this particular moment. So the next two lines give the minutes and seconds ...
- Wed Sep 07, 2016 6:10 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG countdown clock
- Replies: 27
- Views: 20543
CasparCG countdown clock
I'm trying to use a send command send "showTime" to me in 500 milliseconds to control a countdown clock for video clips in CasparCG. Because I don't have a knowledge of OSC, and in any case Livecode doesn't have a library I can use (there's very old one, I know) I'm doing it by asking CasparCG for t...
- Sun Aug 21, 2016 8:29 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Storing Data on Desktop Apps
- Replies: 12
- Views: 8079
Re: Storing Data on Desktop Apps
So can you put "G:\data\mine" into "thePathToFile"and have it work?
B
B
- Sat Aug 20, 2016 11:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: CasparCG lower third super machine with Livecode
- Replies: 9
- Views: 9622
Re: CasparCG lower third super machine with Livecode
It's interesting to read comments on my comments! I think there are probably an awful lot of people who pop into different skills to get a job done. Maybe they stay longer and learn more, or maybe they just get one thing done and go. I must admit that for most things I'm a passer-through. I know Pho...