Hi there, running tunarr 0.21.1 on windows 10. I migrated from dizqueTV yesterday and have been having issues getting playback to work for multiple channels. Seems like it's an issue with my ffmpeg settings, but it's hard to tell. Sometimes I can get a channel to play fine in the tunarr window depending on what video files is playing but I have been unsuccessful in getting consistent playback from all channels. Here's a log file to help.
#FFMpeg issues
1 messages · Page 1 of 1 (latest)
the logs suggest you are using VAAPI hardware acceleration, but you mentioned you are on Windows, so I don't think that will work
VAAPI is linux only
I have an AMD card, so should I be using software?
for the time being yes. AMD GPUs use what is called AMF hardware acceleration, which is currently not supported in Tunarr. see: https://github.com/chrisbenincasa/tunarr/issues/1131
i'm not sure when I'll get to it because I don't have the appropriate hardware to test it on
after switching to software and attempting again, some flex content played before tunarr itself crashed. I got this from the logs right before
yea... so that is unfortunate. basically it is saying that software encoding took too long to startup (it can be very slow and hard on the CPU) and Tunarr timed the stream out. it gives it upwards of a minute to start
So, based on what I've gathered, I should try running this on a system with an NVidia card instead and use CUDA?
you will likely have a much better time doing that, yes
Rodger that. I had suspected that was the issue but couldn't be sure with my limited knowledge
Thank you!
👍
Yo! so tunarr is setup on a different machine with a 2060gtx. Most channels seem to work just fine now, though one in particular is still giving some trouble
Has some newer content on there, so I'm trying to discern if it's an issue with the program or the media
can you use the debug logs in Tunarr to graph the full generated ffmpeg command
i have an open bug on my end to include the full command in the generated error log, but right now it's not there
yea i think i can find it within there
this is one of the errors [Parsed_scale_cuda_1 @ 0000020f46692f80] Unsupported input format: yuva420p [Parsed_scale_cuda_1 @ 0000020f46692f80] Failed to configure output pad on Parsed_scale_cuda_1
Plex does not give us pixel format information, so Tunarr just "goes for it"
this item uses pixel format yuva420p, which is not supported by cuda filters
Okay, so It's a media issue?
yea, it's a fairly uncommon format (its the widespread yuv420p pixel format but with an alpha channel)
generally it is unnecessary for a video file to have a need for transparency
Okay, so how would I go about re-formatting those shows?
it wouldnt be impossible for tunarr to detect this outright, it's just a non-trivial change
there's a lot of ways to go about that
in general, you'd have to identify the ones that you need to convert first
and then there are lots of options, like tdarr or just feeding them right into ffmpeg (if you're comfortable with that)
In theory, could I use those tools to batch-convert my library to ensure everything is useable?
yes, but beware it can be a rather large undertaking, depending on how large your library is and how fast your hardware is
i'd probably start by identifying everything that's encoded as yuva420p though and just change the pixel format
Alright, I can manage that
https://github.com/chrisbenincasa/tunarr/issues/1317 tracks improving this from Tunarr's side
Awesome, thanks for the assistance!
np!
could I buy you an old AMF supported AMD GPU to test this? I just moved and stuck with the rig I got
I could also find a cheaper mini PC that has an AMF supported iGPU
This is very generous! Just double checking - you’re on windows? AMF is only relevant for AMD + Windows. I haven’t really searched around for mini PCs with AMDs that have iGPUs
one of the cheaper ones I found. I am running unRAID with an AMD R7 PRO 8845HS and Integrated Graphics: AMD Radeon™ 780M
I was using Tunarr to great effect on my Quicksync system but it was too large to take with me
I saw the 1.0 update and was going to install
with amd on Linux you don’t need to worry about AMF, you can just usse VAAPI
AMF is an AMD + Windows only thing
You can use AMF on Linux AFAIK but you don’t have to. It’s like QSV in that sense
so VAAPI will not murder my CPU?
No VAAPI is also a hwaccel API for Linux specifically that can be implemented by all types of hardware
Intel, AMD, and nvidia all implement the API with their own specific flavors
So since you’re running on Linux I’d give VAAPI a go with your AMD chip
That said, I have never tested any of Tunarr’s VAAPI pipelines with AMD, so I’m sure there is room for improvement there