Wowza Community

WMS: No video on VOD

hello everyone!!!

I have .mp4 video file, I am using VOD but no video display. this is my video codec information (my video no audio).

type: Video
Codec: avc1
Resolution: 1280x720
Display resolution: 1280x720
Frame rate: 15

thank you so much!!!

when I click connect button. I get error below

ERROR server comment - H264CodecConfigInfo.decodeAVCC: java.lang.ArrayIndexOutOfBoundsException: 4
java.lang.ArrayIndexOutOfBoundsException: 4
	at com.wowza.wms.media.h264.H264Utils.decodeAVCC(Unknown Source)
	at com.wowza.wms.mediareader.h264.util.QTUtils.parseAtomstbl(Unknown Source)
	at com.wowza.wms.mediareader.h264.util.QTUtils.parseAtomminf(Unknown Source)
	at com.wowza.wms.mediareader.h264.util.QTUtils.parseAtommdia(Unknown Source)
	at com.wowza.wms.mediareader.h264.util.QTUtils.parseAtomtrak(Unknown Source)
	at com.wowza.wms.mediareader.h264.util.QTUtils.parseAtommoov(Unknown Source)
	at com.wowza.wms.mediareader.h264.util.QTUtils.parseQTMediaContainer(Unknown Source)
	at com.wowza.wms.mediareader.h264.MediaReaderH264.open(Unknown Source)
	at com.wowza.wms.stream.file.PlaylistPlayer.play(Unknown Source)
	at com.wowza.wms.stream.file.MediaStreamFilePlay.play(Unknown Source)
	at com.wowza.wms.response.ResponseStreams.output(Unknown Source)
	at com.wowza.wms.request.RTMPRequestAdapter.service(Unknown Source)
	at com.wowza.wms.server.ServerHandler.a(Unknown Source)
	at com.wowza.wms.server.ServerHandler.a(Unknown Source)
	at com.wowza.wms.server.ServerHandler.messageReceived(Unknown Source)
	at com.wowza.wms.server.ServerHandlerThreadedSession.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:679)
WARN server comment - QTUtils.parseAtomstbl[/usr/local/WowzaMediaServer/content/save_video.mp4]: Error reading 'stsd' section. Structure is zero size: vmhd:avcC
INFO stream play save_video.mp4 -

Hi,

How was the vod file created?

You may want to take a look at this article regarding suggestions for creating Wowza compatible vod files.

Daren

You’re welcome!

Please provide an example of the ffmpeg command line you are using currently.

What I really need to know is are you just saving directly from a stream to an mp4 file,

or are you re-encoding the video and/or audio? But the command you are using should hopefully tell me.

In the meantime I would try adapting the ffmpeg lines provided in the article I highlighted / linked to above

to see if re-encoding fixes the problem.

Daren

Hi,

It’s more likely to be a problem with the atom structure of the file and not the encoding profile or level.

Daren

Hi,

How was the vod file created?

You may want to take a look at this article regarding suggestions for creating Wowza compatible vod files.

Daren

thanks daren!!!

I am using ffmpeg library to get RTP-H264 Stream and save to mp4 file. I can play with VLC (video lan) or mplayer. but no video display on VOD, with sample.mp4 is ok.

what something wrong??

Thanks!!!

Hi draren_i!!!

I don’t use ffmpeg command line, I’m using codec library of ffmpeg. my application is writen by C code. I think my video is not support by Wowza media server. so, I using h264 encoder (www.h264encoder.com) to convert my video (mpeg-4) to H264 format.

this is my video information befort covert

General
Complete name                            : Z:\media\Entertainment\ubuntu\Videos\video_encode.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 34.5 MiB
Duration                                 : 4mn 48s
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 003 Kbps
Writing application                      : Lavf52.64.2
Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 1 frame
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 4mn 48s
Bit rate mode                            : Variable
Bit rate                                 : 1 002 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 15.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.072
Stream size                              : 34.4 MiB (100%)

and after convert

General
Complete name                            : Z:\media\Entertainment\ubuntu\Videos\video_encode_test.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 189 MiB
Duration                                 : 4mn 48s
Overall bit rate                         : 5 505 Kbps
Writing application                      : Lavf52.106.0
Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 4mn 48s
Bit rate                                 : 5 500 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 15.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.398
Stream size                              : 189 MiB (100%)
Writing library                          : x264 core 114 r1924 08d04a4
Encoding settings                        : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=4 / psy=1 / psy_rd=0.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=20 / rc=abr / mbtree=1 / bitrate=5500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.41 / aq=1:1.00

so, after convert, video has display well!!!

can you tell me what wrong with my video format???!!!

Thanks!!!

I think my problem is format profile. level ( =4) is not support by Wowza???

Hi Mr.daren_j!!!

can u tell me what atom structure???. My Encoder is TI DM368 using H264 encoder.!!!

Thanks a lot!!!