You are not logged in.

#1 2018-10-03 02:07:38

fap
Member
Registered: 2018-05-16
Posts: 5

[Solved] Screencasting performance

A quick one for you guys, using ffmpeg to record screen while gaming, though doing so creates lag in game and records seemingly skip frames. Not exactly sure what parameters I can tweak there to improve performance. Please help. This is the command I am currently using to record :

ffmpeg -f x11grab -video_size 1366x768 -framerate 15 -i $DISPLAY -f alsa -i default -c:v libx264 -preset ultrafast -c:a aac screen.mp4

EDIT

I was able to get a significant performance upgrade by skipping encoding entirely:

ffmpeg -f x11grab -video_size 1366x768 -framerate 15 -i $DISPLAY -f alsa -i default -c:v libx264 -crf 0 -preset ultrafast -c:a aac screen.mkv

Last edited by fap (2018-10-03 21:47:39)

Offline

Board footer

Powered by FluxBB