-
Notifications
You must be signed in to change notification settings - Fork 112
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
Audio replicator with noise reduction 16khz #203
Audio replicator with noise reduction 16khz #203
Conversation
…_audio_replicator_with_noise_reduction_16khz
Thanks for your pr. |
I'm trying to build your branch but I have a compilation error about mkfifo:
I think beacuse you didn't create the structucre init/compile/install in the mkfifo directory. |
The mkfifo is indeed required, since I didnt want to touch the h264grabbers... The goal of the PR is to create 2 fifos where the low and high grabbers can dump their data in. The (single) RTSP server instance reads the data from there. My mkfifo was just a makeshift mkfifo the get it working. Of course the busybox one is preferred. Do we have our own busybox? |
Yes, you could simply change inside src/busybox/.config |
I have a problem starting rtsp server. --- EDIT --- I think I will add mkfifo inside h264grabber |
Hi, I’ve been running my test-code for a while without reboots so I could
not witness this behavior. I can have a look tonight, do you perhaps have a
test branch?
Is this purely (one of) the video fifos? So indeed the fifo behavior is
that the “writer open” blocks until a reader opens the others end.. That
should happen when rRTSPserver starts and opens the fifo to check the file
for its length. Does opening the rtsp stream also work for unblocking?
Since the grabbers are completely detached from rmm I don’t expect any
deadlocks there.
What is the sequence that you have now?
Rmm
Mkfifos
Grabbers
Rtsp server
Perhaps the grabbers did not reach opening the fifo for write and the rtsp
is already starting? (Because of the & process spawn)
Op zo 12 jul. 2020 om 17:20 schreef roleo <notifications@github.com>
… I have a problem starting rtsp server.
When I start h264grabber and then rRTSPServer the system is blocked on the
fifo.
I have to read some data to start the chain.
Do you have this problem?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#203 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNA2O3T33BS3E2WROM6PPTR3HIDLANCNFSM4OF75WSQ>
.
|
The sequence is:
When I start h264_grabber_h.sh the system blocks and when I play vlc doesn't restart. |
I merged my changes, if you want to try.
|
Just checked the code here and there, lots of changes to the config! Too much for me to patch manually on top of a running 0.3.4 fw. Making a full build now (on a slow machine)... |
Sorry but github isn't my best. |
So, I'm wondering if my build is good (I don't have the original FW files, but used already released ones).. Since the camera is actually used, I don't want to brick it. Would it be possible to share your build, so I know it at least boots? |
Which model suffix? |
Sorry, forgot to mention.. I have the y203 (6FUS).
Op wo 15 jul. 2020 om 10:47 schreef roleo <notifications@github.com>
… Which model suffix?
I don't remember.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#203 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNA2O3V7LDVXEO7MBEUGDTR3VUJXANCNFSM4OF75WSQ>
.
|
Here it is: I suggest to reconfigure the cam from scratch. |
Great! got it running... Regarding the settings there might be a little quirk:
Edit:
If you see time, and perhaps in a different PR, the setting for the noise reduction could also be configurable... With 0 it is completely off, which saves some cpu performance. |
I will check the flag, thank you. Check the value of RTSP_AUDIO parameter. |
/home/yi-hack # cat ./etc/system.conf |
RTSP_AUDIO is ok. Try to call configuration web service: Do you clean the cache? |
Its indeed the cache, other browsers show the toggle in the right position.. |
Ok. Damn cache... |
Replaces #185
Information: #194
This clones the audio fifo and make it available to 3 streams for one single rRTSPServer instance. The H264 grabbers dump their video into pipes which are read by the rRTSP server.
High + Audio:
Play this stream using the URL "rtsp://192.168.3.180/ch0_0.h264"
Low + Audio:
Play this stream using the URL "rtsp://192.168.3.180/ch0_1.h264"
Audio only:
Play this stream using the URL "rtsp://192.168.3.180/ch0_2.h264"