Results 1 to 6 of 6

Thread: Is there a way to tell Wowza to execute a program after a file write is complete?

  1. #1
    Join Date
    Nov 2014
    Posts
    5

    Default Is there a way to tell Wowza to execute a program after a file write is complete?

    Hi,

    I want to upload a video file to my S3 input bucket ľas soon as a Wowza file write is complete- so the Amazon Elastic Transcoder can transcode the file.

    Is there a way to tell Wowza to execute a program after a file write is complete?

    I found the IMediaWriterActionNotify and I did the following:

    1. Installed Wowza IDE
    2. Followed the Project and Module Class Creation (from here) to create a Wowza Media Server Project
    3. At this point, if I run/debug the sample code, onAppStart, onAppStop, etc. are not being called.
    4. Then I edited the MyFirstModule class and pasted the example code from IMediaWriterActionNotify

    But for some reason, the onFLVAddMetadata and onWriteComplete are not being called. Does anybody know what I am missing here?

    Thanks!!

  2. #2

    Default

    Hello there and welcome to the Wowza support forum.

    Did you add your module to the application?
    Configure modules

    If so, do you see any indication of the problem in the logs?

    Kind regards,

    Salvadore

  3. #3

    Default

    Sorry, I forgot to mention the built-in file mover module that you might be interested in trying as well:
    How to move recordings from live streams (ModuleMediaWriterFileMover)

    Salvadore

  4. #4
    Join Date
    Nov 2014
    Posts
    5

    Default

    Hi Salvadore,

    Thank you for you reply. I followed the Configure modules link you provided and it is working now!

    Thank you!!

  5. #5

    Default

    That's great news. I am glad you got this worked out and happy I could help.

    Kind regards,

    Salvadore

  6. #6

    Default

    Hi I recommend if need upload from Wowza to S3 use Java SDK with MultipartUpload, try to don't use s3fs, the performance is terrible! I start one project using s3fs and we has many issuel uploading, after move to AWS Java SDK upload, the performance is impressive 20mb in 1 sec.

    On the other hand can use the New AWS Lamda service to run events after a new s3 object be created in you bucket, and send them to ElasticTranscode.

    hope this help!
    Alejandro

Similar Threads

  1. Replies: 4
    Last Post: 01-01-2015, 04:26 AM
  2. Replies: 3
    Last Post: 09-12-2013, 07:07 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
  •