Jump to content

Fails to play


sftech13
Go to solution Solved by sftech13,

Recommended Posts

sftech13
18 minutes ago, Luke said:

Hi, what exactly happens?

Spinning blue circle of death. Just sits there and does t play. Other media plays just a few don't. 

Link to comment
Share on other sites

SamES

Is there anything similar about the ones that don't play compared to the ones that do?

For example:

  • 1080 vs 4k
  • Higher bitrate vs lower bitrate
  • Specific audio or subtitle tracks
  • Playing with or without subtitles activated
  • DirectPlay vs transcoding

Are there any movies that play successfully that aren't DirectPlaying?  You can test this by finding a movie that does play, then during playback drop the quality settings in the menu until it starts to transcode.  Once that occurs, confirm that you can still playback successfully.  You will need to manually change the setting back to its original setting (auto?) once you have completed this test.

 

Link to comment
Share on other sites

sftech13
Posted (edited)
38 minutes ago, SamES said:

Is there anything similar about the ones that don't play compared to the ones that do?

For example:

  • 1080 vs 4k
  • Higher bitrate vs lower bitrate
  • Specific audio or subtitle tracks
  • Playing with or without subtitles activated
  • DirectPlay vs transcoding

Are there any movies that play successfully that aren't DirectPlaying?  You can test this by finding a movie that does play, then during playback drop the quality settings in the menu until it starts to transcode.  Once that occurs, confirm that you can still playback successfully.  You will need to manually change the setting back to its original setting (auto?) once you have completed this test.

 

Yes several work, both transcoding and direct play.

Subtitles are off by default

 

I will look at bit rate. The issues are usually hdr10 now that think of it. Shouldn't transcoding correct that?

 

 

Screenshot_20240415-154308~2.png

Edited by sftech13
Link to comment
Share on other sites

SamES

Thanks.  Is the transcode log in your first post an example of one that does or doesn't play.  It is not HDR.

What happens if you turn off hardware acceleration for transcoding?  It depends on your server performance and whether it can do it in software but I'm wondering if it is an issue with hardware transcoding

Link to comment
Share on other sites

sftech13
Posted (edited)
7 minutes ago, SamES said:

Thanks.  Is the transcode log in your first post an example of one that does or doesn't play.  It is not HDR.

What happens if you turn off hardware acceleration for transcoding?  It depends on your server performance and whether it can do it in software but I'm wondering if it is an issue with hardware transcoding

The first one does play. The screen shot above is that one. Here is one that didn't play for him. I don't think my amd 8370 can software transcode. 

ffmpeg-transcode-f35d41a0-f063-423e-bb44-b7a463720373_1.txt

Edited by sftech13
Link to comment
Share on other sites

Happy2Play

@SamEScould it be the hls subtitles?

12:57:14.785 Stream mapping:
12:57:14.785   Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_nvenc))
12:57:14.785   Stream #0:1 -> #0:1 (eac3 (native) -> ac3 (native))
12:57:14.785   Stream #0:2 -> #1:0 (subrip (srt) -> webvtt (native))
12:57:14.785   Stream #0:0 -> #1:1 (copy)
12:57:14.785   Stream #0:3 -> #2:0 (subrip (srt) -> webvtt (native))
12:57:14.785   Stream #0:0 -> #2:1 (copy)

 

Link to comment
Share on other sites

SamES
23 minutes ago, sftech13 said:

I don't think my amd 8370 can software transcode. 

You could always give it a try.  I feel like something is not quite right with transcoding the video stream.

18 minutes ago, Happy2Play said:

could it be the hls subtitles?

I did suspect that, but the log in the first post also has subs.

 

 

Link to comment
Share on other sites

sftech13
1 minute ago, SamES said:

You could always give it a try.  I feel like something is not quite right with transcoding the video stream.

I did suspect that, but the log in the first post also has subs.

 

 

I will disable transcoding for this user and report back my findings. Thank you both for your help. 

 

  • Like 1
Link to comment
Share on other sites

SamES

I did also notice this in the log, maybe you could try enabling it first before trying the SW option

image.thumb.png.7f694820718d8d58599e7d36cdb0a01c.png

Edited by SamES
Link to comment
Share on other sites

sftech13
Posted (edited)
27 minutes ago, SamES said:

I did also notice this in the log, maybe you could try enabling it first before trying the SW option

image.thumb.png.7f694820718d8d58599e7d36cdb0a01c.png

I tried also didn't help.

I tried on my Samsung TV his account and mine. Neither played on Samsung app. Android apps plays fine and web browser. 

This was with no transcoding also subtitles off

 

 

 

embyserver (1).txt

Edited by sftech13
Link to comment
Share on other sites

SamES

What time was your test in that log?

 

Link to comment
Share on other sites

SamES
31 minutes ago, sftech13 said:

This was with no transcoding also subtitles off

You mention that there was no transcoding, but you have a bitrate limit set and I can see in the log cases where it should be trying to transcode, and I can see it trying to (for example at 2024-04-15 13:59:52.049 Info App: ProcessRun 'StreamTranscode)

2024-04-15 13:59:48.666 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 7642869, max bitrate: 7000000
2024-04-15 13:59:48.666 Info App: Bitrate exceeds DirectStream limit: media bitrate: 7642869, max bitrate: 7000000
2024-04-15 13:59:48.666 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 7642869, max bitrate: 7000000
2024-04-15 13:59:48.666 Info App: Bitrate exceeds DirectStream limit: media bitrate: 7642869, max bitrate: 7000000
2024-04-15 13:59:48.666 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 7642869, max bitrate: 7000000
2024-04-15 13:59:48.666 Info App: Bitrate exceeds DirectStream limit: media bitrate: 7642869, max bitrate: 7000000


 

Link to comment
Share on other sites

Happy2Play
34 minutes ago, sftech13 said:

This was with no transcoding also subtitles off

But just because subtitles are off does not mean they are not delivered in the hls stream per what I posted above.

^^^Also subs where sent with the transcode mentioned above also.  But I am just guessing as subtitles recently have become an issue depending on their delivery method.

I guess since you have the diagnostic plugin you could test enabling/checking this option.

Disable HLS Subtitles
Prevents the generation of WebVTT subtitles when streaming via HLS

 

  • Like 1
Link to comment
Share on other sites

sftech13
31 minutes ago, SamES said:

You mention that there was no transcoding, but you have a bitrate limit set and I can see in the log cases where it should be trying to transcode, and I can see it trying to (for example at 2024-04-15 13:59:52.049 Info App: ProcessRun 'StreamTranscode)

2024-04-15 13:59:48.666 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 7642869, max bitrate: 7000000
2024-04-15 13:59:48.666 Info App: Bitrate exceeds DirectStream limit: media bitrate: 7642869, max bitrate: 7000000
2024-04-15 13:59:48.666 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 7642869, max bitrate: 7000000
2024-04-15 13:59:48.666 Info App: Bitrate exceeds DirectStream limit: media bitrate: 7642869, max bitrate: 7000000
2024-04-15 13:59:48.666 Info App: Bitrate exceeds DirectPlay limit: media bitrate: 7642869, max bitrate: 7000000
2024-04-15 13:59:48.666 Info App: Bitrate exceeds DirectStream limit: media bitrate: 7642869, max bitrate: 7000000


 

Where is that setting. Everything is auto

Link to comment
Share on other sites

1 hour ago, sftech13 said:

Where is that setting. Everything is auto

Hi ,in the app playback settings, please check the video quality setting and let us know what it says.

Link to comment
Share on other sites

sftech13
18 minutes ago, Luke said:

Hi ,in the app playback settings, please check the video quality setting and let us know what it says.

AutoScreenshot_20240415-195858.thumb.png.2945de4f4a48d66422b7fc28b7baa918.pngScreenshot_20240415-195858.thumb.png.2945de4f4a48d66422b7fc28b7baa918.png

Link to comment
Share on other sites

SamES

You need to check/change it on the device during playback as each device has its own settings.

During playback on the TV, open the On Screen Display and select the 'cog' button, then select playback Quality.

Link to comment
Share on other sites

Happy2Play

With this being a http/2 connection this client is considered Remote correct?

@SamESwhat is the Auto fallback bitrate?

Could this be a playback issue?

2024-04-15 13:59:48.622 Info App: User policy for {username}. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: False

Link to comment
Share on other sites

Restricting the user's transcoding permissions could be causing your issue.

Link to comment
Share on other sites

SamES
4 hours ago, Happy2Play said:

 

Could this be a playback issue?

2024-04-15 13:59:48.622 Info App: User policy for {username}. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: False

Yes, that will definitely be an issue, although it wasn't in the earlier logs so it's not the whole story

4 hours ago, Happy2Play said:

@SamESwhat is the Auto fallback bitrate?

Sorry, not sure on this one but Luke would know.

I have two theories on this issue:

  • There is a problem with hardware transcoding.  
  • I notice this is using https.  It's possible that https in a hls container is causing a problem on the Samsung TV
Link to comment
Share on other sites

sftech13
Posted (edited)

Sorry to respond late. So this morning on my pc I tried the same movie as I'm remote today. I can not get it to play in browser. I have done the following in-between plays:

  • Subtitles - default and off
  • Disable HLS in plugin
  • Play with cog wheel during playback
  • The user have transcoding allowed

All done around 750AM - 755AM

 

I did see this under stats for nerd

image.png.24103f2cd9373d6ae680abe9fa053ff2.png

Also the movie stats:

image.png.bee7b98549cb9e95da679022b4c8ae55.png

I also reviewed he logs and I don't know much about transcoding so I will ask my questions, sorry if they are nebbish.

Is this a issue - TranscodeReasons=ContainerBitrateExceedsLimit

http://domain/videos/3299424/main.m3u8?DeviceId=6b880453-597a-4e92-a230-d178460e251f&MediaSourceId=0e93425b6b088aa461a51fbe344a5a40&StartTimeTicks=71497970&PlaySessionId=0ba61a4730784e6a99b3acac349748d8&api_key=a3ade97bcc824bc882987495cd168774&VideoCodec=h264,h265,hevc,av1&AudioCodec=mp3,aac&VideoBitrate=6616000&AudioBitrate=384000&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&SubtitleStreamIndexes=2,3,4&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=62&hevc-codectag=hvc1,hev1,hevc,hdmv&TranscodeReasons=ContainerBitrateExceedsLimit,DirectPlayError&allowVideoStreamCopy=false&allowAudioStreamCopy=false

Is this a issue - bitrate=N/A throttle=off speed=0.0267x 

[segment @ 0xf3d700] Opening '/var/lib/emby/transcoding-temp/423B61/423B61_s4.m3u8.tmp' for writing
SegmentComplete=video:1 Index=19 Start=57.098708 End=57.849458 Duration=0.750750 offset_pts=0 start_pts=57098708 Frames=21 filename=423B61_s4_19.vtt
elapsed=00:00:06.24 frame= 1241 fps=199 q=10.0 Lq=-1.0 q=-1.0 q=-1.0 size=N/A time=00:00:00.16 bitrate=N/A throttle=off speed=0.0267x    
video:291595kB audio:806kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

 

embyserver.txt ffmpeg-transcode-61187ada-27bc-4d93-8a01-9d64f853ea0c_1.txt ffmpeg-transcode-eda7cb1d-b670-4566-a66b-c1f995d21eb4_1.txt ffmpeg-transcode-6df153a6-0edb-4812-9307-4a9f00c6cbf3_1.txt

Edited by sftech13
Link to comment
Share on other sites

sftech13

Weird, In the web browser, if I faster forward or click on the bar to 2min or so, it plays fine. Maybe its the graphic intro causing this?>?>? Is that possible?

 

image.png.084c3b2fa9bd9051a3b289bf05bdfd9b.png

Intro

image.png.d915eb3b1c6f56882daae25c99931ec2.png

Link to comment
Share on other sites

HI, if you turn off subtitles before playing, how does that compare?

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