# How to set file name  in a live-record app

**URL:** <https://community.wowza.com/t/how-to-set-file-name-in-a-live-record-app/650>\
**Category:** Hire a Consultant\
**Created:** [April 3, 2013, 8:12am UTC](https://community.wowza.com/t/how-to-set-file-name-in-a-live-record-app/650 "2013-04-03T08:12:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [April 3, 2013, 8:12am UTC](https://community.wowza.com/t/how-to-set-file-name-in-a-live-record-app/650/1 "2013-04-03T08:12:07Z")

</div>

Hi all,

How can I set wowza to record live broadcast with a new file-name any time a new live-record broadcast starts even if the user set the same Source Stream name?

The file name should be something like this : myStream\_2012-10-16-08.51.31.104-MDT.mp4 ( ${SourceStreamName} \_ ${RecordingStartTime} )

Consider the Souce Stream Name is set to mp4:myStream and it remains the same for several live-record sessions. The wowza default setting of the live-record app, generates file names like these:

myStream.mp4 (the last recorded file)

myStream\_0.mp4

myStream\_1.mp4

myStream\_2.mp4

What I need is something like this:

myStream\_2012-10-16-08.51.31.104-MD.mp4 (the last recorded file)

myStream\_2012-10-16-08.21.41.100-MD.mp4

myStream\_2012-10-14-08.51.31.104-MD.mp4

myStream\_2012-10-12-08.67.31.104-MD.mp4

Can you help me on this? Thank you all,

Paolo

---

<div class="post-metadata">

**Author:** ![Michal\_J](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@Michal\_J](https://community.wowza.com/u/Michal_J)\
**Post date:** [April 3, 2013, 11:30am UTC](https://community.wowza.com/t/how-to-set-file-name-in-a-live-record-app/650/2 "2013-04-03T11:30:48Z")

</div>

Paolo,

First off, I don’t think you got the forum right; this is a forum for people looking to hire a consultant for custom work.

That being said, if you set “liveStreamRecorderUseSimpleFileVersionNaming” property to “false” and have WMS 3.5.1+, then it should start versioning files the way you describe.

Incidentally, this is described [in this thread](https://www.wowza.com/docs/how-to-specify-the-legacy-file-version-naming-convention-for-recorded-files-httplivestreamrecord).

Cheers,

Michal Jirku

[Wejn s.r.o.](http://wejn.com/)
