mntle on Nostr: And here's the magic line: ffmpeg -i input.mkv -map 0:v -map 0:a -map 0:s? -map 0:d? ...
And here's the magic line:
ffmpeg -i input.mkv -map 0:v -map 0:a -map 0:s? -map 0:d? -c copy -c:v:0 av1_qsv -preset veryslow -vf "format=p010le" -extbrc 1 -look_ahead 1 -look_ahead_depth 40 -extra_hw_frames 40 -tile_cols 1 -tile_rows 1 -q 32 -low_power 0 -adaptive_i 1 -adaptive_b 1 -b_strategy 1 -bf 7 output.mkv
I'm a little proud of myself for getting it working. Most of it isn't documented anywhere (at least not well), so at best, it was a lot of guesswork, held together with duct tape and number 8 fencing wire.
Published at
2024-04-15 04:37:14Event JSON
{
"id": "2a479f97ae6b14586d5d3a9ea87dd64920158c9060daad32bd6a260881a713b6",
"pubkey": "7da115b63fc4c35d7164592183e7251c76e2d7e9d44665170b96c7967d3e46ae",
"created_at": 1713155834,
"kind": 1,
"tags": [],
"content": "And here's the magic line:\n\nffmpeg -i input.mkv -map 0:v -map 0:a -map 0:s? -map 0:d? -c copy -c:v:0 av1_qsv -preset veryslow -vf \"format=p010le\" -extbrc 1 -look_ahead 1 -look_ahead_depth 40 -extra_hw_frames 40 -tile_cols 1 -tile_rows 1 -q 32 -low_power 0 -adaptive_i 1 -adaptive_b 1 -b_strategy 1 -bf 7 output.mkv\n\nI'm a little proud of myself for getting it working. Most of it isn't documented anywhere (at least not well), so at best, it was a lot of guesswork, held together with duct tape and number 8 fencing wire.",
"sig": "7ad20dab1de15f126a54cf1cce74895a366053bde1867640b80414b7336ebc4381af4a2321d17124de9ff34becc1dc6261f13cb8e68b4f85fbbbde9984fa83c4"
}