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

Thread: MediaWriterH264: Unsupported audio format for MP4 container

  1. #1
    Join Date
    Dec 2011
    Posts
    6

    Default MediaWriterH264: Unsupported audio format for MP4 container

    Sending Nellymoser encoded audio data from the flash player to Wowza Media Server 3 Developer Edition 3.0.5 build1220 results in this warning:

    WARN server comment - MediaWriterH264: Unsupported audio format for MP4 container: CODEC_AUDIO_NELLYMOSER

    We tried sending Speex and got a similar warning:

    WARN server comment - MediaWriterH264: Unsupported audio format for MP4 container: CODEC_AUDIO_SPEEX

    We are using the com.wowza.wms.plugin.integration.liverecord plugin library to record the live stream for a specified duration of time. I looked thru the decompiled code in the plugin classes and noticed if the codec id is not 10 and not 2 then it results in that warning and the resulting file on the hard drive has no audio data in it (verified with ffmpeg).

    So we can't record nellymoser or speex data? Can someone help? Thank you.

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

    Default

    You can record both to flv container.

    Richard

  3. #3
    Join Date
    Dec 2011
    Posts
    6

    Default

    Hi Richard,

    We are doing HD encoding thru flash player 11 so that doesn't help us. OK let me rephrase my question: Can we limit the recording using "live-record" StreamType to X minutes long only?

    Also, why is the plugin not part of the standard installation package?

  4. #4
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi
    The length of time doesn't effect the out-put of container but Nellymoser and speex are not compatible with an mp4 container.
    You will need to change the container to be one that is compatible with the audio you wish to use, Richard suggested flv.

    You can record the stream type to be X minutes long using the plugin but not the standard "live-record" in the Application.xml.

    Jason

  5. #5
    Join Date
    Dec 2011
    Posts
    6

    Default

    I'm confused. We just streamed an MP4 to FMS 4.5 using H264 for the video codec and Speex for the audio codec. FFMPEG is telling me that it has put speex data in the file. I thought F4V was just adobe's wrapper around the MP4 file format? Am I wrong? Why can't Wowza put Speex data in the f4v/mp4 file?

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.f4v':
    Metadata:
    major_brand : f4v
    minor_version : 0
    compatible_brands: isommp42m4v
    creation_time : 2017-06-30 11:03:58
    Duration: 00:08:48.39, start: 0.000000, bitrate: 65 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x1024 [SAR 1:1 DAR 5:4], 89 kb/s, SAR 16:15 DAR 4:3, 1 tbr, 1k tbn, 10 tbc
    Metadata:
    creation_time : 2017-06-30 11:03:58
    handler_name : MainConcept
    Stream #0:1(eng): Audio: speex (spex / 0x78657073), 16000 Hz, 1 channels, s16, 8 kb/s
    Metadata:
    creation_time : 2017-06-30 11:03:58
    handler_name : Speex Handler
    Stream #0:2(eng): Data: none (amf0 / 0x30666D61)
    Metadata:
    creation_time : 2017-06-30 11:03:58
    handler_name : Timed Metadata Handler

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

    Default

    At this time with Wowza you have to use flv container if the audio is Speex. This feature might be added to a future release of Wowza, but I have no time frame for that.

    Richard

  7. #7

    Default

    The f4v format is the same as MP4. In the future we will add support for Speex in an MP4 file. We do not support it at this time.

    Charlie

  8. #8
    Join Date
    Dec 2011
    Posts
    6

    Default

    OK, thank you for all the info

  9. #9
    Join Date
    Mar 2012
    Posts
    4

    Default

    Hi Charlie,

    Indeed, thanks for the info. Do you have any timeline info you could provide on when speex in mp4 will be supported? It would help us out a lot.

    Thanks,
    Ernie

    Quote Originally Posted by charlie View Post
    The f4v format is the same as MP4. In the future we will add support for Speex in an MP4 file. We do not support it at this time.

    Charlie

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

    Default

    It is supported now. mp4 file can contain Speex. Flash RTMP and HTTP players can playback mp4 with Speex audio (and h.264 video). Take a look at this guide, which includes transcoding Speex to AAC for non-Flash clients

    http://www.wowza.com/forums/content....anscoder-AddOn

    Richard

Page 1 of 2 12 LastLast

Similar Threads

  1. Streaming/Recording in MP4 format
    By ggrillo in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 07-12-2012, 10:35 PM

Posting Permissions

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