-
Notifications
You must be signed in to change notification settings - Fork 1k
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
No audio in stream #234
Comments
Same problem here. This issue has been brought up before multiple times already. Hope somebody has a solution. |
With which tool do you listen the audio ? |
@nik0 Using VLC player to stream the rtsp live. Getting no audio. DId you tweak something or using a special app? |
Does VLC say something about the audoi stream ? type, number of received packet (codec information/statistic) |
VLC is only providing this much info: No, the video resolution is 720p and I haven't changed it. I just experimented by making a loud noise near the speaker/microphone grill of the camera and I can hear the noise on the VLC player if I press my ear against the phone. So this seems to be a volume sensitivity issue of the Dafang's microphone. Is there any way to ramp up the sensitivity so that it can pick up sound from a distance? Just FYI, even the test option that plays an audio on the camera's speakers plays it in low volume whereas the original Dafang software was very loud. Once again, this points towards a volume issue which can possibly be fixed by tweaking some parameters somewhere. Any help would be greatly appreciated. |
VLC should provide info on the number of received packet (another tab named statistic) [audioplay.zip](https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/files/1928227/audioplay.zip I will test augmenting the gain of the encoder later ... |
Thanks. It may have improved the audio by 1% (hard to quantify) but it's still far from usable. I think the Dafang's microphone is terrible. Only when you speak something loudly by pressing your mouth against the camera, can you hear what is being said. If there are other improvements you can bring, I would love to test it out but I was wondering if its possible to attach an external mic to the Dafang as the built-in mic was horrible even before I installed the hack. Also, with the original software, it was possible to speak through my phone and talk to people in front of the camera using the cam's speakers. Is that possible with the hacked version? |
Sorry audioplay is not involved here, my bad ... AND |
@nik0 What are the log of the v4l2rtspserver-master process? Where is the log file stored ? |
With the new v4l2rtspserver-master, the sound is much more audible now but it also introduces a constant static background noise due to the high gain which is not only annoying but also drowns out a lot of the actual sound that we want to hear. |
@tyronevdm copy the file on your sdcard (replace the existing) it should be in bin folder @anup-d I set the gain to the maximum (when encoding), I agree that it is not the ideal (I didn't succeed changing it at low level. Nik0 |
Thanks @nik0. Appreciate the effort on your part. |
Since the last couple of days I have this audio issue too. But only, when rtspserver is started from services. Then also the whole system slows down. Often then VLC can not play the stream at all. If I start rtspserver from the shell, everything is ok. Therefore I went back and added this to run.sh, which seems to be a workaround for me at the moment:
|
I also have no (clear) audio stream, video plays fine. Even if I run v4l2rtspserver-master -W 640 -H 480 I still get this audio issue. If I hit the audio test button I can hear some chirps but nothing that could be understood. I am trying to play the stream with VLC 2.2.2 and get no audio at all in VLC 3.0.1. |
Also having this issue. Video is great, no audio. Synology Surveillance Center won't even let me set up and audio alert. |
Maybe you can try out the additional tuning options that pull request #329 offers |
Should be fixed in #404. Please reopen if still an issue. |
Hi just installed custom fireware. Stream video working great but have no audio , when I click 'test audio' I can hear the Chinese voice say something and it's clear. Anyone know how I can go about debugging this problem or something I need to set ?
The text was updated successfully, but these errors were encountered: