# Subdivision and storage of live streaming and streaming with a USB camera

**URL:** <https://community.wowza.com/t/subdivision-and-storage-of-live-streaming-and-streaming-with-a-usb-camera/91922>\
**Category:** Wowza Streaming Engine\
**Created:** [September 15, 2020, 2:20pm UTC](https://community.wowza.com/t/subdivision-and-storage-of-live-streaming-and-streaming-with-a-usb-camera/91922 "2020-09-15T14:20:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guido\_Pastore](https://avatars.discourse-cdn.com/v4/letter/g/85e7bf/32.png) [@Guido\_Pastore](https://community.wowza.com/u/Guido_Pastore)\
**Post date:** [September 15, 2020, 2:20pm UTC](https://community.wowza.com/t/subdivision-and-storage-of-live-streaming-and-streaming-with-a-usb-camera/91922/1 "2020-09-15T14:20:30Z")

</div>

Hello,  
I have two questions to ask.

1. I am currently using an IP Camera, and I can perform a live stream using the command prompt with ffmpeg and see the output on vlc in RTMP format. Is it possible to make a record of my live streaming? I would like to store my live stream in many 60 second video clips. I would like to understand how to do with and / or without ffmpeg.
2. Is it possible to perform a live streaming with and / or without ffmpeg using an external USB Camera?  
Thank you very much for helping

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [September 15, 2020, 5:27pm UTC](https://community.wowza.com/t/subdivision-and-storage-of-live-streaming-and-streaming-with-a-usb-camera/91922/2 "2020-09-15T17:27:18Z")

</div>

1. 

You want to record from ffmpeg or from Wowza? With ffmpeg you can use the tee pseudo-mixer to send the stream to multiple outputs (see [https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs#Teepseudo-muxer](https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs#Teepseudo-muxer))

Wowza has a built-in recording feature; you can enable recording for all streams by default or you can control recording via the Engine Manager Panel or via the REST API. The recording feature also allows you to record the stream in pieces of 60 seconds each. See [https://www.wowza.com/docs/how-to-record-live-streams-wowza-streaming-engine](https://www.wowza.com/docs/how-to-record-live-streams-wowza-streaming-engine) (search for “split”)

1. 

You can’t capture the signal from an USB cam directly with Wowza; because the signal from an USB cam isn’t encoded, so you need ffmpeg to capture that signal and encode it (e.g. to H.264 video and AAC audio) If you use ffmpeg, you can send the output to Wowza over RTMP, RTSP, SRT, etc. Helpful article here: [https://www.wowza.com/docs/how-to-live-stream-using-ffmpeg-with-wowza-streaming-engine](https://www.wowza.com/docs/how-to-live-stream-using-ffmpeg-with-wowza-streaming-engine)
