mirror of https://github.com/OpenVidu/openvidu.git
openvidu-recording container: mouse pointer hidden from ffmpeg command
parent
0f9aa35299
commit
c35794ae4d
|
@ -101,7 +101,7 @@ sleep 2
|
||||||
### Start recording with ffmpeg ###
|
### Start recording with ffmpeg ###
|
||||||
|
|
||||||
function4() {
|
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
|
export -f function4
|
||||||
if [[ $CURRENT_UID != $USER_ID ]]; then
|
if [[ $CURRENT_UID != $USER_ID ]]; then
|
||||||
|
|
Loading…
Reference in New Issue