Changes between Version 21 and Version 22 of Capture/Desktop


Ignore:
Timestamp:
Apr 27, 2020, 4:58:04 PM (6 weeks ago)
Author:
JustAnotherArchivist
Comment:

Use libx264rgb for truly lossless recordings; the conversion to yuv444p is lossy

Legend:

Unmodified
Added
Removed
Modified
  • Capture/Desktop

    v21 v22  
    110110
    111111{{{
    112 ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -c:v libx264 -crf 0 -preset ultrafast output.mkv
     112ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -c:v libx264rgb -crf 0 -preset ultrafast output.mkv
    113113}}}
    114114
    115 {{{-crf 0}}} tells x264 to encode in lossless mode; {{{-preset ultrafast}}} advises it to do so fast.
     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.
    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.
     
    120120
    121121{{{
    122 ffmpeg -i output.mkv -c:v libx264 -crf 0 -preset veryslow output-smaller.mkv
     122ffmpeg -i output.mkv -c:v libx264rgb -crf 0 -preset veryslow output-smaller.mkv
    123123}}}