Windows – Starting VLC via command line to play a video as desktop wallpaper

command linevlc-media-playerwindows 8

I'm trying to create a batch script to start a video as a live wallpaper on startup. Right-clicking a playing video and selecting the "Set as wallpaper" option works fine, but attempting to run VLC with the following flags fails and only renders the video in the top left corner of the screen:

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --fullscreen --no-video-title-show --no-embedded-video --no-qt-fs-controller --qt-start-minimized --qt-system-tray --video-wallpaper "D:\carrey.mpg"

Is this a bug in VLC or am I not formatting the command correctly? I've tried a few different versions of the command script, but the same thing happens each time. I'm on Windows 8.1 x64.

Best Answer

You don't set any size so maybe VLC media player will play the movie in its original size/resolution.

I think adding the size to your command will solve your problem.

--width, --height <integer> sets the video window dimensions. By default, the video window size will be adjusted to match the video dimensions.

Source: Advanced Use of VLC, Video options

Related Question