# WMS: No video on VOD

**URL:** https://community.wowza.com/t/wms-no-video-on-vod/41507
**Category:** Wowza Streaming Engine
**Created:** [October 30, 2013, 10:08am UTC](https://community.wowza.com/t/wms-no-video-on-vod/41507 "2013-10-30T10:08:44Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![vuong\_thang](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@vuong\_thang](https://community.wowza.com/u/vuong_thang)
#### Post date: [October 30, 2013, 10:08am UTC](https://community.wowza.com/t/wms-no-video-on-vod/41507/1 "2013-10-30T10:08:44Z")

</div>

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).

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

```

thank you so much!!!

---

<div class="post-metadata">

### Author: ![vuong\_thang](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@vuong\_thang](https://community.wowza.com/u/vuong_thang)
#### Post date: [October 30, 2013, 10:36am UTC](https://community.wowza.com/t/wms-no-video-on-vod/41507/2 "2013-10-30T10:36:41Z")

</div>

when I click connect button. I get error below

```auto
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 -

```

---

<div class="post-metadata">

### Author: ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)
#### Post date: [October 29, 2013, 9:38pm UTC](https://community.wowza.com/t/wms-no-video-on-vod/41507/3 "2013-10-29T21:38:20Z")

</div>

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](https://www.wowza.com/docs/how-to-encode-video-on-demand-content).

Daren

---

<div class="post-metadata">

### Author: ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)
#### Post date: [October 30, 2013, 8:20am UTC](https://community.wowza.com/t/wms-no-video-on-vod/41507/4 "2013-10-30T08:20:49Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)
#### Post date: [October 31, 2013, 10:25pm UTC](https://community.wowza.com/t/wms-no-video-on-vod/41507/5 "2013-10-31T22:25:39Z")

</div>

Hi,

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

Daren

---

<div class="post-metadata">

### Author: ![vuong\_thang](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@vuong\_thang](https://community.wowza.com/u/vuong_thang)
#### Post date: [October 30, 2013, 2:01pm UTC](https://community.wowza.com/t/wms-no-video-on-vod/41507/6 "2013-10-30T14:01:30Z")

</div>

> 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](https://www.wowza.com/docs/how-to-encode-video-on-demand-content).
> 
> 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!!!

---

<div class="post-metadata">

### Author: ![vuong\_thang](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@vuong\_thang](https://community.wowza.com/u/vuong_thang)
#### Post date: [October 31, 2013, 2:36pm UTC](https://community.wowza.com/t/wms-no-video-on-vod/41507/7 "2013-10-31T14:36:56Z")

</div>

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

```auto
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

```auto
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!!!

---

<div class="post-metadata">

### Author: ![vuong\_thang](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@vuong\_thang](https://community.wowza.com/u/vuong_thang)
#### Post date: [October 31, 2013, 4:59pm UTC](https://community.wowza.com/t/wms-no-video-on-vod/41507/8 "2013-10-31T16:59:54Z")

</div>

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

---

<div class="post-metadata">

### Author: ![vuong\_thang](https://avatars.discourse-cdn.com/v4/letter/v/3bc359/32.png) [@vuong\_thang](https://community.wowza.com/u/vuong_thang)
#### Post date: [November 3, 2013, 1:45pm UTC](https://community.wowza.com/t/wms-no-video-on-vod/41507/9 "2013-11-03T13:45:42Z")

</div>

Hi Mr.daren\_j!!!

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

Thanks a lot!!!
