Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

corrupt file format #5

Open
vendforce opened this issue Jun 16, 2017 · 1 comment
Open

corrupt file format #5

vendforce opened this issue Jun 16, 2017 · 1 comment

Comments

@vendforce
Copy link

vendforce commented Jun 16, 2017

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

@aditiapratama
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants