Jump to content

Apple TV 4k playback stutters


zandr
 Share

Recommended Posts

MRobi

Not exactly, but there is something up with ffmpeg now. I upgraded to 4.5.0.3 (foolishing ignoring the BETA flag) and conversions aren't working. Logs (attached) are complaining about

2020-03-31 16:00:56.281 Error FfmpegManager: ProcessRun 'ffmpeg -hide_banner -version' Error Output:
	Shared object "libdav1d.so.4" not found, required by "libavcodec.so.58"

even though running that command from a shell doesn't produce the same error. Conversions subequently fail with

	System.Exception: System.Exception: No video encoder found for 'hevc'

ffmpeg is still 4.2.1

 

I'm still poking at it, but if this is obvious to someone, let me know. :)

 

I see you're on FreeNAS 11.3 and just upgraded to the new version of the beta. Did you switch your packages in your jail from quarterly to latest, and did you check the latest dependency list to make sure you've got all of the dependencies? I believe there were 1 or 2 new ones added after 4.2. Both your packages versions and missing dependencies can cause playback issues.

 

If you're looking for a way to export and start over, first make sure you've got Emby Premier. Use the backup app and save a backup file offline somewhere. Blow up your jail and start over, then load your backup file and restore your settings. You'll have to scan your library back in but everything else will be already setup.

 

EDIT: Looking at your error, my first guess is you're missing dav1d

Edited by MRobi
Link to comment
Share on other sites

Thanks, all. With some fairly scorched-earth methods I've got a running jail with 4.5.0.3 and my old config/library. So I live in beta now. :)

I have Premier, so I'll get backups going, and be a little more attentive to snapshotting jails so I have the easy way back next time.

 

Back to the original problem... transcoding to 25Mb/s hevc mp4 now. I'll let you know what happens.

  • Like 1
Link to comment
Share on other sites

But again, part of the point of Emby and the like is that it should transcode for whatever player is trying to play. If that's not working right, then there's a server bug. No?

 

Yes we should ensure the app reports this to the server so that this will transcode if that's what's needed. @@corey

Link to comment
Share on other sites

  • 2 weeks later...

I finally got a chance to do some testing, and the results aren't great. I used the convert function with the max bitrate set to 25 Mb/s, passing through audio. The resulting video bitrate was only about 9Mb/s, but the video quality still looks OK. The stuttering remains, however. I've attached a server log.

 

I ran a similar transcode using Handbrake, which got much closer to the 25Mb/s target, and has the same issues.

 

As a reminder, I'm on 4.5.0.5.

 

I'm not sure this is limited to Apple TV... the client in my LG TV  also stutters, but I'm quite happy to chalk that up to smart TVs being generally crap.

embyserver.4505.txt

Link to comment
Share on other sites

I finally got a chance to do some testing, and the results aren't great. I used the convert function with the max bitrate set to 25 Mb/s, passing through audio. The resulting video bitrate was only about 9Mb/s, but the video quality still looks OK. The stuttering remains, however. I've attached a server log.

 

I ran a similar transcode using Handbrake, which got much closer to the 25Mb/s target, and has the same issues.

 

As a reminder, I'm on 4.5.0.5.

 

I'm not sure this is limited to Apple TV... the client in my LG TV  also stutters, but I'm quite happy to chalk that up to smart TVs being generally crap.

If you're seeing significant buffering this is usually a sign that the bitrate is too high. Please try lowering the in-app quality setting and see if that helps. Thanks.

Link to comment
Share on other sites

sfatula

9Mb/s too high? You sure it isn't transcoding for some reason?

Edited by sfatula
Link to comment
Share on other sites

It's direct playing now. The spec is 25Mb/s, but now 9 is "too high?". I'll drag the wire down the stairs again, just to rule it out, but I'm confident it's not the network.

 

Sorry if I seem frustrated here, but if the AppleTV app is this badly broken, I'll just wait for Infuse to support Emby and get on with my life.

Link to comment
Share on other sites

9Mb/s too high? You sure it isn't transcoding for some reason?

 

I would still try lowering it for the purposes of gathering information.

Link to comment
Share on other sites

AZRichG

I've seen certain scenes in a given TV show that cause the stuttering. A recent episode of Full Frontal had a complicated background that looked to be a forest and those consistently caused video stuttering but the audio would go on smoothly. Once someone else came on with a different background it would catch up and smooth out.

 

This is with everything wired, the iMac with Emby Server and the AppleTV through a router.

 

I did delete the recording, is it of use? This happens to me on Emby recordings (I rarely play anything else) on occasion with 4.4.2.0 and previous versions. Would there be a log that is of use when playing a video that does this? Happy to post if it helps! This is such an odd occurrence I didn't feel too worried about it. 

 

Or is what I'm describing something different than what's going on in this thread? 

Link to comment
Share on other sites

  • 2 weeks later...

I've seen certain scenes in a given TV show that cause the stuttering. A recent episode of Full Frontal had a complicated background that looked to be a forest and those consistently caused video stuttering but the audio would go on smoothly. Once someone else came on with a different background it would catch up and smooth out.

 

This is with everything wired, the iMac with Emby Server and the AppleTV through a router.

 

I did delete the recording, is it of use? This happens to me on Emby recordings (I rarely play anything else) on occasion with 4.4.2.0 and previous versions. Would there be a log that is of use when playing a video that does this? Happy to post if it helps! This is such an odd occurrence I didn't feel too worried about it. 

 

Or is what I'm describing something different than what's going on in this thread? 

 

We are working on improving this. Thanks for the feedback.

  • Like 1
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...