Jump to content


Photo

Video ahead of audio when starting playback


  • Please log in to reply
18 replies to this topic

#1 r32nj OFFLINE  

r32nj

    Member

  • Members
  • 19 posts
  • Local time: 01:32 AM

Posted 25 January 2020 - 02:15 PM

I am using a Roku for playback and a ReadyNAS as a server.  Up until a few months ago everything worked fine.  Now almost every time I start a movie or TV show, the video starts perhaps 10 seconds into the file and the audio starts at zero.  So the audio lags the video.  I pause, then hit rewind once, then play and everything syncs up and stays that way for the whole show/movie.

 

Any idea how to fix this?



#2 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 50059 posts
  • Local time: 01:32 AM

Posted 25 January 2020 - 03:08 PM

Hi.  Is an ffmpeg log produced during playback?

 

How to Report a Problem



#3 r32nj OFFLINE  

r32nj

    Member

  • Members
  • 19 posts
  • Local time: 01:32 AM

Posted 25 January 2020 - 03:29 PM

Where do I find this log?

#4 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 50059 posts
  • Local time: 01:32 AM

Posted 25 January 2020 - 03:35 PM

Hi.  Instructions are in the topic I linked above.

 

Thanks.



#5 r32nj OFFLINE  

r32nj

    Member

  • Members
  • 19 posts
  • Local time: 01:32 AM

Posted 25 January 2020 - 03:56 PM

Log file is attached.  I just started playback of a TV Episode (Miami Vice) and had the same audio problem that has become common for me.  The video started and the audio was out of sync so I paused, waited a few seconds and un-paused and the audio was still behind.  Then I pressed rewind once, then play and the audio was then in sync again.

 

 

Emby Server version 4.3.1.0

Attached Files


Edited by r32nj, 25 January 2020 - 04:09 PM.


#6 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 50059 posts
  • Local time: 01:32 AM

Posted 25 January 2020 - 05:53 PM

The name of that episode was "rising sun of death" and no ffmpeg log was generated?

 

It looks like it is direct streaming which would point to this being some sort of Roku player/firmware issue.



#7 r32nj OFFLINE  

r32nj

    Member

  • Members
  • 19 posts
  • Local time: 01:32 AM

Posted 25 January 2020 - 11:27 PM

What about the Emby app on Roku?



#8 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 50059 posts
  • Local time: 01:32 AM

Posted 26 January 2020 - 11:52 AM

What about the Emby app on Roku?

 

Sorry, I'm not sure what you mean...  Our app just uses the built-in Roku player to play your file (that's actually the only option on this platform).

 

Can you provide a sample file for testing?



#9 r32nj OFFLINE  

r32nj

    Member

  • Members
  • 19 posts
  • Local time: 01:32 AM

Posted 26 January 2020 - 12:23 PM

Not sure what you mean by "built in player" but I use the Emby app on my Roku.



#10 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 50059 posts
  • Local time: 01:32 AM

Posted 26 January 2020 - 12:31 PM

Not sure what you mean by "built in player" but I use the Emby app on my Roku.

 

Okay, our application just passes your video off to the Roku player for playback.  If you can provide a sample that has this problem (via dropbox or similar) we may be able to look at it and determine something.

 

Thanks.



#11 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 50059 posts
  • Local time: 01:32 AM

Posted 27 January 2020 - 11:43 AM

Your sample plays fine for me (in sync from the beginning).

 

What model of Roku and what firmware version do you have?



#12 r32nj OFFLINE  

r32nj

    Member

  • Members
  • 19 posts
  • Local time: 01:32 AM

Posted 27 January 2020 - 12:18 PM

Roku model = 4640X (Ultra)

 

Software version = 9.2.0 build 4807-29



#13 speechles ONLINE  

speechles

    Advanced Member

  • App Developer
  • 5911 posts
  • Local time: 10:32 PM

Posted 27 January 2020 - 02:07 PM

The name of that episode was "rising sun of death" and no ffmpeg log was generated?

 

It looks like it is direct streaming which would point to this being some sort of Roku player/firmware issue.

 

That is what all signs point to. It was after Roku last updated the RokuTV that I can replicate the issue. I can also anytime it is an Xvid/Divx within an AVI. Since Xvid/Divx can directstream. I concur it is something Roku changed with regards to HLS.



#14 r32nj OFFLINE  

r32nj

    Member

  • Members
  • 19 posts
  • Local time: 01:32 AM

Posted 27 January 2020 - 02:09 PM

Thanks.  I found the relevant thread on the Roku community forum and there a lot of complaints of this issue.  I also installed Plex (I had it on my server already but did not have the client on my Roku) and it also has the same issue.

 

EMBY support - you can stand down on this issue for now.



#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149390 posts
  • Local time: 01:32 AM

Posted 27 January 2020 - 02:22 PM

Thanks.  I found the relevant thread on the Roku community forum and there a lot of complaints of this issue.  I also installed Plex (I had it on my server already but did not have the client on my Roku) and it also has the same issue.

 

EMBY support - you can stand down on this issue for now.

 

 Let us know if you find more information. Thanks for the feedback.



#16 r32nj OFFLINE  

r32nj

    Member

  • Members
  • 19 posts
  • Local time: 01:32 AM

Posted 27 January 2020 - 02:26 PM

Here is the relevant link on the Roku forum in case anyone needs it.

 

https://community.ro...-unread-message


  • Luke likes this

#17 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 17674 posts
  • Local time: 10:32 PM
  • LocationWashington State

Posted 27 January 2020 - 03:57 PM

My Roku 4 has done this for quite awhile now.  It is random and annoying but I just skip back or pause resume to sync it.  I do not see this behaviour on my Roku 3.

 

Pretty sure at least the issue I see is not a Emby issue.


Edited by Happy2Play, 27 January 2020 - 03:58 PM.


#18 unisoft OFFLINE  

unisoft

    Advanced Member

  • Members
  • 274 posts
  • Local time: 06:32 AM

Posted 14 February 2020 - 10:57 AM

That is what all signs point to. It was after Roku last updated the RokuTV that I can replicate the issue. I can also anytime it is an Xvid/Divx within an AVI. Since Xvid/Divx can directstream. I concur it is something Roku changed with regards to HLS.

 

 

I used to have perfect playback on The Roku Streaming Stick+, but this happens for me now with no there changes to how I encode, my environment (part from Emby app updates). ROKU firmware would have been updated a few times though.



#19 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149390 posts
  • Local time: 01:32 AM

Posted 14 February 2020 - 11:54 AM

Xvid divx always tend to be tricky on lots of different platforms.

Why not take advantage of emby server's media conversion feature to convert it to a more streaming friendly format?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users