Jellyfin Forum
SOLVED: LG webos app crash - 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: SOLVED: LG webos app crash (/t-solved-lg-webos-app-crash)



LG webos app crash - cprn - 2024-07-02

While resuming a 120gb movie on an LG TV the jellyfin app crashes, Webos closes the app automatically due to using too much memory. Logs below from the time of the crash, DLNA is not in use.
This happens only on the lg tv, ran the same test on a samsung tv and it resumes fine.


[2024-07-03 00:40:20.757 +03:00] [INF] [55] Emby.Server.Implementations.Session.SessionManager: Creating new access token for user a012cb49-1d85-4123-916b-1d66e752d8d9
[2024-07-03 00:40:20.812 +03:00] [INF] [207] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.173" request
[2024-07-03 00:40:27.821 +03:00] [INF] [95] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "cprn". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-07-03 00:40:28.625 +03:00] [INF] [207] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -canvas_size 1920x1080 -i file:\"/data/movies/The Lord of the Rings The Fellowship of the Ring (2001) {imdb-tt0120737}/The Lord of the Rings The Fellowship of the Ring (2001) {imdb-tt0120737} {edition-Extended} [Remux-2160p][DV HDR10][TrueHD Atmos 7.1][HEVC]-FraMeSToR.mkv\" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 av1_qsv -preset veryfast -b:v 73634462 -maxrate 73634462 -bufsize 147268924 -g:v:0 72 -keyint_min:v:0 72 -filter_complex \"[0:27]scale=-1:1080:fast_bilinear,scale,crop,pad=max(1920\,iw):max(1080\,ih)Slightly-frowning-faceow-iw)/2Slightly-frowning-faceoh-ih)/2:black@0,crop=1920:1080,format=bgra,hwupload=derive_device=qsv:extra_hw_frames=64[sub];[0:0]setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,procamp_vaapi=b=16:c=1,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv,format=qsv[main];[main][sub]overlay_qsv=eof_action=pass:repeatlast=0:w=3840:h=2160\" -start_at_zero -codec:a:0 libfdk_aac -ac 6 -ab 640000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename \"50e20ea0c3256746113151411e672e90-1.mp4\" -start_number 0 -hls_segment_filename \"/cache/transcodes/50e20ea0c3256746113151411e672e90%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/cache/transcodes/50e20ea0c3256746113151411e672e90.m3u8\""
[2024-07-03 00:40:32.397 +03:00] [INF] [207] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for "/cache/transcodes/50e20ea0c3256746113151411e672e90.m3u8"
[2024-07-03 00:40:32.610 +03:00] [INF] [207] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
[2024-07-03 00:40:32.612 +03:00] [INF] [207] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -ss 02:04:36.000 -noaccurate_seek -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -canvas_size 1920x1080 -i file:\"/data/movies/The Lord of the Rings The Fellowship of the Ring (2001) {imdb-tt0120737}/The Lord of the Rings The Fellowship of the Ring (2001) {imdb-tt0120737} {edition-Extended} [Remux-2160p][DV HDR10][TrueHD Atmos 7.1][HEVC]-FraMeSToR.mkv\" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 av1_qsv -preset veryfast -b:v 73634462 -maxrate 73634462 -bufsize 147268924 -g:v:0 72 -keyint_min:v:0 72 -filter_complex \"[0:27]scale=-1:1080:fast_bilinear,scale,crop,pad=max(1920\,iw):max(1080\,ih)Slightly-frowning-faceow-iw)/2Slightly-frowning-faceoh-ih)/2:black@0,crop=1920:1080,format=bgra,hwupload=derive_device=qsv:extra_hw_frames=64[sub];[0:0]setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,procamp_vaapi=b=16:c=1,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv,format=qsv[main];[main][sub]overlay_qsv=eof_action=pass:repeatlast=0:w=3840:h=2160\" -start_at_zero -codec:a:0 libfdk_aac -ac 6 -ab 640000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename \"50e20ea0c3256746113151411e672e90-1.mp4\" -start_number 2492 -hls_segment_filename \"/cache/transcodes/50e20ea0c3256746113151411e672e90%d.mp4\" -hls_playlist_type vod -hls_list_size 0 -y \"/cache/transcodes/50e20ea0c3256746113151411e672e90.m3u8\""
[2024-07-03 00:42:08.876 +03:00] [INF] [135] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for "/cache/transcodes/50e20ea0c3256746113151411e672e90.m3u8"
[2024-07-03 00:42:09.075 +03:00] [INF] [135] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
[2024-07-03 00:42:09.075 +03:00] [INF] [135] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/cache/transcodes/50e20ea0c3256746113151411e672e90.m3u8"
[2024-07-03 00:42:09.441 +03:00] [ERR] [135] Emby.Server.Implementations.Session.SessionManager: Error reporting playback progress
MediaBrowser.Common.Extensions.ResourceNotFoundException: Session 5873a58e2f63b549eae669b4b1be334e not found.
  at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated)
  at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state)
[2024-07-03 00:42:10.440 +03:00] [ERR] [135] Emby.Server.Implementations.Session.SessionManager: Error reporting playback progress
MediaBrowser.Common.Extensions.ResourceNotFoundException: Session 5873a58e2f63b549eae669b4b1be334e not found.
  at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, Boolean isAutomated)
  at MediaBrowser.Controller.Session.SessionInfo.OnProgressTimerCallback(Object state)
[2024-07-03 00:42:10.798 +03:00] [INF] [207] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.173" closed
[2024-07-03 00:42:11.043 +03:00] [INF] [135] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin for WebOS" "1.2.2" playing "The Lord of the Rings: The Fellowship of the Ring". Stopped at "7476362" ms
[2024-07-03 00:42:11.843 +03:00] [INF] [96] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.173" request
[2024-07-03 00:42:34.554 +03:00] [INF] [207] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.173" closed
[2024-07-03 00:47:58.070 +03:00] [INF] [161] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.215" request
[2024-07-03 00:50:54.145 +03:00] [INF] [116] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.


RE: LG webos app crash - TheDreadPirate - 2024-07-03

In the WebOS app, go to Settings > Playback (not the one in Dashboard) and uncheck "prefer fmp4".


RE: LG webos app crash - cprn - 2024-07-03

Thank you this fixed the crash, the movie is now being transcoded with HEVC instead of AV1, I assume AV1 transcoding was the issue.
My server is running on an intel 14600T cpu and an intel arc 750 gpu.


RE: LG webos app crash - TheDreadPirate - 2024-07-03

The issue was the device probably couldn't play AV1 but was mis-reporting its capabilities or something like that. IDK.

Disabling fmp4 on the client would result in Jellyfin using the TS container, which does not support AV1.


RE: LG webos app crash - cprn - 2024-07-03

(2024-07-03, 09:01 PM)TheDreadPirate Wrote: The issue was the device probably couldn't play AV1 but was mis-reporting its capabilities or something like that.  IDK.

Disabling fmp4 on the client would result in Jellyfin using the TS container, which does not support AV1.

It is an LG C2 which I use as a desktop monitor, and it does support AV1 according to its specs https://www.lg.com/au/tvs/lg-oled42c2psa


RE: LG webos app crash - TheDreadPirate - 2024-07-03

Ah. Ok. Regardless, there are known fMP4 issues with WebOS anyway. I can't find the github issue regarding it, at the moment.