gnome-android-tool icon indicating copy to clipboard operation
gnome-android-tool copied to clipboard

corrupt file format

Open vendforce opened this issue 7 years ago • 1 comments

OS : ARCH DE : GNOME-SHELL 3.24

screen recorder not capturing file properly it doesnt play in any video player { unreconized file format }

if I do it from the command line it, records the file and I use ctrl + c ,when I go to play the file there isnt a problem I dont know if its the pkill -INT that is not stoping the screencast properly or its the whole +time+ and sed thats causing the issues

THIS WORKS

adb shell screenrecord /sdcard/screenrecord.mp4 ctrl +c adb pull /sdcard/screenrecord.mp4

THIS DOES'NT

"bash", "-c", "adb shell pkill -INT screenrecord"] "bash", "-c", "adb pull /sdcard/screenrecord.mp4"]

screencap does'nt work unless you remove +time+ and sed

bash", "-c", "adb -s "+ deviceId +" shell screencap -p > ~/Desktop/screen.png"], null, GLib.SpawnFlags.SEARCH_PATH, null, null);

and what about when adb is not installed and its downloaded and the PATH is set in bashrc your extension does'nt work unless you make an syslink

Example :

~ whereis adb

adb: /opt/android/platform-tools/adb

vendforce avatar Jun 16 '17 15:06 vendforce

Yes, confirmed. I can take screenshot but can't record screen.

aditiapratama avatar Aug 12 '17 04:08 aditiapratama