-
Notifications
You must be signed in to change notification settings - Fork 84
Media playlist with commercial interruptions
WarmUpTill edited this page Jul 17, 2023
·
3 revisions
The goal of this guide is to show how to regularly schedule commercial while playing a media playlist but without interrupting the individual playlist items.
It is assumed that you have configured a VLC source, which contains the playlist, with settings similar to this one:
The important part is the "Pause if not visible, unpause when visible" so that the playback does not restart when switching away and back to the scene containing the VLC source.
Next two macros need to be created:
- The first macro is responsible for detecting when a transition to the next playlist item takes place and if the specified commercial time interval has passed already.
If both are the case a scene switch will take place.
The media condition with state "playing" and "time remaining shorter than 1 second" restriction will allow us to identify when the current playlist entry is about to end. - The second macro is only responsible for automatically switching back to the scene containing the VLC video source playing back the playlist.
The important part is the macro action to reset the timer of the macro described above.
These settings will allow to automatically switch to a "commercial" scene if at least 30 seconds have passed and when a playlist item just ended its playback.
- Installation
- Show webcam only when speaking
- Twitch Category Changer
- Show text source with latest Twitch follower
- Detect elements on screen and hide them automatically
- Motion detection
- Start other programs when starting OBS
- Crossfading audio during scene changes
- Looping a set of media sources
- Switch scenes randomly
- Re-shuffle VLC source
- Automatically switch scene if a game capture's target window no longer exists
- Audio based scene switching in podcast setting
- Switching scenes based on portrait or landscape mode resolution of a window capture source
- Set up a hotkey to start and stop recording with a fade from and to black
- Automatically cycle through a list of scenes
- Toggle visibility of scene items on a timer
- Advance through a list of scenes by hotkey
- Performing actions only when transitioning from A to B
- Media playlist with commercial interruptions
- Split recording of stream into chunks
- Switching scenes for Aitum Vertical plugin
- Using MIDI devices
- Change capture window of Window Capture source
- Show URLs in clipboard in browser source
- General tab overview
- Starting and stopping the plugin
- Macros explained
- Creating a macro
- Pausing macros
- Macro duration modifiers
- Exporting and importing individual macros
- Audio condition
- Cursor condition
- Date condition
- Hotkey condition
- Media condition
- Process condition
- Scene item transform condition
- Slide Show condition
- Video condition
- Audio action
- Http action
- Hotkey action
- Random action
- Scene item visibility
- Sequence action
- Action Queue example
- Variables
- Macro properties
- Websockets
- Scripting
- Troubleshooting
- Saving and loading settings