0

I am trying to mirror android device screen though ADB commands from the command prompt for quite a long time. Recently I saw a post in stackoverflow with the following command which mirrors the screen when executed in the command prompt.

adb exec-out screenrecord --output-format=h264 --size 540x960 - | ffplay -framerate 60 -framedrop -bufsize 16M -

From what I have read is that this commands stores the Frame buffer somewhere in a file, and my question is where is this file stored and how can I access this file(Frame buffer) in a desktop application for example written in C#.

Any help or hint will be greatly appreciated.

1
  • 3
    Do you know scrcpy? From my perspective this project is what you want to build.
    – Robert
    Jan 21 at 10:50
0

To know where the file is stored (if any) then you can use Process Monitor (on Windows) to see where this file is created.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.