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

Would it be possible to send audio in mp3 format? #288

Open
Regradert opened this issue Sep 6, 2022 · 2 comments
Open

Would it be possible to send audio in mp3 format? #288

Regradert opened this issue Sep 6, 2022 · 2 comments

Comments

@Regradert
Copy link

Hello. I'm having a problem streaming audio in the only formats that v4l2rtspserver allows. It turns out that the Shinobi program does not support PCM S16_BE, S16_LE, S32_BE or S32_LE audio. Besides, it is a very heavy audio and when it detects movement, the video clips weigh a lot.

I have also tried iSpy and it doesn't support PCM audio either.

The PCM audio format causes artifacts in the image when sending the transmission over Wi-Fi, since the video + audio is heavier.

Would it be possible to convert the audio from PCM to mp3 before sending it via rtsp? Is it very complicated to implement it?

I know that with FFmpeg it is very easy to transform the PCM into 128kb mp3, but it would have to be done before sending the transmission.

It would be a good idea if v4l2rtspserver could transform the PCM into mp3 so it doesn't affect the quality of the stream. It's a shame because it's one of the best systems I've tried.

@mpromonet
Copy link
Owner

Hi,

This is not a new idea, there is a PR pending #247

Best Regards,
Michel.

@Regradert
Copy link
Author

Thanks. Hopefully soon we will have news of the implementation. It would be great as I have tried almost every system and this one is the best.

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