Record screen [c++/Qt4]
Posted: 12 Oct 2009 20:37
Hi,
I'm trying to record screen to a file, to do this I use follow c++ code:
but there is a problem, when I execute a window is opened with content of screen but this isn't saved to the file, therefore I don't want see any window of VLC.
Can you help me?
I'm trying to record screen to a file, to do this I use follow c++ code:
Code: Select all
_m = libvlc_media_new (_vlcinstance, c_str, &_vlcexcep);
raise(&_vlcexcep);
libvlc_media_player_set_media (_mp, _m, &_vlcexcep);
raise(&_vlcexcep);
/* Play */
libvlc_media_player_play (_mp, &_vlcexcep );
raise(&_vlcexcep)
Code: Select all
In this case c_str is:
screen:// :sout="#transcode{vcodec=theo,vb=80,fps=5}:duplicate{dst=std{access=file,mux=ogg,dst=C:/p.ogg}}"
Can you help me?