# IP camera: stream and record a fragment

**URL:** <https://discourse.nodered.org/t/ip-camera-stream-and-record-a-fragment/15876>\
**Category:** General\
**Created:** [25 September 2019 07:31 UTC](https://discourse.nodered.org/t/ip-camera-stream-and-record-a-fragment/15876 "2019-09-25T07:31:46Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![afiq93](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@afiq93](https://discourse.nodered.org/u/afiq93)\
**Post date:** [22 March 2021 09:03 UTC](https://discourse.nodered.org/t/ip-camera-stream-and-record-a-fragment/15876/26 "2021-03-22T09:03:01Z")

</div>

Hi. Hope you are well. I have a question. I tried to convert rtsp stream to mp4 using exec node. I put this as command ffmpeg -rtsp\_transport tcp -i rtsp://user:password@192.168.1.23:554//h264Preview\_01\_main -r 10 -t 60 -vcodec copy -acodec copy -y /home/pi/video.mp4. But when open the video file, no video was shown. Can help me on this? Much appreciated. Thank you

---

_[View the full topic](https://discourse.nodered.org/t/ip-camera-stream-and-record-a-fragment/15876)._
