-
Notifications
You must be signed in to change notification settings - Fork 13
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
Allow to set an audio codec per channel #62
Comments
So let's be clear, you are worried about resources on the receiving end which has at least 512mb of ram, and want to solve it shifting the load onto a tiny camera with virtually nonexisting resources which is already busy fetching data from the sensor and transcoding and sending them? |
I thought the camera would have enough to handle it. I guess some of them would. The receiving end could be a Raspberry Pi 3 with enough resources to handle AAC transcoding for few cameras, but not enough to handle it for let's say 16 cameras. |
interesting, @nschimme want to take a stab at this? |
An average camera has 64mb or ram with half of it reserved for media. It barely can handle what it is intended to do. |
I see. Dahua and Hikvision cameras has this feature, but they are often expensive. Maybe they have better hardware indeed. |
depends on the chip the vendor uses. X/A series chips (ingenic) have 128+MB ram, while L/LC/N chips, only 64mb :O |
Sorry, too preoccupied with other projects right now. I see @felipecrs is an engineer, he should take a stab at it ;-) |
Guys, no rush at all. I'm not demanding anything. @nschimme, lol sure. Everyone can, I guess, no need to be an engineer. But not being familiar with the project and code base certainly makes the bar higher for me. |
Haha, I said the same thing before I added the AAC and OPUS codecs :-P |
OPUS is great and is the best audio codec hands down.
But sometimes we need other codecs. For example, legacy HLS (browser) players can only play AAC audio.
go2rtc can be used for that:
But this will invoke
ffmpeg
on the receiving end, which consumes CPU resources and (probably) adds some latency.It would be great if we could have different audio codecs per channel, so that I could do something like this in go2rtc:
Which would not require any transcoding. :)
The text was updated successfully, but these errors were encountered: