# Record only non-transcoded source stream

**URL:** https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271
**Category:** Wowza Developer Dojo
**Tags:** wowza-streaming-server-java-api
**Created:** [April 16, 2015, 12:25am UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271 "2015-04-16T00:25:57Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Ivan\_Smirnov](https://avatars.discourse-cdn.com/v4/letter/i/a4c791/32.png) [@Ivan\_Smirnov](https://community.wowza.com/u/Ivan_Smirnov)
#### Post date: [April 16, 2015, 12:25am UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/1 "2015-04-16T00:25:57Z")

</div>

Hi!

I have transcoder-addon which makes me 4 streams and have one source rtmp-livestream. Function “record all” is turned on. So I recieve 5 recorded streams.

I’d like to record only original input stream. How can I do it?

Do I need to compile livestreamrecord module?

Thank you!

---

<div class="post-metadata">

### Author: ![Andrew\_Ramberg](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Andrew\_Ramberg](https://community.wowza.com/u/Andrew_Ramberg)
#### Post date: [April 15, 2015, 3:23pm UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/2 "2015-04-15T15:23:35Z")

</div>

Hello r2r200,

It is possible to only record a single stream. If you look at the “Incoming Streams” section under your current “Application”, you will see the source stream and all the transcoded streams listed individually on this page. Simply click on the red record button next to the stream name that you’d like to save.

You may find the following [article](https://www.wowza.com/docs/how-to-record-live-streams-wowza-streaming-engine%28Wowza-Streaming-Engine%29#recordingstatus)helpful.

Best regards,

Andrew

---

<div class="post-metadata">

### Author: ![Ivan\_Smirnov](https://avatars.discourse-cdn.com/v4/letter/i/a4c791/32.png) [@Ivan\_Smirnov](https://community.wowza.com/u/Ivan_Smirnov)
#### Post date: [April 16, 2015, 11:27am UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/3 "2015-04-16T11:27:53Z")

</div>

Andrew, thank you for your answer.

Recording must start automatically. Do I have to compile module?

---

<div class="post-metadata">

### Author: ![Ivan\_Smirnov](https://avatars.discourse-cdn.com/v4/letter/i/a4c791/32.png) [@Ivan\_Smirnov](https://community.wowza.com/u/Ivan_Smirnov)
#### Post date: [May 15, 2015, 5:28pm UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/4 "2015-05-15T17:28:22Z")

</div>

> Hi r2r200,
> 
> You can set a stream to start recording automatically. This functionality is built-in to Streaming Engine. In your Manager, select the application, and then in the **Setup** tab, enable **Record all incoming streams**. You would not need to build a custom module for it, unless you require to additional features.
> 
> Michelle

If I enable “Record all incoming streams” Wowza will record every stream including transcoded. But I need to save only one non-transcoded stream

---

<div class="post-metadata">

### Author: ![Manuel\_Morales](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@Manuel\_Morales](https://community.wowza.com/u/Manuel_Morales)
#### Post date: [September 14, 2016, 3:38pm UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/5 "2016-09-14T15:38:09Z")

</div>

I think it’s important to be able to do this in a simpler way using the manager, a check box option could be great to enable record only for the source, not transcoded streams. Looking to do this more simple I’m thinking to put Nginx RTMP in front of Wowza with FFMPEG to record the source using only 2 lines with instructions, it’s very sad to not be able to do that only using Wowza with that simplicity.

---

<div class="post-metadata">

### Author: ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)
#### Post date: [May 15, 2015, 7:07pm UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/6 "2015-05-15T19:07:48Z")

</div>

Hi,

You can create a custom Wowza module that would contol which published streams are being recorded. Please take a look at the “[How to start and stop live stream recordings programmatically (IMediaStreamActionNotify3)](https://www.wowza.com/docs/how-to-start-and-stop-live-stream-recordings-programmatically-imediastreamactionnotify3%28IMediaStreamActionNotify3%29)” forum article for some sample code that can help you create that module.

Zoran

---

<div class="post-metadata">

### Author: ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)
#### Post date: [October 31, 2016, 3:35pm UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/7 "2016-10-31T15:35:33Z")

</div>

Hi,

Thank you for that feedback. I shall raise this as a feature request, though I can’t say if or when it would be implemented.

Regards,

Paul

---

<div class="post-metadata">

### Author: ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)
#### Post date: [April 24, 2015, 4:14pm UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/8 "2015-04-24T16:14:12Z")

</div>

Hi r2r200,

> Recording must start automatically. Do I have to compile module?

You can set a stream to start recording automatically. This functionality is built-in to Streaming Engine. In your Manager, select the application, and then in the **Setup** tab, enable **Record all incoming streams**. You would not need to build a custom module for it, unless you require to additional features.

Michelle

---

<div class="post-metadata">

### Author: ![Robert\_Reinhardt1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/robert_reinhardt1/32/686_2.png) [@Robert\_Reinhardt1](https://community.wowza.com/u/Robert_Reinhardt1)
#### Post date: [January 21, 2020, 2:49pm UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/9 "2020-01-21T14:49:25Z")

</div>

With respect to the above mentioned module RE: “How to start and stop live recordings programmatically (IMediaStreamActionNotify3)”, you only need a couple of extra lines to _only_ record the source incoming stream:

public void onPublish(IMediaStream stream, String streamName, boolean isRecord, boolean isAppend)

{

System.out.println(“onPublish[” + stream.getContextStr() + “]: streamName:” + streamName + " isRecord:" + isRecord + " isAppend:" + isAppend);

if(stream.isTranscodeResult())

return;

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [January 21, 2020, 7:37pm UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/10 "2020-01-21T19:37:02Z")

</div>

Thanks for sharing that with the community @Robert Reinhardt.

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [January 21, 2020, 7:38pm UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/11 "2020-01-21T19:38:31Z")

</div>

I’ll share it with Engine team.

---

<div class="post-metadata">

### Author: ![Reid\_Stillings](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@Reid\_Stillings](https://community.wowza.com/u/Reid_Stillings)
#### Post date: [July 22, 2020, 12:18pm UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/12 "2020-07-22T12:18:05Z")

</div>

I’m interested in this also and doesn’t look like there was a simple and viable solution.

It appears there are three options - record all automatically, manually record precisely or record nothing. The interest is in a single record that that one could define and it has to be automatic. It would be great if you could turn off record all incoming streams and in specific presets - set it to automatically record. That way one could control exactly the encodes they wanted precisely and automatically

---

<div class="post-metadata">

### Author: ![Reid\_Stillings](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@Reid\_Stillings](https://community.wowza.com/u/Reid_Stillings)
#### Post date: [July 22, 2020, 12:18pm UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/13 "2020-07-22T12:18:05Z")

</div>

I’m interested in this also and doesn’t look like there was a truly simple one-click solution.

It appears there are three options - record all automatically, manually record precisely or record nothing. The interest is in a single record that that one could define and it has to be automatic. It would be great if you could turn off record all incoming streams and in specific presets - set it to automatically record. That way one could control exactly the encodes they wanted precisely and automatically

---

<div class="post-metadata">

### Author: ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)
#### Post date: [July 28, 2020, 12:59pm UTC](https://community.wowza.com/t/record-only-non-transcoded-source-stream/38271/14 "2020-07-28T12:59:45Z")

</div>

Hi Reid,

Check out our [**LiveStreamRecordAutoRecord**](https://www.wowza.com/docs/how-to-start-recording-streams-automatically-livestreamrecordautorecord) module. This allows you to choose which streams to record.

Regards,

Paul
