Results 1 to 3 of 3

Thread: Convert video file recorded by Wowza using append mode to another format

  1. #1
    Join Date
    Jan 2011

    Default Convert video file recorded by Wowza using append mode to another format

    Hi everyone!
    I use server side recording module to record mp4 files from live video stream from flash (h264).
    I use append feature to pause and resume recording to the same file.

    But the problem appears, when i try convert recorded file to another format using ffmpeg.

    For example, when i use this command to get file info "ffmpeg -i video.mp4", i get this output with warning:

    [mov,mp4,m4a,3gp,3g2,mj2 @ 000000000035D0E0] multiple fourcc not supported
    Seems stream 0 codec frame rate differs from container frame rate: 20.00 (20/1)
    -> 10.00 (20/2)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'id2-0_video.mp4':
        major_brand     : f4v
        minor_version   : 0
        compatible_brands: isommp42m4v
        creation_time   : 2011-12-30 09:11:21
      Duration: 00:00:23.42, start: 0.000000, bitrate: 384 kb/s
        Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1024x
    768 [SAR 1:1 DAR 4:3], 383 kb/s, 9.18 fps, 10 tbr, 90k tbn, 20 tbc
          creation_time   : 2011-12-30 09:11:21
          handler_name    : WowzaMediaServerPro
    Duration is correct (00:00:23.42) - this file contains 2 parts 11 seconds and 12 seconds.

    Next, I try to convert this file to another format, for example:
    ffmpeg -i video.mp4 convertedVideo.avi
    But during convertation proccess, it stops after 11 seconds
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 -> mpeg4)
    Press [q] to stop, [?] for help
    frame=   47 fps=  0 q=17.8 size=     279kB time=00:00:05.10 bitrate= 448.6kbits/
    frame=  101 fps=100 q=11.1 size=     436kB time=00:00:11.00 bitrate= 324.4kbits/
    frame=  108 fps=100 q=13.4 Lsize=     450kB time=00:00:11.80 bitrate= 312.1kbits
    video:441kB audio:0kB global headers:0kB muxing overhead 1.913553%
    Seems like only first part of video was converted (before second part was appended).

    Original recorded file plays normally by VLC and Wowza.

  2. #2


    The way we append to mp4 files is per the specification. There is a chance that ffmpeg does not understand the resultant format.


  3. #3
    Join Date
    Jan 2011


    Charlie, thanks for the answer.
    I couldn't find the reason, why I can't use appended file, so I've implemented manual appending after recording videos into different files.

Similar Threads

  1. Addon streams in append mode
    By Bruno-Eyedo in forum Wowza Transcoder
    Replies: 6
    Last Post: 09-19-2014, 09:45 AM
  2. Replies: 11
    Last Post: 03-05-2014, 05:50 AM
  3. recorded .mp4 format video file does not play while in live streaming
    By vinodkumarc in forum Live Streaming and Encoder Discussion
    Replies: 6
    Last Post: 10-02-2012, 06:16 AM
  4. Wowza MP4 Append and file mover addon
    By essence in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 11
    Last Post: 01-17-2012, 09:27 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