Results 1 to 10 of 10

Thread: Recording

  1. #1
    Join Date
    Feb 2012
    Posts
    6

    Default Recording

    Hi,
    I'm new in Wowza and I have a question:
    I have to develop a program in java which must record 10 min of video from Media Server
    Do you some ideas, how can I implement this issue?
    Thank you!

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

    Default

    Take a look at the LiveStreamRecord Addon
    http://www.wowza.com/forums/content....ream-on-demand

    You can use the LiveStreamRecord API to record using a timer. Take a look at this example:
    http://www.wowza.com/forums/showthre...3223#post53223

    Richard

  3. #3
    Join Date
    Feb 2012
    Posts
    6

    Default

    Thank you Richard for your reply
    I downloaded LiveStreamRecord_3.0.zip and configured as wrote in readme file, but when I start client\LiveStreamRecord.html and click on Play button I have Failed to play myStream; stream not found.
    Thank you!

  4. #4
    Join Date
    Feb 2012
    Posts
    6

    Default

    Actually, I want to do following:
    Lets suppose that we have 2 source - 2 webcam connected to computer(maybe + projector). So, I need to record 10min from first source, after that 5 min from second - in one video file(mp4). It's possible to solve this issue with Wowza?
    Thank you!

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

    Default

    You have to publish a stream named "myStream" to the same application to use the example client. Follow all the setup steps first, of course.

    To do what you are describing will require working with the LiveStreamRecord API. The examples included in that package have server-side code, and the javadocs for reference.

    Richard

  6. #6
    Join Date
    Feb 2012
    Posts
    6

    Default

    Thank you for so fast reply
    What I'm doing:
    1. Create myChannel folder in home_wowza\applications
    2. Create myChannel folder in home_wowza\conf
    3. Copy application.xml from home_wowza\conf into home_wowza\conf\myChannel
    4. Edit application.xml: <StreamType>myChannel</StreamType>
    5. Restart Server
    6. start /LiveStreamRecord_3.0/client/LiveStreamRecord.html
    have error
    ERROR server comment - stream type not found: myChannel
    ERROR server comment - invoke(createStream): java.lang.NullPointerException: com
    .wowza.wms.stream.MediaStreamMap.getStream(null:-1)
    java.lang.NullPointerException
    at com.wowza.wms.stream.MediaStreamMap.getStream(Unknown Source)
    at com.wowza.wms.module.ModuleCore.createStream(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:57)

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

    Default

    Change this:
     <StreamType>myChannel</StreamType>
    To This:
     <StreamType>live</StreamType>
    Then publish a stream named "myChannel" to the Wowza application following this tutorial:

    http://www.wowza.com/forums/content....based-encoder)

    Richard

  8. #8
    Join Date
    Feb 2012
    Posts
    6

    Default

    Thank you for reply
    in tutorial I have:
    Publishing the stream (RTMP based encoder)
    Enter the Server URL and Stream Name information below and click the Publish or Start button on the encoder:
    but where is Publish button, or Start button ... cant find them
    thks

  9. #9

    Default

    Hello er1xyz,

    RTMP is a Flash protocol. So, examples of RTMP Encoders could be the Flash plugin in a client's web browser, such as in a Video Chat application, or the standalone FMLE encoder. If you are using Windows, take a look at FMLE.

  10. #10
    Join Date
    Feb 2012
    Posts
    6

    Default

    Thank you for reply
    FMLE = Flash Media Live Encoder?
    As I saw in LiveStreamRecord_3.0 readme file - HTTProvider.
    I think that is possible or not for ex. to do next actions:
    http://wowzaserver:8086/livestreamre...startRecording
    10 min
    http://wowzaserver:8086/livestreamre...=stopRecording
    http://wowzaserver:8086/livestreamre...ng&append=true
    10min
    http://wowzaserver:8086/livestreamre...=stopRecording
    thank you!

Posting Permissions

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