주 메뉴 열기

wwiki β

바뀜

FFmpeg

360 바이트 추가됨, 2021년 1월 7일 (목) 07:40
X11 grabbing
0.0은 X11서버의 디스플레이.스크린 번호이다. DISPLAY 환경변수와 같다.
$ ffmpeg -f x11grab -video_size cif -framerate 25 -i :0.0+10,20 /tmp/out.mpg
'''[[vaapi]]를 사용한 하드웨어 가속 녹화'''<syntaxhighlight lang="bash">
ffmpeg -y -loglevel quiet -vaapi_device /dev/dri/renderD128 \
-f x11grab -draw_mouse 0 -s 1360x568 -r 30 -itsoffset 1.5 -t 2:00 -i :0.0+0,200 \
-f alsa -ac 2 -t 2:00 -i pulse \
-vf 'format=nv12,hwupload' -c:v h264_vaapi -c:a aac -timelimit 240 output.mp4
</syntaxhighlight>
== 외부링크 ==
원문: https://ffmpeg.org/ffmpeg.html
편집
2,431