I'm not trying to shut any ideas, just that I don't see how it will work. You're saying that TV went blank when UMS failed, so the error is severe enough as no content is going thru, how will that "error announcement" video be delivered then?
ums didn't fail , it caught the error returned by ffmpeg , but instead of handling it in a user friendly manner and showing something on screen it only saved the error in the log, it let the tv just sit and wait.
i see an opportunity for enhancement of ums.
there's a bit of code missing there to make it more user friendly on the tv side.
i mean, the tv has made a connection to ums, it has requested a file, and is waiting for it to be served.
ums checked the conf file and determined it needed ffmpeg to transcode the file for the tv.
how about when it fails to do that, open an other file that is compatible with the tv , no transcoding needed , telling the user there was an error and how to fix it.
it can be a more generally open format like mpeg2ts or x264 whatever.
whether it is the actual file or some prefab file, how will the tv know?
it's just bits and bytes.
it will display whatever ums sends it. Might as well be helpfull to the user. nobody wants to interrupt an evening of fun tv watching just to sift through a log file.
When an error happens , if you open a simple file that is premade to be compatible with all TVs and just pipe it through the dlna connection that the tv has made with ums, no transcoding needed. so ffmpeg isn't needed just the dlna connection.
would that work?