Skip to content

Would be nice to have flutter screenrecord #3496

Closed as not planned
Closed as not planned

Description

@eseidelGoogle

Even if it only worked on Android for now.

I looked at writing it briefly this morning, but unlike a screen capture which is once and done, a screen recording is likely long running and waits for a keyboard interrupt to stop?

I suspect other CPTs have implemented something like this.

@devoncarew

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Apr 22, 2016
  2. devoncarew commented on Apr 22, 2016

    @devoncarew
    Contributor

    Could also be implemented as a --record option on the existing screenshot command?

    dart:io does expose stdio, which I believe will let you read from the console.

  3. eseidelGoogle commented on Apr 22, 2016

    @eseidelGoogle
    ContributorAuthor

    --record could work if that's simpler. Honestly I'd do whatever is simple. The main value this provides is an (eventual) x-platform support, and in the short term making something easier than:

    adb screenrecord /sdcard/demo.mp4
    ^C
    adb pull /sdcard/demo.mp4
    

    Since not all devs even have adb in their path to begin with. :)

  4. modified the milestone: on May 20, 2016
  5. tvolkert commented on Jun 29, 2017

    @tvolkert
    Contributor

    If we had #8245, we could just do this in the engine and expose it to flutter_tools

  6. eseidelGoogle commented on Jul 31, 2018

    @eseidelGoogle
    ContributorAuthor

    Looks like it might be possible to screen record from iOS simulators now too:
    https://twitter.com/BlueAquilae/status/1024276804981465088
    (previously I thought it was only possible from devices).

  7. zoechi commented on Jan 28, 2019

    @zoechi
    Contributor
  8. tvolkert commented on Jan 28, 2019

    @tvolkert
    Contributor

    Not quite. This is about creating an abstract way to obtain a screen recording via the Flutter CLI, whereas that wiki page instructs developers on how to do so specifically on Android or iOS.

  9. ganeshsp1 commented on Mar 15, 2019

    @ganeshsp1

    This feature would be really nice to have and if the screen recording also captures the audio either the internal( for example a song being played) or external or both, it would be much more better.

  10. tapizquent commented on Sep 8, 2019

    @tapizquent

    This would be nice if it allowed to record screen within the app, such as in a button tap. To then give user the ability to save, email or text it

  11. modified the milestones: , on Jan 7, 2020
  12. added
    P3Issues that are less important to the Flutter project
    on May 29, 2020
  13. modified the milestone: on Jun 1, 2020
  14. removed this from the milestone on Jun 16, 2020
  15. removed this from the milestone on Jul 7, 2020
  16. fredlee12345678 commented on Jul 13, 2020

    @fredlee12345678
    Contributor

    flutter screenshot --help
    Take a screenshot from a connected device.

    Usage: flutter screenshot [arguments]
    -h, --help Print this usage information.
    -o, --out=<path/to/file> Location to write the screenshot.
    --observatory-uri= The observatory URI to connect to.
    This is required when --type is "skia" or "rasterizer".
    To find the observatory URI, use "flutter run" and look for"An Observatory ... is available at" in the output.

    --type=<type>               The type of screenshot to retrieve.
    
          [device] (default)    Delegate to the device's native screenshot capabilities. This screenshots the entire screen currently being displayed
                                (including content not rendered by Flutter, like the device status bar).
          [rasterizer]          Render the Flutter app using the rasterizer. Requires --observatory-uri
          [skia]                Render the Flutter app as a Skia picture. Requires --observatory-uri
    

    Why I have no --record option?
    My Flutter Version is :
    Flutter 1.9.1+hotfix.7

  17. modified the milestone: on Jul 22, 2020
  18. removed this from the milestone on Aug 17, 2020
  19. bkonyi commented on Jun 27, 2025

    @bkonyi
    Contributor

    This seems like it could belong in a package, but I don't think the tool team will have resources to implement a feature like this.

  20. github-actions commented on Jul 11, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  21. locked as resolved and limited conversation to collaborators on Jul 11, 2025
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

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions