jellyfin / jellyfin-tizen

Jellyfin Samsung TV Client
https://jellyfin.org
993 stars 79 forks source link

Certain Files Don't Play #257

Open CollinHerber opened 6 months ago

CollinHerber commented 6 months ago

TV Model: QN65Q6DTAFXZA I have tried both Server 10.8.x and 10.9.x I also just tried updating the tizen app, just deploying the latest of Jellyfin-web and jellyfin-tizen today. The file I am trying to play is a Mp4 and it works on Jellyfin Android TV (Firestick) , Jellyfin Android App, And Jellyfin Web App, just not Tizen for some reason.

I was hoping 10.9.x would resolve but unfortunately not.

I am happy to provide the media that it is failing on to help test. Reach out to me on Discord and I can give it to you. "collin.h"

I am also in the Jellyfin Discord server should you want to message me and not add me.

dmitrylyzo commented 6 months ago

Please provide the media info of the failing file.

What actually happens when it doesn't work?

CollinHerber commented 6 months ago

Please provide the media info of the failing file.

What actually happens when it doesn't work?

What happens is the splash screen appears with the loading indicator. After a second or two the loading indicator goes away but the splash screen remains. The app then freezes and only can be closed by force closing.

What media info would you like?

CollinHerber commented 6 months ago

See S02E01 Brothers And Sisters Container: mp4 Path: /edrive/Shows/See/Season 2/See S02E01 Brothers And Sisters.mp4 Size: 1202 MB

Video Title: 1080p H264 SDR Codec: H264 Codec tag: avc1 AVC: Yes Profile: High Level: 41 Resolution: 1920x910 Aspect ratio: 192:91 Anamorphic: No Interlaced: No Framerate: 23.976023 Bitrate: 2095 kbps Bit depth: 8 bit Video range: SDR Video range type: SDR Color space: bt709 Color transfer: bt709 Color primaries: bt709 Pixel format: yuv420p Ref frames: 1 NAL: 4

Audio Title: Surround - English - Dolby Digital - 5.1 - Default Language: eng Codec: AC3 Codec tag: ac-3 AVC: No Layout: 5.1 Channels: 6 ch Bitrate: 320 kbps Sample rate: 48000 Hz Default: Yes Forced: No External: No

Subtitle Title: English - Default - MOV_TEXT Language: eng Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: Yes Forced: No External: No

Audio Title: Stereo - English - AAC Language: eng Codec: AAC Codec tag: mp4a AVC: No Profile: LC Layout: stereo Channels: 2 ch Bitrate: 160 kbps Sample rate: 48000 Hz Default: No Forced: No External: No

Subtitle Title: English (SDH) - MOV_TEXT Language: eng Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Arabic - MOV_TEXT Language: ara Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Bulgarian - MOV_TEXT Language: bul Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Chinese - MOV_TEXT Language: zho Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Chinese - MOV_TEXT Language: zho Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Chinese - MOV_TEXT Language: zho Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Czech - MOV_TEXT Language: ces Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Danish - MOV_TEXT Language: dan Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Dutch - MOV_TEXT Language: nld Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Estonian - MOV_TEXT Language: est Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Finnish - MOV_TEXT Language: fin Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: French (Canada) - MOV_TEXT Language: fra Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: French (France) - MOV_TEXT Language: fra Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: German - MOV_TEXT Language: deu Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Greek - MOV_TEXT Language: ell Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Hebrew - MOV_TEXT Language: heb Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Hindi - MOV_TEXT Language: hin Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Hungarian - MOV_TEXT Language: hun Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Indonesian - MOV_TEXT Language: ind Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Italian - MOV_TEXT Language: ita Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Japanese - MOV_TEXT Language: jpn Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Korean - MOV_TEXT Language: kor Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Latvian - MOV_TEXT Language: lav Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Lithuanian - MOV_TEXT Language: lit Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Und - MOV_TEXT Language: und Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Norwegian - MOV_TEXT Language: nor Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Polish - MOV_TEXT Language: pol Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Portuguese - MOV_TEXT Language: por Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Portuguese (Brazil) - MOV_TEXT Language: por Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Russian - MOV_TEXT Language: rus Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Slovak - MOV_TEXT Language: slk Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Slovenian - MOV_TEXT Language: slv Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Spanish (Latin America) - MOV_TEXT Language: spa Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Spanish (Spain) - MOV_TEXT Language: spa Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Swedish - MOV_TEXT Language: swe Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Tamil - MOV_TEXT Language: tam Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Telugu - MOV_TEXT Language: tel Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Thai - MOV_TEXT Language: tha Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Turkish - MOV_TEXT Language: tur Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Ukrainian - MOV_TEXT Language: ukr Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Subtitle Title: Vietnamese - MOV_TEXT Language: vie Codec: MOV_TEXT Codec tag: tx3g AVC: No Resolution: 1920x135 Bitrate: 0 kbps Default: No Forced: No External: No

Video Title: 1080p H264 SDR Codec: H264 Codec tag: avc1 AVC: Yes Profile: High Level: 41 Resolution: 1920x910 Aspect ratio: 192:91 Anamorphic: No Interlaced: No Framerate: 23.976023 Bitrate: 2095 kbps Bit depth: 8 bit Video range: SDR Video range type: SDR Color space: bt709 Color transfer: bt709 Color primaries: bt709 Pixel format: yuv420p Ref frames: 1 NAL: 4

dmitrylyzo commented 6 months ago

What happens is the splash screen appears with the loading indicator. After a second or two the loading indicator goes away but the splash screen remains. The app then freezes and only can be closed by force closing.

Although your video should play directly (imo), make sure fMP4 is disabled (Settings -> Playback -> uncheck Prefer fMP4... -> Save).

On my Tizen 4, fMP4 requires the remuxing job to complete. I can only see the splash screen, just like you. But if I wait any longer, playback will start.

What media info would you like?

Is there a second video track or is it just a copypaste? I'm not sure if the TV is processing the second video track correctly.

Also, could you check if ffmpeg logs are created on the server when playback starts? You can get the logs from the Dashboard.

CollinHerber commented 6 months ago

What happens is the splash screen appears with the loading indicator. After a second or two the loading indicator goes away but the splash screen remains. The app then freezes and only can be closed by force closing.

Although your video should play directly (imo), make sure fMP4 is disabled (Settings -> Playback -> uncheck Prefer fMP4... -> Save).

On my Tizen 4, fMP4 requires the remuxing job to complete. I can only see the splash screen, just like you. But if I wait any longer, playback will start.

What media info would you like?

Is there a second video track or is it just a copypaste? I'm not sure if the TV is processing the second video track correctly.

Also, could you check if ffmpeg logs are created on the server when playback starts? You can get the logs from the Dashboard.

I tried unticking that box and playing again but no luck. I waited for about 8 minutes without playback starting. https://collinthedev.com/System/Logs/Log?name=log_20240509.log&api_key=REDACTED

dmitrylyzo commented 6 months ago

Don't post links with api_key to the server that is exposed to the world. Use some pastebin service. AFAIK, to reset it, you need to log out on the client from where you copied that link - the browser, I guess. And the link above should stop working.

So it's DirectPlay.

[2024-05-09 11:11:24.741 +00:00] [INF] [203] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : play_method = "DirectPlay"

I'm thinking more and more that the app is just silently getting an error.

Could you open that file on the TV from a USB drive?

And does it really contain 2 video tracks?

CollinHerber commented 6 months ago

Don't post links with api_key to the server that is exposed to the world. Use some pastebin service. AFAIK, to reset it, you need to log out on the client from where you copied that link - the browser, I guess. And the link above should stop working.

So it's DirectPlay.

[2024-05-09 11:11:24.741 +00:00] [INF] [203] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : play_method = "DirectPlay"

I'm thinking more and more that the app is just silently getting an error.

Could you open that file on the TV from a USB drive?

And does it really contain 2 video tracks?

I cleared out all the devices , I think that will clear out the API keys as well as it logs everyone out. I believe I copy pasted twice last night as I was on my phone and it was hard to tell all that was copied. It should not have two video tracks, and it doens't look like it does.

I will try the USB approach when I back home today as I'm in the office currently.

CollinHerber commented 6 months ago

Again happy to send you the media to your discord or an email or something but do not want to post a media link here as that would be illegal

Arthlec commented 6 months ago

Could it be related to this issue?

CollinHerber commented 6 months ago

Okay so some updates here....

Additionally I just updated to 10.9.1 and I no longer have the issue on the video, so maybe they fixed it?

mat926 commented 4 months ago

I'm having the same issue on 10.9.6. The file plays on iOS/Android/Web but not on the TV. The Prefer fMP4 option is disabled. I can provide the media info of the file having the issue.

Cast Away (2000) [imdbid-tt0162222] - [Remux-1080p][DTS-HD MA 5.1][h264]
Container: mkv
Path: /media/movies/Cast Away (2000)/Cast Away (2000) [imdbid-tt0162222] - [Remux-1080p][DTS-HD MA 5.1][h264].mkv
Size: 36049 MB

Video
Title: 1080p H264 SDR
Codec: H264
AVC: Yes
Profile: High
Level: 41
Resolution: 1920x1080
Aspect ratio: 16:9
Interlaced: No
Framerate: 23.976025
Bitrate: 35050 kbps
Bit depth: 8 bit
Video range: SDR
Video range type: SDR
Pixel format: yuv420p
Ref frames: 1
NAL: 4

Audio
Title: DTS-HD MA 5.1 - English - Default
Language: eng
Codec: DTS
Profile: DTS-HD MA
Layout: 5.1
Channels: 6 ch
Bitrate: 4202 kbps
Sample rate: 48000 Hz
Bit depth: 24 bit
Default: Yes
Forced: No
External: No

Subtitle
Title: English - SUBRIP - External
Language: eng
Codec: SUBRIP
Default: No
Forced: No
External: Yes

Logs:

[2024-07-05 06:39:26.897 -07:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-07-05 06:39:39.226 -07:00] [INF] [20] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin for Tizen" "0.1.0" playing "Cast Away". Stopped at "0" ms
[2024-07-05 06:39:39.250 -07:00] [INF] [23] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop did not have a tracker : "TW96aWxsYS81LjAgKFNNQVJULVRWOyBMSU5VWDsgVGl6ZW4gNy4wKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSA5NC4wLjQ2MDYuMzEvNy4wIFRWIFNhZmFyaS81MzcuMzZ8MTcxODUwMjY1OTEyMQ11-f5a0a7cfd24e4241aa9c0fbadff68c92-dbeace8db7b95c3f27dd58662aa9068d"
[2024-07-05 06:39:43.920 -07:00] [INF] [25] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.239" request
[2024-07-05 06:39:56.897 -07:00] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-07-05 06:40:12.587 -07:00] [INF] [16] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "matteochirco". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-07-05 06:40:13.844 -07:00] [INF] [25] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Adding playback tracker : TW96aWxsYS81LjAgKFNNQVJULVRWOyBMSU5VWDsgVGl6ZW4gNy4wKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSA5NC4wLjQ2MDYuMzEvNy4wIFRWIFNhZmFyaS81MzcuMzZ8MTcxODUwMjY1OTEyMQ11-f5a0a7cfd24e4241aa9c0fbadff68c92-dbeace8db7b95c3f27dd58662aa9068d
[2024-07-05 06:40:13.844 -07:00] [INF] [25] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Start Event : 07/05/2024 06:40:13
[2024-07-05 06:40:13.856 -07:00] [INF] [25] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Creating StartPlaybackTimer Task
[2024-07-05 06:40:13.856 -07:00] [INF] [25] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Entered
[2024-07-05 06:40:23.558 -07:00] [INF] [25] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "TW96aWxsYS81LjAgKFNNQVJULVRWOyBMSU5VWDsgVGl6ZW4gNy4wKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSA5NC4wLjQ2MDYuMzEvNy4wIFRWIFNhZmFyaS81MzcuMzZ8MTcxODUwMjY1OTEyMQ11-f5a0a7cfd24e4241aa9c0fbadff68c92-dbeace8db7b95c3f27dd58662aa9068d"
[2024-07-05 06:40:26.896 -07:00] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-07-05 06:40:33.856 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: session.RemoteEndPoint : "192.168.0.239"
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_playing_id     = "dbeace8db7b95c3f27dd58662aa9068d"
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id        = "f5a0a7cfd24e4241aa9c0fbadff68c92"
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id_int    = 1
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_playing_id   = "dbeace8db7b95c3f27dd58662aa9068d"
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_user_id      = "f5a0a7cfd24e4241aa9c0fbadff68c92"
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : play_method          = "DirectPlay"
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.ClientName         = "Jellyfin for Tizen"
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.DeviceName         = "Samsung Smart TV"
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemName             = "Cast Away"
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemId               = "dbeace8db7b95c3f27dd58662aa9068d"
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemType             = "Movie"
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : All matches, playback registered
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback tracker found, adding playback info : "TW96aWxsYS81LjAgKFNNQVJULVRWOyBMSU5VWDsgVGl6ZW4gNy4wKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSA5NC4wLjQ2MDYuMzEvNy4wIFRWIFNhZmFyaS81MzcuMzZ8MTcxODUwMjY1OTEyMQ11-f5a0a7cfd24e4241aa9c0fbadff68c92-dbeace8db7b95c3f27dd58662aa9068d"
[2024-07-05 06:40:33.857 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Saving playback tracking activity in DB
[2024-07-05 06:40:33.984 -07:00] [INF] [16] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Exited
[2024-07-05 06:40:43.563 -07:00] [INF] [25] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "TW96aWxsYS81LjAgKFNNQVJULVRWOyBMSU5VWDsgVGl6ZW4gNy4wKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSA5NC4wLjQ2MDYuMzEvNy4wIFRWIFNhZmFyaS81MzcuMzZ8MTcxODUwMjY1OTEyMQ11-f5a0a7cfd24e4241aa9c0fbadff68c92-dbeace8db7b95c3f27dd58662aa9068d"
[2024-07-05 06:40:56.897 -07:00] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-07-05 06:41:26.933 -07:00] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-07-05 06:41:38.089 -07:00] [INF] [19] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-07-05 06:41:50.089 -07:00] [INF] [18] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.
[2024-07-05 06:41:56.933 -07:00] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
dimitarmanov commented 3 months ago

I have the same issue when I play media with subtitles it takes either significantly longer to load after clicking play or doesn't load at all.

For example: TV show episode (20min, 3GB, 1080p) - without subs, starts instantly, with subs takes about 5s movie (150m, 45GB, 4K) - without subs takes about 2-3s, with subs it never loads or at least I didn't wait for it long enough to load (20min waiting still loading)

It likely has to do with the MB/GB size of the actual file.

Again, that's an issue only on Samsung Tizen TV

Let me know if I can share more info that would help us get to the bottom of this

noobmagnet commented 3 months ago

I have the same issue when I play media with subtitles it takes either significantly longer to load after clicking play or doesn't load at all.

For example: TV show episode (20min, 3GB, 1080p) - without subs, starts instantly, with subs takes about 5s movie (150m, 45GB, 4K) - without subs takes about 2-3s, with subs it never loads or at least I didn't wait for it long enough to load (20min waiting still loading)

It likely has to do with the MB/GB size of the actual file.

Again, that's an issue only on Samsung Tizen TV

Let me know if I can share more info that would help us get to the bottom of this

I think this might be a different issue, because I have a Samsung TV and when the included subtitles for the video are PGSUB, which I believe is image based and the type that normally comes with the bluray after using Makemkv, it makes the server transcode and if the server is weak like a Raspberry Pi, it will struggle a lot to burn those subtitles in. However, if you download proper SRT subtitles (shows as "SUBRIP" in the subtitle option in Jellyfin) from say opensubtitles, the movie and subs will work smoothly and directplay.

dmitrylyzo commented 3 months ago

TV show episode (20min, 3GB, 1080p) - without subs, starts instantly, with subs takes about 5s

More likely, it is extracting the subtitles. Does this happen every time with the same file? Also, what type of subtitles? SSA/ASS, SRT, PGS?

  1. Start playback on TV.
  2. Open Dashboard on PC.
  3. What playback method it is using ((i) button)? What transcoding reason (if any)?

^ repeat with subs/no subs.

dimitarmanov commented 3 months ago

I think this might be a different issue, because I have a Samsung TV and when the included subtitles for the video are PGSUB, which I believe is image based and the type that normally comes with the bluray after using Makemkv, it makes the server transcode and if the server is weak like a Raspberry Pi, it will struggle a lot to burn those subtitles in. However, if you download proper SRT subtitles (shows as "SUBRIP" in the subtitle option in Jellyfin) from say opensubtitles, the movie and subs will work smoothly and directplay.

That's exactly what I did, externally added subs seem to work fine.

Also, what type of subtitles? SSA/ASS, SRT, PGS?

  1. Yes it happens all with the same media file. Same subs are always failing and external always works.

With external subs:

The media is being converted into a format that is compatible with the device that is playing the media.
Framerate: 1.9fps

99.6 Mbps TS H264 AAC

Reason for transcoding
The audio codec is not supported
The subtitle codec is not supported
The video's range type is not supported

With provided subs by the movie: On TV just spins and have to force close app if I want to do anything.

On PC dashboard, there is no indication anything is playing. I just shows Tizen 0.1.0, no media, no (i) icon.

With no subs:

The video stream is compatible with the device, but has an incompatible audio format (DTS, Dolby TrueHD, etc) or number of audio channels. The video stream will be repackaged losslessly on the fly before being sent to the device. Only the audio stream will be transcoded.

Power consumed by direct streaming usually depends on the audio profile. Only the video stream is lossless.

Info for subs:


Subtitle
Title: English - SUBRIP
Language: eng
Codec: SUBRIP
AVC: No
Default: No
Forced: No
External: No

Subtitle
Title: SDH - English - SUBRIP
Language: eng
Codec: SUBRIP
AVC: No
Default: No
Forced: No
External: No

Subtitle
Title: English - SUBRIP - External
Language: eng
Codec: SUBRIP
AVC: No
Default: No
Forced: No
External: Yes

Subs 1 and 2 (External: No) - have the issue, Subs 3 (Manually downloaded from opensubtitles and uploaded to movie External: True) - no issue.

External subs were added via 3 dots > Edit subtitles > "+" and manually select from PC

dmitrylyzo commented 3 months ago

Same subs are always failing and external always works.

What about browser? Does it work with embedded subs? What playback method does it use?

The subtitle codec is not supported

It is burning subs and your hardware can't transcode fast enough: 1.9fps.

dimitarmanov commented 3 months ago

What about browser? Does it work with embedded subs? What playback method does it use?

Yes browser works fine, it still transcodes the video since it is 4K and doesn't support it. From Browser:

Transcoding
The media is being converted into a format that is compatible with the device that is playing the media.
Framerate: 46fps

99.3 Mbps TS H264 AAC

Reason for transcoding
The container is not supported
The video codec is not supported
The audio codec is not supported

It is burning subs and your hardware can't transcode fast enough: 1.9fps.

Interesting, I would need to look into this as the hardware is decent enough I would think: AMD Ryzen 5 3600 RTX 2060 16 GB RAM 1TB SSD + 250HDD

But, if that's not relevant to the issue, I wouldn't fill the comments with unneeded info

mar565 commented 3 months ago

I'm experiencing the same issue. When I try to play the file on my TV, it stops immediately after 0ms. However, the Jellyfin web interface shows that the playback is happening without transcoding (device info button). The Samsung app then becomes unresponsive.

Interestingly, I can get the file to play by pressing the play button in the web interface exactly twice. After doing this, it starts transcoding and displays "error on direct playback" as the reason for transcoding.

Correction: Pressing one time is enough. I just wasn't patient enough.

Here the relevant log:

[2024-08-29 11:58:58.396 +00:00] [INF] User policy for "mario". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-08-29 11:59:00.808 +00:00] [INF] User policy for "mario". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-08-29 11:59:00.833 +00:00] [INF] Playback stopped reported by app "Jellyfin for Tizen" "0.1.0" playing "Das Monster". Stopped at "0" ms [2024-08-29 11:59:02.464 +00:00] [INF] User policy for "mario". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-08-29 11:59:02.467 +00:00] [INF] Playback stopped reported by app "Jellyfin for Tizen" "0.1.0" playing "Das Monster". Stopped at "0" ms [2024-08-29 11:59:11.397 +00:00] [INF] Playback stopped reported by app "Jellyfin for Tizen" "0.1.0" playing "Das Monster". Stopped at "0" ms [2024-08-29 11:59:11.397 +00:00] [INF] User policy for "mario". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-08-29 11:59:13.632 +00:00] [INF] WS "192.168.179.197" request [2024-08-29 11:59:20.243 +00:00] [INF] User policy for "mario". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-08-29 11:59:20.578 +00:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -init_hw_device drm=dr:/dev/dri/renderD128 -init_hw_device vaapi=va@dr -init_hw_device vulkan=vk@dr -filter_hw_device vk -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:\"/mnt/media/media/shows/Sailor Moon (1992) [tvdbid-78500]/Sailor Moon (1992) - S02E01 - 047 - Moon Returns The Mysterious Aliens Appear [Bluray-1080p][8bit][x264][AC3 2.0][DE+JA]-Pudding-sama.mkv\" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -rc_mode VBR -b:v 11947744 -maxrate 11947744 -bufsize 23895488 -profile:v:0 high -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12\" -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"/mnt/media/media/jellyfin-transcode/5a53630d883d449b81d1faeab9c7d5c8%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/mnt/media/media/jellyfin-transcode/5a53630d883d449b81d1faeab9c7d5c8.m3u8\""