invader 16 Posted November 30, 2019 Share Posted November 30, 2019 (edited) 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. 20sec.zip Stuttering example.zip Edited November 30, 2019 by invader Link to comment Share on other sites More sharing options...
Luke 37098 Posted November 30, 2019 Share Posted November 30, 2019 Hi, what version of iOS? Link to comment Share on other sites More sharing options...
invader 16 Posted November 30, 2019 Author Share Posted November 30, 2019 iOS 13.2.3. Link to comment Share on other sites More sharing options...
Luke 37098 Posted December 2, 2019 Share Posted December 2, 2019 Ok, we'll take a look at this. Thanks. Link to comment Share on other sites More sharing options...
Luke 37098 Posted December 11, 2019 Share Posted December 11, 2019 Can you please try again with the latest app update? Thanks. Link to comment Share on other sites More sharing options...
sslovan 1 Posted December 11, 2019 Share Posted December 11, 2019 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 Link to comment Share on other sites More sharing options...
sslovan 1 Posted December 12, 2019 Share Posted December 12, 2019 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. Link to comment Share on other sites More sharing options...
invader 16 Posted December 15, 2019 Author Share Posted December 15, 2019 Tested with the iOS app update 1.8.9. Playback still stutters with h265 when direct playing. Link to comment Share on other sites More sharing options...
Luke 37098 Posted December 16, 2019 Share Posted December 16, 2019 Thanks for the info. We'll take another look at it. Link to comment Share on other sites More sharing options...
Luke 37098 Posted December 21, 2019 Share Posted December 21, 2019 @@invader, if you'd like to try the beta app, please PM me your itunes email. Thanks ! Link to comment Share on other sites More sharing options...
invader 16 Posted December 22, 2019 Author Share Posted December 22, 2019 Ok thanks Luke. I’ll give it a go. Sent you a PM. Link to comment Share on other sites More sharing options...
invader 16 Posted December 23, 2019 Author Share Posted December 23, 2019 iOS beta version 1.9.0 (4) has the same stuttering issue. Link to comment Share on other sites More sharing options...
sslovan 1 Posted December 23, 2019 Share Posted December 23, 2019 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! Link to comment Share on other sites More sharing options...
invader 16 Posted December 23, 2019 Author Share Posted December 23, 2019 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. Link to comment Share on other sites More sharing options...
sslovan 1 Posted December 24, 2019 Share Posted December 24, 2019 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... Link to comment Share on other sites More sharing options...
sslovan 1 Posted December 25, 2019 Share Posted December 25, 2019 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. Link to comment Share on other sites More sharing options...
Luke 37098 Posted February 25, 2020 Share Posted February 25, 2020 Are you still running into this? Link to comment Share on other sites More sharing options...
sslovan 1 Posted February 26, 2020 Share Posted February 26, 2020 (edited) 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 February 26, 2020 by sslovan Link to comment Share on other sites More sharing options...
Luke 37098 Posted February 26, 2020 Share Posted February 26, 2020 Thanks for the feedback. Link to comment Share on other sites More sharing options...
invader 16 Posted February 26, 2020 Author Share Posted February 26, 2020 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 Link to comment Share on other sites More sharing options...
Luke 37098 Posted February 26, 2020 Share Posted February 26, 2020 Ok thanks for the info. Link to comment Share on other sites More sharing options...
invader 16 Posted February 26, 2020 Author Share Posted February 26, 2020 Ok that fixed it. Both .mkv and .mp4 no longer stuttering. Either the new ffmpeg or the audio sample rate setting I’m using now fixed it. Link to comment Share on other sites More sharing options...
Luke 37098 Posted February 26, 2020 Share Posted February 26, 2020 That's interesting, thanks ! Link to comment Share on other sites More sharing options...
invader 16 Posted March 28, 2020 Author Share Posted March 28, 2020 Sorry Luke! This issue isn't fixed. I have no idea what's causing it. Something to do with file buffering because the exact same source file but a 30 second sample plays fine. It's just the full episode will stutter. Emby for iOS 1.9.4 now. Windows server 4.4.0.40. Attached is the full episode that stutters. ffmpeg settings: ffmpeg -hide_banner -i original.mkv -map 0:v:0 -map 0:a -map 0:s:m:language:eng? -metadata:s:2 title=English -vcodec libx265 -acodec aac -scodec mov_text -ar 48000 -ac 2 -filter:a "dynaudnorm=compress=25:peak=0.75" "output.mp4" The exact same settings but for a 30 second clip, plays fine: ffmpeg -hide_banner -i "original.mkv" -map 0:v:0 -map 0:a -map 0:s:m:language:eng? -metadata:s:2 title=English -vcodec libx265 -acodec aac -scodec mov_text -ar 48000 -ac 2 -filter:a "dynaudnorm=compress=25:peak=0.75" -t 30 "output.mp4" File.zip File-30sec.zip Link to comment Share on other sites More sharing options...
Luke 37098 Posted March 28, 2020 Share Posted March 28, 2020 Thanks, we'l take another look at it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now