#FFMpeg issues

1 messages · Page 1 of 1 (latest)

formal briar
#

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.

wintry urchin
#

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

formal briar
#

I have an AMD card, so should I be using software?

wintry urchin
formal briar
#

after switching to software and attempting again, some flex content played before tunarr itself crashed. I got this from the logs right before

wintry urchin
#

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

formal briar
#

So, based on what I've gathered, I should try running this on a system with an NVidia card instead and use CUDA?

wintry urchin
#

you will likely have a much better time doing that, yes

formal briar
#

Rodger that. I had suspected that was the issue but couldn't be sure with my limited knowledge

#

Thank you!

wintry urchin
#

sure thing!

#

LMK if you have any issues on cuda, happy to help

formal briar
#

👍

formal briar
#

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

wintry urchin
#

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

formal briar
#

This what you needed?

wintry urchin
#

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

formal briar
#

Okay, so It's a media issue?

wintry urchin
#

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

formal briar
#

Okay, so how would I go about re-formatting those shows?

wintry urchin
#

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)

formal briar
#

In theory, could I use those tools to batch-convert my library to ensure everything is useable?

wintry urchin
#

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

formal briar
#

Alright, I can manage that

wintry urchin
formal briar
#

Awesome, thanks for the assistance!

wintry urchin
#

np!

covert bobcat
wintry urchin
covert bobcat
#

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

wintry urchin
#

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

covert bobcat
wintry urchin
#

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

covert bobcat
#

Thank you

#

I am giving it a shot now

#

things seem pretty great since last I had this running