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?