datarhei / restreamer

The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
https://docs.datarhei.com/restreamer/
Apache License 2.0
3.85k stars 441 forks source link

Scaling via VAAPI not possible #655

Open Hoerli1337 opened 10 months ago

Hoerli1337 commented 10 months ago

Hi! I'm glad to see that scaling is now available. I can now have the stream converted to a suitable resolution. However, this currently only works with the x264 codec. If I use VAAPI, this does not work. The set resolution is apparently ignored.

As an example, I send a 1440p image to Restreamer and it should scale the image down internally from 1440p to 1080p. Screenshot 2023-12-09 at 17-07-23 Restreamer Restreamer passes through the resolution 1:1. However, the set data rate is applied correctly. I get a stream with 7000kbps here. Screenshot 2023-12-09 at 17-07-45 Restreamer

With x264 as the codec, everything works without any problems. The specified resolution is also converted there, but this is at the expense of the CPU.

Bone2510 commented 9 months ago

I've got the same Issue here.

Hoerli1337 commented 3 months ago

Unfortunately, the bug is still there. I would also like to add that the options to rotate the image and flip horizontally / vertically do not work either.