Jump to content

One series of shows stuck at 99% only when played on Roku.


amack

Recommended Posts

Every other show in different format (mkv, mp4, avi, etc..) all play fine except for one series and its every season, every episode but only on the Roku. Web works, theater works, Media Center works but not Roku.

Attached is the server log.  No other log file was generated in \AppData\Roaming\Emby-Server\logs

The Series in question is Star Trek TNG.  My test episode is Darmok

embyserver.txt

Link to comment
Share on other sites

I sent the debug through Roku at about 8:00 - 8:05 pm EST (6:00-6:05 MST). Logged in as Al-Peg. Tried to play Start Trek TNG S03E26 "The Best of Both Worlds".

I'm trying to play any episode from one particular series and it looks like it's going to play with the progress circle loading to 99%.  That's all it does.  99% with the spinning circle.  I can back out and try a different episode of the same series all seasons and get the same result.

This is the only series that this is happening to.  All others play fine. 

Edited by elhuevon
Link to comment
Share on other sites

Thanks for the logs.  There are no errors.  The player is just buffering and doesn't come out of it before you give up.

Are there any proxies (such as CloudFlare) involved here?

Link to comment
Share on other sites

Both the Roku and the server are on the same network.  It's only this series that has the issue and only on Roku. Consistent on two other newer Rokus as well.

 

Link to comment
Share on other sites

Luke, do these range requests look odd to you?

2022-01-12 17:49:00.101 Info Server: http/1.1 Response 204 to 192.168.1.36. Time: 3ms. http://192.168.1.213:8096/emby/Sessions/Playing
2022-01-12 17:49:00.200 Info Server: http/1.1 Response 200 to 192.168.1.36. Time: 346ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:00.315 Info Server: http/1.1 GET http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c. Accept=*/*, Host=192.168.1.213:8096, Range=bytes=523188835-, User-Agent=Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:00.322 Info Server: http/1.1 Response 206 to 192.168.1.36. Time: 439ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:00.354 Info Server: http/1.1 Response 206 to 192.168.1.36. Time: 39ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:00.700 Info Server: http/1.1 GET http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c. Accept=*/*, Host=192.168.1.213:8096, Range=bytes=524227617-, User-Agent=Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:00.726 Info Server: http/1.1 Response 206 to 192.168.1.36. Time: 26ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:00.788 Info Server: http/1.1 GET http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c. Accept=*/*, Host=192.168.1.213:8096, User-Agent=Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:00.824 Info Server: http/1.1 GET http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c. Accept=*/*, Host=192.168.1.213:8096, Range=bytes=522738019-, User-Agent=Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:00.841 Info Server: http/1.1 Response 200 to 192.168.1.36. Time: 53ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:00.898 Info Server: http/1.1 Response 206 to 192.168.1.36. Time: 74ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:00.923 Info Server: http/1.1 GET http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c. Accept=*/*, Host=192.168.1.213:8096, User-Agent=Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:09.283 Info Server: http/1.1 GET http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c. Accept=*/*, Host=192.168.1.213:8096, Range=bytes=523779829-, User-Agent=Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:09.328 Info Server: http/1.1 Response 206 to 192.168.1.36. Time: 45ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:27.123 Info Server: http/1.1 Response 200 to 192.168.1.36. Time: 26200ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:28.019 Info Server: http/1.1 POST http://192.168.1.213:8096/emby/Sessions/Playing/Stopped. UserAgent: Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:28.019 Info SessionManager: Playback stopped reported by app Roku SG 4.0.31 playing Darmok. Stopped at 0 ms
2022-01-12 17:49:28.020 Info Server: http/1.1 Response 204 to 192.168.1.36. Time: 1ms. http://192.168.1.213:8096/emby/Sessions/Playing/Stopped

 

Link to comment
Share on other sites

59 minutes ago, ebr said:

Luke, do these range requests look odd to you?

2022-01-12 17:49:00.101 Info Server: http/1.1 Response 204 to 192.168.1.36. Time: 3ms. http://192.168.1.213:8096/emby/Sessions/Playing
2022-01-12 17:49:00.200 Info Server: http/1.1 Response 200 to 192.168.1.36. Time: 346ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:00.315 Info Server: http/1.1 GET http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c. Accept=*/*, Host=192.168.1.213:8096, Range=bytes=523188835-, User-Agent=Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:00.322 Info Server: http/1.1 Response 206 to 192.168.1.36. Time: 439ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:00.354 Info Server: http/1.1 Response 206 to 192.168.1.36. Time: 39ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:00.700 Info Server: http/1.1 GET http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c. Accept=*/*, Host=192.168.1.213:8096, Range=bytes=524227617-, User-Agent=Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:00.726 Info Server: http/1.1 Response 206 to 192.168.1.36. Time: 26ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:00.788 Info Server: http/1.1 GET http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c. Accept=*/*, Host=192.168.1.213:8096, User-Agent=Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:00.824 Info Server: http/1.1 GET http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c. Accept=*/*, Host=192.168.1.213:8096, Range=bytes=522738019-, User-Agent=Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:00.841 Info Server: http/1.1 Response 200 to 192.168.1.36. Time: 53ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:00.898 Info Server: http/1.1 Response 206 to 192.168.1.36. Time: 74ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:00.923 Info Server: http/1.1 GET http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c. Accept=*/*, Host=192.168.1.213:8096, User-Agent=Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:09.283 Info Server: http/1.1 GET http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c. Accept=*/*, Host=192.168.1.213:8096, Range=bytes=523779829-, User-Agent=Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:09.328 Info Server: http/1.1 Response 206 to 192.168.1.36. Time: 45ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:27.123 Info Server: http/1.1 Response 200 to 192.168.1.36. Time: 26200ms. http://192.168.1.213:8096/emby/Videos/252841/stream.mp4?static=true&mediaSourceId=27053b157269d32d80d651ac66ceb24c
2022-01-12 17:49:28.019 Info Server: http/1.1 POST http://192.168.1.213:8096/emby/Sessions/Playing/Stopped. UserAgent: Roku/DVP-10.5 (10.5.0.4208-04)
2022-01-12 17:49:28.019 Info SessionManager: Playback stopped reported by app Roku SG 4.0.31 playing Darmok. Stopped at 0 ms
2022-01-12 17:49:28.020 Info Server: http/1.1 Response 204 to 192.168.1.36. Time: 1ms. http://192.168.1.213:8096/emby/Sessions/Playing/Stopped

 

No, when direct playing it is normal that the player will download small portions of the file at a time.

Link to comment
Share on other sites

9 minutes ago, Luke said:

No, when direct playing it is normal that the player will download small portions of the file at a time.

Okay, I didn't know if what looked like a negative number on the range bytes was strange.

Link to comment
Share on other sites

1 minute ago, ebr said:

Okay, I didn't know if what looked like a negative number on the range bytes was strange.

Range=bytes=523779829-

The dash with nothing after it is requesting all bytes from the specified starting point until the end.

Link to comment
Share on other sites

Well, fortunately, or unfortunately, depending on how you look at it, that item started right up for me. Didn't even get a progress loop from the Roku player.  Just started right after our spinner quit.

Link to comment
Share on other sites

1 minute ago, elhuevon said:

On a Roku?

Yes.  I suppose it could be a model-specific issue but my test Roku plays it just fine.

Link to comment
Share on other sites

I have a Roku 2, 3, and 4 all with the same issue.  Could it be server issue? Missing codec on the server (The server should be transcoding to a Roku playable format though)?

Trying to determine what to troubleshoot next.

Link to comment
Share on other sites

I created a new folder on a different drive and added it to a library.  I only moved two files/episodes. Same result 99% with a circle around it.  I also went to Emby management web page and looked at active devices.  The roku says its playing the episode an the counter shows its playing, then at  :59 seconds it stops counting but nothing changes on the screen, still says 99%.

Link to comment
Share on other sites

Thinking maybe it was a transcoding or temp file issue I deleted the contents of

AppData\Roaming\Emby-Server\transcoding-temp,

AppData\Roaming\Emby-Server\transcoding-temp,

Windows\temp

This time I was able to hear audio but just a big white or black screen for video.  But when I tried to play the two episodes again to verify I was right back where I started with the 99% inthe circle.

I copied more episodes to the same location and they also get the 99% in the circle.  Something changed but then changed back

Link to comment
Share on other sites

One more thing I found.  Using Mediainfo, every episode of this series was encoded with CABAC 16 ref frames while every other mp4 on the server was encoded with CABAC 5.  I'm not entirely sure what the difference is or how that affects playback on the Roku especially since you were able to play the file with out issue.

Link to comment
Share on other sites

Happy2Play

@speechlesis there a ref frame limit on Roku?  Thought there was a discussion on this in the past but not finding anything.

Link to comment
Share on other sites

On 1/15/2022 at 5:11 PM, elhuevon said:

One more thing I found.  Using Mediainfo, every episode of this series was encoded with CABAC 16 ref frames while every other mp4 on the server was encoded with CABAC 5.  I'm not entirely sure what the difference is or how that affects playback on the Roku especially since you were able to play the file with out issue.

What's the resolution? 16 might be a little bit high.

Link to comment
Share on other sites

Here is some info from the file:

ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings                          : CABAC / 16 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 16 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 45 min 30 s
Bit rate                                 : 1400 kb/s
Width                                    : 1436 pixels
Height                                   : 1080 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 23.976 (24000/1001) FPS
Minimum frame rate                       : 23.974 FPS
Maximum frame rate                       : 23.981 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits

Probably more than you wanted.

This may be outside the realm of Emby support but I could run a file through Handbrake if someone could tell me what settings to use. 

 

 

Link to comment
Share on other sites

Well folks what is the consensus? Does Emby have Ref Frame limit?  If so why would one Roku work and not another?  Why would only fail in Roku and not the android app, web app or even the media center?  Should I upload another test file to see if that one plays for some of you?

I'm willing to reencode a file for a smaller ref frame, I just need a guide.

Thanks for all the help so far.

Link to comment
Share on other sites

4 minutes ago, elhuevon said:

Does Emby have Ref Frame limit?

No, Emby does not.  However, the Roku player may.

4 minutes ago, elhuevon said:

Why would only fail in Roku and not the android app, web app or even the media center?

Because the limitation would be in the Roku player.

 

5 minutes ago, elhuevon said:

I'm willing to reencode a file for a smaller ref frame

If you can try that on one item then we can see if that is the problem.

 

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
×
×
  • Create New...