Jump to content

Sudden Live TV stream issue after server update


MikeTech

Recommended Posts

MikeTech

Updated server to  4.7.11.0 from 4.6.7.0 and now live tv from HD Homerun streams for 2-3 minutes, then suddenly stops, then "rewinds" back to where the stream started, plays to where it stopped, then stops again.≈ Same behavior in apps, browsers, all devices on local network. HD Homerun app plays all streams with no issues. Server running on MacOS 10.15.7. Have tried multiple reboots, checked transcode temp file location access, and inspected logs but am not spotting what's going wrong here. Progress bar on client playback seems to be trying to outrun the buffer (little or no green). All clients set for auto quality.  Server log with debug toggled on and transcode log attached. I'm stumped.

 

embyserver.txt ffmpeg-transcode-204b7bd3-bb48-444a-a18b-1ac5cee9cb7d_1.txt

Link to comment
Share on other sites

  • 3 weeks later...
MikeTech

22 days later and I am still stumped. Stream plays for nearly 4 minutes in browser then quits with no interaction from client. At that time, server log states:

00:37:32.275 Info Server: http/1.1 POST http://192.168.1.59:8096/emby/Sessions/Playing/Stopped?X-Emby-Client=Emby Web&X-Emby-Device-Name=Safari macOS&X-Emby-Device-Id=7f7c8b09-13c5-405f-baa0-c7dbef9b8753&X-Emby-Client-Version=4.7.11.0&X-Emby-Language=en-us&reqformat=json. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3.1 Safari/605.1.15"

Meanwhile, at approximately the same time in the ffmpeg-transcode log, the following is generated:

00:37:32.331 

[q] command received. Exiting.

00:37:32.346 00:37:32.346 [segment @ 0x7fc1fbe04900] Opening '/Users/mwakefield/.config/emby-server/transcoding-temp/FA209E/FA209E.m3u8.tmp' for writing
00:37:32.347 SegmentComplete=video:0 Index=51 Start=155.255100 End=157.373889 Duration=2.118789 offset_pts=0 start_pts=155255100 Frames=127 filename=hls/FA209E/FA209E_51.ts
00:37:32.347 elapsed=00:02:33.67 frame= 9307 fps= 61 q=-1.0 Lsize=N/A time=00:02:35.20 bitrate=N/A dup=5398 drop=0 throttle=off speed=1.01x    
00:37:32.347 video:10419kB audio:3676kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Last message repeated 1 times
00:37:32.348 EXIT

Have looked at everything from clients to browsers to network, all perfectly fine. WiFi/Wired makes no difference. Temp transcode path is default. Thought perhaps it was disk capacity, but the SSD where the server and transcode directories live has 162.73 GB free. Nothing remarkable in system console logs. Server is running on MacOS 10.15.7, as stated previously.

It all worked fine before updating to 4.7.11.0 

Hoping for a little help here...

Full redacted logs attached

ffmpeg-transcode-869a8876-9e3f-4bb4-8205-ecc7cf61f754_1.txt embyserver-2.txt

Edited by MikeTech
Link to comment
Share on other sites

MikeTech

Tried that too, on multiple client platforms. Doesn’t seem to matter. There is one possible clue, however: if I back out of the stream and restart it several times (without restarting the server), sometimes on the third or fourth attempt the stream will continue without quitting on its own. Very mysterious. Nothing else is running on this server except file sharing and print services. 

Link to comment
Share on other sites

  • 1 month later...
MikeTech

Thanks for the suggestion but the server is not configured for remote access, it’s behind a firewall and only accessible on the local network. It has actually not been misbehaving in the last couple of weeks, I am chalking it up to recent iOS updates, the only variables that have changed.

Link to comment
Share on other sites

On 4/16/2023 at 11:06 PM, MikeTech said:

Thanks for the suggestion but the server is not configured for remote access, it’s behind a firewall and only accessible on the local network

@MikeTech it does not need to be configured for remote access. The hosted web app can be used inside your local network. Can you please try it and let us know how it compares? Thanks.

Link to comment
Share on other sites

MikeTech

OK! Hosted web app works fine, no issues with streams stopping/reloading, etc. Have been using it for several days on multiple platforms. Wondering what the difference is between this and direct browser streaming, but whatever is in the secret sauce it seems to have bypassed the issue.

Link to comment
Share on other sites

Thanks. That’s good news because the built in web app will have all of the same changes in the next release.

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