VLC params to play mir screencast output

Daniel van Vugt daniel.van.vugt at canonical.com
Mon Feb 17 04:41:21 UTC 2014


I'm just figuring it out myself. It appears you just run client:
    mirscreencast
(might require sudo) and that generates frames: /tmp/*.bgra

mirscreencast should be installed by the "mir-utils" package.

Obviously in future it might be nice for mirscreencast to generate a 
single video file instead of many separate images. There are also 
performance problems:
    https://bugs.launchpad.net/mir/+bug/1280938
But these are all things to work on...

- Danirl


On 17/02/14 12:32, Oliver Ries wrote:
> On Sun, Feb 16, 2014 at 7:56 PM, Daniel van Vugt
> <daniel.van.vugt at canonical.com <mailto:daniel.van.vugt at canonical.com>>
> wrote:
>
>     Nice.
>
>     And this command works too (with BGRA as well):
>     mplayer -fixed-vo -demuxer rawvideo \
>        -rawvideo fps=60:w=1920:h=1200:format=__bgra /tmp/*bgra
>
>     Although it renders in a jerky way.
>
>     To create a lossless video file which plays back more realistically:
>     mencoder -demuxer rawvideo \
>        -rawvideo fps=60:w=1920:h=1200:format=__bgra /tmp/*bgra \
>        -ovc lavc -lavcopts vcodec=ffv1 -o all.avi
>
>     Obviously substitute "fps=60:w=1920:h=1200:format=__bgra" as required
>
>
> sweet, I however didn't get the memo how one would actually capture the
> screen. Can someone pls explain?
>
> thx
> Olli



More information about the Mir-devel mailing list