Connexion rapide:  

Forum: General Discussion

Sujet Is it possible to activate slideshow through vdjscript?
I'm expecting this to be a dumb question and getting flak for not knowing, but I've just spent waaaay too much time trying to find out how to (make a button to) call the slideshow, direct it to a folder, and display one image static/continuously on top of the playing video.

I searched the VDJ website with google's custom search, searched ctrl+f on the vdjscript verbs page, nothing...

AFAIK there is not a single explanation on how to turn on the slideshow in vdjscript...

I could be wrong of course....
 

Posté Fri 20 Sep 24 @ 11:43 am
IMHO it should be as easy as: sampler_play_stop 'Images/Banner'...
It works for audio and video. Why not for images?
 

Posté Fri 20 Sep 24 @ 11:50 am
djdadPRO InfinityDevelopment ManagerMember since 2005
You can use deck master effect_active 'Slideshow' to turn on/off, but there is no action i am aware of to set the path.
Alternatively, you could use Sampler , at least for still image and video files. Sample actions can take path as parameter.
If you need to mimic a slideshow with images inside a specific folder, you could run it manually, record it and then drop it to a sample

BTW, i just tested image with sampler_play_stop and works fine...
sampler_play_stop "C:\Users\babis\Pictures\LogoCircular.png"
But putting them into sampler Bank and in the same Sampler Group , secures that only one of those will be shown (in case your images have some kind of transparency)
 

Posté Fri 20 Sep 24 @ 11:53 am
Thanks to you, @DJDad, I got it to work. It was indeed simple, with one caveat: for images the full path must be wirtten out and also the extension! For audio and video not.

sampler_play_stop 'Video/Countdown' will play the video clip "Countdown.mp4" located in the sampler's video folder.

sampler_play_stop 'D:\Overlays\Banner.jpg' will show the image on top of the video playing.

Exactly what I wanted. Thank you so much!
 

Posté Fri 20 Sep 24 @ 12:09 pm