Jump to content


Photo

Apple TV 4k playback stutters


  • Please log in to reply
34 replies to this topic

#21 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156872 posts
  • Local time: 08:31 AM

Posted 31 March 2020 - 06:12 PM

 

 

Nobody reads anymore.

Actually we do. We're happy to help.



#22 zandr OFFLINE  

zandr

    Member

  • Members
  • 23 posts
  • Local time: 05:31 AM

Posted 31 March 2020 - 07:19 PM

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. :)
 



#23 zandr OFFLINE  

zandr

    Member

  • Members
  • 23 posts
  • Local time: 05:31 AM

Posted 31 March 2020 - 08:25 PM

Closer to this thread, actually: https://emby.media/c...-does-not-boot/

That's the error I'm getting from

/usr/local/lib/emby-server/bin/ffmpeg -hide_banner -version

I don't see the SO error that is in the emby log, though this could be two ways to phrase the same thing. libdav1d.so.3 is present, but not .4.



#24 zandr OFFLINE  

zandr

    Member

  • Members
  • 23 posts
  • Local time: 05:31 AM

Posted 31 March 2020 - 08:39 PM

Actually we do. We're happy to help.

Thanks, Luke. I was just noting that I'd called out all the versions in my first post.
So, given that I've made a hash of these jails with broken ffmpegs. Is there a clean way to export my config and restore it to a fresh install? It wouldn't be the end of the world to completely start over, but it would save some time if I didn't have to.



#25 sfatula OFFLINE  

sfatula

    Advanced Member

  • Members
  • 741 posts
  • Local time: 07:31 AM
  • LocationCalera, OK

Posted 31 March 2020 - 09:09 PM

https://support.emby...01159936-backup

 

It could be that it will be a little more difficult to go from Beta back to the live version if you actually did the update. I believe Luke has said sometimes the database changes and it's 1 way. But he would probably know in this case.


Edited by sfatula, 31 March 2020 - 09:14 PM.


#26 MRobi OFFLINE  

MRobi

    Advanced Member

  • Members
  • 368 posts
  • Local time: 09:31 AM

Posted 31 March 2020 - 09:22 PM

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, 31 March 2020 - 09:23 PM.


#27 zandr OFFLINE  

zandr

    Member

  • Members
  • 23 posts
  • Local time: 05:31 AM

Posted 31 March 2020 - 09:25 PM

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.


  • sfatula likes this

#28 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156872 posts
  • Local time: 08:31 AM

Posted 02 April 2020 - 01:34 AM

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



#29 zandr OFFLINE  

zandr

    Member

  • Members
  • 23 posts
  • Local time: 05:31 AM

Posted 12 April 2020 - 03:41 PM

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.

Attached Files



#30 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156872 posts
  • Local time: 08:31 AM

Posted 12 April 2020 - 04:30 PM

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.



#31 sfatula OFFLINE  

sfatula

    Advanced Member

  • Members
  • 741 posts
  • Local time: 07:31 AM
  • LocationCalera, OK

Posted 13 April 2020 - 02:08 PM

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


Edited by sfatula, 13 April 2020 - 02:09 PM.


#32 zandr OFFLINE  

zandr

    Member

  • Members
  • 23 posts
  • Local time: 05:31 AM

Posted 14 April 2020 - 10:53 AM

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.



#33 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156872 posts
  • Local time: 08:31 AM

Posted 14 April 2020 - 11:24 AM

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.



#34 AZRichG OFFLINE  

AZRichG

    Advanced Member

  • Members
  • 96 posts
  • Local time: 05:31 AM

Posted 14 April 2020 - 06:00 PM

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? 



#35 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156872 posts
  • Local time: 08:31 AM

Posted 26 April 2020 - 10:23 PM

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.


  • AZRichG likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users