node-rtsp-recorder icon indicating copy to clipboard operation
node-rtsp-recorder copied to clipboard

I have only empty mp4 files after run.

Open ErickMarlo opened this issue 6 years ago • 9 comments

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)

ErickMarlo avatar Dec 05 '18 16:12 ErickMarlo

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.

sahilchaddha avatar Dec 07 '18 02:12 sahilchaddha

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 .

ErickMarlo avatar Dec 17 '18 19:12 ErickMarlo

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

uzenith360 avatar May 17 '19 12:05 uzenith360

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.

Skullcan avatar Jul 29 '19 23:07 Skullcan

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!! :)

LSanchez94 avatar Nov 28 '19 01:11 LSanchez94

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

kraiymbek avatar Feb 17 '20 19:02 kraiymbek

http://help.angelcam.com/en/articles/372646-how-to-find-a-rtsp-address-for-an-onvif-compatible-camera-nvr-dvr

kraiymbek avatar Feb 17 '20 19:02 kraiymbek

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

gooselord-0 avatar Jun 28 '22 10:06 gooselord-0

Hi @mscott5861 the problem is still there, the folder is still empty. i need your help please thanks

ChaymaBENBRAHIM avatar Jun 29 '22 09:06 ChaymaBENBRAHIM