Results 1 to 3 of 3

Thread: MP4 file is being saved after relaesing instance

  1. #1
    Join Date
    Apr 2013

    Default MP4 file is being saved after relaesing instance


    We are recording videos from HDFVR, We are using transcoder here and flv video is being converted into mp4.
    We are getting both flv and mp4 files in content folder but it is not copying in s3. If I am recording say video one: We will get flv of it and mp4 and a temp mp4. In s3 we will see only flv. Now if we close browser or record another video, we will get first mp4 in s3.

    We are using latest built of wowza.

    We have one more wowza with old build and it is working fine there. Is that any known bug in new wowza ?

  2. #2
    Join Date
    Dec 2007


    It's not clear to me what is happening. How are you recording .flv and .mp4?

    If there is tmp mp4 file after the recording, the .mp4 recording will be corrupt.


  3. #3



    What you are seeing is a bug with Wowza where the transcoded stream is not un-published when the source stream is unpublished but instead, it is un-published when the source stream is destroyed. Normally, it is not noticed because the un-publish event and the destroy event happen at the same time.

    When this does occur, the transcoder stream will continue to record until the source stream is destroyed, in your case, when the encoder connection is reset by closing the browser or starting a new stream.

    If you are using a custom swf for your encoder, you need to modify its code and set the stream to null when you have finished publishing.

    . . . 
    if(nsPublish != null) {
    nsPublish.close();  //  This just un-publishes the stream.
    nsPublish = null; // This will destroy the stream on the server.
    If you do not want the original stream from the encoder to be recorded then you need to either use a custom recording module on Wowza that will only record the transcoded streams or you can set Wowza to use StreamType live-record and then in your encoder, set the connection stream type to live after the connection is made but before the stream is created.

    The transcoder will use the live-record stream type and record the transcoded streams and the encoder will use stream type live which is not recorded.

    // NetConnection.Connect.Success received."setStreamType", null, "live");
    . . . 
    nsPublish = new NetStream(nc);
    . . .

Similar Threads

  1. How to make sure that the media file is saved on disk ?
    By jessie in forum On-Demand Streaming
    Replies: 2
    Last Post: 03-06-2014, 05:47 PM
  2. http(hls) streaming with smil file to refer 1 mp4 file ( multi-cahannels )
    By qstream in forum Video On Demand Streaming Discussion
    Replies: 4
    Last Post: 10-26-2013, 12:52 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