You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this should be an issue report or not, however when using h264 with vaapi, I am getting significantly worse quality with sunshine then I am with ffmpeg.
This is a seperate issue from the QSV one as the issue only occurs with h264 vaapi, swencode as well as vaapi with h265 and hevc have no issue of a massive quality discrepency.
I am using this command (and many variations of it) to try and approximate the settings I found inside the code ffmpeg -init_hw_device vaapi -i /tmp/record.mp4 -r 60 -vf "scale=w=1280:h=720,format=nv12,hwupload" -c:v h264_vaapi -b:v 5M -rc_mode VBR -low_power 1 -profile:v high -quality 7 -idr_interval $IDR -async_depth 1 /tmp/out-vaapi.mp4
I can provide a full recording of the ffmpeg encode if necessary, but here are some screenshots to highlight the difference. Or if there is a more accurate cmdline I can use to replicate I can try that.
This is via moonlight set for 10mbps 60fps on the same PC as the streaming PC.
and this is via the encode
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I'm not sure if this should be an issue report or not, however when using h264 with vaapi, I am getting significantly worse quality with sunshine then I am with ffmpeg.
This is a seperate issue from the QSV one as the issue only occurs with h264 vaapi, swencode as well as vaapi with h265 and hevc have no issue of a massive quality discrepency.
I am using this command (and many variations of it) to try and approximate the settings I found inside the code
ffmpeg -init_hw_device vaapi -i /tmp/record.mp4 -r 60 -vf "scale=w=1280:h=720,format=nv12,hwupload" -c:v h264_vaapi -b:v 5M -rc_mode VBR -low_power 1 -profile:v high -quality 7 -idr_interval $IDR -async_depth 1 /tmp/out-vaapi.mp4
I can provide a full recording of the ffmpeg encode if necessary, but here are some screenshots to highlight the difference. Or if there is a more accurate cmdline I can use to replicate I can try that.
This is via moonlight set for 10mbps 60fps on the same PC as the streaming PC.


and this is via the encode
Beta Was this translation helpful? Give feedback.
All reactions