🤩
JMRSDK Development
v4.27.10
v4.27.10
  • Tesseract Mixed Reality SDK Documentation
    • Changelog - 4.27.10
  • Device Information
    • Device Specification
    • Controller Specifications
      • Physical Controllers
      • Virtual Controller / Virtual Keyboard for JioGlass
  • Getting Started
    • Development Platform
    • Setting Up A Jio Mixed Reality Project in Unity
    • URP Support
      • Setting Up Your Project With URP
      • Reverting Back to Built-In Render Pipeline
  • JMRSDK
    • JMRSDK Content
    • JMRMixedReality Prefab
    • JMRRig
      • Local Rig
      • Setting Homepage (Quit functionality)
      • Recenter Application on Resume
  • Develop
    • Editor Emulator
    • JioGlass Controller Interactions
    • Cameras
    • Jio Mixed Reality UI Toolkits
    • Examples
  • Interaction
    • Gaze and Dwell
    • Interaction
      • JioGlass Lite Interaction
      • Jio Prism(Holoboard) Interaction
      • Jio Dive Interaction
      • Pointer Manager
        • Examples
    • Interfaces
      • ISelectHandler
      • ISelectClickHandler
      • IFocusable
      • ISwipeHandler
      • ITouchHandler
      • IBackHandler
      • IHomeHandler
      • IMenuHandler
      • IVoiceHandler
      • IFn1Handler
      • IFn2Handler
      • IManipulationHandler
    • Controller Input Actions
      • Touchpad - Touch
      • Touchpad - Swipe
      • Source Buttons
      • Manipulation
    • Actions
    • Device State
      • Device Connected
      • Device Disconnected
      • Battery percentage update
      • Scanning for Device
      • Battery Percentage
  • Voice
    • Voice
      • Speech Events
      • Speech Result
      • Speech Error
      • Speech Session End
      • Speech Cancel
    • Listening
  • Tracking
    • Tracking
      • Coordinate System
    • Tracking Framework
      • TrackerManager Actions
        • Get Head Position
        • Get Head Rotation
        • Get Head Transform
      • TrackerManager Methods
        • Get Head Position
        • Get Head Rotation
        • Get Head Transform
    • Recenter
  • Building and Testing
    • Building to Target Device
      • Merging AndroidManifest
      • Performance Optimization
    • Companion App For Jio Mixed Reality (JMR) Devices
      • Running the application on Prism (Holoboard)
    • IPD Calibration
  • Publish
    • Signing App for App Store
    • Publishing to JioGlass Developer Console
    • Developer Console Analytics
  • Capturing and Recording
    • Capture Videos and Screenshots
      • Capturing Screenshot/Videos using scrcpy
      • Capturing Screenshot/Videos using Vysor
  • Troubleshooting
    • FAQs - Develop
    • FAQs - Building to device
      • Gradle
      • Old aaptOptions error fix
    • FAQs - Running and Publishing
    • Laser Point Not Visible
Powered by GitBook
On this page
  1. Capturing and Recording
  2. Capture Videos and Screenshots

Capturing Screenshot/Videos using scrcpy

PreviousCapture Videos and ScreenshotsNextCapturing Screenshot/Videos using Vysor

Last updated 2 years ago

  • Download scrcpy from:

    • Windows:

    • For Linux: $ sudo apt-get install scrcpy

    • For macOS: brew install scrcpy (Available in Homebrew)

---------

  • Run using Wireless Connection

    • Open CMD/Terminal on scrcpy folder path

    • Connect your android device

    • Run adb devices to check the device is connected

    • Now run the following command: adb tcpip 5555 (The port 5555 is used here. You can use any port number you want)

    • After the above command is executed, run adb connect IP_ADDR:5555 (Replace IP_ADDR with the IP Address of your device.)

    • Once done, disconnect the device and run scrcpy. It will start displaying your device’s screen wirelessly.

  • Run using USB Connection

    • Connect your android device and simply click on the scrcpy.exe file present in the folder downloaded

    • Once the file is opened, it will start displaying the device’s screen.

  • Get Display ID

    • JioGlass: Get DisplayId by running the following command

      • adb shell dumpsys display | findstr "HDMI" on Windows

      • adb shell dumpsys display | grep "HDMI" on Linux

    • JioPrism (Holoboard): Not required.

    • JioDive: Not required

  • Recording videos using scrcpy

    • JioPrism (Holoboard): To record the video, simply run the command scrcpy --record myrecording.mp4 in scrcpy terminal opened already

    • JioDive: To record the video, simply run the command scrcpy --record myrecording.mp4 in scrcpy terminal opened already

    • JioGlass: To record the video, simply run the command scrcpy --display <DisplayId> --record myrecording.mp4 in scrcpy terminal opened already

    Note: Currently, there is no option to stop the recording in scrcpy but the workaround for the same can be found here:

Scrcpy can do a lot more other things. Check other features of scrcpy, visit .

link
Github
HERE