3 ms·
function grab-screen-lossless { ffmpeg -an -f x11grab -video_size 1920x1080 -framerate 60 -i :0.0 -c:v h264_nvenc -preset llhq -tune zerolatency -crf 0 -qp
by mjaniczek 6y ago
function grab-screen-lossless {
ffmpeg -an -f x11grab -video_size 1920x1080 -framerate 60 -i :0.0 -c:v h264_nvenc -preset llhq -tune zerolatency -crf 0 -qp 0 "${1}"
}
function grab-screen {
ffmpeg -an -f x11grab -video_size 1920x1080 -framerate 60 -i :0.0 -c:v h264_nvenc -preset llhq -tune zerolatency -qp 10 "${1}"
}
function vid_compress {
ffmpeg -i "${1}" -codec:v libx264 -preset:v fast -pix_fmt yuv420p "${2}"
}
- superasn 6y agoWow never realized ffmpeg could be used like this! Unfortunately both these commands create a somewhat jerky video on my rx 550 on linux mint and drives CPU crazy (ryzen 3500). I guess it's my underpowered graphics card, but any way to tweak your grab-screen-lossless for a smoother capture?
- zerocrates 6y agoI'm surprised those specific commands work at all on your machine, since they use the Nvidia-specific nvenc.