Control Video - gradual increase in sound and brightness?

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Control Video - gradual increase in sound and brightness?

Post by BarrySumpter » Wed Jul 27, 2011 6:19 am

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
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 262
Joined: Mon May 18, 2009 4:12 am

Re: Control Video - gradual increase in sound and brightness?

Post by wsamples » Wed Jul 27, 2011 8:05 am

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

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Control Video - gradual increase in sound and brightness?

Post by BarrySumpter » Wed Jul 27, 2011 8:17 am

Thanks heaps!

I'll have a look and see what trouble I can get into.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Control Video - gradual increase in sound and brightness?

Post by BarrySumpter » Fri Jul 29, 2011 1:16 am

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.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Control Video - gradual increase in sound and brightness?

Post by BarrySumpter » Fri Jul 29, 2011 1:29 am

All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Control Video - gradual increase in sound and brightness?

Post by BarrySumpter » Fri Jul 29, 2011 1:54 am

All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

seaniepie
Posts: 154
Joined: Wed Sep 07, 2011 10:56 am

Re: Control Video - gradual increase in sound and brightness

Post by seaniepie » Sat Jan 02, 2016 1:31 am

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.

SparkOut
Posts: 2852
Joined: Sun Sep 23, 2007 4:58 pm

Re: Control Video - gradual increase in sound and brightness

Post by SparkOut » Sat Jan 02, 2016 9:54 am

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

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Control Video - gradual increase in sound and brightness

Post by Klaus » Sat Jan 02, 2016 1:27 pm

Hi friends,

what SparkOut says!

New links for your convenience:
Fade in: http://forums.livecode.com/phpBB2/viewt ... f=8&t=2778
Fade out: http://forums.livecode.com/phpBB2/viewt ... fade#p7202


Best

Klaus

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Control Video - gradual increase in sound and brightness

Post by FourthWorld » Sat Jan 02, 2016 2:56 pm

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
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Multimedia”