File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 57
57
- name : Start Screen Recording
58
58
run : |
59
59
mkdir -p $PWD/videos
60
- no_close=# --no-close # uncomment to see ffmpeg output (i.e. leave stdio open)
60
+ no_close=--no-close # uncomment to see ffmpeg output (i.e. leave stdio open)
61
61
start-stop-daemon $no_close --start --quiet --pidfile ~/var/run/ffmpeg.pid --make-pidfile --background --exec /usr/bin/ffmpeg -- -nostdin -f x11grab -video_size 1280x1024 -framerate 10 -i ${DISPLAY}.0+0,0 $PWD/videos/test.mp4
62
62
# pid=`cat ~/var/run/ffmpeg.pid`
63
63
# echo "Waiting for ffmpeg (pid $pid) to start recording (display $DISPLAY)..."
76
76
run : |
77
77
start-stop-daemon --stop --pidfile ~/var/run/ffmpeg.pid
78
78
sleep 3
79
- ffmpeg -i $PWD/videos/test.mp4 -f mov $PWD/videos/test.mov
79
+ ffmpeg -i $PWD/videos/test.mp4 -vf format=yuv420p $PWD/videos/test-yuv420p.mp4
80
80
if : always() && runner.os == 'Linux'
81
81
- name : Archive Screen Recording
82
82
uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments