User avatar
rpdom
Posts: 12011
Joined: Sun May 06, 2012 5:17 am
Location: Essex, UK

Re: Tutorial: Compile VLC with HW acceleration - Stretch, RPi 2/3

Sat Jan 13, 2018 8:29 am

For this sort of thing I would use omxplayer with h264 video and the --loop option. I've had a video of that form running continuously for a few months on a Pi (I'd switched the screen off and forgotten it was running) with no problems at all.

(It was a 4 hour long video of a log fire that I downloaded and was using to provide ambience for Christmas a couple of years ago. It ran fine on a Pi 1B)

moh86
Posts: 4
Joined: Sun Dec 17, 2017 11:14 am

Re: Tutorial: Compile VLC with HW acceleration - Stretch, RPi 2/3

Sat Jan 20, 2018 1:09 am

Hello, I have a problem. Today I've got my brand new RPi3 and Samsung Evo Plus 64GB microSD card. After installing a fresh Raspbian Stretch on the SD Card I came to that topic and followed all the steps. So far so good. But if I play an example Video which came with Raspbian "/opt/vc/src/hello_pi/hello_video/test.h264" I see the Video like 1fps. Very choppy/jerky.

Hardware is new and software is fresh installed. I havent overclocked or something similiar.

Ive tried 128MB on GPU already, its a little bit better but not watchable at all.
Can anybody help me?

gkreidl
Posts: 5389
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Tutorial: Compile VLC with HW acceleration - Stretch, RPi 2/3

Sat Jan 20, 2018 7:16 am

moh86 wrote:
Sat Jan 20, 2018 1:09 am
Hello, I have a problem. Today I've got my brand new RPi3 and Samsung Evo Plus 64GB microSD card. After installing a fresh Raspbian Stretch on the SD Card I came to that topic and followed all the steps. So far so good. But if I play an example Video which came with Raspbian "/opt/vc/src/hello_pi/hello_video/test.h264" I see the Video like 1fps. Very choppy/jerky.

Hardware is new and software is fresh installed. I havent overclocked or something similiar.

Ive tried 128MB on GPU already, its a little bit better but not watchable at all.
Can anybody help me?
Get some "real videos" for testing. VLC doesn't like this raw h264 video (no container).

BTW, VLC has some advantages but it is not as efficient as omxplayer.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

moh86
Posts: 4
Joined: Sun Dec 17, 2017 11:14 am

Re: Tutorial: Compile VLC with HW acceleration - Stretch, RPi 2/3

Sat Jan 20, 2018 9:14 am

gkreidl wrote:
Sat Jan 20, 2018 7:16 am
moh86 wrote:
Sat Jan 20, 2018 1:09 am
Hello, I have a problem. Today I've got my brand new RPi3 and Samsung Evo Plus 64GB microSD card. After installing a fresh Raspbian Stretch on the SD Card I came to that topic and followed all the steps. So far so good. But if I play an example Video which came with Raspbian "/opt/vc/src/hello_pi/hello_video/test.h264" I see the Video like 1fps. Very choppy/jerky.

Hardware is new and software is fresh installed. I havent overclocked or something similiar.

Ive tried 128MB on GPU already, its a little bit better but not watchable at all.
Can anybody help me?
Get some "real videos" for testing. VLC doesn't like this raw h264 video (no container).

BTW, VLC has some advantages but it is not as efficient as omxplayer.
I‘ve tried a 1080p full movie as well. There were more fps but it was still not watchable.

What can I do? Do you have a video file which I can test and compare my result with yours?

cjan
Posts: 501
Joined: Sun May 06, 2012 12:00 am

Re: Tutorial: Compile VLC with HW acceleration - Stretch, RPi 2/3

Sat Jan 20, 2018 9:49 am

moh86 wrote:
Sat Jan 20, 2018 9:14 am
I‘ve tried a 1080p full movie as well. There were more fps but it was still not watchable.

What can I do? Do you have a video file which I can test and compare my result with yours?
try 720p.

gkreidl
Posts: 5389
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Tutorial: Compile VLC with HW acceleration - Stretch, RPi 2/3

Sat Jan 20, 2018 10:42 am

With the GPU running a 500MHz omxplayer can play up to 1080p60. This doesn't work with with VLC. But all of my 1080i50 recorded (or live) TV streams work well with VLC.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

moh86
Posts: 4
Joined: Sun Dec 17, 2017 11:14 am

Re: Tutorial: Compile VLC with HW acceleration - Stretch, RPi 2/3

Sat Jan 20, 2018 11:19 am

cjan wrote:
Sat Jan 20, 2018 9:49 am
moh86 wrote:
Sat Jan 20, 2018 9:14 am
I‘ve tried a 1080p full movie as well. There were more fps but it was still not watchable.

What can I do? Do you have a video file which I can test and compare my result with yours?
try 720p.
Ok right now I‘m watching a 720p movie. It runs very fluent even with 64GB GPU. Sadly I have still problems with 1080p.

Return to “Raspbian”

Who is online

Users browsing this forum: Baidu [Spider] and 24 guests