View Single Post
  #2  
Old 28-11-2012, 01:51
amin fear amin fear is offline
Registered User
 
Join Date: Feb 2012
Location: Inferno
Posts: 102
Thanks: 86
Thanked 57 Times in 30 Posts
amin fear is on a distinguished road
I think its working !

Dear yener90... I am not a good & professional coder like you even a " semi " of you... Im just curious about more knowledge & the two attached scripts is not mine...

it belongs to Original Author of DLL , Named : TLama
this is the main topics :

Playing sound during an Inno-setup install
&
Video file (with alpha) as splash-screen?

but I tested two samples & are working perfectly for me...

for example in " Playing sound during an Inno-setup install " topic , even we can set the volume of BG Music with this function :
Code:
DSSetVolume(-2500);
0 value means loudest [ full volume ] and -10,000 silence...

& in " Video file (with alpha) as splash-screen? " Topic :
the results of my tests are attached to post.
take a look at them.

the bad thing about video splash code is that we can not skip the splash video with mouse click & it needs Alt + F4 ! i shoud ask the author of WHY ????

but video loads greatly with absolute path : d:\Video.mkv
i think it has problem with relative path like : {src}\video.mkv
the sample video is :

Video: MPEG4 Video (H264) 1920x1080 23.976fps [Video]
Audio: AAC 44100Hz 6ch 4233kbps [Audio]

oh forgot to tell that library has problem with ANSI version of Inno... you must use UNICODE version.

the original size of video is 1920x1080 , but as you can see the "600*400" size settings of my example will trim/cut the main video frame...

Last edited by amin fear; 28-11-2012 at 02:09.
The Following 2 Users Say Thank You to amin fear For This Useful Post:
pakrat2k2 (28-11-2012), yener90 (01-12-2012)