Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
109.12k stars 10.49k forks source link

support vaapi on linux through ffmpeg #1672

Open rajveermalviya opened 4 years ago

rajveermalviya commented 4 years ago

Is your feature request related to a problem? Please describe. Currently when running scrcpy, video stream decoding is done using ffmpeg (as far as i know). Which doesn't use vaapi even if vaapi libraries are already installed. This increases CPU usage for 60 fps streaming.

Describe the solution you'd like Is it possible to support vaapi transparently?

Describe alternatives you've considered

Additional context

arter97 commented 3 years ago

Bump.

I second this.

rajveermalviya commented 3 years ago

cc @rom1v

rom1v commented 3 years ago

Yes, it would be better. Contributions welcome :)

rom1v commented 2 years ago

We should definitely implement hardware decoding in scrcpy, the difference may be significant: https://code.videolan.org/rom1v/vlc/-/merge_requests/20 (check the graphs comparing HW decoding enabled and disabled in VLC).

cc @arter97 #1894

slimsymphony commented 2 years ago

@rom1vThanks for your research and test after checking this https://code.videolan.org/rom1v/vlc/-/merge_requests/20 Respect!