BackScene is a tool designed to display video wallpapers on your Windows desktop background using MPV and weebp.
- Drag and drop to change the wallpaper folder.
[BackScene]
- display=0
- clean_memory=true
- show_logs=false
- start_minimized=true
- close_minimizes=true
- start_with_windows=true
- wallpaperPath=C:\Users\Admin\Videos\wallpapers\zidpVl1rabzWFWk_Yae Miko 4K Live Wallpaper.mp4
[Mpv]
- mute_audio=true
- shuffle=true
- play_at_startup=true
- limit_fps=true
- fps=30
- hardware_acceleration=true
- pause_on_fullscreen=true
- Display video wallpapers on your Windows desktop background.
- Utilizes MPV for video playback.
- Uses weebp for WebP image decoding.
- Show logs: Display the console logs.
- Start minimized: Start BackScene in a minimized state.
- Close minimizes: Close BackScene when minimized.
- Clean memory: Clean process memory for "BackScene" and "MPV".
- Start with windows: Launch BackScene at Windows startup.
- Mute audio: Mute the audio for the video running.
- Shuffle: Start the video randomly from the playlist folders.
- Play at startup: Start MPV when BackScene is running.
- Limit FPS: Limit the frame rate of the video.
Right-click on the BackScene icon in the system tray to access the following options:
- Start: Start MPV video.
- Stop: Stop MPV video.
- Next: Play the next video.
- Previous: Play the previous video.
- Play: Play the current video.
- Pause: Pause the current video.
- Mute: Mute the video.
- Unmute: Unmute the video.
- Show: Display the BackScene program.
- Settings: Open the settings menu.
- Help: Open the GitHub page for help.
- Exit: Exit the program.
-
Clone the Repository
git clone https://github.com/yourusername/BackScene.git
You can enhance your wallpapers with a smooth fade in/out + zoom + blur effect using MPV scripts. Place the script in the BackScene/tools/mpv/scripts/ folder.
-- crossfade_clean.lua
local fade_duration = 0.5
local zoom_factor = 1.03
local blur_strength = 1
local function apply_vf()
local duration = mp.get_property_number("duration")
if not duration then return end
-- Clear existing video filters
mp.commandv("vf", "clr")
-- Calculate fade out start time
local fade_out_start = duration - fade_duration
-- Build filter chain
local vf_str = string.format(
"fade=t=in:st=0:d=%f,fade=t=out:st=%f:d=%f,scale=iw*%f:ih*%f,boxblur=%d:%d",
fade_duration,
fade_out_start,
fade_duration,
zoom_factor,
zoom_factor,
blur_strength,
blur_strength
)
-- Apply filters
mp.commandv("vf", "add", vf_str)
mp.msg.info("Filtres appliqués proprement")
end
-- Apply filters when a file is loaded
mp.register_event("file-loaded", function()
mp.add_timeout(0.2, apply_vf)
end)
mp.msg.info("crossfade_clean.lua actif")

