-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
As described here: livepeer/studio#1239 there are several problems with HW encoder scaling video prior to encode. Two we know for sure:
- In 854x480 profile (I had to add one to
transcoding, like that: ERROR = VideoProfile{Name: "ERROR", Bitrate: "1000k", Framerate: 30, AspectRatio: "16:9", Resolution: "854x480"}): green bar appears on the bottom of the image when encoded using Nvidia HW. No problem when encoded using SW encoder - When doing
transcoding cat.mp4 P360p30fps16x9 modeoutput resolution depends on the mode. "sw" generates 202x360 stream while "nv 0" generates 360x640 one. - There is also suggestion of problems with QSV hardware encoder, such as green bar. Not sure if I can test it, would rather focus on the problems I can reproduce
I strongly suspect that the cause of second problem is different scaling logic used for Nvidia encoders (I vaguely remember code in ffmpeg.go inserting some magic options that handle scaling on Nvidia HW). In any case, green bar shouldn't arise so my guess is we also have Nvidia scaler bug, and/or are using said component improperly.
Will now read scaling code carefully to learn how scaling is handled in different cases.
Metadata
Metadata
Assignees
Labels
No labels