Jump to content


Photo

Playback issue


  • Please log in to reply
20 replies to this topic

#1 bsharp914 OFFLINE  

bsharp914

    Newbie

  • Members
  • 8 posts
  • Local time: 01:08 PM

Posted 08 December 2018 - 04:22 PM

Hi All-   I'm new to Emby, and struggling with a couple of issues-  not sure this is the correct place to post it, but chose it because I've installed on an Ubuntu (Mint) server.   I had no difficulty with the download and install, and the initial setup.  I'm using an older Xeon that was previously used for Plex and a NAS.  If I use the web interface, everything seems to work perfectly.  If I use the Emby app on Roku, music works fine- but almost all videos stutter badly.  The Roku is a newer stick model, and the TV is a 4K Vizio, and Plex and Kodi work correctly (no stutter), even when I have to transcode movies on Plex.

 

I initially thought it was the transcoding settings in Emby that were the issue- and I've read through the posts on that topic, and set it at the lowest possible settings, and I still get stutter.  It happens on 4K, 1080, and 480 files in mp4 format as well as mkv, with and without subtitles, embedded or not.  I've tried everything I can think of, and I still get the stuttering, and I'm unsure what to try next. Any advice on what to try would be appreciated (as well as a better place to post this question if I've put it in the wrong place).

 

Thanks in advance for any help



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113313 posts
  • Local time: 08:08 AM

Posted 08 December 2018 - 08:52 PM

Hi All-   I'm new to Emby, and struggling with a couple of issues-  not sure this is the correct place to post it, but chose it because I've installed on an Ubuntu (Mint) server.   I had no difficulty with the download and install, and the initial setup.  I'm using an older Xeon that was previously used for Plex and a NAS.  If I use the web interface, everything seems to work perfectly.  If I use the Emby app on Roku, music works fine- but almost all videos stutter badly.  The Roku is a newer stick model, and the TV is a 4K Vizio, and Plex and Kodi work correctly (no stutter), even when I have to transcode movies on Plex.

 

I initially thought it was the transcoding settings in Emby that were the issue- and I've read through the posts on that topic, and set it at the lowest possible settings, and I still get stutter.  It happens on 4K, 1080, and 480 files in mp4 format as well as mkv, with and without subtitles, embedded or not.  I've tried everything I can think of, and I still get the stuttering, and I'm unsure what to try next. Any advice on what to try would be appreciated (as well as a better place to post this question if I've put it in the wrong place).

 

Thanks in advance for any help

 

Hi there, can we please look at an example? Please attach the information requested in how to report a media playback issue. thanks !



#3 bsharp914 OFFLINE  

bsharp914

    Newbie

  • Members
  • 8 posts
  • Local time: 01:08 PM

Posted 08 December 2018 - 09:55 PM

Hi there, can we please look at an example? Please attach the information requested in how to report a media playback issue. thanks !

I sent the file with the Send Log tile on the app- hope that works correctly, user name was bsharp914 or 'b'; time was ~19:52 local... forgive my ineptitude on all this!  Thanks so much for your help!



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113313 posts
  • Local time: 08:08 AM

Posted 08 December 2018 - 11:24 PM

I sent the file with the Send Log tile on the app- hope that works correctly, user name was bsharp914 or 'b'; time was ~19:52 local... forgive my ineptitude on all this!  Thanks so much for your help!

 

Can you attach the server log as well? thanks.



#5 bsharp914 OFFLINE  

bsharp914

    Newbie

  • Members
  • 8 posts
  • Local time: 01:08 PM

Posted 09 December 2018 - 02:14 AM

Server log attached-

Attached Files

  • Attached File  Log   8.31MB   5 downloads


#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113313 posts
  • Local time: 08:08 AM

Posted 09 December 2018 - 02:56 PM

And the ffmpeg log from the Roku playback session? Thanks.



#7 bsharp914 OFFLINE  

bsharp914

    Newbie

  • Members
  • 8 posts
  • Local time: 01:08 PM

Posted 09 December 2018 - 06:56 PM

And the ffmpeg log from the Roku playback session? Thanks.

I hope this one will work-  I have a big time gap in the ffmpeg logs between 1:30pm and 10pm- which is strange because that's the time frame when I had the Roku logging turned on, and tried several files.Attached File  Log   100.61KB   8 downloads



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113313 posts
  • Local time: 08:08 AM

Posted 10 December 2018 - 01:25 AM

@Happy2Play do you know how to move his #1344 post into a new topic in the Roku section? thanks.



#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113313 posts
  • Local time: 08:08 AM

Posted 10 December 2018 - 10:45 AM

Thanks.
@speechles

#10 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 3307 posts
  • Local time: 05:08 AM

Posted 10 December 2018 - 01:53 PM

Stream mapping:
  Stream #0:0 (h264) -> overlay:main
  Stream #0:2 (dvdsub) -> scale
  scale -> Stream #0:0 (libx264)
  Stream #0:1 -> #0:1 (copy)

It's the subtitles. With SRT instead of DVDSUB there likely is no issue.


Edited by speechles, 10 December 2018 - 01:54 PM.


#11 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 12492 posts
  • Local time: 05:08 AM
  • LocationWashington State

Posted 10 December 2018 - 02:00 PM

Stream mapping:
  Stream #0:0 (h264) -> overlay:main
  Stream #0:2 (dvdsub) -> scale
  scale -> Stream #0:0 (libx264)
  Stream #0:1 -> #0:1 (copy)

It's the subtitles. With SRT instead of DVDSUB there likely is no issue.

 

 

But what about this?  But I think more information is need.

 

 

It happens on 4K, 1080, and 480 files in mp4 format as well as mkv, with and without subtitles, embedded or not. 



#12 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 3307 posts
  • Local time: 05:08 AM

Posted 10 December 2018 - 02:29 PM

But what about this?  But I think more information is need.

 

Could also be the fact these videos are anamorphic.

 

720x364 [SAR 32:27 DAR 640:273]

 

Roku recently did work in the SAR/DAR area with OS9.

 

@bsharp914 What firmware version in your Roku?



#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113313 posts
  • Local time: 08:08 AM

Posted 10 December 2018 - 02:29 PM

@bsharp914 please let us know if this helps. thanks.



#14 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 12492 posts
  • Local time: 05:08 AM
  • LocationWashington State

Posted 10 December 2018 - 02:33 PM

Could also be the fact these videos are anamorphic.

720x364 [SAR 32:27 DAR 640:273]

Roku recently did work in the SAR/DAR area with OS9.

 

@bsharp914 What firmware version in your Roku?

 

The log shows 8.10 4155 (Roku/DVP-8.10 (508.10E04155A))



#15 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 3307 posts
  • Local time: 05:08 AM

Posted 10 December 2018 - 02:52 PM

@bsharp914

 

h tt p: / / 192.168.1.6:8096/emby/videos/486be5bc68b2baadb97255c97c3d6b71/hls1/main/0.ts?DeviceId=28d684cb-9b62-5598-85ea-f3cf77f6d582&MediaSourceId=486be5bc68b2baadb97255c97c3d6b71&VideoCodec=h264,mpeg1video,mpeg2video,hevc&AudioCodec=aac,mp2,mp3,flac,opus,vorbis,lpcm&AudioStreamIndex=1&SubtitleStreamIndex=2&VideoBitrate=79803709&AudioBitrate=196291&MaxFramerate=61&MaxWidth=3840&MaxHeight=2160&PlaySessionId=03a075a552af42d9a98ef05c75242ba6&api_key=1f890dca91f14bbaa21555c32aa0b7a3&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=fbb62d2d2bf933920301d1e6fdf4629a&SegmentContainer=ts&SegmentLength=3&MinSegments=1&BreakOnNonKeyFrames=True&h264-maxrefframes=16&h264-videobitdepth=8&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&aac-audiochannels=6&flac-audiochannels=6&lpcm-audiochannels=6&mp3-audiochannels=2&mp2-audiochannels=2&vorbis-audiochannels=6&opus-audiochannels=6&TranscodeReasons=SubtitleCodecNotSupported

 

 

The only reason ffmpeg was involved was the subtitles. Does this happen when direct playing?

 

If you choose the same video as above then press DOWN on your remote. Choose the Subtitles button and choose NONE. This should direct play. Are you still experience the issue with direct play?


Edited by speechles, 10 December 2018 - 02:52 PM.


#16 bsharp914 OFFLINE  

bsharp914

    Newbie

  • Members
  • 8 posts
  • Local time: 01:08 PM

Posted 10 December 2018 - 04:19 PM

Could also be the fact these videos are anamorphic.

720x364 [SAR 32:27 DAR 640:273]

Roku recently did work in the SAR/DAR area with OS9.

 

@bsharp914 What firmware version in your Roku?

 

Roku firmware was updated within the last week to 8.1.0, build 4155.



#17 bsharp914 OFFLINE  

bsharp914

    Newbie

  • Members
  • 8 posts
  • Local time: 01:08 PM

Posted 10 December 2018 - 04:25 PM

The log shows 8.10 4155 (Roku/DVP-8.10 (508.10E04155A))

Thanks so much for all your help!   

 

I tried same file and three others I know to have stuttered since I installed.  I started playing, then turn subtitles on, then off, then back on.  Stutter continues whether subtitles are on or off for all of them.  I did find two movies that do not stutter- both are animes with 480 resolution; both have subtitles, and again, makes no difference whether subtitles or on or off.


Edited by bsharp914, 10 December 2018 - 04:28 PM.


#18 bsharp914 OFFLINE  

bsharp914

    Newbie

  • Members
  • 8 posts
  • Local time: 01:08 PM

Posted 10 December 2018 - 04:33 PM

@bsharp914

 

h tt p: / / 192.168.1.6:8096/emby/videos/486be5bc68b2baadb97255c97c3d6b71/hls1/main/0.ts?DeviceId=28d684cb-9b62-5598-85ea-f3cf77f6d582&MediaSourceId=486be5bc68b2baadb97255c97c3d6b71&VideoCodec=h264,mpeg1video,mpeg2video,hevc&AudioCodec=aac,mp2,mp3,flac,opus,vorbis,lpcm&AudioStreamIndex=1&SubtitleStreamIndex=2&VideoBitrate=79803709&AudioBitrate=196291&MaxFramerate=61&MaxWidth=3840&MaxHeight=2160&PlaySessionId=03a075a552af42d9a98ef05c75242ba6&api_key=1f890dca91f14bbaa21555c32aa0b7a3&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=fbb62d2d2bf933920301d1e6fdf4629a&SegmentContainer=ts&SegmentLength=3&MinSegments=1&BreakOnNonKeyFrames=True&h264-maxrefframes=16&h264-videobitdepth=8&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&aac-audiochannels=6&flac-audiochannels=6&lpcm-audiochannels=6&mp3-audiochannels=2&mp2-audiochannels=2&vorbis-audiochannels=6&opus-audiochannels=6&TranscodeReasons=SubtitleCodecNotSupported

 

 

The only reason ffmpeg was involved was the subtitles. Does this happen when direct playing?

 

If you choose the same video as above then press DOWN on your remote. Choose the Subtitles button and choose NONE. This should direct play. Are you still experience the issue with direct play?

 

Re Direct Play-  I don't know how to tell when something is direct playing or not;  I can say that this only happens on the Roku-  if I play anything on a laptop or on the PC the server is installed on (through the web app), there are no problems at all- the files play perfectly, subtitles work, etc..   

 

Newbie question- Is there a way from the server to tell if something is currently direct playing on the Roku, or being transcoded?  I assumed from the logs that anything going to the Roku would be transcoded...


Edited by bsharp914, 10 December 2018 - 04:33 PM.


#19 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 3307 posts
  • Local time: 05:08 AM

Posted 10 December 2018 - 05:19 PM

Make sure you have the option "Show Extended Playback Info" enabled in the settings. Once that is done it will show in the video player OSD what is happening.

 

Also, please use the Emby Beta app for Roku. When you see an issue use the playback menu (3 sliders like a graphic equalizer shown on the OSD) and choose "Playback Correction" and it might solve the issue. If this doesn't try to change quality in the playback menu to something lower.

 

If nothing solves the issue this is likely a firmware error with Roku. I can't think of any reason (in the app) why it would stutter. It might also be environmental and something in how the Roku is either set up (poor wifi maybe?) or perhaps its something bigger.

 

Do you have some of these videos you could share with us? I am always interested in new samples for the test library. Especially samples that expose firmware errors on Roku models. Please if you can put these on dropbox and post a link to them. While I don't have a Streaming Stick+ ATM I can buy one to test with and diagnose your issue. I only have a roku3 and roku ultra as test models presently.


Edited by speechles, 10 December 2018 - 05:21 PM.


#20 bsharp914 OFFLINE  

bsharp914

    Newbie

  • Members
  • 8 posts
  • Local time: 01:08 PM

Posted 10 December 2018 - 07:41 PM

Make sure you have the option "Show Extended Playback Info" enabled in the settings. Once that is done it will show in the video player OSD what is happening.

 

Also, please use the Emby Beta app for Roku. When you see an issue use the playback menu (3 sliders like a graphic equalizer shown on the OSD) and choose "Playback Correction" and it might solve the issue. If this doesn't try to change quality in the playback menu to something lower.

 

If nothing solves the issue this is likely a firmware error with Roku. I can't think of any reason (in the app) why it would stutter. It might also be environmental and something in how the Roku is either set up (poor wifi maybe?) or perhaps its something bigger.

 

Do you have some of these videos you could share with us? I am always interested in new samples for the test library. Especially samples that expose firmware errors on Roku models. Please if you can put these on dropbox and post a link to them. While I don't have a Streaming Stick+ ATM I can buy one to test with and diagnose your issue. I only have a roku3 and roku ultra as test models presently.

 

Wow- the stuttering problem is solved with Beta app.  Although playback correction doesn't seem to help or change anything, changing the quality from Auto (80mbps) to 480 at 4mbps gets rid of stutter completely; since the test file I was using is 480 resolution, quality isn't really affected.  I will try the same thing on a higher res files and see if the same is true there.

 

I'm assuming from that result that I should probably look at how my network is setup.  My wifi is extremely strong (Roku is only 10 feet from the router), but the server PC uses a netgear powerline network extender that should run at close to gigabit speed in theory- but I do wonder if that's contributing to the problem.  It doesn't explain the laptop (on wifi) working correctly through the web app, but I can't think of anything else unusual or odd about how it's configured that might impact emby in any way.

 

I don't have a dropbox account now, but I'll look into that this week; I'll happily post several files to use as test subjects once I do.

 

Thanks so much for all the help, I really appreciate it!

 

 

(edited to add more after trying several more files...)

 

I turned on 'show extended playback info', and now I get a slightly different result  when I press 'playback correction'-  I now get "Playback Correction (REMUX)", after pressing that, I then get "Playback Correction (TRANSCODE).  After pressing the second time, the file will play correctly and without stutter- but at a noticeably lower resolution, despite the quality option being unchanged from Auto (80Mbps).  I have several I've tried now with basically that same result-  the 1080 files play without stutter, but at what looks like 480 resolution.  


Edited by bsharp914, 10 December 2018 - 09:51 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users