8000 there is a black area when screen captured, what's going on? · Issue #60 · openstf/minicap · GitHub
[go: up one dir, main page]

Skip to content

there is a black area when screen captured, what's going on? #60

Open

Description

@weizai

as the following picture:
unnamed qq screenshot20170313141320

this is my option
LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 2160x3840@2160x3840/0 -s > /mnt/sdcard/screenshot.jpg

Activity

  1. sorccu commented on Mar 13, 2017

    @sorccu
    Member

    It can mean that you set the resolution slightly wrong.

    What device is that anyway? Can you do adb devices -l and paste the line here? Feel free to remove the serial number if you like, though.

  2. weizai commented on Mar 13, 2017

    @weizai
    Author

    oh sorry, my option is:
    LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 3840x2160@3840x2160/0 -Q 100 -s > /mnt/sdcard/screenshot.jpg

    and this is adb devices -l info:
    192.168.10.133:5555 device product:rk3288 model:rk3288 device:rk3288

  3. rahul0698 commented on Apr 17, 2017

    @rahul0698

    I am trying to capture the screenshot with Samsung galaxy GT_I9082. The image that I am getting is the black area. With another device, i am getting a good result. what can be the problem?

    ABI- ameabi-v7a,
    sdk-17
    screen resolution 480x800
    and this is ADB
    screenshot 18
    screenshot 18

    devices -l info : device product:baffinxx model:GT_I9082 device:baffin

  4. sorccu commented on Apr 17, 2017

    @sorccu
    Member

    Is the physical screen on?

  5. rahul0698 commented on Apr 17, 2017

    @rahul0698

    yaa it is on

  6. rahul0698 commented on Apr 17, 2017

    @rahul0698

    I am getting this on running this command- adb shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 480x800@480x800/0
    PID: 14077
    INFO: Using projection 480x800@480x800/0
    INFO: (external/MY_minicap/src/minicap_17.cpp:239) Creating SurfaceComposerClient
    INFO: (external/MY_minicap/src/minicap_17.cpp:242) Performing SurfaceComposerClient init check
    INFO: (external/MY_minicap/src/minicap_17.cpp:249) Creating virtual display
    INFO: (external/MY_minicap/src/minicap_17.cpp:255) Creating CPU consumer
    INFO: (external/MY_minicap/src/minicap_17.cpp:261) Creating buffer queue
    INFO: (external/MY_minicap/src/minicap_17.cpp:267) Creating frame waiter
    INFO: (external/MY_minicap/src/minicap_17.cpp:271) Publishing virtual display
    INFO: (jni/minicap/JpgEncoder.cpp:64) Allocating 1154052 bytes for JPG encoder
    INFO: (jni/minicap/minicap.cpp:448) New client connection
    vc_dnfo = open("/dev/vc-dnfo", O_RDONLY, 0): Invalid argument
    ioctl_failed = ioctl(vc_dnfo, VC_DNFO_IOC_DISPLAY_INFO, &vc_dnfo_info): Invalid argument
    vc_dnfo = open("/dev/vc-dnfo", O_RDONLY, 0): Invalid argument
    ioctl_failed = ioctl(vc_dnfo, VC_DNFO_IOC_DISPLAY_INFO, &vc_dnfo_info): Invalid argument
    vc_dnfo = open("/dev/vc-dnfo", O_RDONLY, 0): Invalid argument
    ioctl_failed = ioctl(vc_dnfo, VC_DNFO_IOC_DISPLAY_INFO, &vc_dnfo_info): Invalid argument
    vc_dnfo = open("/dev/vc-dnfo", O_RDONLY, 0): Invalid argument
    ioctl_failed = ioctl(vc_dnfo, VC_DNFO_IOC_DISPLAY_INFO, &vc_dnfo_info): Invalid argument

  7. dkw72n commented on Apr 17, 2017

    @dkw72n
    Collaborator

    Two different issues here. I have seen the Samsung one before.

  8. rahul0698 commented on Apr 17, 2017

    @rahul0698

    And exactly what are those issues. Can you please let me know how to fix those issues? And if there are more than one device how to get the particular device to respond to minicap.

  9. sorccu commented on Apr 17, 2017

    @sorccu
    Member
  10. nosiyBUGS commented on Jan 30, 2024

    @nosiyBUGS

    I knew the reason。some apps background prevent this capture,please clear the background and try again。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0