# DVR and transcoder: recording only the original stream, not the transcoded one. ModuleDvrRecorderControl not working.

**URL:** <https://community.wowza.com/t/dvr-and-transcoder-recording-only-the-original-stream-not-the-transcoded-one-moduledvrrecordercontrol-not-working/52908>\
**Category:** Wowza Streaming Engine\
**Tags:** transcoder\
**Created:** [February 26, 2019, 9:04am UTC](https://community.wowza.com/t/dvr-and-transcoder-recording-only-the-original-stream-not-the-transcoded-one-moduledvrrecordercontrol-not-working/52908 "2019-02-26T09:04:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrea\_Lo\_Pumo](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Andrea\_Lo\_Pumo](https://community.wowza.com/u/Andrea_Lo_Pumo)\
**Post date:** [February 26, 2019, 9:04am UTC](https://community.wowza.com/t/dvr-and-transcoder-recording-only-the-original-stream-not-the-transcoded-one-moduledvrrecordercontrol-not-working/52908/1 "2019-02-26T09:04:05Z")

</div>

We want to record only the original stream and not the transcoded one. I tried to use

ModuleDvrRecorderControl, but it does not seem to work.

The transcoded stream has a “\_trans” suffix, and the following is the configuration used for the module:

```auto
<Application>
...
	<Properties>
	...
            <Property>
                <Name>dvrRecorderControlSuffixes</Name>
                <Value>_trans</Value>
                <Type>String</Type>
            </Property>
            <Property>
                <Name>dvrRecorderControlMatchAllow</Name>
                <Value>false</Value>
                <Type>Boolean</Type>
            </Property>
            <Property>
                <Name>dvrRecorderControlNoMatchAllow</Name>
                <Value>true</Value>
                <Type>Boolean</Type>
            </Property>
	</Properties>
</Application>

```

The module seems to actually run correctly, in fact, in the logs we read:

```auto
2019-02-25 18:08:09 CET comment server INFO 200 vdeo_22212.stream_trans DvrRecorderControl.shouldDvrRecord [dvrrecorder : vdeo_22212.stream_trans : match found : _trans : returning false] _defaultVHost_ webrtctrans _definst_ 224.084 - 80 null 127.0.0.1 rtsp - known 1975076197 216 0 2 0 0 0 vdeo_22212.stream_trans - - - - - /vdeo_22212.stream_trans /vdeo_22212.stream_trans - null -

```

However, when in the “incoming streams” page of the application, we see that

vdeo\_22212.stream\_trans is writing a file:

```auto
Recording in Progress
Segment Duration = 00:12:05.600 | Version existing file | Record Data | Start on KeyFrame
/usr/local/WowzaStreamingEngine/content/vdeo_22212_20190226094449.flv.tmp

```

What can we do?

Thank you.

---

<div class="post-metadata">

**Author:** ![Andrew\_Kennedy1](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@Andrew\_Kennedy1](https://community.wowza.com/u/Andrew_Kennedy1)\
**Post date:** [February 26, 2019, 10:31pm UTC](https://community.wowza.com/t/dvr-and-transcoder-recording-only-the-original-stream-not-the-transcoded-one-moduledvrrecordercontrol-not-working/52908/2 "2019-02-26T22:31:12Z")

</div>

I think what you are seeing is the source stream being recorded. As you have default of true, and it does not match, it is being recorded.

As further up in the logs you can see

found : \_trans : returning false

The filename for the recorded file does not seem to contain the suffix \_trans ?

---

<div class="post-metadata">

**Author:** ![Andrea\_Lo\_Pumo](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Andrea\_Lo\_Pumo](https://community.wowza.com/u/Andrea_Lo_Pumo)\
**Post date:** [February 27, 2019, 9:00am UTC](https://community.wowza.com/t/dvr-and-transcoder-recording-only-the-original-stream-not-the-transcoded-one-moduledvrrecordercontrol-not-working/52908/3 "2019-02-27T09:00:52Z")

</div>

Nope, “recording in progress” is in the \_trans stream too. See the picture below.
