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...