I'm trying to capture a screen that is in portrait mode using ddgrab(on a 3080, so using nvenc). This was the original command:
ffmpeg -f lavfi -i ddagrab=output_idx=0 -c:v h264_nvenc -cq 18 output.mp4
.
My output video comes out sideways as if i was in landscape which is not what I need. I've tried tranposing it with someone else's help like this: ffmpeg -filter_complex "ddagrab=output_idx=0,hwdownload,format=bgra,transpose=dir=clock,format=nv12[out]" -map "[out]" -c:v h264_nvenc -cq:v 18 output.mp4
.
But the transposing is taking up too much CPU overhead and its significantly slowing my system. I've seen the libnpp and the transpose_npp but there is no compiled version of it for some reason. Then I found this on stackexchange about cuda accelerated openCL filters and know there is a transpose_openCL that I was hoping would solve my problem but I cannot get it to work because I don't really know what I'm doing. I was hoping to get some info on how I could either capture the video as it is displayed to me or apply a filter efficiently to make it correct.