fix: universal Intel and AMD VA-API accelerated pipeline for FFmpeg 4 - 7 (#4022)

This commit is contained in:
Martin Wimpress
2025-01-13 04:10:00 +00:00
committed by GitHub
parent 0105473350
commit bb4a7479b5
3 changed files with 5 additions and 3 deletions

View File

@ -191,7 +191,7 @@ func (c *VaapiCodec) GlobalFlags() string {
// PixelFormat is the pixel format required for this codec.
func (c *VaapiCodec) PixelFormat() string {
return "vaapi_vld"
return "vaapi"
}
// Scaler is the scaler used for resizing the video in the transcoder.
@ -201,7 +201,7 @@ func (c *VaapiCodec) Scaler() string {
// ExtraFilters are the extra filters required for this codec in the transcoder.
func (c *VaapiCodec) ExtraFilters() string {
return ""
return "hwupload=extra_hw_frames=64,format=vaapi"
}
// ExtraArguments are the extra arguments used with this codec in the transcoder.