Results 1 to 4 of 4

Thread: How to set file name in a live-record app

  1. #1
    Join Date
    Jun 2009
    Posts
    13

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

    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

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You can use IMediaWriterActionNotify (which requires the Wowza IDE):

    http://www.wowza.com/forums/content....f-live-streams

    There is a backlog item re using the ModuleMediaWriterFileMover to make this configurable, but not sure when that might happen..

    Richard

  3. #3
    Join Date
    Jun 2009
    Posts
    13

    Default

    Richard,
    the ModuleMediaWriterFileMover works fine to me as it copies the recorded file to the storage folder of my system.
    However, the default versioning system used by wowza is not good for me as it changes the name of all the files with the same sourcename any time a new file is recorded.
    How can I fix this, having wowza to record the new file with a new file name (any file name) ?

    I know I can use the IDE to implement this feauture, but I guess this is not so trivial to do .

    Thanks a lot

    Paolo

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Paolo,

    At present the only way to do that is with IMediaWriterActionNotify, which means using the IDE. I added a backlog item to enhance the ModuleWriteFileMover, but that might be awhile.

    Richard

Similar Threads

  1. How to set file name in a live-record app
    By carambola in forum Wowza Streaming Engine functionality
    Replies: 1
    Last Post: 04-03-2013, 03:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •