Jump to content

Hardware/Software Transcoding for different sources


Recommended Posts

Posted

In chasing down a problem with Live TV (HDHomeRun source), I have found that Hardware transcoding is creating a problem.  A few channels (not all) will not start and tend to leave fragments of the .ts files to be deleted manually.  If I turn off hardware transcoding, things seem to work as desired.  All personal media seems to be working with no issue when using Hardware transcoding, so I would like to be able to Hardware transcode everything but the Live TV stream coming from the HDHomeRun.

This problem has been occurring for quite some time, so it is not a recent change problem.  Not looking to dive into log files, as enough time has been spent looking into the problem.  Just trying to find a way to have a mix of Hardware/Software transcoding to maximize the experience.  Hardware on media files, Software on Live streams.  Currently running software only, and all seems to be working fine.  But, I have not pushed the server with more than 2 active users.  

I am getting this error in the log file when the channel does not start. 

16:47:53.989 [mpeg2video @ 000001b894ce8f40] Invalid frame dimensions 0x0.
Last message repeated 42 times
Posted

Not looking to determine the cause of the problem, as I have been down this rabbit hole many times.  I am just inquiring as to whether there is an option (or way to) specify that hardware encoding be used on any media files, while any media sourced from the HDHomeRun utilize only software transcoding.

Posted

There is no such option. But things change over time. I think we should go down the rabbit hole again.

Posted

What you could try is disable the hardware decoders for mpeg2. Most of the US OTA broadcast is mpeg2 while most other sources are AVC/HEVC which would use HW accel for those.

 

  • Like 1
Posted
47 minutes ago, Q-Droid said:

What you could try is disable the hardware decoders for mpeg2. Most of the US OTA broadcast is mpeg2 while most other sources are AVC/HEVC which would use HW accel for those.

 

Thanks for pointing me in that direction.  I had not put that together.  I will give it a try.

rbjtech
Posted
1 minute ago, Scott D said:

Thanks for pointing me in that direction.  I had not put that together.  I will give it a try.

image.png.a9c6944b20f56b4890a8bb8e9a2df2b8.png

'Here' as I was about to reply anyway .. :)

 

  • Like 1
Posted (edited)

Also, as illustrated by @rbjtech if you have multiple decoders for mpeg2 you could try one or the other or preference order to see if there's an issue specifically with one of them. If they both give you trouble then you can disable both.

 

Edited by Q-Droid

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...