Jellyfin Forum
Transcoding to Shield When DirectStream avaiable - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Transcoding to Shield When DirectStream avaiable (/t-transcoding-to-shield-when-directstream-avaiable)

Pages: 1 2 3


RE: Transcoding to Shield When DirectStream avaiable - DaveR1974 - 2024-06-04

(2024-06-04, 01:01 AM)TheDreadPirate Wrote: On the host OS go to that folder, in /config is another config folder.  Create logging.json there.

Sorry, I have no idea how to do any of this.
I access the OMV server via web browser.
The folder is set as /Jellyfin-Config, and I can see it listed in shared folders on the OMV web portal, but I don't know how to access the folder, let alone create a file within it.
It would be easier for us newbies if there was an option/checkbox in the Dashboard of the Jellyfin server.
Can you possibly provide step-by-step instructions please?


RE: Transcoding to Shield When DirectStream avaiable - TheDreadPirate - 2024-06-04

I've never used OMV so I can only speak in generalizations. If you had access to the command line I could give you more specific steps.


RE: Transcoding to Shield When DirectStream avaiable - DaveR1974 - 2024-06-04

I have Putty installed on my main PC (needed it to install Tailscale for being able to access when away from home).


RE: Transcoding to Shield When DirectStream avaiable - TheDreadPirate - 2024-06-04

When you ssh to your server, are you able to get to /Jellyfin-Config?


RE: Transcoding to Shield When DirectStream avaiable - DaveR1974 - 2024-06-04

I don't know how, sorry


RE: Transcoding to Shield When DirectStream avaiable - DaveR1974 - 2024-06-04

Could I set up the folder as a SMB share and create the file in Windows using Notepad?


RE: Transcoding to Shield When DirectStream avaiable - TheDreadPirate - 2024-06-04

That is a roundabout way of doing that, but it should work.


RE: Transcoding to Shield When DirectStream avaiable - DaveR1974 - 2024-06-04

Thanks.
Just tried it.
With debugging on, the files played, but when I turned it off again, I get the incompatible file message again.

Log attached. The file used is "Art DV Test.mp4"

I will not register on Github and raise the issue there as you advised.


RE: Transcoding to Shield When DirectStream avaiable - bjaurelio - 2024-06-04

I updated the log level, and here's what I get when it transcodes. This appears to be limited to just my more recent movies that I ran through Handbrake to downsize the rips. I don't understand how the video level is not supported. Any help would be appreciated.

Code:
[2024-06-04 18:28:50.288 -05:00] [DBG] [28] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "VideoCodecProfile", DirectPlay=false. Reason="AndroidTV-ExoPlayer".VideoLevel Condition: LessThanEqual. ConditionValue: "153". IsRequired: False. Path: "/Videos/4K Movies/Iron Man 2 (2010).mkv"
[2024-06-04 18:28:50.289 -05:00] [DBG] [28] Jellyfin.Api.Helpers.MediaInfoHelper: DirectPlay Result for Profile: "AndroidTV-ExoPlayer", Path: "/Videos/4K Movies/Iron Man 2 (2010).mkv", PlayMethod: null, AudioStreamIndex: 1, SubtitleStreamIndex: -1, Reasons: VideoLevelNotSupported
[2024-06-04 18:28:50.293 -05:00] [DBG] [28] Jellyfin.Api.Helpers.MediaInfoHelper: Transcode Result for Profile: "AndroidTV-ExoPlayer", Path: "/Videos/4K Movies/Iron Man 2 (2010).mkv", PlayMethod: Transcode, AudioStreamIndex: 1, SubtitleStreamIndex: -1, Reasons: VideoLevelNotSupported
[2024-06-04 18:28:50.293 -05:00] [DBG] [28] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="/Videos/4K Movies/Iron Man 2 (2010).mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoLevelNotSupported ) "media:/videos/c112c6bb-19da-f3ea-49f3-5ce3344def3d/master.m3u8?MediaSourceId=c112c6bb19daf3ea49f35ce3344def3d&VideoCodec=hevc,h264,hevc&AudioCodec=aac,mp3,ac3,eac3&AudioStreamIndex=1&VideoBitrate=119872000&AudioBitrate=128000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&RequireAvc=false&Tag=087d429046e9a5ebff530ab775ed1ee7&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&aac-audiochannels=8&TranscodeReasons=VideoLevelNotSupported"



RE: Transcoding to Shield When DirectStream avaiable - TheDreadPirate - 2024-06-05

What handbrake settings did you use? Levels are important for encoding to set correctly as each level is intending for certain resolution and frame rate combinations. In your example, level 153 is intended for higher frame rate content.

1,920×1,080@256
2,048×1,080@240
3,840×2,160@64
4,096×2,160@60

Even if something supports HEVC, they often don't support all levels of the codec. Especially streaming devices like Shields and Chromecasts and Rokus and Android phones.

I'm assuming you did not leave the level drop down to auto in Handbrake.