-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
[Request] Add audio transcoding with FFMPEG #47
Comments
Hey, thanks for raising this. Yes, that would be a nice addition. We'd just need to separate the logic from the video one. As for your example, check without the "-re" flag. On a different note: |
I tried with your fix and -re, but it still not working. Something goes wrong and it's unclear from wireshark :s |
This is what i did: https://github.com/alexballas/go2tv/pull/48/files |
I think this is a player issue. I've tested it with "gmediarender" (another handy tool to spin a DMR quickly) and it will play the encoded file only after encoding is complete. Same with BubbleUPNP. This is why I removed the |
Something I don't get is at which point |
In go, when setting up a HTTP server and handling requests, all you have to do is implement the http.Handler interface. https://pkg.go.dev/net/http#Handler This mean that we're only have to deal with 2 arguments
Example: func someRandomHandler(w http.ResponseWriter, r *http.Request) {
if r.Method == "GET" {
fmt.Fprintf(w, "Hello!")
}
} here we write "Hello!" back to w. This is what I also do in Go2TV.
When we call This is the flow:
|
Currently, it's only possible to transcode video media, but it will be great to do the same thing with audio for devices that only support certain types of audio.
I made an experiment with converting everything to FLAC but so far it resulted in no audio being played...
The text was updated successfully, but these errors were encountered: