Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardware transcode not properly reported for Jellyfin in Media Server Widget #2078

Open
4 tasks done
strawberrypixel opened this issue Jun 30, 2024 · 3 comments
Open
4 tasks done
Labels
🐛 Bug Something isn't working

Comments

@strawberrypixel
Copy link

Environment

Docker

Version

0.15.3

Describe the problem

The media server widget shows Hardware Encoding Requested no when Jellfin is using hardware transcoding.

Jellyfin transcode logs show hardware transcoding is active.

-init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel qsv -hwaccel_output_format qsv -c:v hevc_qsv

and

Stream mapping:
  Stream #0:0 -> #0:0 (hevc (hevc_qsv) -> h264 (h264_qsv))
  Stream #0:1 -> #0:1 (eac3 (native) -> aac (libfdk_aac))

The object returned from the api call shows

 [
   {
       "result":
       {
           "data":
           {
               "json":
               {
                   "servers":
                   [
                       {
                           "serverAddress": "[snip]",
                           "sessions":
                           [],
                           "type": "plex",
                           "version": null,
                           "appId": "[snip]",
                           "success": true
                       },
                       {
                           "type": "jellyfin",
                           "appId": "[snip]",
                           "serverAddress": "[snip]",
                           "version": "10.9.6",
                           "sessions":
                           [
                               {
                                   "id": "[snip]",
                                   "username": "admin",
                                   "sessionName": "[snip]",
                                   "supportsMediaControl": false,
                                   "currentlyPlaying":
                                   {
                                       "name": "[snip]",
                                       "seasonName": "[snip]",
                                       "episodeName": "[snip]",
                                       "albumName": null,
                                       "episodeCount": null,
                                       "metadata":
                                       {
                                           "video":
                                           {
                                               "videoCodec": null,
                                               "width": 1920,
                                               "height": 1080,
                                               "bitrate": null,
                                               "videoFrameRate": null
                                           },
                                           "audio":
                                           {
                                               "audioChannels": 2,
                                               "audioCodec": "aac"
                                           },
                                           "transcoding":
                                           {
                                               "audioChannels": 2,
                                               "audioCodec": "aac",
                                               "container": "ts",
                                               "width": 1920,
                                               "height": 1080,
                                               "videoCodec": "h264",
                                               "audioDecision": null,
                                               "context": null,
                                               "duration": null,
                                               "error": null,
                                               "sourceAudioCodec": null,
                                               "sourceVideoCodec": null,
                                               "timeStamp": null,
                                               "transcodeHwRequested": null,
                                               "videoDecision": null
                                           }
                                       },
                                       "type": "video"
                                   },
                                   "userProfilePicture": null
                               }
                           ],
                           "success": true
                       }
                   ]
               },
               "meta":
               {
                   "values":
                   {
                       "servers.0.version":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.albumName":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.episodeCount":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.metadata.video.videoCodec":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.metadata.video.bitrate":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.metadata.video.videoFrameRate":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.metadata.transcoding.audioDecision":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.metadata.transcoding.context":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.metadata.transcoding.duration":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.metadata.transcoding.error":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.metadata.transcoding.sourceAudioCodec":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.metadata.transcoding.sourceVideoCodec":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.metadata.transcoding.timeStamp":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.metadata.transcoding.transcodeHwRequested":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.currentlyPlaying.metadata.transcoding.videoDecision":
                       [
                           "undefined"
                       ],
                       "servers.1.sessions.0.userProfilePicture":
                       [
                           "undefined"
                       ]
                   }
               }
           }
       }
   }
]

Logs

No response

Context

image

Please tick the boxes

  • I confirm that I attached the proper logs
  • I've read the docs
  • I've checked for duplicate issues
  • I've tried to debug myself
@strawberrypixel strawberrypixel added the 🐛 Bug Something isn't working label Jun 30, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Homarr Kanban Jun 30, 2024
Copy link

Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly.

Copy link

Hello 👋, this issue has been open for 60 days without activity. We mark issues to help prioritise and close dead issues. Can you confirm that this issue is still relevant on the latest version? I'll remove the stale label as soon as there is further activity on this issue. Thank you 🙏

@github-actions github-actions bot added the Stale label Aug 30, 2024
@frezeen
Copy link

frezeen commented Jan 8, 2025

+1 same here

@github-actions github-actions bot removed the Stale label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants