Jump to content

Video file buffering every few minutes while playing


NaveedAS
 Share

Recommended Posts

NaveedAS

Hi. i have seen this issue mentioned in other threads as well but i couldnt find a plausible solution. trying my luck again:

i have an emby server setup via a synology NAS (everything is on the NAS) and using on the local network only (for now) . The video files work properly over the laptop, desktop and tv. no lags, no issues at all. However, when i try to play the videos on the phone, they start to buffer after every other minute (sometimes 1, sometimes after 2 or 3) 

everything is set to default/auto so i am hoping the system picks up the correct configurations that the network should work with. internet speed shouldnt be an issue as well (again, works on other devices properly) and we dont have any "power" users at home except for myself. 

log is attached.

thanks

Naveed

ffmpeg-transcode-d945841b-d3b2-4fdc-b798-cd97c0caff2c_1.txt

Link to comment
Share on other sites

Hi, look at your server transcoding performance (see the fps):

23:26:08.834 frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A throttle=off speed=   0x    
23:26:09.306 frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A throttle=off speed=   0x    
23:26:09.869 frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A throttle=off speed=   0x    
23:26:10.451 frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A throttle=off speed=   0x    
23:26:10.913 frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A throttle=off speed=   0x    
23:26:11.460 frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A throttle=off speed=   0x    
23:26:12.112 frame=    0 fps=0.0 q=0.0 size=       8kB time=00:00:39.15 bitrate=   1.6kbits/s throttle=off speed=9.21x    
23:26:12.636 frame=    1 fps=0.2 q=0.0 size=      12kB time=00:00:39.25 bitrate=   2.5kbits/s throttle=off speed=8.16x    
23:26:13.216 frame=    7 fps=1.3 q=0.0 size=      24kB time=00:00:39.50 bitrate=   5.0kbits/s throttle=off speed=7.43x    
23:26:13.689 frame=   12 fps=2.1 q=0.0 size=      36kB time=00:00:39.76 bitrate=   7.4kbits/s throttle=off speed=6.83x    
23:26:14.198 frame=   18 fps=2.8 q=0.0 size=      45kB time=00:00:39.95 bitrate=   9.2kbits/s throttle=off speed=6.31x    
23:26:14.621 frame=   22 fps=3.2 q=28.0 size=      62kB time=00:00:40.21 bitrate=  12.6kbits/s throttle=off speed=5.89x    
23:26:15.829 frame=   25 fps=3.4 q=28.0 size=      65kB time=00:00:40.24 bitrate=  13.3kbits/s throttle=off speed= 5.4x    
23:26:16.464 frame=   25 fps=3.1 q=28.0 size=      67kB time=00:00:40.27 bitrate=  13.6kbits/s throttle=off speed=4.97x    
23:26:16.566 frame=   25 fps=2.9 q=28.0 size=      68kB time=00:00:40.30 bitrate=  13.9kbits/s throttle=off speed=4.61x    
23:26:17.574 frame=   27 fps=2.8 q=28.0 size=      78kB time=00:00:40.46 bitrate=  15.8kbits/s throttle=off speed=4.14x    
23:26:18.008 frame=   29 fps=2.8 q=28.0 size=      83kB time=00:00:40.53 bitrate=  16.8kbits/s throttle=off speed=3.94x    
23:26:18.589 frame=   35 fps=3.2 q=28.0 size=      96kB time=00:00:40.75 bitrate=  19.3kbits/s throttle=off speed=3.75x 

Your server just cant' transcode this quickly enough to be playable. If your server is an underpowered machine, then you may want to try limiting your playback to video files that your devices can play directly without server transcoding.

Please let us know if this helps. Thanks.

Link to comment
Share on other sites

NaveedAS

Hi Luke

sorry for the late response. im using a Synology DS220j for hosting the emby server at the moment. i checked the file info and the bitrate required for it is 3.3mbps . i played a 1.1 mbps file and it plays without any issues. 

Before going for the worst case scenario of putting aside nearly 90% of my video files , i thought of fiddling with the "max streaming bitrate" that should be present for the emby android app. but for some strange reason I cant see to find this setting. has its name been changed or is it hiding somewhere I cant figure out?

I see it mentioned in the emby FAQ but i cant locate it anywhere. Can you please help me with locating it? there is a section for playbacks but that seems to affect service wide performance.

 

thanks.

 

Link to comment
Share on other sites

rbjtech

The Max streaming bitrate server side is only for remote sessions (server>network or set in users to individually overwrite) - it is not applied when streaming on the local network.

If you wish to restrict it locally (as well as remotely), then you need to do it on the end Client - in the settings, then limit the bitrate to what you need.

To note - If your internal network cannot play a 3.3Mbit/sec file - then there is something very wrong ;)  Check your phone has wi-fi on ...

Link to comment
Share on other sites

NaveedAS

Hi, yes i had re-read the description for that setting and it wasnt what i was looking for.

Regarding the internal network, i tried on 3 separate days, wifi was always on and i was the only user at the time , so , yes its hard to believe. although i am now guessing if transcoding is the culprit (?) , then maybe the 512mb ram limitation on the NAS might be the cause? maybe its not able to serve as quickly as the client demands. 

 

Link to comment
Share on other sites

NaveedAS

Ok , i think i have solved this one. i was trying to look at the server configurations to solve another issue related to a different topic, and i setup a user defined path for the transcoding files and unchecked the option to force extract subs from the files. now i am not getting any buffering in playback. tried a few files and its all good for now.image.png.70351f57bc1e37c2883b88d41da236f5.png

 

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
 Share

×
×
  • Create New...