Jump to content
AdrianPB

4k Files freeze after a few seconds

Recommended Posts

AdrianPB
Posted (edited)

I trying to reproduce 4k content (90% of my library) on Samsung smart TV but its impossible to repodruce 4K content, it freezes for a few seconds and continues for another few seconds and freezes again. The same happens when I try to reproduce it directly on the server!

 

embyserver.txt

ffmpeg-remux-e437d4d7-8c6d-4f95-9307-4372b3064bed_1.txt

post-534908-0-14643700-1586722331_thumb.png

embyserver-63722246400.txt

ffmpeg-remux-5072ef32-c4ed-4aa2-a68e-acd42725ecb4_1.txt

Edited by AdrianPB

Share this post


Link to post
Share on other sites
Happy2Play

Does the same thing happen if you lower the in app bitrate/quality?  37Mbps can be a rather large bitrate for Streaming.

Share this post


Link to post
Share on other sites
AdrianPB

Does the same thing happen if you lower the in app bitrate/quality?  37Mbps can be a rather large bitrate for Streaming.

 

Yes, the same happens even when I try to reproduce it directly on the server!

Share this post


Link to post
Share on other sites
Luke

Yes, the same happens even when I try to reproduce it directly on the server!

Can we look at an example of that? thanks.

Share this post


Link to post
Share on other sites
AdrianPB

Can we look at an example of that? thanks.

How can I do it?

Share this post


Link to post
Share on other sites
Luke

How can I do it?

Can you attach the ffmpeg log from that example? thanks.

Share this post


Link to post
Share on other sites
Happy2Play

The logs above are from Chrome at original bitrate.  Does the same thing happen if you lower the in app bitrate.
 

From another topic, but should be the same issue.  But your remuxes are audio and subtitles.

Streaming of high bitrate files that have been remuxed is a problem (for both LG and Samsung).  I would suggest playing one of the non-TrueHD tracks.  Be sure to select it from the details screen before commencing playback and it should DirectPlay without any problems.
https://emby.media/community/index.php?/topic/85011-video-freezes-after-a-few-minutes-no-blu-ray-rips-not-dvd/?p=870910

Share this post


Link to post
Share on other sites
AdrianPB

Can you attach the ffmpeg log from that example? thanks.

In the android app I set the max bitrate to 37Mbps, Same happens.. Samsung app... same! chrome on the same machine as Emby server.. same! logs attached! it freezes.

embyserver.txt

ffmpeg-remux-afd6c526-07ea-47d4-a453-3053763d8687_1.txt

ffmpeg-remux-dc5117a7-7fd8-46d5-9618-cfc6196e4382_1.txt

ffmpeg-remux-52bcbc34-c51d-43c8-adbf-ebfbccb51e47_1.txt

Share this post


Link to post
Share on other sites
Happy2Play

But does the same happen if you select a lower bitrate of 20Mbps or lower?

Share this post


Link to post
Share on other sites
Luke

In the android app I set the max bitrate to 37Mbps, Same happens.. Samsung app... same! chrome on the same machine as Emby server.. same! logs attached! it freezes.

I checked the first ffmpeg log and you didn't lower the quality setting like I asked. What exactly did you do? Please try setting it to something small like 1 or 2 mbps. Then work your way up as you see success.

Share this post


Link to post
Share on other sites
AdrianPB

I don't know if I'm doing it right ... I do it in the android application, network-> Internet streaming bitrate limit. I set even 1 Mbps but the same thing happens on android ... it doesn't freeze as much, but I think I'm seeing less than 10fps. Nothing fluid. on my samsung 4k television, it seems that it is more fluid, it has not frozen ... is this setting also for the local network?

Share this post


Link to post
Share on other sites
Happy2Play

I don't know if I'm doing it right ... I do it in the android application, network-> Internet streaming bitrate limit. I set even 1 Mbps but the same thing happens on android ... it doesn't freeze as much, but I think I'm seeing less than 10fps. Nothing fluid. on my samsung 4k television, it seems that it is more fluid, it has not frozen ... is this setting also for the local network?

 

"Internet streaming bitrate limit" does not apply to the local network. 

An optional per-stream bitrate limit for all out of network devices. This is useful to prevent devices from requesting a higher bitrate than your internet connection can handle. This may result in increased CPU load on your server in order to transcode videos on the fly to a lower bitrate.

Each app/client should have a playback quality setting, but I don't know anything about the TV app.

 

In Chrome it would be your user icon-Playback.

Share this post


Link to post
Share on other sites
AdrianPB

I already found the playback settings, the highest that worked was 1080p-10Mbps, but my TV is 4K and I would like to see the content in 4K ... is there any reason why I can't do it? what is the problem ... my local network. The server?

Share this post


Link to post
Share on other sites
Luke

I already found the playback settings, the highest that worked was 1080p-10Mbps, but my TV is 4K and I would like to see the content in 4K ... is there any reason why I can't do it? what is the problem ... my local network. The server?

 

Can you try setting the playback setting to a low value such as 1 or 2 mbps, then if you still have an issue, please supply an ffmpeg log example from that? Thanks.

Share this post


Link to post
Share on other sites
Happy2Play

I already found the playback settings, the highest that worked was 1080p-10Mbps, but my TV is 4K and I would like to see the content in 4K ... is there any reason why I can't do it? what is the problem ... my local network. The server?

 

Do to the playback method, if the client is able to DirectPlay the media I would assume you would not have a issue, but when there are tracks that are not and the server has to deliver the media by other means, the client is having issues with that.  Since your logs are showing Audio and or Subtitles being the reason for the remux, have you tried without subtitles, and a items that does not require changing to a supported audio format?

Share this post


Link to post
Share on other sites
AdrianPB

Can you try setting the playback setting to a low value such as 1 or 2 mbps, then if you still have an issue, please supply an ffmpeg log example from that? Thanks.

 

Yes, I did some tests with the players that I have available at 720-1Mbps, all on my LAN, cell phone, Chrome browser, 2 Samsung Smart TVs. The same happens in all cases, the reproduction froze and continued for a few seconds and re-frozen. Even sometimes the playback never started and gave an error. I attach the logs.
The problem is with 4k video source files when I try to watch 4k on my TVs. With 1080p movie files I have no problem, they play very well at maximum 1080p resolution. (If I lower the quality to 1Mbps, they also freeze).

 

Do to the playback method, if the client is able to DirectPlay the media I would assume you would not have a issue, but when there are tracks that are not and the server has to deliver the media by other means, the client is having issues with that.  Since your logs are showing Audio and or Subtitles being the reason for the remux, have you tried without subtitles, and a items that does not require changing to a supported audio format?

Direct playback, that is with the quality settings in automatic, with files that are on the server at 1080p I have no problem. they reproduce perfect. If the original file on the Emby server is stored in 4K, this is where the problem of this thread starts!

ffmpeg-transcode-fa35d5da-6de3-4356-95f7-a09140de13ba_1.txt

ffmpeg-transcode-4acd6194-08cb-4108-96b5-9393fe2d2a28_1.txt

ffmpeg-transcode-4acd5b47-0ed7-42da-be62-9c274fac7b79_1.txt

ffmpeg-transcode-e53e29d5-20bc-41fc-9ce4-76191f95d1fa_1.txt

ffmpeg-transcode-3db3b47a-29f0-41b8-97f4-41dcbf5445c4_1.txt

ffmpeg-transcode-b06a16e0-bda8-4f38-ac75-b72dd176a773_1.txt

ffmpeg-transcode-67cfe48e-171d-469d-88fe-56858b1f8177_1.txt

ffmpeg-transcode-6a9b1406-75ae-48bf-aa59-1d758d67e090_1.txt

ffmpeg-transcode-24e1230c-f8b5-4463-8e8b-8b9ebc0a8193_1.txt

ffmpeg-transcode-72f0f984-bd20-4a42-87ed-8cf0ba4bb12b_1.txt

ffmpeg-transcode-9d079ca3-9afa-47d5-bc82-5814de005820_1.txt

ffmpeg-transcode-4f9951ac-4671-4130-9c72-ab183bf77cd3_1.txt

ffmpeg-transcode-c036adf8-f19a-4f8e-b243-e0db1db4c583_1.txt

ffmpeg-transcode-8ea3fa38-a69e-430e-8fb1-5124b3d173a8_1.txt

ffmpeg-transcode-045e3430-4525-4847-9868-a557eb077654_1.txt

ffmpeg-transcode-977531b2-4744-4b8c-b351-5b973d9c00fb_1.txt

ffmpeg-transcode-4898ad8e-c20b-45a6-9d7f-ad86f84a1522_1.txt

ffmpeg-transcode-ef12f8c0-8f8a-4e46-98d6-3ff4c6a94e9c_1.txt

ffmpeg-transcode-bf57862e-5321-4326-a86b-0ebb6001b8db_1.txt

post-534908-0-99945600-1586896791_thumb.jpg

Share this post


Link to post
Share on other sites
ebr

Impossible to track with that many different logs but the one I looked at has a lot of errors in it that may be related to hardware acceleration, so please try turning that off.

 

Then, after that, it just looks like your machine is not powerful enough to transcode the content fast enough for smooth playback.

Share this post


Link to post
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...