Jump to content

Force Transcode H.265 failing?


Recommended Posts

jhoff80
Posted (edited)

One of the bedroom PCs using Emby with Kodi is a Core m5 chip which apparently is not powerful enough to play 4k H.265/HEVC without stuttering (connected to a 1080p display in there, for what it's worth).  I enable the force transcode H.265 option and playback immediately fails (the server never begins transcoding), with an error to check logs.

13:05:27.900 T:11816  NOTICE: EMBY.default_tvshows -> Parameter string: ?dbid=6794&mode=play&id=57d05b0cdfd69307fa1e0c1eb980d898&filename=2x01+-+Happy+Fucking+New+Year.mkv
13:05:28.029 T:11816   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: invalid literal for int() with base 10: '4K/HEVC/AC3'
                                            Traceback (most recent call last):
                                              File "C:\Users\Joe\AppData\Roaming\Kodi\addons\plugin.video.emby.tvshows\default.py", line 50, in <module>
                                                entrypoint.doPlayback(itemid, dbid)
                                              File "C:\Users\Joe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\entrypoint.py", line 46, in doPlayback
                                                pbutils.PlaybackUtils(item).play(itemId, dbId)
                                              File "C:\Users\Joe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\playbackutils.py", line 57, in play
                                                playurl = playutils.getPlayUrl()
                                              File "C:\Users\Joe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\playutils.py", line 92, in getPlayUrl
                                                elif self.isDirectPlay():
                                              File "C:\Users\Joe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\playutils.py", line 150, in isDirectPlay
                                                resolution = int(videotrack.split("P", 1)[0])
                                            ValueError: invalid literal for int() with base 10: '4K/HEVC/AC3'
                                            -->End of Python script error report<--

5929b5665a019_details.png

Edited by jhoff80
Angelblue05
Posted

Could you do me a favor? Go to the emby for kodi addon settings > advanced. Change your logging to Debug. Ok.

 

Redo your test and provide the log. This should print the metadata for the episode so I can fix the error, thanks.

Angelblue05
Posted (edited)

@@jhoff80

 

Perfect. Can you give this build a try?

Edited by Angelblue05
jhoff80
Posted
Yes, that build is working, thanks.

  • Like 1
Angelblue05
Posted

Ok thanks, I'll add the fix to the next beta. You can keep using the custom version until then.

Guest
This topic is now closed to further replies.
×
×
  • Create New...