Changes between Version 23 and Version 24 of Capture/Desktop


Ignore:
Timestamp:
Aug 14, 2021, 11:02:15 AM (5 years ago)
Author:
Balling
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Capture/Desktop

    v23 v24  
    110110
    111111{{{
    112 ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -c:v libx264rgb -crf 0 -preset ultrafast output.mkv
     112ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -c:v libx264rgb -crf 0 -preset ultrafast -color_range 2 output.mkv
    113113}}}
    114114
    115 {{{-crf 0}}} tells x264 to encode in lossless mode; {{{-preset ultrafast}}} advises it to do so fast. Note the use of `libx264rgb` rather than `libx264`; the latter would do a lossy conversion from RGB to yuv444p.
     115{{{-crf 0}}} tells x264 to encode in lossless mode; {{{-preset ultrafast}}} advises it to do so fast. Note the use of `libx264rgb` rather than `libx264`; the latter would do a lossy conversion from RGB to yuv444p (8 bit yuv444p is not enough to preserve 8 bit RGB, 10 bit YCbCr is needed). -color_range 2 is needed because otherwise it will write full range RGB yet will tag it as limited range.
    116116
    117117The encoder should be fast enough on most modern hardware to record without any framedrop, and even leave enough CPU headroom for other applications.