# Downloaded Media Freeze with VLC

**URL:** <https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262>\
**Category:** Solved\
**Tags:** jellyfin\
**Created:** [February 27, 2023, 8:18pm UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262 "2023-02-27T20:18:14Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![LuixAS](https://community.yatse.tv/user_avatar/community.yatse.tv/luixas/32/3065_2.png) [@LuixAS](https://community.yatse.tv/u/LuixAS)\
**Post date:** [February 27, 2023, 8:18pm UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/1 "2023-02-27T20:18:14Z")

</div>

Be sure to read [https://yatse.tv/wiki/debug-yatse-kodi-remote](https://yatse.tv/wiki/debug-yatse-kodi-remote) to provide necessary logs and information.  
Any issue without the logs can be automatically closed without further notice.

**Issue description** :  
After playing downloaded media for less than ten minutes, vlc stops playing and freezes. I have to quite vlc and open the media again through yatse until it freezes again.

**Logs** : (Join files do not paste the content of the files here !)  
[archivetempdebug.log](https://community.yatse.tv/uploads/short-url/unAncs0VSDRJsw98SalJhccUE5x.log) (91.3 KB)

**Screenshots** :

**Additional information** :

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [February 27, 2023, 8:31pm UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/2 "2023-02-27T20:31:11Z")

</div>

Your phone does not respect Android standards and kills Yatse in the background.

See [https://dontkillmyapp.com/](https://dontkillmyapp.com/) and find the settings for your phone to stop doing that.

---

<div class="post-metadata">

**Author:** ![LuixAS](https://community.yatse.tv/user_avatar/community.yatse.tv/luixas/32/3065_2.png) [@LuixAS](https://community.yatse.tv/u/LuixAS)\
**Post date:** [March 15, 2023, 5:54pm UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/3 "2023-03-15T17:54:50Z")

</div>

Heyo, I turned off battery optimization on yatse and I still get the same issue. please let me know if there is any fix to this issue.

this only occurs on offline play.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [March 15, 2023, 6:11pm UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/4 "2023-03-15T18:11:52Z")

</div>

Provide new logs, but not much I can do here the logs shows that your OS kill Yatse. So it can’t serve the file anymore.

---

<div class="post-metadata">

**Author:** ![LuixAS](https://community.yatse.tv/user_avatar/community.yatse.tv/luixas/32/3065_2.png) [@LuixAS](https://community.yatse.tv/u/LuixAS)\
**Post date:** [March 16, 2023, 6:47am UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/5 "2023-03-16T06:47:57Z")

</div>

Here, it seems to occur every minute now.  
[debug.log](https://community.yatse.tv/uploads/short-url/vvy9NycigxijJvj5RSapmGId0iV.log) (44.3 KB)

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [March 17, 2023, 6:27am UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/6 "2023-03-17T06:27:23Z")

</div>

I don’t see anything wrong in that one, just VLC returning. I’d need VLC logs to know what happens.

Can you try Mx Player?

---

<div class="post-metadata">

**Author:** ![LuixAS](https://community.yatse.tv/user_avatar/community.yatse.tv/luixas/32/3065_2.png) [@LuixAS](https://community.yatse.tv/u/LuixAS)\
**Post date:** [March 17, 2023, 10:00am UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/7 "2023-03-17T10:00:42Z")

</div>

Here are the vlc logs.

The problem is still there while using mx player  
[vlc\_logcat\_20230317\_115706.log](https://community.yatse.tv/uploads/short-url/hZu1nqR7eKGmvwY7cu2cXhxAUlR.log) (24.7 KB)

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [March 17, 2023, 10:17am UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/8 "2023-03-17T10:17:04Z")

</div>

Do you transcode the files when downloading?

The error is not documented so would need VLC help, seems it can be related to hardware decoder issues, maybe you can disable it to see.

---

<div class="post-metadata">

**Author:** ![LuixAS](https://community.yatse.tv/user_avatar/community.yatse.tv/luixas/32/3065_2.png) [@LuixAS](https://community.yatse.tv/u/LuixAS)\
**Post date:** [March 17, 2023, 10:51am UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/9 "2023-03-17T10:51:23Z")

</div>

No I downloaded the original media. I ran vlc on the smb of the server and it streams just fine. It seems the issue has to do with the local stream yatse creates.

Also I don’t know if this helps but after I close the player there is a notification saying streaming from yatse that doesn’t go away.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [March 17, 2023, 1:38pm UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/10 "2023-03-17T13:38:24Z")

</div>

The notification is normal it’s the webserver that serve the file it goes away after 5 minutes without anyone reading anything from it.

Seems the issue is about those files over http server from Yatse.

Can you send me the exact file that triggers this?

---

<div class="post-metadata">

**Author:** ![LuixAS](https://community.yatse.tv/user_avatar/community.yatse.tv/luixas/32/3065_2.png) [@LuixAS](https://community.yatse.tv/u/LuixAS)\
**Post date:** [March 17, 2023, 4:29pm UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/11 "2023-03-17T16:29:06Z")

</div>

I’m not sure what file your asking for.

But here’s something I found.

I start an offline stream through yatse.  
I find a different yatse notification with media controls but It’s stuck on 0 seconds, I don’t know if this is important.  
When vlc eventually stops playing, I click on the square stop button on the yatse notification.  
The notification goes away and the media in vlc continues playing for a bit before it eventually pauses again.

---

<div class="post-metadata">

**Author:** ![LuixAS](https://community.yatse.tv/user_avatar/community.yatse.tv/luixas/32/3065_2.png) [@LuixAS](https://community.yatse.tv/u/LuixAS)\
**Post date:** [March 17, 2023, 4:38pm UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/12 "2023-03-17T16:38:06Z")

</div>

Oh also if I pause the yatse notification it plays for 30 more seconds.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [March 17, 2023, 4:54pm UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/13 "2023-03-17T16:54:57Z")

</div>

The yatse notification have no impact it’s just to be able to display something is playing in the app.

I’m asking for the actual files that you try to play. Since you say no transcoding, one of the file from the server.

---

<div class="post-metadata">

**Author:** ![LuixAS](https://community.yatse.tv/user_avatar/community.yatse.tv/luixas/32/3065_2.png) [@LuixAS](https://community.yatse.tv/u/LuixAS)\
**Post date:** [March 19, 2023, 9:26am UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/14 "2023-03-19T09:26:40Z")

</div>

My upload speed is pretty terrible it would take a full day to upload one of these files. But this happens with all of my library files with different resolutions and codecs.  
Could metadata be helpful ?

Also Im not sure but I suspect the stream is being paused for some reason(since unpausing through the notification seems to momentarily do something). I don’t know how this works, but does yatse have a way to control the stream playing to vlc?

Also when I use the download to folder option vlc doesn’t have any trouble playing it.

I’ll try to replicate this with other file types and try to use Kodi to see if jellyfin is contributing to the issue.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [March 19, 2023, 9:39am UTC](https://community.yatse.tv/t/downloaded-media-freeze-with-vlc/4262/15 "2023-03-19T09:39:59Z")

</div>

Yatse have no control over VLC at all it just server the file via an http server due to Android security now.

Reading a file via HTTP and via file is different so VLC can act differently.

Usually the issue is that the OS kills Yatse as in your first logs. It seems your OS no more kills the app, but maybe it still pause it somehow. (But don’t think I ever saw that).
