Jump to content

Play back issues on some 4K movies


Recommended Posts

BladeRunner_99
Posted

Hi all, hope you are all doing well.

Wonder if someone can help me please. I'm having playback issues on some 4K movies. Not all. I've tried to see if there is a connection in the ones that are good and the ones that are bad. IE. Encoding method, bit rate, file size, container type etc. But can't seem to find a common denominator. 

When I playback some of them, they seem to pause every few seconds, like it's buffering. I've got Emby server running on a HP Windows 10 PC, and playing via the Emby app installed on a LG Smart TV (49UH650V-ZB). Both TV and PC are plugged direct into the router, so no WiFi issues. I tried lowering the display settings to 1080p and a lower stream rate, still the same. If I play the same movie from another PC (over WiFi), using the browser, there is no issues.

Also, if I play the movie on the TV through, what I assume is a DLNA connection, again, no issues. 

I've attached log files, one for the good playback and one for the bad playback. 

Could someone point me in the right direction please? Any help would be much appreciated.  

Thanks.

ffmpeg-transcode-good.txt ffmpeg-transcode-bad.txt

Posted

Hello BladeRunner_99,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Neminem
Posted (edited)

It look like both examples are transcoded, do to scale size 4k -> 1080p

In both cases you server is transcoding in software

Warning: Hardware acceleration is not available as it requires a valid Premiere Subscription
Info    Checking: 'Automatic software decoder'
Info    Check successful - selecting 'Automatic software decoder'

>>>>>>  Processing Plan
        Name                                        CanDoInHW  WillDoInHW  Reason                                                 
        Automatic software decoder               >> False      False       Software Codec                                          
        VideoInput                               >> False      False       Not a hardware decoder                                  
        Scaling                                  >> False      False                                                               
        VideoOutput                              >> False      False       Not a hardware encoder                                  
        x264                                     >> False      False       Software Codec                                          

>>>>>>  Video Processing Steps for [0:0]: H.265 (HEVC)
        Step                    HW-Context   Format       SW-Format           Size   Next
        HEVC                 >> -            yuv420p      yuv420p        3600x2160 >> scale
        scale                >> -            yuv420p      yuv420p        1920x1152 >> 

 

The good example your CPU can just only keep up, speed should be over 1x to get a steady stream.

08:43:36.976 elapsed=00:00:00.10 frame=    1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A throttle=off speed=   0x    
08:43:37.354 elapsed=00:00:00.60 frame=   17 fps=0.0 q=0.0 size=N/A time=00:00:00.57 bitrate=N/A throttle=off speed=0.956x    
08:43:37.860 elapsed=00:00:01.10 frame=   35 fps= 32 q=28.0 size=N/A time=00:00:01.24 bitrate=N/A throttle=off speed=1.13x    
08:43:38.365 elapsed=00:00:01.61 frame=   51 fps= 31 q=28.0 size=N/A time=00:00:01.92 bitrate=N/A throttle=off speed=1.19x    
08:43:38.853 elapsed=00:00:02.12 frame=   62 fps= 29 q=28.0 size=N/A time=00:00:02.43 bitrate=N/A throttle=off speed=1.15x    
08:43:39.376 elapsed=00:00:02.62 frame=   75 fps= 29 q=28.0 size=N/A time=00:00:03.00 bitrate=N/A throttle=off speed=1.14x    
08:43:40.045 elapsed=00:00:03.17 frame=   88 fps= 28 q=25.0 size=N/A time=00:00:03.58 bitrate=N/A throttle=off speed=1.13x  

The Bad example your CPU can't keep up, again speed should be over 1x.

08:45:49.560 elapsed=00:00:00.08 frame=    1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A throttle=off speed=   0x    
08:45:49.937 elapsed=00:00:00.59 frame=   17 fps=0.0 q=0.0 size=N/A time=00:00:00.51 bitrate=N/A throttle=off speed=0.86x    
08:45:50.588 elapsed=00:00:01.25 frame=   30 fps= 24 q=28.0 size=N/A time=00:00:01.28 bitrate=N/A throttle=off speed=1.02x    
08:45:51.108 elapsed=00:00:01.76 frame=   38 fps= 22 q=28.0 size=N/A time=00:00:01.50 bitrate=N/A throttle=off speed=0.852x    
08:45:51.917 elapsed=00:00:02.57 frame=   48 fps= 19 q=28.0 size=N/A time=00:00:01.76 bitrate=N/A throttle=off speed=0.684x    
08:45:52.574 elapsed=00:00:03.21 frame=   55 fps= 17 q=28.0 size=N/A time=00:00:02.14 bitrate=N/A throttle=off speed=0.666x    
08:45:53.222 elapsed=00:00:03.87 frame=   63 fps= 16 q=28.0 size=N/A time=00:00:02.40 bitrate=N/A throttle=off speed=0.619x    
08:45:53.854 elapsed=00:00:04.51 frame=   71 fps= 16 q=28.0 size=N/A time=00:00:02.75 bitrate=N/A throttle=off speed=0.609x    
08:45:54.370 elapsed=00:00:05.03 frame=   78 fps= 15 q=28.0 size=N/A time=00:00:03.00 bitrate=N/A throttle=off speed=0.597x    
08:45:54.917 elapsed=00:00:05.59 frame=   85 fps= 15 q=28.0 size=N/A time=00:00:03.29 bitrate=N/A throttle=off speed=0.589x 

Looking at your iGPU in you CPU it looks like it might help you to get Premier sub or lifetime.

As it looks like it could decode H.265 files, but not Encode them.

>>>>>>  User policy for Andy
        Enable Playback Remuxing: True
        Enable Video Playback Transcoding: True
        Enable Audio Playback Transcoding: True

>>>>>>  Hardware Decoders for hevc
        [X] QuickSync Intel HD Graphics 510 - H.265 (HEVC)
        [X] DX11VA Intel HD Graphics 510 - H.265 (HEVC)

>>>>>>  Hardware Encoders for h264
        [X] QuickSync Intel HD Graphics 510 - H.264 (AVC)

In short, you server hardware is too old for 4K media files.

 

Edited by Neminem
BladeRunner_99
Posted

Fair enough. It's not the most powerful PC. But I don't understand why the PC browser player would work fine?

Also, when playing via DLNA, am I right in thinking the TV is doing all the work, and the PC is just serving up the file?

Neminem
Posted (edited)

But I don't understand why the PC browser player would work fine?

I can't say both you examples are playback from your LG Smart TV (49UH650V-ZB).

DLNA is direct file transfer, I could be wrong.

Emby streams via http.

So I guess with your current HW I would use DLNA for 4K movies 🤷‍♂️

Edited by Neminem
Posted

The good example is a lower bitrate even though it's HDR, whereas the bad example is a higher bitrate SDR. Your good example is barely keeping up, it starts out just under 1x and is only at 1.06x whereas the other example is closer to 0.6x, there's likely a performance implication to converting HEVC 10 bit HDR vs HEVC 8 bit SDR to H264 SDR to explain the difference in speed. However in both cases the reason for transcode is the same, which makes sense looking at the details but does seem odd. Basically the videos aren't full 4k resolution so I guess the TV app player doesn't want to direct play them due to this. They should be 3840x2160 to be full 4k resolution.

Quote

TranscodeReasons=VideoResolutionNotSupported

08:43:36.708   Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2076 [SAR 1:1 DAR 320:173], Level 153, 23.98 fps, 23.98 tbr, 1k tbn (default)
08:45:49.310   Stream #0:0(eng): Video: hevc (Main), yuv420p(tv, bt709), 3600x2160 [SAR 1:1 DAR 5:3], Level 150, 23.98 fps, 23.98 tbr, 1k tbn (default) (original)

 

  • Like 1
Posted
4 hours ago, BladeRunner_99 said:

Fair enough. It's not the most powerful PC. But I don't understand why the PC browser player would work fine?

 

Hi, every device will play it a different way, depending on what it supports. The browser might need the server transcoding that is happening here, or it might be happening in a different way. We'd have to look at an example. Thanks.

BladeRunner_99
Posted

Sorry. By "example" what would you need? Thanks.

Happy2Play
Posted

Looks like something is wrong in the scaling

Good log

>>>>>>  Video Processing Steps for [0:0]: H.265 (HEVC)
        Step                    HW-Context   Format       SW-Format           Size   Next
        HEVC                 >> -            yuv420p10    yuv420p10      3840x2076 >> scale
        scale                >> -            yuv420p10    yuv420p10      1920x1038 >> format
        format               >> -            yuv420p      yuv420p        1920x1038 >> 

Bad log

>>>>>>  Video Processing Steps for [0:0]: H.265 (HEVC)
        Step                    HW-Context   Format       SW-Format           Size   Next
        HEVC                 >> -            yuv420p      yuv420p        3600x2160 >> scale
        scale                >> -            yuv420p      yuv420p        1920x1152 >> 

Is this scaling correct?

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...