Is it possible that such a tiny thing with only 512 mb, to play a full hd movie 1080p with no lags?
Yes it is, the trick is to use to the Raspberry Pi’s GPU. Omxplayer is a video player specifically made for the Raspberry PI’s GPU made by Edgar (gimli) Hucek from the XBMC project, basically it takes advantage of the hardware acceleration to play videos.
Install omxplayer (it may be already installed), also install x11-xserver-utils
Code:
sudo apt-get install omxplayer x11-xserver-utils
x11-xserver-utils will give you the program xrefresh
2. Play a movie inside a (X11 environment) using hdmi
Code:
omxplayer -o hdmi /path/to/movie_1080p.mp4
omxplayer options
omxplayer –help
Usage: omxplayer [OPTIONS] [FILE]
Options :
-h / –help print this help
-a / –alang language audio language : e.g. ger
-n / –aidx index audio stream index : e.g. 1
-o / –adev device audio out device : e.g. hdmi/local
-i / –info dump stream format and exit
-s / –stats pts and buffer stats
-p / –passthrough audio passthrough
-d / –deinterlace deinterlacing
-w / –hw hw audio decoding
-3 / –3d switch tv into 3d mode
-y / –hdmiclocksync adjust display refresh rate to match video
-t / –sid index show subtitle with index
-r / –refresh adjust framerate/resolution to video
Sometimes after playing a movie the screen will become all black, using xrefresh will get it normal again:
Code:
xrefresh -display :0
Hotkeys
z Show Info
1 Increase Speed
2 Decrease Speed
j Previous Audio stream
k Next Audio stream
i Previous Chapter
o Next Chapter
n Previous Subtitle stream
m Next Subtitle stream
s Toggle subtitles
d Subtitle delay -250 ms
f Subtitle delay +250 ms
q Exit OMXPlayer
Space or p Pause/Resume
- Decrease Volume
+ Increase Volume
Left Arrow Seek -30
Right Arrow Seek +30
Down Arrow Seek -600
Up Arrow Seek +600
More info (http://elinux.org/Omxplayer)