LG WebOS clients suddenly transcode (burn SRT), causing stuttering not seen before

Just commenting to say I also disabled my Nginx reverse proxy (custom url access in plex’s network settings, open port 34200) and it no longer transcodes. Please keep us updated on a fix/progress of being able to reverse proxy plex.

I’ve been getting VERY long(1-5 minutes) loading screens for the past few months. Plex Media Server logs give very similar data. It looks like it’s trying to Direct play, and fails for some reason(can’t quite pinpoint it). I also don’t use a reverse proxy.
However, even with files it tries to transcode directly, I wouldn’t have to wait for multiple minutes before playback starts. A few months ago at least.
Any word from Plex?

is this issue still persist?

1 Like

Hi, I have LG C1 65" with WebOS 3 and have problem, that only on this client for some SD TV shows native Plex Player refuses to play DirectPlay even, it is enabled everywhere. I feel by now, I have tried everything possible and impossible. Logs say, that DirectPlay starts, but then stops due to Format error and then continues to transcoding, which is not even HW (i dont want to transcode SD content, i want to use DirectPlay, lets not dive here, hw transcoding works well btw) and after timeout, playback fails completely. This started to happen out of nowhere, one week ago DirectPlay worked perfectly well. Could somebody point me to the right direction please? I am clueless at the moment as I spent every option to fix this. Here is log as verbose as possible for given time period: plex - Pastebin.com
Thanks in advance

@tommy87

You should have WebOS 6 on that TV.
Current firmware version is 3.20.25 on my 2021 LG C1 48".

It is my experience the built-in player, which Plex has to use, is terrible.
I will routinely be streaming a movie and the playback shrinks to a tiny image in the upper left corner with image broken.

The only remedy is to restart the TV.

It’s been my, as well as others’ experience, Smart TVs are only smart the day we take them out of the box.

Its for this reason, I don’t use anything loaded into the TV.

I let the TV be what it is – a Television.
I connect my Shield Pro 2019 .
I run Plex on the Shield.
NEVER any problems.

Oh, yes, you re right, my bad, firmware is 3.something, latest publicly released version, and therefore WebOS will be 6. Will try to unplug TV for few minutes and will report back.

I kept it unplugged for entire hour, but nothing changed.

Check your subtitle settings in the app now. They should be “Automatic”.

Correct?

SRT subs will pass, Anything else will burn

Its set to Automatic, but this problematic TV show (Dr House) is without subtitles anyway, its dubbed in my language.
Apart from unpluging TV for hour, I have tried yesterday to reset app, which didnt help and completely reinstall it with same result.
What I dont understand, why the PP on it own decide to not accept Direct Play, despite having it enabled. I work with tons of logs daily in my job, so I can say I am able to read them quite well, but there is not stated reason of such a decision, even on finest logging.

With DEBUG logging enabled (VERBOSE disabled), PMS will tell you why it makes the decision it does.

May I see your DEBUG logs which capture a playback attempt?

Of course, here is part of log with play attempt. Verbose disabled on PMS and PP, both have logging level on DEBUG, tho there are some VERBOSE entries visible anyway.
https://pastebin.com/VnNZb7Rq

@tommy87

You have created a private pastebin.

Please upload the ZIP here.

When I have it, I will remove the ZIP from the forum for you

Thank you, stupid pastebin says it awaits for moderation for some reason. 3 pastebins got deleted immediately, after I created them. Anyway, sorry for inconvenience. Here is zip:
–LOG REMOVED–
Sensitive data are substituted, so its ok, even if you leave it here. Thanks for your time and effort!

Please try again.

This time, Please supply the entire zip.

Your snippet of what you thought is enough, is not.

This section is not normal Linux. Where is PMS running on?
(It looks like Nvidia Shield)

Jun 25, 2022 12:01:56.692 [29663] DEBUG - [Transcode/xl4u15x7cbeexse29jt8bvy4/JobRunner] Job running: FFMPEG_EXTERNAL_LIBS=‘/data/user/0/com.plexapp.mediaserver.smb/Plex\ Media\ Server/Codecs/1cca1da-4321-android-aarch64/’ X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxx “/data/app/~~u4-OTBpoYuI8U7aYXutmoA==/com.plexapp.mediaserver.smb-3LStwJb9X2eY83igzJYIHA==/lib/arm64/libPlexTranscoder.so” -codec:0 mpeg4 -analyzeduration 20000000 -probesize 20000000 -i ‘/storage/STORAGE/Public/Video/Seriály/Dr. House/3.seria/Dr.House 03x24.avi’ -filter_complex “[0:0]format=pix_fmts=yuv420p|nv12[0]” -map “[0]” -codec:0 h264_mediacodecndk -b:0 756k -mediacodec_output_size:0 528x352 -r:0 25 -force_key_frames:0 “expr:gte(t,n_forced*8)” -map “0:#0x01” -codec:1 copy -copypriorss:1 0 -segment_format mpegts -f ssegment -individual_header_trailer 0 -segment_time 8 -segment_start_number 0 -segment_copyts 1 -segment_time_delta 0.0625 -segment_list “http://127.0.0.1:32400/video/:/transcode/session/xl4u15x7cbeexse29jt8bvy4/a5c207ee-4eea-42ac-8155-0fd180a417c7/manifest?X-Plex-Http-Pipeline=infinite” -segment_list_type csv -segment_list_size 5 -segment_list_separate_stream_times 1 -segment_list_unfinished 1 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 “media-%05d.ts” -start_at_zero -copyts -vsync cfr -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/xl4u15x7cbeexse29jt8bvy4/a5c207ee-4eea-42ac-8155-0fd180a417c7/progress

Today, when I wanted to create new play attempt to get complete zip-log, my PMS wouldnt run and returned 502. Therefore I found out, that it was not running, because SD card in my Shield (you got it right) just died tonight. I have to buy new one and rebuild DB from backup, which will take a while. So when done, I will report back with fresh logs. Also I am curious if new instance of PMS will behave the same, or issue could be possibly somehow connected.

@ChuckPa so I am back. Used usb3 key instead as i read its better choice than sd card and rebuilt db. Tried to play that very same problematic episode of Dr House, but got same result as before. Playback attempt started on Jun 27, 2022 08:09:53. Sorry for flooded logs, not all metadata refreshed yet.

Will remove zip tomorrow, as i dont want to have exposed sensitive data for extended period of time.

MODERATOR EDIT: Logs removed for privacy.

Can you get me a piece of that file?

If you use dd, about 5 MB should do the job.

Yeah, sure. Here it is:
DrHouse_03x24_chunk.zip (5.0 MB)
Noticed same problem with another SD movie yesterday evening, so it wont be just by broken video file. Strange, that it plays on PMP on Shield itself, in browser web player and windows PMP too. Now I wish that I had more experience with android development to help you deeper with debuging

@tommy87

This is tough to see but that sample playes from my DS418j (aarch64/armv8)
to my Shield Pro 2019.

The file must be transcoded because of the XViD codec.

FYI: Fewer and fewer support XVID. It is dying. it’s time to let go of it

This isn’t plex. This is actually the underlying Nvidia Shield not supporting it.

The Plex app asks the Shield if it can DirectPlay.
It responds with NO.
PMS transcodes.

As confirmation. I recommend converting this to full H.264 instead of the current MPEG/XviD codec.

It’ll directplay after that.


In the end, this has nothing to do with SRT subtitles.
It has everything to do with the XVID (not H264) encoding.

2 Likes

@ChuckPa that makes perfect sense! I joined Shield ebeta last week because of problem with reconnecting my NAS after reboot, which didnt resolved it anyway, I just didnt connect clues, it could be cause of this. Thanks for your time and effort on my problem. Can you recommend any good converter to crawl my folders one by one and if find video coded with MPEG/XviD codec, convert it to H.264, maybe H.265 even?