# Plex Transcode H265 - Endless Swirl, No Playback

**URL:** <https://forums.plex.tv/t/plex-transcode-h265-endless-swirl-no-playback/675014>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [January 6, 2021, 3:59am UTC](https://forums.plex.tv/t/plex-transcode-h265-endless-swirl-no-playback/675014 "2021-01-06T03:59:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DGCupit](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dgcupit/32/222739_2.png) [@DGCupit](https://forums.plex.tv/u/DGCupit)\
**Post date:** [January 6, 2021, 3:59am UTC](https://forums.plex.tv/t/plex-transcode-h265-endless-swirl-no-playback/675014/1 "2021-01-06T03:59:43Z")

</div>

Server Version#: Version 1.21.1.3876  
Player Version#: Version 4.49.2

Ubuntu 20.04 Server, NVidia 1050Ti Driver Version: 455.45

I can reproduce this issue with any HDR H265 content, but I’m also seeing this with some H264 stuff, too.

Basically, playback never beings. I can watch Tautulli, and it shows the media file appear, Transcode speed remains at (Speed:) and I can watch the seconds being counting, often going back to zero and beginning again. The client (ROKU, and Web Player) just show the swirl.

At the same time, someone can be watching a H264 media file that will be HW transcoding without error.

To put a couple of things in the logs, I tried to play The Fifth Element, Chemical Hearts (Both H265) and A Cinderella Story Once Upon A Song (H264 WEB-DL) , all of which are displaying this behavior. H264 Cliffhanger and American Dad are also currently playing with HW transcoding without issue during my testing.

Logs attached:  
(File removed)

```auto
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.45.01 Driver Version: 455.45.01 CUDA Version: 11.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 105... Off | 00000000:03:00.0 On | N/A |
| 0% 52C P0 N/A / 90W | 459MiB / 4038MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1559 G /usr/lib/xorg/Xorg 17MiB |
| 0 N/A N/A 5085 C ...diaserver/Plex Transcoder 365MiB |
| 0 N/A N/A 10572 C ...diaserver/Plex Transcoder 66MiB |
+-----------------------------------------------------------------------------+

```

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 6, 2021, 9:16am UTC](https://forums.plex.tv/t/plex-transcode-h265-endless-swirl-no-playback/675014/2 "2021-01-06T09:16:15Z")

</div>

DEBUG log files ZIP is needed which captures this.

---

<div class="post-metadata">

**Author:** ![DGCupit](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dgcupit/32/222739_2.png) [@DGCupit](https://forums.plex.tv/u/DGCupit)\
**Post date:** [January 6, 2021, 12:01pm UTC](https://forums.plex.tv/t/plex-transcode-h265-endless-swirl-no-playback/675014/3 "2021-01-06T12:01:44Z")

</div>

Enable Plex Media Server debug logging is checked under General in the Server Settings.

I again tried to play those same three videos and then downloaded the logs.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 6, 2021, 7:20pm UTC](https://forums.plex.tv/t/plex-transcode-h265-endless-swirl-no-playback/675014/4 "2021-01-06T19:20:45Z")

</div>

@DGCupit

I found what looks like the case of running out of inotify watches -or- possibly mounted across the net without file locking (which seems unlikely)

```auto
Jan 06, 2021 11:58:21.936 [0x7fa5f97fa700] DEBUG - [Now] Updated play state for /library/metadata/148166.
Jan 06, 2021 11:58:21.937 [0x7fa5f97fa700] DEBUG - Statistics: (228c62cc79511b17d1aaca73a9e7f03d) Reporting active playback in state 0 of type 1 (scrobble: 0) for account 23951262
Jan 06, 2021 11:58:21.941 [0x7fa66f7fe700] DEBUG - Completed: [71.87.244.130:50091] 200 GET /:/timeline?playbackTime=4009521&time=4010000&state=playing&ratingKey=148166&key=%2Flibrary%2Fmetadata%2F148166&col=1&row=4&context=source%3Ahub.movie.by.actor.or.director&duration=5885588&playQueueItemID=598541 (22 live) TLS GZIP 8ms 810 bytes (pipelined: 383)
Jan 06, 2021 11:58:21.990 [0x7fa66e7fc700] DEBUG - [Transcode] Codecs: Testing with profile 'High'
Jan 06, 2021 11:58:22.002 [0x7fa591ffb700] ERROR - [Transcoder] [eac3_eae @ 0xd71a40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-92aec3c1-faac-4adb-8f0e-8bee45f90e72/EasyAudioEncoder/Convert to WAV (to 8ch or less)/7e007186-dba7-4ea3-a860-572f9935a9dd_74191-0-1167.wav'
Jan 06, 2021 11:58:22.002 [0x7fa555ffb700] ERROR - [Transcoder] [eac3_eae @ 0xd71a40] error reading output
Jan 06, 2021 11:58:22.002 [0x7fa599fff700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
Jan 06, 2021 11:58:22.003 [0x7fa593fff700] ERROR - [Transcoder] [eac3_eae @ 0x2721800] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-92aec3c1-faac-4adb-8f0e-8bee45f90e72/EasyAudioEncoder/Convert to WAV (to 8ch or less)/d365b055-c029-402e-b824-1ea23561d15a_74972-0-735.wav'
Jan 06, 2021 11:58:22.003 [0x7fa6417fa700] ERROR - [Transcoder] [eac3_eae @ 0x2721800] error reading output
Jan 06, 2021 11:58:22.003 [0x7fa598ffd700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
Jan 06, 2021 11:58:22.023 [0x7fa66e7fc700] DEBUG - [Transcode] Scaled up video bitrate to 20115Kbps based on 1.500000x fudge factor.
Jan 06, 2021 11:58:22.024 [0x7fa66e7fc700] DEBUG - [Transcode] MDE: Selected protocol dash; container: mp4
Jan 06, 2021 11:58:22.024 [0x7fa66e7fc700] DEBUG - [Transcode] MDE: analyzing media item 203539

```

Because of all the streaming and media addition activities, your most recent startup has scrolled off the edge of the buffer

Do you know how many directories (in total) are being monitored?  
If more than 8192, have you tweaked Linux to accommodate them  
?

---

<div class="post-metadata">

**Author:** ![DGCupit](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dgcupit/32/222739_2.png) [@DGCupit](https://forums.plex.tv/u/DGCupit)\
**Post date:** [January 6, 2021, 9:34pm UTC](https://forums.plex.tv/t/plex-transcode-h265-endless-swirl-no-playback/675014/5 "2021-01-06T21:34:06Z")

</div>

Hmm. It’s very possible, I suppose.

Yes, I Checked and it has exceeded that number.

I found your article here:

> [@Increase the number of directories Linux can monitor (Notify)](https://forums.plex.tv/t/increase-the-number-of-directories-linux-can-monitor-notify/209156):
>
> The default size of the Linux inotify table is 8192 directories. When PMS is configured to update automatically when media is added, with properly organized media, especially music, this table rapidly fills and exceeds the default allocation. The solution to this is straight forward. Increasing the table size is easy. The first step is to determine how many directories to allocate, A. Determine how many directories are currently in use: sudo find /dir1 /dir2 /dir3 -type d -print…

I performed the changes, restarted Plex, and will let you know after some testing.

---

<div class="post-metadata">

**Author:** ![DGCupit](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dgcupit/32/222739_2.png) [@DGCupit](https://forums.plex.tv/u/DGCupit)\
**Post date:** [January 7, 2021, 9:55pm UTC](https://forums.plex.tv/t/plex-transcode-h265-endless-swirl-no-playback/675014/6 "2021-01-07T21:55:05Z")

</div>

I believe things are working well, now. So it appears that this issue, for whatever reason, was stopping Plex from being able to play back certain files.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [April 7, 2021, 9:55pm UTC](https://forums.plex.tv/t/plex-transcode-h265-endless-swirl-no-playback/675014/7 "2021-04-07T21:55:16Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
