2

We have a TV that is displaying what is basically a slide show: a series of static images that loop. Right now a windows PC running powerpoint provides the video feed.

I was wondering if there is a low-overhead software package for the raspberry pi that could run a slideshow. I would prefer not to use the X server, but I recognize there might be some really good solutions that require X. The invocation would be something like

slideshow --delay 8.0 -loop /media/1/slideshowpics/

although

while true; do 
    slideshow --delay 8.0 /media/1/slideshowpics/*
done

would also be fine. I need some way for it to pick up new pictures that we upload via the network.

Bonus points if you can get it to overlay the current IP address with a keystroke.

  • Did you check mplayer ? – dhruvvyas90 Jul 16 '15 at 16:16
  • 2
    Not using the X server here is sort of like saying you want to drive somewhere without wheels because you feel they are too heavy and the car will be lighter without them. – goldilocks Jul 19 '15 at 12:42
3

You could use my software info-beamer. Is a software to build all kinds of visualizations. I have example code ready that displays all jpeg files in a directory. Just put the node.lua together with all images into a single directory, then start info-beamer giving that directory as argument. It will automatically pick up new images that are put into the directory. You don't need to start X to run info-beamer.

| improve this answer | |
5

feh is a simple image viewer that should do what you want. feh requires X11.

You can give it a list of files or directories or URLs.

It looks like you might be able to use the --info option to display the IP address.

For displaying images on the console (without X11) you can use fbi. It is not a full featured as feh but it will do a simple slideshow.

Both fbi and feh can be installed via apt-get.

| improve this answer | |
  • The feh I was able to install using apt-get install feh seemed to require X. I was not able to find any flags to make it work without X11 in man feh. – Mutant Bob Jul 16 '15 at 21:30
  • 1
    You are correct. feh does require X11. I have used fbi for console image display. I will update the answer. – Craig Jul 17 '15 at 23:12
  • Practically no GUI apps have flags to allow them to work outside of a GUI stack straight from a virtual console. There are a handful of framebuffer apps, such as fbi, but these are very unusual since they usually then can't run under X (making them very specialized, i.e., of limited use value). Put another way: I'm pretty sure fbi is your only choice here. – goldilocks Jul 19 '15 at 12:46
4

For displaying just static images you can use fbi.

You probably want to have some control via your remote ssh session. The method below gives you that.

sudo apt-get -y install fbi to install fbi

sudo nano /home/pi/slideshow to create an easy slideshow script:

#!/bin/bash
if [ $1 = "stop" ]; then
   sudo kill `ps aux | awk '/fbi \-T/ { print $2}'`
else
  sudo fbi -T 3 -a -d /dev/fb0 -noverbose --readahead -t 3 -1 -l fileimagelist.lst 
fi

then chmod +x /home/pi/slideshow

(optionally) you can sudo nano /boot/config.txt to get rid of the black edges around the screen. For example:

hdmi_force_hotplug
hdmi_drive=2
hdmi_group=0
hdmi_mode=0
overscan_left=-10
overscan_right=-10
overscan_top=-20
overscan_bottom=-27

It might take a while before you find the right exact overscan numbers for your system.

use ./slideshow to start, ./slideshow stop to stop. In fileimagelist.lst you just list all pictures line by line. This example uses the -1 flag, so it quits after it finishes 1 cycle of the slideshow. I need that because I have a seperate script which manages the fileimagelist.lst file.

I personally wouldn't show the IP on the screen itself. Rather use a crontabbed script to ping a server with the hostname and IP. Method to do this can be found over here, I've submitted this a couple days ago on this very same site.

| improve this answer | |
1

Check this project out. I think it is just what you need: http://www.binaryemotions.com/digital-signage/raspberry-slideshow/

| improve this answer | |
0

I Think piSignage is suitable for your requirement . * am not sure if you can directly upload slides but you can create your slides with all the effects , the just save your ppt slide as video and upload your video to pisignage.com. It works right.you can test it out for free.

https://pisignage.com/

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.