Jump to content


Photo

Playback issue iOS Emby app HEVC file stutters when direct playing


  • Please log in to reply
27 replies to this topic

#1 invader OFFLINE  

invader

    Advanced Member

  • Members
  • 49 posts
  • Local time: 06:12 PM

Posted 30 November 2019 - 02:44 AM

This one seems really strange to me. Seeing as it's a fairly vanilla (so I think) h265 AAC file, I would expect it to direct play without any issues. It does in fact direct play, however it stutters. It's bizarre because:

 

  • File direct plays on Raspberry Pi Emby Theatre, Samsung TV app and iPhone iOS app
  • File plays fine on Raspberry Pi Emby Theatre and Samsung TV app
  • File stutters on iPhone iOS app
  • When you pause the file, wait a few seconds then play, it appears to have built up a buffer, then can play it OK for a few seconds. This sounds like network transfer speed issue.
  • The file in question is 535 kbps. I tested a 2.4mbps file and it plays fine, so the network speed isn't the issue.
  • When I download the file to the phone, it plays fine! The original file, not converted. So this proves the phone is able to decode the video fine.
  • For reference this is how I made the file: 
    ffmpeg -i "File.mkv" -vcodec libx265 -acodec aac -filter:a dynaudnorm  "New file.mp4"
  • After inspecting the log file, when I play the stuttering file, it's filling the log file with heaps of repeated data. I think it's logging so much it's slowing the server down.
  • File plays OK in VLC and Plex.

  • Attached is a 20 sec version of the same file. (20sec.zip) The 20 second version plays fine, it's only the full episodes that start the stuttering.

  • Happy to PM a server log. I just can't figure out how to easily sanitise it enough. 

  • Stuttering example.zip is a video of my phone playing the full file to show what the stuttering is.

Attached Files


Edited by invader, 30 November 2019 - 03:40 AM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 03:12 AM

Posted 30 November 2019 - 05:14 PM

Hi, what version of iOS?



#3 invader OFFLINE  

invader

    Advanced Member

  • Members
  • 49 posts
  • Local time: 06:12 PM

Posted 30 November 2019 - 05:35 PM

iOS 13.2.3.

#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 03:12 AM

Posted 02 December 2019 - 02:24 PM

Ok, we'll take a look at this. Thanks.



#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 03:12 AM

Posted 11 December 2019 - 12:17 AM

Can you please try again with the latest app update? Thanks.



#6 sslovan OFFLINE  

sslovan

    Member

  • Members
  • 13 posts
  • Local time: 08:12 AM

Posted 11 December 2019 - 10:03 AM

After this update under iPadOS 13.3 (iPad Pro) stuttering every 3-4 seconds with ANY video file (home WLAN). Smooth playback however on iPhone 7 iOS 13.3



#7 sslovan OFFLINE  

sslovan

    Member

  • Members
  • 13 posts
  • Local time: 08:12 AM

Posted 11 December 2019 - 11:11 PM

When I play the same videos on the same iPad Pro on Emby WebApp (Safari), playback is smooth, too.
But on the latest iOS app 1.8.9, playback is stuttering so much that one can‘t watch (but not on iPhone, only on iPad). 
Playback is on my home WLAN, direct, no transcoding.



#8 invader OFFLINE  

invader

    Advanced Member

  • Members
  • 49 posts
  • Local time: 06:12 PM

Posted 15 December 2019 - 05:49 PM

Tested with the iOS app update 1.8.9. Playback still stutters with h265 when direct playing.



#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 03:12 AM

Posted 16 December 2019 - 05:46 PM

Thanks for the info. We'll take another look at it.



#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 03:12 AM

Posted 21 December 2019 - 03:10 PM

@invader, if you'd like to try the beta app, please PM me your itunes email. Thanks !



#11 invader OFFLINE  

invader

    Advanced Member

  • Members
  • 49 posts
  • Local time: 06:12 PM

Posted 21 December 2019 - 09:56 PM

Ok thanks Luke. I’ll give it a go. Sent you a PM.

#12 invader OFFLINE  

invader

    Advanced Member

  • Members
  • 49 posts
  • Local time: 06:12 PM

Posted 23 December 2019 - 05:45 PM

iOS beta version 1.9.0 (4) has the same stuttering issue.

#13 sslovan OFFLINE  

sslovan

    Member

  • Members
  • 13 posts
  • Local time: 08:12 AM

Posted 23 December 2019 - 06:39 PM

Today, I installed the latest update 3.12.2 of the nplayer Plus app on my iPad Pro.

It adresses a.o. „Stuttering issue when playing video on some iPad models“.

 

Much to my surprise, this did not only fix stuttering issues on the nplayer, but also the annoying stuttering of the latest Emby iOS for iPad app. All playback is smooth again...

 

Let‘s hope that this will last...

Merry christmas!



#14 invader OFFLINE  

invader

    Advanced Member

  • Members
  • 49 posts
  • Local time: 06:12 PM

Posted 23 December 2019 - 06:52 PM

Merry Christmas to you too :)

 

That's strange, nplayer Plus app shouldn't affect how Emby decodes videos so I'm confused on why that would fix the issue.



#15 sslovan OFFLINE  

sslovan

    Member

  • Members
  • 13 posts
  • Local time: 08:12 AM

Posted 24 December 2019 - 01:52 AM

I have no idea why and how nplayer improved general video playback on my iPad Pro. I hardly use nplayer at all. But after updating to iOS 13.3, playback had become a real concern. Stuttering and jump frames not only with HEVC, but all video files. I just notice that after this latest nplayer update, this does not occur anymore, especially not on Emby (keep my fingers crossed). 
I am not sure as well whether this is a specific issue concerning only my device...



#16 sslovan OFFLINE  

sslovan

    Member

  • Members
  • 13 posts
  • Local time: 08:12 AM

Posted 25 December 2019 - 04:48 AM

I am rather convinced that the stutter problem is a bug in iOS or/and my specific iPad Pro model.

 

i just tried to play the files from my Emby server on another, much older iPad, Emby for iOS 1.8.9, but iOS 12.4.4 - no stuttering whatsoever, all plays smoothly, no jump frames at all.



#17 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 03:12 AM

Posted 25 February 2020 - 07:31 PM

Are you still running into this?



#18 sslovan OFFLINE  

sslovan

    Member

  • Members
  • 13 posts
  • Local time: 08:12 AM

Posted 26 February 2020 - 05:37 AM

 
 

No, not at all. But I have to say that I got a new iPad in the meantime...

On the previous iPad Pro, I could not get rid of the video stuttering, it would return after a while (also in other apps). Reset of the iPad did not help. I wonder whether it was a problem with the graphic chip on this iPad. (I mentioned that my partner's much older iPad would work flawlessly).

So on the new device, I have Emby smoothly running, with all encodings (like on the rest of my other devices). 

 

Thanks for your efforts.


Edited by sslovan, 26 February 2020 - 05:40 AM.


#19 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156731 posts
  • Local time: 03:12 AM

Posted 26 February 2020 - 12:52 PM

Thanks for the feedback.

#20 invader OFFLINE  

invader

    Advanced Member

  • Members
  • 49 posts
  • Local time: 06:12 PM

Posted 26 February 2020 - 04:29 PM

Hi Luke. I still have the same stuttering issue with that same file. I'm encoding with a newer version of ffmpeg, I'll see if that makes a difference. I also just did a test and it seemed to play fine when it was an .mkv. Previously I was using .mp4. Will report back.

 

Apart from container my encode settings are:

 

-vcodec libx265 -acodec aac -ar 48000





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users