Jump to content

EMBY stops during playback


AJAYS

Recommended Posts

Playback stops at random points with just a black screen...

 

It appears it’s when playing x265 mkv files.

Have been able to play videos on VLC without any issues.

I’ve attached server log

Link to comment
Share on other sites

Playback stops at random points with just a black screen...

It appears it’s when playing x265 mkv files.

Im using Emby Theater

Have been able to play videos on VLC without any issues.

I’ve attached server log

Link to comment
Share on other sites

Riggs

Playback stops at random points with just a black screen...

 

It appears it’s when playing x265 mkv files.

Have been able to play videos on VLC without any issues.

I’ve attached server log

 

Are you using Nvidia Shield to playback?

Link to comment
Share on other sites

Aerowinder

This is happening to me, too. It seems to be only on x265 video. It happens every time I attempt to play x265 video (plays fine up until the point it stops - whole thing plays fine in VLC). I was using the stable 4.0.2.0, and had this issue. Updated to the 4.1 betas, issue persists, across several days and reboots. This always happens with 2-3 minutes left in the video. This issue started some time after I upgraded to 4.0 (I honestly didn't use it much personally until then, so cannot say exactly which version). I did think to disable throttling as was suggested in another thread - didn't help. I'm running Emby behind an NGINX reverse proxy using SSL.

 

Happens to me on Firefox, as well as a friend of mine on Chrome.

 

I attempted to watch the entire episode, it of course stopped playback. That's folder #1. I attempted to restart playback, and scrubbed about to the spot where it stopped the first time. I got it within seconds. It got to the same spot and did the same thing, that's folder #2.

 

I've attached my logs in their entirety, except I've masked my domain. Hopefully they help.

logs.zip

Edited by Aerowinder
Link to comment
Share on other sites

pwhodges

This is happening to me, too. It seems to be only on x265 video. It happens every time I attempt to play x265 video (plays fine up until the point it stops - whole thing plays fine in VLC). I was using the stable 4.0.2.0, and had this issue. Updated to the 4.1 betas, issue persists, across several days and reboots. This always happens with 2-3 minutes left in the video.

 

I have reported this issue in the beta forum, a week or two ago (I have no logs for it today, but I provided them at the time).  The detail of stopping a couple of minutes before the end of the video particularly strikes me as being characteristic of my hangs too.

Link to comment
Share on other sites

What video settings have you configured in the Emby Theater app?

Do you mean under Transcoding?

Enable hardware acceleration when available = yes

Transcoding thread count = auto

Enable throttling-ticked

If Video Quality....

Home network quality =auto

Chrome cast streaming =auto

Link to comment
Share on other sites

What video settings have you configured in the Emby Theater app?

Please note - this only started happening following an update earlier this year.... January if I remember correctly!

Link to comment
Share on other sites

parasven

I started experiencing this behaviour too. I think it started a couple of beta updates back.

 

I dont think this is a particular problem with x265. I was just listening to music in FLAC format and it stopped several times during playback.

As player i used FireFox. But i have had this strange pausing happen to me while using EmbyTheater too when i watched an series episode in x264 format.

 

At first i thought i was a problem with EmbyTheater 3.0.6 since i recently had updated to that version from 3.0.5 but that doest seem like the problem.

 

I will post more details of my setup later im am using emby on Linux(debian) + nginx reverseproxy infront of it.

 

Im running emby-server 4.1.0.22

 

nginx config:

upstream emby_backend {
        server 192.168.100.241:8920;
        keepalive 100;
}

server {
        listen 80;
        server_name <DOMAIN>;
        ## Redirect to https
        return 301 https://$host$request_uri;

        access_log      /var/log/nginx/stream.access.log;
        error_log       /var/log/nginx/stream.error.log;
}

server {
        ## Enable http2
        listen 9443 ssl http2;
        server_name <DOMAIN>;
        
        ## Import ssl setting
        include /etc/nginx/custom_conf.d/SSL_Settings_SSL-Labs_A-Plus.conf;

        ## Loading the correct Certs
        ssl_certificate /etc/letsencrypt/live/<DOMAIN>-0001/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/<DOMAIN>-0001/privkey.pem;
        ssl_dhparam /etc/nginx/ssl/dhparams.pem;

        location / {
                        add_header X-Frame-Options DENY;
                        # Do not permit Content-Type sniffing.
                        add_header X-Content-Type-Options nosniff;
                       
                        proxy_pass https://emby_backend;
                        proxy_set_header Host $http_host;
                        proxy_set_header Range $http_range;
                        proxy_set_header If-Range $http_if_range;
                        proxy_set_header X-Real-IP $remote_addr;
                        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                        proxy_set_header X-Forwarded-Proto $scheme;

                        proxy_ssl_verify              off;


                        proxy_redirect off;
                        ## Websockets
                        proxy_http_version 1.1;
                        proxy_set_header Upgrade $http_upgrade;
                        proxy_set_header Connection "upgrade";
                        proxy_buffering off;
        }

        access_log      /var/log/nginx/stream-9443.access.log;
        error_log       /var/log/nginx/stream-9443.error.log;
}
Edited by parasven
Link to comment
Share on other sites

I have the same problem.. watching a 25min episode..aprox 20mins okay and then it stopps with blackscreen -.- when i try to start again from min 20 sometimes it works sometimes not and i have to watch the end with vlc -.-

Same happens with 45min series or 2 hour movies, not everytime but often the last minutes i have to watch with vlc..

Using Version 4.1.0.23 beta local on my pc.
 

 

and it happen alot with remote play, remote play dont work for me, it stopps every few minutes then, but i think remote is a different problem.. but im a noob, so dont give a  ..what i think.. it could be the same problem :lol:


LOG.txt

Edited by mckay
Link to comment
Share on other sites

What video settings have you configured in the Emby Theater app?

 Hi Luke,

I've attached logs earlier in this topic.... any chance of having a look... understand your probably busy.... its just that ive stopped using emby which is not desirable!

Any help is muchly appreciated - even if its just to let me know i'm not forgotten!

Link to comment
Share on other sites

 

I have the same problem.. watching a 25min episode..aprox 20mins okay and then it stopps with blackscreen -.- when i try to start again from min 20 sometimes it works sometimes not and i have to watch the end with vlc -.-

 

Same happens with 45min series or 2 hour movies, not everytime but often the last minutes i have to watch with vlc..

 

Using Version 4.1.0.23 beta local on my pc.

 

 

and it happen alot with remote play, remote play dont work for me, it stopps every few minutes then, but i think remote is a different problem.. but im a noob, so dont give a  ..what i think.. it could be the same problem :lol:


 

@@mckay, was there an ffmpeg log? can you please attach that too? thanks.

Link to comment
Share on other sites

 Hi Luke,

I've attached logs earlier in this topic.... any chance of having a look... understand your probably busy.... its just that ive stopped using emby which is not desirable!

Any help is muchly appreciated - even if its just to let me know i'm not forgotten!

 

I don't see anything obvious here. Can  you please try the new 4.1 release and then attach a new log file if the issue remains? thanks.

Link to comment
Share on other sites

I attached them in my zip file if that helps you.

I would suggest lowering the in app quality setting. Please see if that helps. Thanks.

Link to comment
Share on other sites

parasven

At least for me this problem seems to be isolated to the use of Emby Theater and Firefox webclient.

 

Emby Theater 3.0.6 -> Direct Stream (mkv) = Playback sometines stops

Firefox -> Direct Stream (flac) = Playback always stops at certain point

Android TV App -> Direct Stream (mkv) = Flawless Playback

FireTV App -> Remuxing (mkv) = Flawless Playback

 

 

For the test i have used Firefox Portable to eliminate any odd Settings.

 

I have also tried Chrome Portable 73.0.3683.103 which, at least for the flac file, did not stop playback like firefox does.

 

When i checked the Emby serverbackend during a playback "freeze" i could see that it was still showing as playing and the seconds would still count up as it would normally do.

But the Playback in the Browser hang at 1:17

 

Also when i looked at the webserverlogs it seemd like the playback continues as normal but nothing is happens in the player.

 

Do the Clients Emby Theater and the Webclient share anything in common ?

 

Im currently running Emby Server 4.1.0.26

Edited by parasven
Link to comment
Share on other sites

cptlores

I can confirm the same problem. Just had a user complaining about playback stopping with a black screen on the web client.

I have no h265 video in my system, all is h264.

Link to comment
Share on other sites

I can confirm the same problem. Just had a user complaining about playback stopping with a black screen on the web client.

I have no h265 video in my system, all is h264.

Hi there @@cptlores Please attach the information requested in how to report a media playback issue:

https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/

Thanks.

Link to comment
Share on other sites

miyamoto

I am having the same issue, 5 or so mins before the end of an episode it just stops.  Only seems to be happening when using the browser (chrome) too. 

embyserver.txt

Edited by miyamoto
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...