HaveAGitGat / Tdarr_Plugins

Tdarr Plugins
GNU General Public License v3.0
140 stars 162 forks source link

QSV Fails: Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scale_0' #713

Open phoenixaus opened 2 weeks ago

phoenixaus commented 2 weeks ago

PC Details:

Base Board Information Manufacturer: ASUSTeK COMPUTER INC. Product Name: NUC14RVB Version: 60AS0080-MB0A01 Serial Number: ***

Distributor ID: Ubuntu Description: Ubuntu 24.04.1 LTS Release: 24.04 Codename: noble

GPU: VGA compatible controller: Intel Corporation Meteor Lake-P [Intel Arc Graphics] (rev 08) (prog-if 00 [VGA controller]) DeviceName: Onboard - Video Subsystem: ASUSTeK Computer Inc. Meteor Lake-P [Intel Arc Graphics] Flags: bus master, fast devsel, latency 0, IRQ 212, IOMMU group 0 Memory at 5017000000 (64-bit, prefetchable) [size=16M] Memory at 4000000000 (64-bit, prefetchable) [size=256M] Expansion ROM at 000c0000 [virtual] [disabled] [size=128K] Capabilities: [40] Vendor Specific Information: Len=0c <?> Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit+ Capabilities: [d0] Power Management version 3 Capabilities: [100] Null Capabilities: [110] Process Address Space ID (PASID) Capabilities: [200] Address Translation Service (ATS) Capabilities: [420] Physical Resizable BAR Capabilities: [320] Single Root I/O Virtualization (SR-IOV) Capabilities: [400] Latency Tolerance Reporting Kernel driver in use: i915 Kernel modules: i915, xe

Mainly on .TS conversions, I'm getting this error:

2024-11-06T13:40:45.401Z Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scale_0'

2024-11-06T13:40:45.401Z Error reinitializing filters!

2024-11-06T13:40:45.401Z Failed to inject frame into filter network: Function not implemented

2024-11-06T13:40:45.401Z Error while processing the decoded data for stream #0:0

2024-11-06T13:40:45.401Z Conversion failed!

Full log: https://1drv.ms/t/s!ApvToVPkk9FHhbsC9VarbZTNDBajxQ?e=IMreNd

TheFrisbeeNinja commented 1 day ago

I'm having this same problem, specifically on workflows that use the "Set Video Resolution" plugin. The plugin is adding

-vf scale=1920:-2

to the output arguments, but if you are using the QSV accelerator is should be

-vf scale_qsv=w=1920:h=1080

I don't know enough about the plugin system to know if it can be made hwaccel aware, but using a "Custom Argument" plugin to do the scaling instead of the "Set Video Resolution" plugin has resolved this issue for me.