Hi all,
I asked this question before. but i guess experts didn't see it, i got no reply.
but i think i will just update what i have done for so far. and pull out the question again.
I have found a commend to record:
cvlc -I dummy screen:// --screen-fps=25 --quiet --sout "#transcode{vcodec=h264}:standard{access=file,mux=mp4,dst="screenrecord.mp4"}"
this will build the mp4 video file of recorded screen, you can see this as a solution. but i have a few following questions:
1. to stop the recording, i have to use ctr+c to manually stop. does anyone have a better solution to stop?
2. the recorded video is compressed mp4 video. does anyone know how to get a uncompressed avi? (i tried to replace 'vcodec=h264' by 'vcodec=hfyu', and 'mux=mp4' by 'mux=avi', and name it 'screenrecord.avi', but the recorded file is empty).
any advise will be greatly appreciated. thanks guys