question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Video playback performance not equivalent to chromium-browser

See original GitHub issue

Describe the bug I am using electron from this vue-cli-plugin-electron-builder to play some local video files on a Raspberry Pi 3 b+. I set webSecurity to false, so playing local files is not a problem. I am trying to play the video file (mp4, 720p) via html video tag. It works.

Now something is odd about the video performance, when playing in fullscreen. Via the electron app the video slightly lags/stutters. However, playing the same file directly via the chromium-browser it runs fluent and smooth. I wonder why this could be, I thought they both use the same engine somehow ?

Are they any special settings in electron, electron-builder to enable a missing feature ?

To Reproduce Playing a local video file on a Raspberry Pi 3b+ via Electron, vs playing in Chromium-Browser .

Expected behavior Same video performance as in chromium-browser

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS and version: Raspbian Buster
  • node version: 10.15.2
  • npm version: 6.14.2
  • yarn version (if used):
  • vue-cli-plugin-electron-builder version : 1.4.6
  • electron version: 6.0.0
  • other vue plugins used:
  • custom config for vcp-electron-builder:
  • (if possible) link to your repo:

Additional context I built the app vie npm run electron:build -- --linux deb --armv7l

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nklaymancommented, May 17, 2020

All you need to do is change the electron version and run npm install. Just beware of electron breaking changes.

1reaction
nklaymancommented, May 16, 2020

I don’t know of any settings that could affect video playback performance. Try using the latest version of electron as that will use a more recent version of chromium which could be faster. Also, try playing the video in a vanilla electron app and see if it is still slow there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues playing Non 30fps video in Chrome, especially 60fps ...
Chrome is unable to handle non 30fps playback properly. @strobe has a ton of examples calling this out where video (VP9) works fine...
Read more >
Why is Edge Chromium so much better in video playback?
So I open my Edge Chromium and set the video to the same time with 8k50fps, and the video just played, with just...
Read more >
How to fix bad video quality in Google Chrome (4 Easy Ways)?
The solution on how to fix bad video quality in Google Chrome and all browsers. And watch your YouTube Google videos with issues....
Read more >
Audio and video stutter in Chromium based browsers #695
I've noticed that when using Chromium based browsers, such as Brave, to watch videos while Sandboxed the audio and the video will both ......
Read more >
Video Playback In Linux Web Browsers SUCKS! - YouTube
Playing video inside our web browsers, whether they be Chrome-based browsers of Firefox -based, is not a great experience. These web browsers ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found