dividuum / info-beamer

The Multimedia Presenter for Lua (for commercial projects, use info-beamer pi instead)
https://info-beamer.com/
Other
227 stars 48 forks source link

Horizontally flipped video on Raspberry Pi version #18

Closed tuupola closed 10 years ago

tuupola commented 10 years ago

Installed the Raspberry Pi version to fresh Raspbian install with following.

sudo rpi-update
sudo apt-get install -y libavformat53
wget http://dividuum.de/download/info-beamer/info-beamer-pi-0.7-beta.5da97d.tar.gz
tar -xzvf info-beamer-pi-0.7-beta.5da97d.tar.gz

Using the videolist example and Big Bunny trailer. Video plays fine with 60fps. Problem is the video is horizontally flipped. Problem only exists with Nodes which play videos. Problem exist with all video files I have tried. Videos work ok with omxplayer.

When starting Info Beamer it spits out the these messages.

dividuum commented 10 years ago

This seems to be a problem with the latest firmware :(

I made a post about this problem on the raspberry PI forum but did not get any official response so far: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=70&t=70836

I'm not even sure if the new firmware is now buggy or if that's the new intended behaviour. I suggest you downgrade to the last working firmware revision until there's any official response from the raspberry PI devs:

Download https://github.com/Hexxeh/rpi-firmware/blob/0f28b75563e26ce12d19fcdd8b0d8b1fe48da3ca/start.elf and replace the existing file in /boot

tuupola commented 10 years ago

Actually Hexxeh/rpi-firmware@c9e6ba40ea37eee26be1393bef41d3ca43ac8ccb is the first one which works for me. I think the bug (or feature) appeared in Hexxeh/rpi-firmware@0f28b75563e26ce12d19fcdd8b0d8b1fe48da3ca. Commit message says:

"Fix orientation of EGL images that originated from hardware video decode. Previously JPEGS and frames from software decoder were flipped compared to hardware decoded frame."

dividuum commented 10 years ago

Thanks for bringing that up. I managed to completely miss that commit message. I guess it's time to use the flipped output then.

dividuum commented 10 years ago

Fixed in release 0.7.2