Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Producing mkv works, and with the addition of -strict -2 -acodec aac to
the defaults of FFMPEG_CODEC_ARGS, it seems mp4 works too.

As mp4 is smaller, let's keep it then, even if it's a hack ;-)
  • Loading branch information
olberger committed May 2, 2020
1 parent 7eccbf2 commit b4a7ba7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion capture-full-replay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ seconds=$(python3 bbb.py duration "$url")
seconds=$(expr $seconds + 3)

# Startup Selenium server
# -e VIDEO_FILE_EXTENSION="mkv" \
docker run --rm -d --name=grid -p 4444:24444 -p 5920:25900 \
--shm-size=2g -e VNC_PASSWORD=hola \
-e VIDEO=true -e AUDIO=true \
-e SCREEN_WIDTH=1080 -e SCREEN_HEIGHT=720 \
-e FFMPEG_DRAW_MOUSE=0 \
-e FFMPEG_FRAME_RATE=24 \
-e VIDEO_FILE_EXTENSION="mkv" \
-e FFMPEG_CODEC_ARGS="-vcodec libx264 -preset ultrafast -pix_fmt yuv420p -strict -2 -acodec aac" \
elgalu/selenium

docker exec grid wait_all_done 30s
Expand Down

0 comments on commit b4a7ba7

Please sign in to comment.