node-rtsp-recorder
node-rtsp-recorder copied to clipboard
I have only empty mp4 files after run.
For my rtsp camera not work ffmpeg connect and record to file. And this lib also. May be we make VLC version? VLC have nice connect+auth and nice record file. (But i can not split file on mp4 chunks with vlc)
Hey @ErickMarlo , Have u installed ffmpeg & all its dependencies ? You might also need proper audio & video codecs installed in ffmpeg according to your camera stream.
Yes, but not sure. How to do this correctly on OSX or Ubuntu?
пт, 7 дек. 2018 г. в 05:12, Sahil Chaddha [email protected]:
Hey @ErickMarlo https://github.com/ErickMarlo , Have u installed ffmpeg & all its dependencies ? You might also need proper audio & video codecs installed in ffmpeg according to your camera stream.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sahilchaddha/node-rtsp-recorder/issues/2#issuecomment-445098492, or mute the thread https://github.com/notifications/unsubscribe-auth/ASw2_g1bmHQiA9n7lpmXPsuC8ybIs7BJks5u2c51gaJpZM4ZDCgb .
Yes, but not sure. How to do this correctly on OSX or Ubuntu? пт, 7 дек. 2018 г. в 05:12, Sahil Chaddha [email protected]: … Hey @ErickMarlo https://github.com/ErickMarlo , Have u installed ffmpeg & all its dependencies ? You might also need proper audio & video codecs installed in ffmpeg according to your camera stream. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#2 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ASw2_g1bmHQiA9n7lpmXPsuC8ybIs7BJks5u2c51gaJpZM4ZDCgb .
I need help too cos on my system the recorded video and audio files arent playing. Thanks so much
Hey @ErickMarlo , Have u installed ffmpeg & all its dependencies ? You might also need proper audio & video codecs installed in ffmpeg according to your camera stream.
Same issue here, what are the dependencies? thanks.
I got the same issue my IP Camera woek when I run the code of capture a picture, but when I start to record its just make empty files, My IP CAMERA use MJPEG and H.264 CODEC, I need help with the process of instaling the codecs in the ffmpeg environment HELP PLEASE!! :)
Here is my solution: 1) download app called onvif device manager and under live video tab get full rtsp url(my url as an example: rtsp://192.168.0.136:554/user=admin_password=tlJwpbo6_channel=1_stream=0.sdp?real_stream) 2) run script "ffmpeg -i rtsp://192.168.0.136:554/user=admin_password=tlJwpbo6_channel=1_stream=0.sdp?real_stream -c:a aac -vcodec copy \asuVideos\cam1\Feb-18th-20\video\2020-2-18-12-18-25.mp4" to identify problem (i got this script from recorder.js) 3) if everything is ok, there is no error. In my case, i got "Could not find tag for codec pcm_alaw in stream #1, codec not currently supported in container when concatenating 2 files using ffmpeg" 4) to resolve this error i just replaced mp4 extension to mov
http://help.angelcam.com/en/articles/372646-how-to-find-a-rtsp-address-for-an-onvif-compatible-camera-nvr-dvr
Old thread here, but in case anyone else comes across it, I experienced the same problem when trying to use node-rtsp-recorder in conjunction with several Wyze Cam (v2) units running the RTSP firmware. I didn't have any issues recording directly with ffmpeg using @kraiymbek's ffmepg invocation, and it seemed like the only difference between it and node-rtsp-recorder's was in the latter's src/helpers/recorder.js
, line 63, where copy
was being passed as the audio codec.
Changing this argument to aac
resolved the issue. If this repo's dev is still active, allowing the user pass an audio codec in the Recorder's constructor could help with this.
I created a pull request that lets the user resolve the issue by passing an optional audioCodec
to the Recorder's constructor: https://github.com/sahilchaddha/node-rtsp-recorder/pull/17
Hi @mscott5861 the problem is still there, the folder is still empty. i need your help please thanks