All Activity
- Past hour
-
mirallesangelarubio@gmail.com joined the community
-
CrySoft started following [4.9.5.0] Live TV stream and ffmpeg process remain orphaned after client disconnects (TVHeadend)
-
[4.9.5.0] Live TV stream and ffmpeg process remain orphaned after client disconnects (TVHeadend)
CrySoft posted a topic in Live TV
Hi team, I am experiencing an issue on Emby Server 4.9.5.0 where Live TV streams and their background transcode processes (ffmpeg) fail to close after a remote client disconnects or crashes during live playback. Issue Description: When a client stops/closes Live TV abruptly, the Emby Dashboard correctly updates to show 0 active sessions. However, the server does not terminate the input stream from the tuner nor the underlying ffmpeg process. As a result, Emby continues downloading the stream endlessly in the background, keeping the tuner on TVHeadend completely locked and unnecessarily consuming system resources. Technical Observations: Network Analysis: Running tcpdump on the server shows active TCP traffic between TVHeadend (localhost:9981) and Emby (localhost:60042). Emby continues to send TCP ACKs to TVHeadend, reading the stream into a local buffer/transcoder even though no active client session exists in the Emby UI. Tuner Types Tested: Tested with both HDHomeRun emulation mode and M3U Tuner mode from TVHeadend. The orphaned socket/process behavior occurs in both configurations. Kernel Keep-Alive: Tuned OS TCP keep-alive settings (tcp_keepalive_time = 60), but since Emby is actively ACKing the packets from TVHeadend, the TCP connection is seen as healthy by the OS and is never dropped. Transcoding: Inspection of the process table shows an orphaned ffmpeg instance spawned by Emby that continues to run indefinitely for the Live TV stream. Server Environment: Emby Server Version: 4.9.5.0 OS: Ubuntu Server 26.04 LTS Tuner Backend: TVHeadend (running on the same host) Steps to Reproduce: Start playing a Live TV channel on a remote client. Force-close the client app or simulate a abrupt network disconnect on the client side. Observe the Emby Dashboard: the active session disappears. Check TVHeadend / system processes (ss -tpn | grep 9981 or pgrep ffmpeg): the stream connection remains open and continues to pull data indefinitely. It seems that the cancellation token / process teardown for the ffmpeg pipeline and the tuner reader object is not being triggered upon client session termination. I have attached the embyserver.txt log file for review, no ffmpeg-transcode-* is generated for this specific issue.. Thanks in advance for your help! embyserver-3.txt -
Assafz joined the community
-
Anderson M.S joined the community
-
看会电视 joined the community
-
胡柏林 joined the community
-
Seb7482747 joined the community
-
q270681131 joined the community
-
lijieli joined the community
-
fengzhugui joined the community
-
Bejejikm joined the community
-
Plugin: EmbyCredits, detect end credits and add auto skip.
frankythedog replied to yocker's topic in Plugins
I finally found it in the catalog (I was looking into Github...) It works well now. Thanks again for your responsiveness and good work. -
What's the current state of the MVP vs Native Player in the AppleTV Client
vdatanet replied to Lostboy66's topic in Apple TV
- Today
-
Prevent specific movies from auto-creating collections
Smitty018210 replied to swarnock89's topic in Feature Requests
Thanks! -
Prevent specific movies from auto-creating collections
Smitty018210 replied to swarnock89's topic in Feature Requests
There is a whole section for feature request. However, maybe mod/Dev can just move this post to that section. @Luke@ebr@GrimReaper -
Introducing Traxx, an Android music app built for Emby music libraries
Hauzz replied to Hauzz's topic in Third Party Apps
Traxx Tester 1.0.14 Update Thanks for the latest diagnostic reports. This update includes: Fixed a crash when selecting a song from the Songs list, especially with very large music libraries. Improved playback queue handling to reduce memory usage while retaining the complete queue. Improved the speed and reliability of large library synchronisations. Library changes now update only the affected items instead of reloading the entire library. Interrupted library synchronisations can now resume more reliably. Removed the Shuffle button from the main Albums and Artists pages. Shuffle remains available on the Songs page and within album or artist details. Reduced unnecessary background work and diagnostic log noise. The test period lasts 14 days from the first installation. Installing an update over an existing or expired Traxx Tester app does not restart this period. To start a new 14-day test period, uninstall the existing Traxx Tester app before installing this update. You will need to sign in to Emby again. app-mobile-beta.apk -
Plugin: EmbyCredits, detect end credits and add auto skip.
yocker replied to yocker's topic in Plugins
It should be in the catalog inside emby if you choose beta. I'm home in an hour, then I can upload it here for you if you want -
Plugin: EmbyCredits, detect end credits and add auto skip.
frankythedog replied to yocker's topic in Plugins
I understand. You have done and continue to do a fantastic job. But I feel silly because I can't find any beta versions... -
IOS emby server offline - not loading download content
HairyBizRat replied to HairyBizRat's topic in Apple iOS / macOS
Testing it again when i click cancel i am just left with the Emby logo in the middle of the screen and nothing happens, left it for 10minutes before closing the app. If i don't hit cancel it took 7minutes before the select server option came up -
vincen started following Hard Drives and Backups?
-
Hi For medias servers it has always been a complicated subject the backup considering size of volumes most of time. On mine I have always used raidz2 to minimize risks of major failures because volume is way too large to be "backupable" (300To). Now with insane prices of hard drive and their lack of avalaibility, I have decided to give up and shut down my server that I was running since 20 years as it's no more manageable now with Hard drives unable to source plus the insane prices of them
-
I tried the new app and the first time I started the episode the audio started with a black screen and then the app completely crashed. When I retried a second time the episode did play. I can upload the server logs when I get home. However I do prefer the look and feel of the Android TV app so it would be great if that one could play these episodes as well.
-
Lastest update for Google tv
fabien_m2002 replied to chrisrobbins1970's topic in Android TV / Fire TV
Hello why there are 2 versions of Emby available: Android & Android TV? Which one should be considered on a TV Set with Google TV? Because i have installed Android TV version and the app adviced me to install Android version to benefit the most advanced features! Strange. Thanks -
jyeomans started following New Emby for Android 3.5.45 Released
-
I get the reason, but the implementation is very poor. You have created more of an annoyance than was caused by the problem you were trying to fix. Give the thing time to load first!
-
dirkgent started following New Emby for Android 3.5.45 Released
-
Will this version (or later) be released on Google play or only as APK? Wonder as the latest version available on Play is 3.5.36 and that was released in may. How often do you release on Google play vs only as APK?
-
Introducing Traxx, an Android music app built for Emby music libraries
r5yk5 replied to Hauzz's topic in Third Party Apps
The "shuffle" button at the top right of the Albums page doesn't work for me.If I press it in the Songs page it shuffles the list. Clicking on a song in the Songs list crashes\closes the app. Playing albums works fine. Diagnostics sent at 07.25 BST 06.25 UTC -
Hi, what exactly happens when you try? How to Report a Problem
-
Issue does not happen on the other amazon app in the store just the classic firetv app. I have checked my android phone version and the web version also, these seem to work as expected just the fire tv app having issues Version 2.1.51a running on server 4.10.0.26
-
Issue is with both guide, with the mini playback guide and the main TV guide. If you change the date at the top of the guide forward a day or two, you can scroll through the days as usual, but the first day is limited when the guide first loads.
-
Gigliola started following No ouedo conectrame
-
My own. I can’t sing in
-
Hi there, please attach the Emby server log from when the problem occurred: How to Report a Problem Thanks!
-
Patricksp started following Cache file cleanup Failed
-
I keep getting cache file cleanup Failed, I went into the appdata (which is a pain) and to tried to cleanup the file or folder and delete it, but I can't delete it. I tried a ton of different ways to delete i, keep getting permission denied and the ownership of the files and folder was ????????? which I know is not good, because everthing else was emby. I am scrubbing the data but I am not sure what else to do. all the drives are healthy but will do an extended test later,
-
What login screen is giving you the error? Is it the emby connect login screen, or the login screen to your server?
-
Hi, what device do you intend to install Emby Server on?
