Page 1 of 1
Control Video - gradual increase in sound and brightness?
Posted: Wed Jul 27, 2011 6:19 am
by BarrySumpter
Hi all,
New to LiveCode media.
I had no intention of using LiveCode for media as media was never an interest.
Well, until now.
I'd like to play a video
on Win XP 32 bit
at a specific time
at full screen
gradually increasing brightness over say a 5 minute period
gradually increasing sound volume over say a 5 minute period.
Does LiveCode offer this type of control over the internal Video Player?
Also, are we able to control any exteral video player on the Win XP 32 bit?
Any positive constructive suggestions would be greatly appreciated.
I'm already searching the internet and LiveCode Forums and reading thru the LiveCode Dictionary, Release Documents, and user samples.
Anything more specific as to gradual increase in sound and brightness is what I'm looking for.
And as with all my posts, I'm happy to share my progress and solutions by posting as soon as they are found.
tia
Re: Control Video - gradual increase in sound and brightness?
Posted: Wed Jul 27, 2011 8:05 am
by wsamples
Hi, Barry. I hope I'm not sending you on the proverbial "wild goose chase" with this, I'm confident it would work under Linux, allowing for the caveat you'll find below regarding "broken features", and it
may work under Windows...
As far as possibilities using an external player go, you could look into mplayer running in slave mode. The docs indicate that all of the features you list should be available to you running in this mode. I say it that way because not all the features listed in the docs seem to work, *sigh*. I spent a little time playing with this in Linux once, and it's very interesting. You'd have to get the user to install mplayer and to be honest I'm not sure how you'd get Livecode to issue commands to the running mplayer process under Windows. Under Linux I used a FIFO which was really simple. mplayer runs mailing lists which you may find helpful if you find this interesting at all.
http://www.mplayerhq.hu/DOCS/tech/slave.txt
http://www.mplayerhq.hu/design7/dload.html
https://lists.mplayerhq.hu/mailman/listinfo
Re: Control Video - gradual increase in sound and brightness?
Posted: Wed Jul 27, 2011 8:17 am
by BarrySumpter
Thanks heaps!
I'll have a look and see what trouble I can get into.
Re: Control Video - gradual increase in sound and brightness?
Posted: Fri Jul 29, 2011 1:16 am
by BarrySumpter
At the moment I'm using the internal player
with the limited ability to play only certain videos.
But the videos I want to play specificly can be converted and actually included in my build.
The brightness setting doesn't seem to be available for the internal player.
I wonder if it would just be a case of adding an image
of all white with its zorder of 1 to the card and adjusting its opacity?
Or perhaps there is already a technique to fade in etc.
I'll keep looking.
Any positive constructive suggestions would be greatly appreciated.
Re: Control Video - gradual increase in sound and brightness?
Posted: Fri Jul 29, 2011 1:29 am
by BarrySumpter
Re: Control Video - gradual increase in sound and brightness?
Posted: Fri Jul 29, 2011 1:54 am
by BarrySumpter
Re: Control Video - gradual increase in sound and brightness
Posted: Sat Jan 02, 2016 1:31 am
by seaniepie
A lot of these old posts with useful stacks are no longer accessible when you click the links. It would be useful to reinstate them.
Re: Control Video - gradual increase in sound and brightness
Posted: Sat Jan 02, 2016 9:54 am
by SparkOut
This would be easy if at the forum hosting side they made a global redirect for the urls. The posts are still accessible, but the forums.runrev.com address needs to be changed to forums.livecode.com and then the topic references will work
Re: Control Video - gradual increase in sound and brightness
Posted: Sat Jan 02, 2016 1:27 pm
by Klaus
Re: Control Video - gradual increase in sound and brightness
Posted: Sat Jan 02, 2016 2:56 pm
by FourthWorld
SparkOut wrote:This would be easy if at the forum hosting side they made a global redirect for the urls. The posts are still accessible, but the forums.runrev.com address needs to be changed to forums.livecode.com and then the topic references will work
A bug report for that has been submitted and confirmed:
http://quality.livecode.com/show_bug.cgi?id=15523