Raspberry Pi video looper alternative available now
Raspberry Pi video looper alternative available now
Hello, I'm working on setting up an automatic video playback system for a flash drive or micro SD card. The built-in player seems unavailable, which is frustrating. No one has reported this issue before, so it's a bit of a challenge. I'm looking for a solution—maybe using VLC or another method—to ensure videos loop on startup. Let me know if you can help! Thanks, Radim Kolar
Yes, you can simply type the file path into the terminal and VLC should open it automatically.
The looper script is straightforward to grasp, and player assistance comes from a dedicated module. If I introduced another player, which class would you favor? EDIT: Testing showed vlc struggles with error handling, insists on a GUI, adding unnecessary complexity. ffplay functions adequately if your background audio setup is robust; it handles basic issues but may not fully utilize GPU capabilities. Include the configuration at the end of video_looper.ini [ffplay] extensions = avi, mov, mkv, mp4, m4v show_titles = false extra_args = -hide_banner sound = both [mplayer] extensions = avi, mov, mkv, mp4, m4v sound = alsa sound_vol_file = sound_volume show_titles = true title_duration = 10 extra_args = -fs Attached files are available in Adafruit_Video_Looper with omxplayer.py and mplayer.py ffplay.py
It’s recommended to use mpv instead of VLC. A Rasperry lacks much processing power, and VLC is significantly heavier than mpv, which means it will put less stress on your device. Here’s how to maintain mpv settings: https://superuser.com/questions/1581867/...t-having-t
Thanks for your assistance. I resolved this problem another way, as it was required in production. I mentioned f*cking Linux and simply used a decapitated HP laptop with standard Windows 10 that launches a .bat file to open a file in VLC at startup. A bit low-tech without a doubt, but it functioned well for nearly a month now.