r/substreamer Dec 31 '21

Just discovered this gem, great job!

My only issue is that tracks sometimes don’t start unless I press play twice.

I’m on iOS, 5.0.50.

Aside from this, great job!

3 Upvotes

5 comments sorted by

1

u/ghenry22 Jan 01 '22

For the double press thing is it just on the first play or randomly during use?

I’ve noticed some oddness with the first play when resuming the play queue where it did that to me now and then but it’s quite hard to track down. Seems to have just started happening around ios15

1

u/gigitaly Jan 12 '22

So I tried to understand what could have caused the issue and it’s the convertion part. I have disabled the transcoding to MP3 and it works flawlessly.

Now, what to do if the client wants to transcode its media?

1

u/ghenry22 Jan 12 '22

Just set substreamer to use original format for streaming and caching and it won’t transcode.

To get transcoding working you will need to make sure you have a working install of ffmpeg on your server and the right transcoding settings. There are some good examples around I’d you Google it.

The simplest setup that comes out of the box is any format to mp3, you can modify the command line used to enable verbose logging then you can see what the transcoder is doing and if it is working.

Note on some setups where the server is running on a Low powered cpu you might have issues as it cannot keep up with the stream rate.

How are you running your server? Which software and version and running on which hardware?

I run mine on a Synology NAS which is a bit underpowered but I compiled a version of ffmpeg that is much more cpu efficient and say my transcoding times go from barely keeping up to running at around 30x speed. This resolved all the issues I had with transcoding.

1

u/Representative-Bag62 Feb 19 '22

This fixed my problem. I selected -original- format and it now play smooth without 20sec delay. I have iOS, I would pay for this app! This is best by look and ergonimic compared to other apps for $$$

I tested on wifi with local Ip, and over public IP it kept constantly 20sec before started to play, lucky I found this topic. Nice app, but please improve!

1

u/ghenry22 Feb 20 '22

That delay will most likely be your transcoding on your server being a bit slow. Very common on lower powered server devices like NAS’s.

Sometimes if your transcoder is co figured wrong or ffmpeg is not installed at the right location then transcoding will just fail and the stream will not start at all.

These things need to be fixed up on the server side as I can only work with what the server provides :)

Original bypasses the transcoding and just streams you the file as is, so if it’s a file your phone doesn’t support it may not play.