Wowza Community

How to rename recorded live videos automatically?

hi,

I want to record the live video and saved it on the hard disk,but there is a question that is,could I change the names of the previous recorded videos automatically?

for example:

the stream name I set up is “myStream” and on the disk its name is “myStream” if there is no “myStream” used.

then I record next time, on the disk the one above-mentioned ,its name has been changed to “myStream_0”, and the current one’s name is “myStream”.

I want to set the rename rules, I tried to set up the stream name on the flash media encoder to “myStream %i”, it is effective, but it is not enough.

And how could I let the recorded live video’s name changed according to current date and time?should I set up the flash media encoder or the application.xml file?

waiting for any help.

hi,

I want to record the live video and saved it on the hard disk,but there is a question that is,could I change the names of the previous recorded videos automatically?

for example:

the stream name I set up is “myStream” and on the disk its name is “myStream” if there is no “myStream” used.

then I record next time, on the disk the one above-mentioned ,its name has been changed to “myStream_0”, and the current one’s name is “myStream”.

I want to set the rename rules, I tried to set up the stream name on the flash media encoder to “myStream %i”, it is effective, but it is not enough.

And how could I let the recorded live video’s name changed according to current date and time?should I set up the flash media encoder or the application.xml file?

waiting for any help.

I read the adobe flash media encoder help documents:

If you use a filename that exists in the selected folder, Flash Media Live Encoder renames the existing file so that the newly saved file does not overwrite it. For example, if sample.flv exists, Flash Media Live Encoder renames it sample.0.flv and saves your new file as sample.flv. If both sample.flv and sample.0.flv exist, sample.flv is renamed sample.1.flv, and so on. If the wrong filename extension is used, Flash Media Live Encoder changes it to the correct filename extension.

and it does not support date format like “%Y/%d/%m %H:%M:%S”,only some easy parameters like %i,%f(output frame size),etc.

http://help.adobe.com/en_US/FlashMediaLiveEncoder/3.1/Using/WS86632046-87C8-4d50-AD74-E1A08AC67FEE.html

so can wowza do the job of set up the rename rule?

Take a look at this post:

http://www.wowza.com/community/t/-/91

Richard

Take a look at this post:

http://www.wowza.com/community/t/-/91

Richard

Thank you Richard for your reply. Let me have a try.