jellyfin / jellyfin-roku

The Official Roku Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
438 stars 133 forks source link

Crashes immediately when clicking on certain videos. #649

Closed SmoochySix4 closed 8 months ago

SmoochySix4 commented 2 years ago

Describe the bug

On some mp4 movies, not all, when selecting a video, it shows the area to click "Play" but crashes the Roku app. It does not do this on all videos, and if I use the Jellyfin ffmpeg executable to remux the video, it works fine.

Example remux command: ffmpeg -i video.mp4 -c:v copy -c:a copy -movflags +faststart -f mp4 vidout.mp4

To Reproduce

  1. Go to 'Jellyfin'
  2. Click on 'video'
  3. Crash

Expected behavior Clicking on the video should allow you to click play without crashing the app.

Logs [2022-06-10 21:29:13.430 -04:00] [INF] [1] Main: Jellyfin version: "10.8.0" [2022-06-10 21:29:13.445 -04:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"] [2022-06-10 21:29:13.447 -04:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"] [2022-06-10 21:29:13.448 -04:00] [INF] [1] Main: Operating system: "Windows" [2022-06-10 21:29:13.448 -04:00] [INF] [1] Main: Architecture: X64 [2022-06-10 21:29:13.449 -04:00] [INF] [1] Main: 64-Bit Process: True [2022-06-10 21:29:13.450 -04:00] [INF] [1] Main: User Interactive: True [2022-06-10 21:29:13.450 -04:00] [INF] [1] Main: Processor count: 16 [2022-06-10 21:29:13.451 -04:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server" [2022-06-10 21:29:13.451 -04:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web" [2022-06-10 21:29:13.451 -04:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\" [2022-06-10 21:29:13.733 -04:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache" [2022-06-10 21:29:13.888 -04:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies [2022-06-10 21:29:14.964 -04:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]" [2022-06-10 21:29:14.965 -04:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]" [2022-06-10 21:29:14.966 -04:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]" [2022-06-10 21:29:14.973 -04:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: "[]" [2022-06-10 21:29:14.974 -04:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: "[]" [2022-06-10 21:29:17.020 -04:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.8.0.0" [2022-06-10 21:29:17.022 -04:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.8.0.0" [2022-06-10 21:29:17.022 -04:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.8.0.0" [2022-06-10 21:29:17.023 -04:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.8.0.0" [2022-06-10 21:29:17.024 -04:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.8.0.0" [2022-06-10 21:29:17.112 -04:00] [INF] [1] Main: Kestrel listening on "Any IP4 Address" [2022-06-10 21:29:17.500 -04:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks [2022-06-10 21:29:17.530 -04:00] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Extract Chapter Images" set to fire at 2022-06-11 02:00:00.000 -04:00, which is 04:30:42.4699220 from now. [2022-06-10 21:29:17.652 -04:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version "5.0.1" [2022-06-10 21:29:17.686 -04:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "decoders": ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "flac", "mp3"] [2022-06-10 21:29:17.715 -04:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "encoders": ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "flac", "libmp3lame", "libopus", "libvorbis", "srt"] [2022-06-10 21:29:17.741 -04:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "hwupload_cuda", "hwupload_vaapi", "overlay_opencl", "overlay_qsv", "overlay_cuda", "scale_cuda", "scale_opencl", "scale_qsv", "tonemap_cuda", "tonemap_opencl", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"] [2022-06-10 21:29:17.858 -04:00] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: "overlay_vaapi" with option "Action to take when encountering EOF from secondary input" is not available [2022-06-10 21:29:17.882 -04:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "dxva2", "qsv", "d3d11va", "opencl"] [2022-06-10 21:29:17.906 -04:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: "ffmpeg" [2022-06-10 21:29:17.910 -04:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: "e3820cdceda74efb8d28b4eb1859b489" [2022-06-10 21:29:18.080 -04:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.1644768 [2022-06-10 21:29:18.081 -04:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete [2022-06-10 21:29:18.208 -04:00] [INF] [13] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "F:\nsfw_bi" [2022-06-10 21:29:18.208 -04:00] [INF] [10] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "F:\nsfw_str8" [2022-06-10 21:29:18.208 -04:00] [INF] [12] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "F:\movies" [2022-06-10 21:29:18.208 -04:00] [INF] [9] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "F:\nsfw_gay" [2022-06-10 21:29:18.208 -04:00] [INF] [7] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "F:\television" [2022-06-10 21:29:18.249 -04:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.167273 [2022-06-10 21:29:18.250 -04:00] [INF] [1] Main: Startup complete 0:00:05.4756099 [2022-06-10 21:29:20.557 -04:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: "StartupTrigger" fired for task: "Update Plugins" [2022-06-10 21:29:20.558 -04:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "PluginUpdateTask" [2022-06-10 21:29:20.560 -04:00] [INF] [9] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Update Plugins" [2022-06-10 21:29:21.096 -04:00] [INF] [16] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 0 seconds [2022-06-10 21:29:21.103 -04:00] [INF] [16] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks [2022-06-10 21:29:29.257 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"AccessSchedule"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [2022-06-10 21:29:29.259 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ActivityLog"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [2022-06-10 21:29:29.259 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"CustomItemDisplayPreferences"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [2022-06-10 21:29:29.260 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"DisplayPreferences"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [2022-06-10 21:29:29.261 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"HomeSection"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [2022-06-10 21:29:29.262 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ImageInfo"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [2022-06-10 21:29:29.262 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ItemDisplayPreferences"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [2022-06-10 21:29:29.263 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"Permission"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [2022-06-10 21:29:29.264 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"Preference"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [2022-06-10 21:29:29.264 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ApiKey"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [2022-06-10 21:29:29.265 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"Device"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [2022-06-10 21:29:29.266 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"DeviceOptions"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider. [2022-06-10 21:29:29.266 -04:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"User"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.

Screenshots

Additional context

jimdogx commented 1 year ago

@SmoochySix4 is this still an issue? If so, can you follow these instructions to get the Roku logs and we can see if we can fix the crash:

https://github.com/jellyfin/jellyfin-roku/blob/unstable/DEVGUIDE.md#bugcrash-reports

SmoochySix4 commented 1 year ago

Sorry, I am unable to get in. I am using a Mac, and it doesn't have Telnet. When I try to use the nc command as a workaround, it says connection refused.

Tried by remoting into the Windows server and using the telnet client there, making sure port 8085 was forwarded to the roku device, but still getting connection refused.

cewert commented 1 year ago

@SmoochySix4 are you still experiencing this issue on the latest stable release, v1.6.6?

If so, can you please provide more information on the video file causing the crash? Container, video codec, audio codec, resolution etc.

Also, can you try disabling these user settings to see if that helps?