Wowza Community

VOD HLS Streaming

Hi,

I read the article How to play a video on demand file, and with Wowza Server 2.2 I succeeded in streaming VoD (Multi-bitrate).

After I upgraded to version 3 (clean install), it stopped working.

When I try to stream the sample provided in the article, I get the following

error:

INFO stream create bigbuckbunny.smil -
ERROR server comment - onApplicationInstanceCreate: javax.management.MalformedObjectNameException: Invalid character ':' in value part of pr
operty
INFO application app-start smil:bigbuckbunny.smil vod/smil:bigbuckbunny.smil
WARN server comment - HTTPStreamerAdapterCupertinoStreamer.onPlaylist[vod/smil:bigbuckbunny.smil//vod/_definst_/mp4:bigbuckbunny_450.mp4/pla
ylist.m3u8?wowzasessionid=2051756171]: Not valid stream name [2051756171][_defaultVHost_:vod/smil:bigbuckbunny.smil/vod/_definst_/mp4:bigbuc
kbunny_450.mp4]: _defaultVHost_:vod/_definst_/mp4:bigbuckbunny_1100.mp4,_defaultVHost_:vod/_definst_/mp4:bigbuckbunny_750.mp4,_defaultVHost_
:vod/_definst_/mp4:bigbuckbunny_1500.mp4,_defaultVHost_:vod/_definst_/smil:bigbuckbunny.smil,_defaultVHost_:vod/_definst_/mp4:bigbuckbunny_4
50.mp4

I’d appreciate any help.

Thanks in advance.

If you installed Wowza from current installer (3.0.2), then grab in new /conf/Application.xml for this application and reconfigure.

If this is an early Preview release, there was one or two releases in that time frame where the /conf/Application.xml was misconfigured and created this error. In that case, re-install using the current production installer:

https://www.wowza.com/docs/wowza-streaming-engine-software-updates

Don’t copy old files from past installs of Wowza to new, always remake configuration with new files.

Richard

Wiaam,

Zip up and send conf and logs from this server with recent test.

Include a link to this thread.

Richard

I downloaded and used the /conf/Application.xml in a new vod application and didn’t get that error.

I also used /conf/vod/Application.xml, and it was okay.

I tested with SimpleVideoStreaming example:

Server: rtmp://localhost:1935/Wiaam

Stream: mp4:sample.mp4

Richard

I can’t reach the server:

http://lab001.dyndns.org:1935

You might just have to allow TCP port 1935 in your server firewall, or mapped to server running Wowza in your router (port forwarding)

Richard

Wiaam,

This works in my IPhone 3gs with iOS 5:

http://lab001.dyndns.org:1935/vod/smil:bigbuckbunny.smil/playlist.m3u8

This is a little peculiar tho, it is one of the items in the first playlist, the session for one of the items.

/vod/_definst_/mp4:bigbuckbunny_750.mp4/playlist.m3u8?wowzasessionid=745768364

What does the smil file look like, and where are the files relative to the .smil file? It is easiest to have them in the same location and refer to files with relative URL. That will probably fix your problem.

<video src="mp4:bigbuckbunny_750.mp4" system-bitrate="7500000"/>

Richard

Try adding this Property set to “false”

Richard

The one in the article I forgot to link:

https://www.wowza.com/docs/how-to-switch-between-absolute-and-relative-urls-in-apple-http-live-streaming-playlists

Sorry,

Richard

Cool, thanks for the update. Glad it’s working

Richard

Hi,

Thanks for your reply.

I did a clean install of version 3.0.2 on a fresh Windows 7 and I got the same result.

I uninstalled version 3.0.2, deleted all files and installed version 3.0.3 - However, I got the same result.

I also copied a new /conf/Application.xml to /conf/vod, but got the same result.

What am I missing? :blush:

Thanks again,

Wiaam.

Hi,

You can access everything through this ftp link.

Wiaam.

I’m trying multi-bitrate with HLS (step by step according to the article).

I get the error when I try to connect to:

http://lab001.dyndns.org:1935/vod/smil:bigbuckbunny.smil/playlist.m3u8

Hi,

I’m very sorry for the late reply, I’ve been working on many projects lately.

Anyhow, unfortunately port forwarding is not the problem… At the time I had a slight resolving problem, so you couldn’t reach the server.

The resolving issue is resolved and you should be able to reach the server.

What do you propose?

Thanks a lot.

Wiaam.

Everything’s in the ‘content’ dir.

You can access everything through the FTP link above, by the way.

Please forgive me I failed to mention that I’m doing my test using a STB (AirTies), which should run HLS the same as iOS.

I ran some more tests as well, and got some peculiar results:

  • I can stream single files via HLS with no problem.

  • I can’t stream at multiple bitrates (using smil file) on the STB (while I could in Wowza v2.2.4).

  • I can stream at multiple bitrates using iOS (with the same smil file).

What’s driving me nuts is that with version 2.2 it worked with the very same STB.

Wiaam

Excuse my ignorance, but which Property?

AWESOME! It’s working beautifully now.

Thanks a lot, I really appreciate it!

Wiaam.

Hello Richard.

Can you provide codec details for your stream? iOS supports h264 video and AAC audio, or mp3 audio using 128kbs, 44100hz stereo.

Regards,

Salvadore

I’m trying to test the video by ios 8.x. when i play http://myurl:1935/vod/mp4:sample.mp4/playlist.m3u8, it worked. But when I play http://myurl:1935/vod/mp4:myvideo.mp4/playlist.m3u8, it didn’t work. “myvideo.mp4” can play on RTMP (test player from management web page). Did I miss something or which article should I read?