kaia on Nostr: in the only success I had with Linux today, here’s a command I brute-forced to get ...
in the only success I had with Linux today, here’s a command I brute-forced to get ffmpeg use my AMD GPU. I don’t know whether I did it correctly, but it seems to have worked.
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i wb.mp4 -vf 'subtitles=wb.srt:force_style=fontcolor=white,format=nv12,hwupload=extra_hw_frames=64' -c:v h264_vaapi wbs.mp4
Published at
2023-10-08 18:23:57Event JSON
{
"id": "1e3f4d53c7cd912daad7b97339d0454c1f189b4d46032ebdfb28721989b80e84",
"pubkey": "c56086c6ba87cbcbfb72bcca534a1cf2ced76e95b7f57306367809fad85a616a",
"created_at": 1696789437,
"kind": 1,
"tags": [
[
"proxy",
"https://brotka.st/objects/695b357b-59e2-4244-87c2-334f3cd0ba0f",
"activitypub"
]
],
"content": "in the only success I had with Linux today, here’s a command I brute-forced to get ffmpeg use my AMD GPU. I don’t know whether I did it correctly, but it seems to have worked.\n\nffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i wb.mp4 -vf 'subtitles=wb.srt:force_style=fontcolor=white,format=nv12,hwupload=extra_hw_frames=64' -c:v h264_vaapi wbs.mp4\n",
"sig": "12901c870e1b301a345ddd763a7a225b7b7f67884bcca655da9d320ad195c0efdbf5f7b4f92967e8a07f75537f8ee4638136a6fada49f518361cefef7f170b21"
}