picam-streamer icon indicating copy to clipboard operation
picam-streamer copied to clipboard

nohup: redirecting stderr to stdout

Open TomUser1 opened this issue 7 years ago • 11 comments

Current version (2017-11-09-picam-streamer-1.4.6.zip) not working, link http://RASPI_IP/view/ not working (raspbery 3, zero) and when I run /picam-streamer/script/start.sh result is: creating directory structure... starting node-rtsp-rtmp-server and picam... nohup: redirecting stderr to stdout

end exit.

Can you check boot and start script?

TomUser1 avatar Nov 21 '17 19:11 TomUser1

@TomUser1 I've confirmed that it works on my Raspberry Pi 3 Model B. That output message including "nohup" is not an error. It's successful. Did you replace RASPI_IP with your Raspberry Pi's IP address? Also, you don't need to run start.sh manually.

iizukanao avatar Nov 22 '17 04:11 iizukanao

Raspberry 3 model B works good (have streaming on http and rtsp too), but on raspberry zero makes some errors - By default No stream to http or RTSP protocols and when i start node script (./start_server.sh) manually result is: "sudo: coffee: command not found". and when manually run /picam-streamer/script/start.sh, rusult is:
"creating directory structure... starting node-rtsp-rtmp-server and picam... nohup: redirecting stderr to stdout". And Where I can find Log File? Yes I replace RASPI_IP with my Raspberry Pi's IP address. Thanks

TomUser1 avatar Nov 22 '17 15:11 TomUser1

@TomUser1 Sorry, I haven't tested it on Raspberry Pi Zero. The log messages are suppressed by default, but you can enable them by editing start.sh and changing /dev/null at line 31 to some file name such as /home/pi/out.log.

iizukanao avatar Nov 22 '17 15:11 iizukanao

Thanks, on raspberry pi3 model B connected 2 MEMS microphone via i2s interface. When i Stream audio via vlc it works fine, but when stream via picam it have some noise (with audio). Do it some parameters to be clear? Thanks

TomUser1 avatar Nov 22 '17 19:11 TomUser1

I change simple rate parameter from 48000 to 32000 and - audio have not noise

TomUser1 avatar Nov 22 '17 20:11 TomUser1

vlc-record-.zip But After about 5 minutes there is a noise. Recorded file from rtsp stream:

TomUser1 avatar Nov 23 '17 07:11 TomUser1

@TomUser1 Hmm, there isn't any noise even after 5 minutes without picam?

iizukanao avatar Nov 23 '17 23:11 iizukanao

NO, when I stream audio from MEMS mic (dmic_sv) via VLC, that works fine without any noise. How do you think in what there can be a problem? Thanks

TomUser1 avatar Nov 26 '17 10:11 TomUser1

Whether there can be a problem in it? : "$arecord -D mic_sv -r 44100 -f S16_LE -t wav -d 0 -c 2 test.wav Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo arecord: set_params:1233: Sample format non available Available formats: S32_LE" Сan you add support of the S32_LE and S24_LE formats also as S16 (sample_fmt=AV_SAMPLE_FMT_S16) ? Thanks

TomUser1 avatar Nov 27 '17 11:11 TomUser1

@TomUser1 OK, I will give it a try.

iizukanao avatar Dec 03 '17 13:12 iizukanao

@TomUser1 Hi dear, instead of plug:dmic_sv', use 'plug:dmic_hw ', there will be no hummimg noise. this was suggested by Dave4675 #issue30, it worked for me very well

rajeshkrarora1 avatar Oct 30 '19 15:10 rajeshkrarora1