for disabling hardware encoding - yes I meant untick the hardware accelerated in the codec profile.
i had to google to remember what were the steps so i found it on another forum. also you can search here as there are sometimes quirks. also make sure that vaapi is actually enabled. i do remeber that there was an issue with hts user having access to the dri folder. so see how to give access to that if something fails.
1.) Create a new profile under Configuration -> Stream -> Codec Profiles. Select "h264_vaapi" as the codec. Confirm and give it a name of your choice (e.g. vaapi-codec).
2.) Activate Hardware Acceleration on the right side and "Profile Settings".
3,) Select Device Name. I only recognized one "i915 v. 1.6.0 (/dev/dri/renderD128)"
4.) Specify the bit rate in kilobits. 3000 to 4000 already gives good results and should be streamable for most lines.
edit: 4.1) IMPORTANT: Deactivate deinterlacing! Otherwise it doesn't work for me at least.
5.) Apply with "Apply".
6.) Under "Stream Profiles" create a new profile with the type "transcode / av-lib"
7.) Assign a profile name (eg "webtv-vaapi")
8.) Under Transcoding set the video codec profile to "vaapi-codec" put
9.) Also there the audio codec profile on pass
10). Click on Apply.
For em it looks like this
!chrome_q20tYM0IWD.png!