Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio encoding stopped -s option not working. #32

Open
salvaaod opened this issue May 9, 2024 · 2 comments
Open

Audio encoding stopped -s option not working. #32

salvaaod opened this issue May 9, 2024 · 2 comments

Comments

@salvaaod
Copy link

salvaaod commented May 9, 2024

I am finding an issue with audioenc, encoding http audio sources when some of the sources restart the audio encoding stops and sends silence to the multiplexer, the -s option does not work and the encoder has to be restarted manually, the encoding line is like this:

odr-audioenc -G http://stream.******.fm:2000/ios -s 60 -g -3 --sbr --ps -b 32 -r 32000 -e tcp://localhost:9025 -P **** -p 20

any idea what can be happening ?, I was wondering if this is actually a bug or some sort of issue that has to be mitigated externally, as I understand the -s function will restart the encoder when there is silence in the encoding but in the situation I have described it does not happen, simulating a silence in the input the encoding actually restarts so the -s function works in some scenarios.

There is no entry in the logs showing anything abnormal, any way to increase verbosity to get further info ?

@mpbraendli
Copy link
Member

Hi Salva,

So in some cases it works, in some cases it doesn't?

Since you use the GStreamer input, maybe you can try setting the GST_DEBUG=1 environment variable, but I haven't tried myself.

@salvaaod
Copy link
Author

salvaaod commented May 21, 2024

I mean sometimes when a restart on the icecast server feeding the encoder happens, the encoder hangs with silence in the output and the -s switch does not reset the encoding process,, only solution is resetting the encoder manually, if you feed the encoder a test stream with silence it will restart, so, -s works but under icecast feed restart the encoding process stops, Will try to gather more date but it is very difficult since it happens very randomly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants