openvidu-recording container: mouse pointer hidden from ffmpeg command

pull/154/head
pabloFuente 2018-11-13 17:36:47 +01:00
parent 0f9aa35299
commit c35794ae4d
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ sleep 2
### Start recording with ffmpeg ###
function4() {
<./stop ffmpeg -y -f alsa -i pulse -f x11grab -framerate 25 -video_size $RESOLUTION -i :$DISPLAY_NUM -c:a aac -c:v libx264 -preset ultrafast -crf 28 -refs 4 -qmin 4 -pix_fmt yuv420p -filter:v fps=25 "/recordings/$VIDEO_NAME.$VIDEO_FORMAT"
<./stop ffmpeg -y -f alsa -i pulse -f x11grab -draw_mouse 0 -framerate 25 -video_size $RESOLUTION -i :$DISPLAY_NUM -c:a aac -c:v libx264 -preset ultrafast -crf 28 -refs 4 -qmin 4 -pix_fmt yuv420p -filter:v fps=25 "/recordings/$VIDEO_NAME.$VIDEO_FORMAT"
}
export -f function4
if [[ $CURRENT_UID != $USER_ID ]]; then