{
  "$type": "site.standard.document",
  "content": {
    "$type": "pub.leaflet.content",
    "pages": [
      {
        "$type": "pub.leaflet.pages.linearDocument",
        "blocks": [
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.text",
              "facets": [
                {
                  "$type": "pub.leaflet.richtext.facet",
                  "features": [
                    {
                      "$type": "pub.leaflet.richtext.facet#code"
                    }
                  ],
                  "index": {
                    "$type": "pub.leaflet.richtext.facet#byteSlice",
                    "byteEnd": 150,
                    "byteStart": 128
                  }
                },
                {
                  "$type": "pub.leaflet.richtext.facet",
                  "features": [
                    {
                      "$type": "pub.leaflet.richtext.facet#italic"
                    }
                  ],
                  "index": {
                    "$type": "pub.leaflet.richtext.facet#byteSlice",
                    "byteEnd": 102,
                    "byteStart": 99
                  }
                }
              ],
              "plaintext": "Prior to changing settings, consider if a separate profile should be used. Duplicating the current OBS profile can be done with Profile > Duplicate...."
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.image",
              "alt": "OBS screenshot. The profile tab is expanded with the cursor hovering over the duplicate button.",
              "aspectRatio": {
                "$type": "pub.leaflet.blocks.image#aspectRatio",
                "height": 334,
                "width": 666
              },
              "image": {
                "$type": "blob",
                "ref": {
                  "$link": "bafkreifylrrozliaukefxprl37jnlq6o3h4wa7nx6fu4p4tpjeki4d4pr4"
                },
                "mimeType": "image/webp",
                "size": 7338
              }
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.header",
              "facets": [],
              "level": 2,
              "plaintext": "Simple"
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.unorderedList",
              "children": [
                {
                  "$type": "pub.leaflet.blocks.unorderedList#listItem",
                  "content": {
                    "$type": "pub.leaflet.blocks.text",
                    "facets": [],
                    "plaintext": "In the output tab in settings with “Output Mode” set to “Simple”. Use “Lossless Quality” preset on the recording section."
                  }
                },
                {
                  "$type": "pub.leaflet.blocks.unorderedList#listItem",
                  "content": {
                    "$type": "pub.leaflet.blocks.text",
                    "facets": [],
                    "plaintext": "On the advanced tab, set “Color Format” to “I444 (8-bit, 4:4:4, 3 planes)”."
                  }
                }
              ]
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.text",
              "facets": [],
              "plaintext": "Videos will be recorded in .avi format if this is done."
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.header",
              "facets": [
                {
                  "$type": "pub.leaflet.richtext.facet",
                  "features": [
                    {
                      "$type": "pub.leaflet.richtext.facet#italic"
                    }
                  ],
                  "index": {
                    "$type": "pub.leaflet.richtext.facet#byteSlice",
                    "byteEnd": 23,
                    "byteStart": 18
                  }
                }
              ],
              "level": 2,
              "plaintext": "Advanced lossless H.264"
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.unorderedList",
              "children": [
                {
                  "$type": "pub.leaflet.blocks.unorderedList#listItem",
                  "content": {
                    "$type": "pub.leaflet.blocks.text",
                    "facets": [],
                    "plaintext": "Ensure that in the output tab in settings with “Output Mode” is set to “Advanced”."
                  }
                },
                {
                  "$type": "pub.leaflet.blocks.unorderedList#listItem",
                  "content": {
                    "$type": "pub.leaflet.blocks.text",
                    "facets": [],
                    "plaintext": "Switch over to the “Recording” tab."
                  }
                },
                {
                  "$type": "pub.leaflet.blocks.unorderedList#listItem",
                  "content": {
                    "$type": "pub.leaflet.blocks.text",
                    "facets": [],
                    "plaintext": "Set options in the “Recording Settings” section:"
                  }
                },
                {
                  "$type": "pub.leaflet.blocks.unorderedList#listItem",
                  "content": {
                    "$type": "pub.leaflet.blocks.text",
                    "facets": [],
                    "plaintext": "Set options in the “Encoder Settings” section:"
                  }
                },
                {
                  "$type": "pub.leaflet.blocks.unorderedList#listItem",
                  "content": {
                    "$type": "pub.leaflet.blocks.text",
                    "facets": [],
                    "plaintext": "On the advanced tab, set “Color Format” to “I444 (8-bit, 4:4:4, 3 planes)”."
                  }
                }
              ]
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.header",
              "facets": [],
              "level": 2,
              "plaintext": "Re-encode"
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.text",
              "facets": [],
              "plaintext": "Whichever way the video is encoded, it may not exactly be tightly compacted. For this, it may be recommended to re-encode the recorded lossless video."
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.code",
              "language": "powershell",
              "plaintext": "ffmpeg -i \"./input-video.mp4\" -codec:v libx264 -codec:a copy -preset placebo -qp 0 \"./output-video.mp4\"",
              "syntaxHighlightingTheme": "catppuccin-mocha"
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.text",
              "facets": [
                {
                  "$type": "pub.leaflet.richtext.facet",
                  "features": [
                    {
                      "$type": "pub.leaflet.richtext.facet#code"
                    }
                  ],
                  "index": {
                    "$type": "pub.leaflet.richtext.facet#byteSlice",
                    "byteEnd": 52,
                    "byteStart": 36
                  }
                },
                {
                  "$type": "pub.leaflet.richtext.facet",
                  "features": [
                    {
                      "$type": "pub.leaflet.richtext.facet#code"
                    }
                  ],
                  "index": {
                    "$type": "pub.leaflet.richtext.facet#byteSlice",
                    "byteEnd": 18,
                    "byteStart": 3
                  }
                }
              ],
              "plaintext": "If -preset placebo is too slow. Try -preset veryslow."
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.header",
              "facets": [],
              "level": 2,
              "plaintext": "Verify (frame extraction)"
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.text",
              "facets": [
                {
                  "$type": "pub.leaflet.richtext.facet",
                  "features": [
                    {
                      "$type": "pub.leaflet.richtext.facet#italic"
                    },
                    {
                      "$type": "pub.leaflet.richtext.facet#link",
                      "uri": "https://ffmpeg.org/"
                    }
                  ],
                  "index": {
                    "$type": "pub.leaflet.richtext.facet#byteSlice",
                    "byteEnd": 126,
                    "byteStart": 120
                  }
                }
              ],
              "plaintext": "Check that these lossless videos are in fact lossless. I do this by extracting frames and manually checking them. Using FFmpeg, this command can be used:"
            }
          },
          {
            "$type": "pub.leaflet.pages.linearDocument#block",
            "block": {
              "$type": "pub.leaflet.blocks.code",
              "language": "powershell",
              "plaintext": "ffmpeg -i \"./video.mp4\" ./frame%04d.png",
              "syntaxHighlightingTheme": "catppuccin-mocha"
            }
          }
        ]
      }
    ]
  },
  "description": "test",
  "path": "/3mltv2xbiesjx",
  "publishedAt": "2026-05-14T22:38:37.254Z",
  "site": "at://did:plc:rfescy2ghdk6ma2wwwhr3bu2/site.standard.publication/3mktkmfk37k2g",
  "title": "Recording lossless video with OBS"
}