Is anybody working at Plex going to fix the Nvidia shield startup freezing but audio plays and then catches up fix

If I look deeper at the test video you gave me.

[chuck@lizum mmg.2011]$ ffmpeg -i *Suicide*
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'The Suicide Squad (2021).mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.67.100
  Duration: 02:12:06.66, start: 0.000000, bitrate: 2639 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1008 [SAR 1:1 DAR 40:21], 2250 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
At least one output file must be specified
[chuck@lizum mmg.2012]$ 

The encoding is wrong. [SAR 1:1 DAR 40:21]

40:21 yields an aspect ratio of 1.904
16:9, which is what it should be, yields 1.77778

The cropping was set incorrectly when encoded.

example:

 Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 

Still, it plays here

You might want to be more careful of preserving DAR (Display Aspect Ratio) in the future.

are you saying we all have networking problems? or just that specific person?
as i can categorically state that i have no networking problems.

my files (including the sample i provided) played perfectly fine until recently when an android tv client update screwed it up. my files also play with out issue on other non-android devices.

1 Like

The original aspect ratio of Suicide Squad is 1.9:1 (when cropped)… Not sure why you said that’s incorrect.

This is NOT a network issue. It’s an audio/video sync issue that was introduced in an update. I have a handful of videos that play no problem, but most have this issue. If I back out a few times, it sometimes pays normally, but the next time it might freeze again.

This was not a problem in previous versions.

It sounds like I need to go buy a disk and figure out why this video has a sync problem.

so did your file bracket or eliminate anything?

It seems a “sample” is insufficient to reproduce the problem?

I very much would appreciate knowing what I’m looking for.

In this thread:

  1. Playback start
  2. Playback stutters
  3. Video freezing
  4. “staring at Picard for the first 9 seconds and listen to audio”
  5. Audio/Video Sync after making several back & forth — random occurrences.

Did I leave anything out?

Eliminating –

  1. If everyone can play my files, please give me one which is 100% reproducible so I can get into it.

  2. Playback stuttering - I will need:
    a. Server logs of the playback (DEBUG - not VERBOSE)
    b. Player logs captured for that playback
    c. XML as seen by Plex
    d. Sample of a file which recreates it

  3. Video freezing - Same as #2 above

  4. I have have the Picard one – Can’t reproduce that

  5. I’ll get on this if that’s the most important?

I am here to help resolve. Give me some direction please. What’s most important ?

the file i provided previously satisfies this request.
start playback
video is frozen for a period of a few seconds whilst audio plays without issue. this happens 100% of the time with the file i provided.

this file played fine with zero issues previously, but issue only started with a recent androidtv client update. same file plays with no issues on apple client devices.

@herman_munster

Which device ? Tube or Shield? If Shield, which model? Shield Experience software version?

Which PMS app version ?

I’ll replicicate as much as i can if I have the versions.

i have 2 shields 1 tube and 1 pro.
issue occurs on both.
both running the current public release of shield experience - 8.2.3

PMS server is 1.24.3.5033
PMS client is 8.23.1 (but issue was in 8.23.0 also)

I’m going to ask you to go up to PMS 1.24.4.5081.

5033 had “issues” . it just acted weird for no reason.

I have an alpha build here of the Shield app 8.25.0.28336

This version corrects a problem with FPS. Frame Rates such as 29.97 were being read as 29.0. That threw off timing.

The way to test this is turn off Refresh Rate Switching and see if audio still drifts on Seeking. If so, then we’ve just narrowed that down to Video timing.

is that a public release?
i can’t see that version being pushed to me via the plex dashboard

Screenshot 2021-10-05 090020

if it’s not a public release then i’m afraid i can’t go down the route of installing a beta version of the server.

i’ve never had an issue with audio drift on seeking though, an di have refresh rate switching enabled on both devices.

the issue being reported is not audio drift, but that the video is frozen for a few seconds at the start of playback. audio playback is not the issue.

@her

  1. Sorry. Plex Pass release at this time. It will be public soon

  2. OK, I stand corrected. This is a hard freeze: Video freezes while Audio is free running the whole time?

yes, but not the whole time.
the video is frozen for a few seconds on playback start, but audio is playing as normal.

How many times do I need to play it before it will get caught?

Just did 6 times

Personal note: Turning Refresh Rate Switching off is a lot smoother IMHO because the shield firmware is doing the pull-up/pull-down needed.

it happens 100% of the time for me.

refresh rate switching is required otherwise 24p content doesn’t play smoothly, as the shield has no native refresh rate matching.

i’ve captured a video of it happening. i’ll upload the video once it has synced to the cloud.

here is the video showing the issue., played in the tube shield.
this is playing the same file i uploaded earlier in the thread.

1 Like

@ChuckPa @herman_munster

I grabbed the Seinfeld example, and mine does the exact same thing.

Running 2019 Shield Pro, with 8.24.0.28335 and 1.24.4.5081.

Here’s a video of me watching the video:

IMG_1728.MOV.zip (14.8 MB)

Watch it on my iPad, iPhone or MacBook, all work fine.

Test-4 and Test-5 started with no issues.

1 Like

In your video showing the problem, the image starts out frozen on frame 120, the second I-frame in the video file. That should be at 5 seconds in. Video playback resumes when it passes that point.

That’s interesting.

1 Like

indeed, and this is not the only file where it is happening.
that file was just 1 example of many.

Would just like to throw in there that this issue seems to appear most often when REMOTE streaming to an Android device (in our case Nvidia Shield Pro 2019’s).