Here is my command and the output:
shell@kltexzy:/sdcard $ screenrecord --verbose tmp.mp4
Main display is 1080x1920 @44.70fps (orientation=0)
Configuring recorder for 1080x1920 video at 4.00Mbps
ERROR: unable to configure codec (err=-2147483648)
WARNING: failed at 1080x1920, retrying at 720x1280
Configuring recorder for 720x1280 video at 4.00Mbps
Aborted
shell@kltexzy:/sdcard $
The "Aborted" message is displayed after about 10 seconds.
This is not the problem because I am not using an emulator.
This is a different error code.
The Galaxy S5 is brand new, just out of the box.
I tried different bit-rates and different screen sizes but that did not work.
Is adb screenrecord supported on this device? Everything I has so far read says that the only requirement for screenrecord is KitKat, which this device has.
Turning off power save mode fixes it. Power save lowers the screen's frame rate, causing screenrecord binary to fail.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With