Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-10024

Capture video stream from the emulator window during test and store as artifact

      Hi!

      It would be great to be able to replay the video captured during the running of the test.

          [JENKINS-10024] Capture video stream from the emulator window during test and store as artifact

          Yeah, that's a nice idea. At least if you're doing instrumentation tests.

          I have seen this done already with vnc2flv. Normally I run my emulators inside Xvnc (as described on the wiki), so you could capture the VNC output directly.
          http://www.unixuser.org/~euske/python/vnc2flv/

          However, it would be nicer to capture only the actual emulator screen, rather than an entire Xvnc desktop.
          I have vaguely noticed that the Android emulator/qemu itself has some sort of in-built VNC support, so maybe it is possible.

          Do you have any further info about how this could be implemented?

          Christopher Orr added a comment - Yeah, that's a nice idea. At least if you're doing instrumentation tests. I have seen this done already with vnc2flv. Normally I run my emulators inside Xvnc (as described on the wiki), so you could capture the VNC output directly. http://www.unixuser.org/~euske/python/vnc2flv/ However, it would be nicer to capture only the actual emulator screen, rather than an entire Xvnc desktop. I have vaguely noticed that the Android emulator/qemu itself has some sort of in-built VNC support, so maybe it is possible. Do you have any further info about how this could be implemented?

          Just a thought.. maybe it would be nicer overall for Jenkins to add automated "vnc2flv" support directly to the Xvnc plugin.

          Christopher Orr added a comment - Just a thought.. maybe it would be nicer overall for Jenkins to add automated "vnc2flv" support directly to the Xvnc plugin.

          Uwe Kubosch added a comment -

          I have not looked at any solutions yet. I agree it would be best if only the emulator window is captured.

          Uwe Kubosch added a comment - I have not looked at any solutions yet. I agree it would be best if only the emulator window is captured.

          Dimitri Tenenbaum added a comment - - edited

          Take a look at VncRecorder Plugin, it uses vnc2swf and stores video file as an artifact:
          https://wiki.jenkins-ci.org/display/JENKINS/VncRecorder+Plugin

          Dimitri Tenenbaum added a comment - - edited Take a look at VncRecorder Plugin, it uses vnc2swf and stores video file as an artifact: https://wiki.jenkins-ci.org/display/JENKINS/VncRecorder+Plugin

            Unassigned Unassigned
            donv Uwe Kubosch
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: