3

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.

Community
  • 1
  • 1
jsp
  • 1,225
  • 11
  • 21
  • I got the exact same thing with my s4, same errors. Way too little docs on this feature yet, I can't find any info anywhere. A list of devices where it's confirmed it works would be nice! – ThomQ Aug 11 '14 at 03:43
  • have you tried setting the video path to the sdcard? like `adb shell screenrecord /sdcard/temp.mp4` – Srini Oct 26 '15 at 08:53

1 Answers1

1

Turning off power save mode fixes it. Power save lowers the screen's frame rate, causing screenrecord binary to fail.

Hope this helps.

Aaron Gillion
  • 2,227
  • 3
  • 19
  • 31