Unsupported video format for MP4 container: CODEC_VIDEO_SPARK

We are using live-record but not everthing is being recorded correctly.

Files are recorded as .f4v.mp4 but are corrupt or have no content, but not all as some can be edited/played later if we change the extension to .fla

In the wowza logs its says :

MediaWriterH264: Unsupported video format for MP4 container: CODEC_VIDEO_SPARK

MediaWriterH264: Unsupported video format for MP4 container: CODEC_AUDIO_NELLYMOSER_8MONO

Using MediaInfo on one of the files with content it shows an flv file with an mp4 extension.

General

Count : 277

Count of stream of this kind : 1

Kind of stream : General

Kind of stream : General

Stream identifier : 0

Count of video streams : 1

Count of audio streams : 1

Video_Format_List : H.263

Video_Format_WithHint_List : H.263 (Sorenson)

Codecs Video : Sorenson H263

Audio_Format_List : Nellymoser

Audio_Format_WithHint_List : Nellymoser

Audio codecs : Nellymoser 8kHz mono

Complete name : X:\NAS__OFFICE_SECURE\recordings\callom\FCAVPresence.M%2DCallom%5F823359%2DOxfordshire.av.f4v.mp4

Folder name : X:\NAS__OFFICE_SECURE\recordings\callom

File name : FCAVPresence.M%2DCallom%5F823359%2DOxfordshire.av.f4v

File extension : mp4

Format : Flash Video

Format : Flash Video

Format/Url : http://www.macromedia.com/go/getflashplayer

Format/Extensions usually used : flv

Commercial name : Flash Video

Internet media type : application/x-shockwave-flash

Codec : Flash Video

Codec : Flash Video

Codec/Url : http://www.macromedia.com/go/getflashplayer

Codec/Extensions usually used : flv

File size : 26900937

File size : 25.7 MiB

File size : 26 MiB

File size : 26 MiB

File size : 25.7 MiB

File size : 25.65 MiB

Duration : 1875180

Duration : 31mn 15s

Duration : 31mn 15s 180ms

Duration : 31mn 15s

Duration : 00:31:15.180

Overall bit rate : 114766

Overall bit rate : 115 Kbps

File creation date : UTC 2011-03-31 00:00:40.000

File creation date (local) : 2011-03-31 01:00:40.000

File last modification date : UTC 2011-03-31 00:00:40.000

File last modification date (loc : 2011-03-31 01:00:40.000

Video

Count : 193

Count of stream of this kind : 1

Kind of stream : Video

Kind of stream : Video

Stream identifier : 0

Format : H.263

Commercial name : H.263

Internet media type : video/H263

Codec ID : 2

Codec ID/Hint : Sorenson

Codec : Sorenson H263

Codec : Sorenson H263

Duration : 1875178

Duration : 31mn 15s

Duration : 31mn 15s 178ms

Duration : 31mn 15s

Duration : 00:31:15.178

Width : 120

Width : 120 pixels

Height : 120

Height : 120 pixels

Pixel aspect ratio : 1.000

Display aspect ratio : 1.000

Display aspect ratio : 1.000

Frame rate mode : VFR

Frame rate mode : Variable

Resolution : 8

Resolution : 8 bits

Bit depth : 8

Bit depth : 8 bits

Compression mode : Lossy

Compression mode : Lossy

Delay : 309

Delay : 309ms

Delay : 309ms

Delay : 309ms

Delay : 00:00:00.309

Delay, origin : Container

Delay, origin : Container

Audio

Count : 157

Count of stream of this kind : 1

Kind of stream : Audio

Kind of stream : Audio

Stream identifier : 0

Format : Nellymoser

Commercial name : Nellymoser

Codec ID : 5

Codec : Nellymoser 8kHz mono

Codec : Nellymoser 8kHz mono

Duration : 1875180

Duration : 31mn 15s

Duration : 31mn 15s 180ms

Duration : 31mn 15s

Duration : 00:31:15.180

Channel(s) : 1

Channel(s) : 1 channel

Resolution : 16

Resolution : 16 bits

Bit depth : 16

Bit depth : 16 bits

Delay : 0

Delay : 00:00:00.000

Delay, origin : Container

Delay, origin : Container

Delay relative to video : -309

Delay relative to video : -309ms

Delay relative to video : -309ms

Delay relative to video : -309ms

Delay relative to video : -00:00:00.309

Video0 delay : -309

Video0 delay : -309ms

Video0 delay : -309ms

Video0 delay : -309ms

Video0 delay : -00:00:00.309

And here’s another a file with no content:

General

Count : 277

Count of stream of this kind : 1

Kind of stream : General

Kind of stream : General

Stream identifier : 0

Complete name : X:\NAS__OFFICE_SECURE\recordings\FCAVPresence.admin.av.f4v.mp4

Folder name : X:\NAS__OFFICE_SECURE\recordings

File name : FCAVPresence.admin.av.f4v

File extension : mp4

Format : MPEG-4

Format : MPEG-4

Format/Extensions usually used : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v

Commercial name : MPEG-4

Format profile : Adobe Flash

Internet media type : video/mp4

Codec ID : f4v

Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html

Codec : MPEG-4

Codec : MPEG-4

Codec/Extensions usually used : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v

File size : 160

File size : 160 Bytes

File size : 160 Bytes

File size : 160 Bytes

File size : 160 Bytes

File size : 160.0 Bytes

Stream size : 160

Stream size : 160 Bytes (100%)

Stream size : 160 Bytes

Stream size : 160 Bytes

Stream size : 160 Bytes

Stream size : 160.0 Bytes

Stream size : 160 Bytes (100%)

Proportion of this stream : 1.00000

HeaderSize : 36

DataSize : 8

FooterSize : 116

IsStreamable : Yes

Encoded date : UTC 2011-03-31 14:41:48

Tagged date : UTC 2011-03-31 14:41:48

File creation date : UTC 2011-03-31 14:47:25.000

File creation date (local) : 2011-03-31 15:47:25.000

File last modification date : UTC 2011-03-31 14:47:25.000

File last modification date (loc : 2011-03-31 15:47:25.000

This is the Application.xml we are using:

true

live-record-lowlatency

${com.wowza.wms.context.VHostConfigHome}/content

${com.wowza.wms.context.VHostConfigHome}/keys

cupertinostreaming,smoothstreaming,sanjosestreaming

-1

*

*

*

*

digest

digest

senderreport

12000

75

90000

0

0.0.0.0

127.0.0.1

*

base

Base

com.wowza.wms.module.ModuleCore

properties

Properties

com.wowza.wms.module.ModuleProperties

logging

Client Logging

com.wowza.wms.module.ModuleClientLogging

flvplayback

FLVPlayback

com.wowza.wms.module.ModuleFLVPlayback

ModuleMediaWriterFileMover

ModuleMediaWriterFileMover

com.wowza.wms.module.ModuleMediaWriterFileMover

fileMoverDestinationPath

${com.wowza.wms.context.VHostConfigHome}/content/lsuk

fileMoverDeleteOriginal

true

Boolean

fileMoverVersionFile

true

Boolean

It looks like Wowza might using MediaWriterH264 when it should be using MediaWriterFLV? The application we are using with this is 123flashchat V9.

Everything else seems to be working, its just the server side recording which is causing problems. I’ve tried upgrading to Wowza 2.2.3 patch 11 but its made no difference.

Been through the forums and cant find anyone else having these problems so its possibly a config error?

Any help would be greatly appreciated !

You are prefixing the stream name with mp4:, which is instructing Wowza to record to mp4 container, but it is wrong format. You cannot record Sorenson Spark video or Nellymoser audio to mp4 container. It has to be h.264 video and AAC or MP3 audio.

Richard

I am not sure. Look above those error lines in the Wowza log for a publish event, and a stream name in that line. Where are you setting those stream names.

You might want to contact flash123chat support on this. I don’t have experience with their interface.

When you publish a web cam with Flash application, it is using Sorenson and Nellymoser and there is no other option, and it record to mp4.

Using “live-lowlatency-record” all streams will be recorded. There is no easy way of re-creating a chat from all those streams

Richard

I have no way to help specifically. I can only tell you that using a *record StreamType is unusual, and that somehow each stream is being published to Wowza with mp4: prefix, and that each chatter that connects is a stream that is being recorded.

I think the real solution is change the StreamType to “live-lowlatency”. There is no good use usually for the recordings you will get from this app.

Otherwise, you have to bring this to flash123 suppport, or check their docs

Richard

It is a little unusual to record streams from a Flash/RTMP chat because there isn’t much you can do with them. Assuming they were talking to each other in a chat session, eacch recording will seem to be talking to themselves or unseen/unheard others (you know the type), unless you can synch them when you play them back, and that is very difficult, there is no easy way to do that.

The flv: prefix is the default, does not need to be explicit, but it doesn’t hurt.

There are settings in the LiveStreamRecord example that will record to mp4 container, also not the default, but might be the problem.

Richard

Thanks for the quick reply…

Can you tell me is that configured in the rtmp address, or the 123flashchat application ?

Heres one example:

FCAVPresence.Support.av.f4v - defaultVHost lsuk_live definst 0.071 [any] 1935 rtmp://81.x.x.x:1935/lsuk_live 81.x.x.x rtmp http://.

Which records in content as FCAVPresence.Support.av.f4v.mp4

The only relevant flashchat setting is the rtmp address we use.

This is only for the cams… the chat side of things is handled by 123flashchat on another server.

We used to keep the recordings for a month just in case of a complaint and we needed to refer back to the actual cam.

It used to work ok, but recently we have upgraded both 123flashchat and WowzaPro > Wowza2 so wasnt sure what had caused this.

I dont know if there’s another way to record the streams, but in the meantime I’ll use live-lowlatency

Thanks for you help.

Heres one example:

FCAVPresence.Support.av.f4v - defaultVHost lsuk_live definst 0.071 [any] 1935 rtmp://81.x.x.x:1935/lsuk_live 81.x.x.x rtmp http://.

Which records in content as FCAVPresence.Support.av.f4v.mp4

Can you advise when the flash client publishes the stream, does it need to prefix flv: to the stream name?

I still dont really understand why live-record is trying to record to an mp4 container.

You said above its unusual to record this type of stream? Is it because of the quality or something else ?

I would like to get this working again if possible but only have limited experience with Wowza.

Assuming they were talking to each other in a chat session, eacch recording will seem to be talking to themselves or unseen/unheard others (you know the type), unless you can synch them when you play them back, and that is very difficult, there is no easy way to do that.

For this this application Wowza is only handling the streaming of the webcams. The chat side of things is seperate and not using Wowza.

I will take a closer look at the LiveStreamRecord example.

Thanks

Kevin.