Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Auto record live stream

  1. #1
    Join Date
    Mar 2014
    Posts
    12

    Default Auto record live stream

    Hello,

    I need to to develop following scenario:
    - there is wowza media engine on server
    - some client connects to server and starts live transmission from his camera, connected to pc
    - live stream is available to watch at website
    - most important: every time when live stream starts, it should be silently and automatically recorded on server. So - wowza should detect when live stream starts, automatically start recording and then, automatically stop recording when live stream ends.

    I got all of above funcionalities quite eaisly. But I have some problems with setup auto recording. So - what is the easiest way to perform auto recording like there is described above? I already checked your tutorials, but they don't describe anything related to autorecord like this.
    I would preffer some ready to serve solution (even if it will be paid), but if it doesn't exist, please describe how to implement this. Is this possible to use nDVR addon for this? As I can see, it can auto record any live stream, but I'm not sure if recorded files can be archived as files available to play as vod later?

    Thanks.
    Last edited by michalm; 03-21-2014 at 03:13 AM.

  2. #2
    Join Date
    Jun 2012
    Posts
    724

    Default

    Hi,

    You can configure your application to automatically record all incoming streams. You will need to edit your application's Application.xml file and use the following STreamType in the /Root/Application/Streams/ block.
    <StreamType>live-record</StreamType>
    Zoran

  3. #3
    Join Date
    Mar 2014
    Posts
    12

    Default

    Hello,

    I assume it's the same as "Record all incoming streams " option in application configuration available via browser. I enabled this and there are mp4 files created in content directory. However, all of them are empty. What's wrong?

    [edit]
    Ok, I know what's the problem. I have set vp6 as video codec and mp4 conatiner doesn't support it. But I have some other questions:
    - can set different container or only mp4 is supported?
    - can I change output directory and file naming convention?
    Last edited by michalm; 03-21-2014 at 05:47 AM.

  4. #4
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    In the encoder, you can add flv: prefix to the stream name and Wowza will record to .flv file. So stream named "flv:myStream" will be recorded to a file named "myStream.flv"

    You can change the recording location in the manager Application screen, "Streaming File Directory".

    There is not a configurable way to change naming conventions of recordings using StreamType live-record, but you can alter the file name of the recording programatically when it is done recording using IMediaWriterActionNotify

    The HTTP Live stream record features have more options for how to record and name files.

    Richard

  5. #5
    Join Date
    Mar 2014
    Posts
    12

    Default

    Hello,

    Thanks for response, now everything is clear.

  6. #6
    Join Date
    Mar 2014
    Posts
    12

    Default

    I have one more question. Can I setup file append somehow? End user want to pause live streaming and resume it again. All of this should be recorded to single file? How to do this?

  7. #7
    Join Date
    Jun 2012
    Posts
    724

    Default

    Hi,

    In your Application.xml file, please add the following property in the /Root/Applications/Streams/Properties/ section:
    <Property>
         <Name>appendFile</Name>
         <Value>true</Value>
         <Type>Boolean</Type>
    </Property>
    Don't forget to restart your application after making the changes to the Application.xml file.

    Zoran

  8. #8
    Join Date
    Mar 2014
    Posts
    12

    Default

    Hello,

    Thanks for response. So - another question Our client preffers to use desktop application to send live stream to server. Currently we recommend him to use Flash Media Encoder, because it's easy to use and it supports multi bitrate sending (for adaptive bitrate). It also has recording function (there is Record button).

    However, it doesn't even seem to work. When I press this button, nothing is recorded on Wowza. Our client preffer to have on demand recording with append and pause possibility but without stopping streaming (only pause recording). Flash Media Encoder seems to have this functionality, but it doesn't work with Wowza, can we reconfigure Wowza to make it working?

    If not, what software for sending live stream and record as mentioned above can you recommend? Our requirements:
    - support for multi bitrate stream sending (for adaptive bitrate on server)
    - support for recording on demand (start/stop recordinq with/without file append)

    I checked your flash examples (recording) but they are not production ready and they even don't have support for multi bitrate streams. Can you recommend any software suitable to our needs? Thanks.
    Last edited by michalm; 03-25-2014 at 07:06 AM.

  9. #9
    Join Date
    Jun 2012
    Posts
    724

    Default

    Hi,

    The record option in FMLE is fpr recording the live capture locally on the computer running the encoder.
    You can use on-demand recording on Wowza server side by following the instructions from the How to record live streams (Wowza Streaming Engine) forum article.

    Zoran

  10. #10
    Join Date
    Mar 2014
    Posts
    12

    Default

    Hi,

    Quote Originally Posted by zoran_u View Post
    Hi,
    The record option in FMLE is fpr recording the live capture locally on the computer running the encoder.
    Zoran
    It's not true, I mean dvr record butoon located at bottom of windows, as shown here: http://imgur.com/HnB891S - it actually sends to server command that should tell serwer to start recording. However, Wowza seems to ignore it?

    Quote Originally Posted by zoran_u View Post
    You can use on-demand recording on Wowza server side by following the instructions from the How to record live streams (Wowza Streaming Engine) forum article.
    Yes, I know but I rather looking somenthing with functionality the same as Flash Media Encoder (most important are multi bitrate streams) + integrated on demand recording possibility. Actually, I'm looking for tool, not API that I can use to develop such tool. Do you provide any production ready apps to stream to Wowza with recording? Or, maybe it's possible to use Flash Media Encoder and its dvr record functionality?

Page 1 of 2 12 LastLast

Similar Threads

  1. Live Stream and auto record specifics streams
    By Oleg39 in forum Live Streaming and Encoders
    Replies: 10
    Last Post: 05-21-2014, 10:54 PM
  2. Live Stream Record with auto record
    By Patrickz in forum AddOn: Other AddOns
    Replies: 1
    Last Post: 11-08-2013, 05:41 AM
  3. DVR Auto Record / Stream Record
    By brayster99 in forum Tutorials Discussion
    Replies: 1
    Last Post: 04-29-2013, 04:00 AM
  4. Auto record module not working on EC2 AMI
    By briand123 in forum Server-side Modules and Code Samples Discussion
    Replies: 5
    Last Post: 12-10-2012, 10:25 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
  •