Ullaakut / RTSPAllTheThings

Deprecated RTSP media server -- Use github.com/aler9/rtsp-simple-server instead.
Apache License 2.0
278 stars 72 forks source link

When reading from a large file ( > 300MB ). The rtspatt will tack up all the memory (4GB) #76

Closed ingjieye closed 5 years ago

ingjieye commented 5 years ago

Probably it's because rtspatt decode entire file to memory before do anything? It there a way to workaround this?

Ullaakut commented 5 years ago

Hi @ingjieye, I guess the only solution is either to allocate more memory or reduce the size of the file by compressing it (you can achieve this easily using ffmpeg).

Unfortunately, I'm afraid there's nothing else that can be done to fix this issue, since that's how gstreamer works, which is what is under the hood of RTSPATT :/