Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ff1c6a9

Browse files
committed
Add compatibility to MP4 output
1 parent 59baeda commit ff1c6a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Start Screen Recording
5858
run: |
5959
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)
6161
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
6262
# pid=`cat ~/var/run/ffmpeg.pid`
6363
# echo "Waiting for ffmpeg (pid $pid) to start recording (display $DISPLAY)..."
@@ -76,7 +76,7 @@ jobs:
7676
run: |
7777
start-stop-daemon --stop --pidfile ~/var/run/ffmpeg.pid
7878
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
8080
if: always() && runner.os == 'Linux'
8181
- name: Archive Screen Recording
8282
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)