mirscreencast adb exec-out
-
Hi All,
Been testing 'mirscreencast' to obtain some nice videos of ubuntu-touch in action but not sure if the video output anything at all..if so...where did it get saved to. Is the footage meant to open in mplayer? Here is the cl output:-
~$ adb exec-out timeout 120 mirscreencast -m /run/mir_socket --stdout --cap-interval 2 -s 384 640 | mplayer -demuxer rawvideo -rawvideo w=384:h=640:format=rgba -
MPlayer 1.3.0 (Debian), built with gcc-7 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.Playing -.
Reading from stdin...
rawvideo file format detected.
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x560feb68f1e0] bicubic scaler, from rgba to yuv420p using MMXEXT
VO: [xv] 384x640 => 384x640 Planar YV12
Selected video codec: [rawrgb32] vfm: raw (RAW RGB32)Load subtitles in ./
Audio: no sound
Starting playback...
V: 38.2 955/955 0% 2% 0.0% 0 0Exiting... (End of file)
-
@shapley try replacing
| mplayer
and everything after it with> screen.avi
Also, please use code tags in the forum
-
@doniks That doesn't work either. Tried saving it to file like this, also doesn't work.
nc -l -p 1234 | gzip -dc | mencoder -demuxer rawvideo -rawvideo fps=60:w=384:h=640:format=rgba -ovc x264 -o out.avi -
-
@Shohag blast from the past what exactly does "doesn't work" mean? what's the output you get?
-
@shapley Just tested
adb exec-out timeout 120 mirscreencast -m /run/mir_socket --stdout --cap-interval 2 -s 384 640 | mplayer -demuxer rawvideo -rawvideo w=384:h=640:format=rgba -
And it works.
Same logs as you, so there should be mplayer displayed.That command does only forward to mplayer reader, not save it. ( You can still use a screen recorder on your PC )
-
@lduboeuf wow, it even works with
ssh
thanxssh phablet@ip.addr exec 'mirscreencast -m /run/mir_socket --stdout --cap-interval 2 -s 384 640' | mplayer -demuxer rawvideo -rawvideo w=384:h=640:format=rgba -
Note: use your IP address instead of
ip.addr
in the command