Skip to content

bobburgers7/pi-video-photo-slideshow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pi-video-photo-slideshow

There are plenty of digital picture frame projects using the raspberry pi but very few support both photos and videos. When they do, they typically use OMXplayer or a custom script. OMXplayer doesn't work for my use case because it doesn't support newer video formats (i.e. recorded using my iphone). In addition, OMXplayer has been deprecated in favor of VLC. Thus, I did some research and put together one using VLC.

You can run VLC from the command line and use the framebuffer instead of X11 to display videos and pictures.

  1. Install Raspberry Pi OS Lite

  2. apt-get install vlc-bin and vlc-plugin-base

  3. create a directory containing your media

  4. Create a playlist default.xspf that lists your media folder as the only entry

  5. Add a line in crontab running VLC. FYI You cannot run VLC as root.

       @reboot cvlc --random --play-and-exit /home/pi/default.xspf
       #--image-duration - change how long each photo displays without having to go into the graphical interface to change settings
       #@reboot cvlc --fbdev /dev/fb0 --image-duration=30 --no-osd --no-repeat -fLZ /home/pi/default.xspf vlc://quit
       #@reboot sleep 15 && clear && cvlc --image-duration=30 --recursive expand --no-osd --no-repeat -fLZ /home/pi/default.xspf vlc://quit
    

fancy stuff

  • TODO how to update the playlist automatically with any new files added via sync-thing? feh used to be able to refresh the list. consider just rebooting the pi after it goes through all the files?

  • Used to use feh for the digital photo frame but couldn't do video and had to compile HEIC support for iphone photos.

Similar Projects:

References:

About

Raspberry PI Digital Photo + Video Frame

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published