scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Fire Stick 4K Low FPS

Open attiqfsd opened this issue 5 years ago • 8 comments

I am trying to copy my Amazon Fire Stick 4K display on my Laptop using the scrcpy. Everything seems to be working fine, but when I run the scrcpy.exe, the screen I see is super low FPS. I mean it is around 1FPS.

And When I try scrcpy.exe -m640

it is almost 60fps, but it is unusable for me at that resolution. Any resolution above that has very low FPS.

It only happens with this new Fire Stick 4K. My old Fire Stick and my phone seems to be working fine.

attiqfsd avatar Feb 06 '20 11:02 attiqfsd

it is almost 60fps, but it is unusable for me at that resolution. Any resolution above that has very low FPS.

When you increase the definition, it suddenly changes from 60fps to 1fps? (scrcpy -m650, scrcpy -m800, ...)

I guess the hardware encoder on the device does not support a higher definition (so the device switches to software encoding above).

Check the logs in adb logcat.

rom1v avatar Feb 06 '20 11:02 rom1v

I tried -m640 and the fps was pretty good. Then I tried -m960 and thefps dropped significantly.

Another thing i noticed. When I control the firestick using the pc keyboard, via scrcpy. The firestick display reacts instantly, but the scrcpy takes a few seconds to update the display frame.

This fire stick supports 4K HDR, shouldnt it be powerful enough?

I will try the logcat command and update you soon.

attiqfsd avatar Feb 06 '20 12:02 attiqfsd

This fire stick supports 4K HDR, shouldnt it be powerful enough?

It depends on the hardware encoder (sure, it is able to decode a 4K HDR video, but not necessarily encode).

Btw, what if you reduce the bitrate? scrcpy -m1024 -b1M

rom1v avatar Feb 06 '20 12:02 rom1v

Should I run the adb logcat command while running the scrcpy at the same time?

attiqfsd avatar Feb 06 '20 12:02 attiqfsd

Here is the output of logcat while running the scrcpy without any arguments.

https://androidfilehost.com/?fid=4349826312261717407

attiqfsd avatar Feb 06 '20 12:02 attiqfsd

Any updates? Did your look at the log? @rom1v

attiqfsd avatar Feb 09 '20 13:02 attiqfsd

[OMX.MTK.VIDEO.ENCODER.AVC]

Oh, it seems it's the very same issue with the same hardware encoder as #208

rom1v avatar Feb 15 '20 21:02 rom1v

I use these parameter to improve performance, it work very well: --max-size 1280 --max-fps 30 --bit-rate 6M --encoder OMX.google.h264.encoder

paowan2 avatar Jul 16 '22 05:07 paowan2