-
Notifications
You must be signed in to change notification settings - Fork 237
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
FLAC network streaming #1419
Comments
Yes, it would be possible, and great that you offer your help. When it comes to new features that I won't be using myself, I would like to also get some assurance that you will stick around for maintenance. So I would ask you to create a fork, maintain it for 2-3 months with the new feature, and then submit a PR with the improvement. With regard to implementation, it would mostly be about refactoring httpd_streaming.c so that it also offers a stream.flac endpoint. So I would start by studying that. |
WAV streaming was prototyped in #982. |
@ejurgensen - I was taking a second loop at the #982. So right now, it works for streaming both flac and mp3. You added a comment #982 (review) that i was trying to understand as i see how to cleanup the old PR (i want to get The current Every
Is the thanks |
@whatdoineed2do if there is ANYTHING I can do to help to get ALAC streaming working, please let me know. This is the ideal setup for the Soundbridge. |
@whatdoineed2do yes you wouldn't be able to re-use e.g. Apple Pay alac encoding with the current framework. It's been a while since I looked at this, but I think my request to have an approach similar to the outputs, i.e. subscribing to a quality and then encoding in streaming. Contrary to the outputs, you here have to deal with two threads, so I imagine a pipe is still required. Maybe multiple pipe's, since it is better to encode in the player thread than in the httpd thread. |
Day job getting in the way of quicker cycles on this. Would you be happy with a single quality the entire streaming module to subscribe? This simplifies the handling for the different formats - the |
I've continued some work on this in the original branch. Its working for mp3 and flac (some oddities in PTS timestamps reported by However, this where i'm stuck for the ALAC endpoint. i want to push the data into a mp4 container, containing the alac data but for some reason
|
Is it the same issue as identified in 1182? |
Unfortuantely, it appears that way. i did get the encoding to be happy with requesting an I'll tidy this up and push this back for request for comment later |
Hello, would it be possible to also add FLAC network streaming as an alternative to MP3?
If OwnTone plays an mp3-encoded song, wouldn't that means that for the MP3 network streaming transcoding takes place?
As far as I have tested some time ago, transcoding does involve audible loss of quality.
So streaming in FLAC over network would mean that transcoding does not take place.
I am willing to work on the implementation if technically possible (with some mild guidance, my own investigation-> targeted questions -> answers).
Regards,
Cristian
The text was updated successfully, but these errors were encountered: