• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

adb screenrecord size option not working as expected

It's noticed that 'adb screenrecord --size RESOLUTION' not working as expected. It always takes the physical resolution instead of the given resolution. Is this a bug from device or adb?
Example:
run 'adb shell wm size'
Physical size: 1440x2960
Override size: 1080x2220

Then run:
'adb shell screenrecord /sdcard/demo.mp4 --size 1080x2220'

->
The recorded video has 1440x2960 resolution, and the captured screen is 1080x2220. I expect the video itself has 1080x2220 resolution, then the video could look like 'full screen'.

Whether this is a known issue or I understand it incorrectly?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones