Choppy Video #29

Open
jacobgraf opened this Issue Jun 4, 2016 · 9 comments

Projects

None yet

5 participants

@jacobgraf

We are looking to use this for digital signage and occasionally we will have a short promo video play. We are using this as a test video (https://graftechnology.com/video/) but the video is really choppy. I set the GPU_MEM to 448 since that's the max for a 1GB Raspberry Pi 3 but it's still choppy. Any ideas how to get things running smoother? Thanks!

@guysoft
Owner
guysoft commented Jun 4, 2016

Currently chromium is not utilizing the GPU. To date I have not be able to find how to enable it. Talks are at #22 . Solutions are welcome.

@tailorvj
Collaborator
tailorvj commented Jun 5, 2016

@jacobgraf could you please try this out and tell us if it solves the problem for you?

@guysoft
Owner
guysoft commented Jun 5, 2016
@tcaddy
Contributor
tcaddy commented Jun 7, 2016

I was able to get hardware decoding working from Chromium by enabling the experimental gl graphics driver in raspi-config and enabling the --ignore-gpu-blacklist chrome flag, but elements of videos still played choppy.

I tried another Raspberry Pi distribution (OpenElec / XBMC) that runs videos in a dedicated media player. The same MP4 videos played smoothly in the media player app.

@tailorvj
Collaborator
tailorvj commented Jun 7, 2016

Maybe we are trying to squeeze too much out of a web browser. Did you try smaller resolutions?

@tcaddy
Contributor
tcaddy commented Jun 7, 2016

@tailorvj smaller resolutions played smoother, but don't look that great. In the end, I used a more powerful device for the video playback use case.

@pricecomstock

@jacobgraf Not in browser, but I'm having success using omxplayer. It goes fullscreen over the browser, and when the video is done, it closes and returns to the browser.

@guysoft guysoft added a commit that referenced this issue Dec 27, 2016
@guysoft Add GPU acceleration, fixes #75 #29 #22 342ab28
@guysoft
Owner
guysoft commented Dec 27, 2016

Hey, try RC1, it seems to be able to run fast, but it crashes, not sure why.

@guysoft
Owner
guysoft commented Dec 29, 2016

@jacobgraf Hey, if still relevant, it seems like webm does work on full screen at the moment, its mp4 container that seems to have a bug now. it means that if you convert your video to webm it should work with the new 0.7.0 RC1. Here is a webm video for reference:
http://video.webmfiles.org/big-buck-bunny_trailer.webm

@guysoft guysoft referenced this issue Dec 30, 2016
Open

Awww snap #86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment