• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster Pro
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • Live Streaming and Encoders /
avatar image
Question by Vasya Volkov · Aug 04, 2011 at 11:37 AM · live streaming and encoders

Wowza as IPTV server with many channels.

Hi.

I've searched around forums and documentation, but have no luck with

solving my problem.

I've got a task: I need to make an IPTV service. So there are many

channels (around 50) which are pointed to different ports of some

server. So the first channel is bounded to http://ipaddr:8001 , the

second channel is bounded to http://ipaddr:8002 etc.. And I need to use

wowza as multicast server. And clients must have able to connect to

wowza server and switching channels as we can do it on station TV or

something like that (switching by playlist with vlc).

I think that I need to prepare something like playlist where channels

are listed. But I don't understand how can I do this and how to add this

to wowza.

Thanks for an answer!
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

9 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Richard Lanham · Aug 04, 2011 at 11:04 AM

We answered this in support ticket #13542. Did you get that response? There was responses from me and John.

Richard
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vasya Volkov · Aug 04, 2011 at 02:30 PM 0
Share
I'm sorry, I didn't get any answer, that's why I post here new thread.

And sorry for my bad ticket submitting: without any additional information.

In addition I want to say that we have got live streams in such format /path/to/stream.ts in one server and Wowza server on another, so maybe there is some way to just prepare a playlist with this streams?
avatar image

Answer by Charlie Good · Aug 06, 2011 at 02:29 PM

Wowza cannot ingest a stream from an HTTP URL. We can ingest streams using the following protocols:

RTMP

RTSP/RTP (over UDP and TCP)

MPEG-TS over UDP unicast and multicast

native RTP over UDP unicast and multicast

There is more specific info here:

http://www.wowza.com/specs.html

These are all your options.

Charlie
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vasya Volkov · Aug 07, 2011 at 07:52 PM 0
Share
And if I want to restream many udp multicast channels I need to broadcast them to different ports of server where Wowza running and prepare many .stream files which contents information about ports where channels streamed, yes?

Like it has been done with one stream in this article: http://www.wowza.com/forums/showthread.php?6468-How-to-publish-and-play-a-live-stream-(MPEG-TS-based-encoder)
avatar image

Answer by Richard Lanham · Aug 04, 2011 at 12:52 PM

From the ticket:

Wowza does not support http ingress except shoutcast streams.

You can have many live streams in Wowza at once with simple configuration, but there are many possible approaches to how you would provide an interface for users to switch.

This example could be useful:

http://www.wowza.com/forums/showthread.php?12304-How-can-I-put-result-of-getPublishedStreamNames()-to-AMFDataMixedArray#2

Richard

From John:

Hi Vasya,

Thanks for your interest in our Wowza Server 2 software.

From the sales side, I wanted find out if you're planning to build an IPTV system which streams to traditional IPTV set top boxes or if you're focused on streaming to a different type of client?

Based on your deployment targets, we may have detailed technical articles or specific product partners to point you to.

Yours,

John West
Comment

People who like this

0 Show 3 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vasya Volkov · Aug 04, 2011 at 04:29 PM 0
Share
Hi John and Richard,

Thank you for an answer.

About sales side: at now we already have an IPTV system which streams to boxes in custom bitrate. But we need to provide streaming to different platforms (ipod,ipad,android etc) with bitrate switching. So thats why we need Wowza. So if this information was enough that was cool to get some technical articles from you.

Could you give an answer to this, please:

Do I need vlc (or something like that) to retranslate stream to Wowza? I've make it working with vlc, but this is not good way I think, because I need to start separate copy of vlc fo each channel. (we have got live streams in such format /path/to/stream.ts in one server and Wowza server on another)

And if I have got 3 different bitrate streams what should I do? I mean in VOD case I need to prepare .smil file but what I should do in live channels case?
avatar image Vasya Volkov Vasya Volkov · Aug 04, 2011 at 06:06 PM 0
Share
And another question.

I've prepared three files VOD with 3 different bitrates and .smil file. Then I tried to view this files by IPhone 4 but have no luck - player in safari hangs and don't respond. Then I try to get your files and your bigbuckbunny.smil IPhone with very big effort can play a few seconds. So which bitrate is optimal fo mobile devices and how can I recognize which bitrate IPhone start to play? In logs there is information only about access and errors.

Thanks!
avatar image Vasya Volkov Vasya Volkov · Aug 06, 2011 at 09:26 AM 0
Share
Hello,

Sorry for delaying with answer.

Thanks for this articles, but I've already read them before start this thread.

1) I don't correctly understand do I need separate copy of vlc or not for each channel with different bitrates? For example I've got 50 channels encoded with 3 bitrates. So if I'm not mistaken I need to start 50x3 = 150 copies of vlc and prepare 50 SMIL files. Am I right?

Or there is some different way exists?

2) In the article you send me about publishing live stream I read the following text:

4. Start Wowza Media Server 2

5. Configure the MPEG-TS based encoder to send a live stream to the IP address of the server running Wowza Server using port 10000

6. Using a text editor, create the file [install-dir]/content/mpegts.stream set the contents of this file to udp://0.0.0.0:10000 (if you are receiving a multicast stream, change the 0.0.0.0 part to the multicast address of the stream)

This is explane what should I do if I want to publish one live stream. Right? And what should I do if there are many streams?

We want to buy wowza server licenses but at first we need to understand some things about your server.

Thank you!
avatar image

Answer by Richard Lanham · Aug 04, 2011 at 06:52 PM

First, here are some relevant articles:

Transcode with VLC

http://www.wowza.com/forums/content.php?90-Using-VLC-with-Wowza-Server-(MPEG-TS)

You can run several VLC processes, limited by your system resources and network connection to Wowza if on a separate machine, but for multi-bitrate purposes you might not get the required key frame alignment.

VOD encoding suggestions:

http://www.wowza.com/forums/content.php?192-Encoding-Suggestions-for-Video-on-Demand

See multi-bitrate section of MPEGTS tutorial:

http://www.wowza.com/forums/content.php?37-How-to-publish-and-play-a-live-stream-(MPEG-TS-based-encoder)

Note that streams in a multi-bitrate set must be key frame aligned, which is difficult to achieve, and I don't think VLC is going to work. Wowza 3 transcoder fixes this problem, and VLC can be used as the primary stream with that feature.

In testing with sets and a smil file, be sure to test each stream in the set by itself too, esp on mobile, to make sure it works.

Richard
Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Richard Lanham · Aug 06, 2011 at 10:57 AM

You are right about how to do this generally, but for multi-bitrate streaming to work each version must be key frame aligned. What you are doing with VLC seems unlikely to be key frame aligned. This is how to see if it is going to work:

http://www.wowza.com/forums/content.php?77-How-to-debug-encoder-multi-bitrate-key-frame-alignment

Richard
Comment

People who like this

0 Show 2 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vasya Volkov · Aug 06, 2011 at 02:18 PM 0
Share
Yes, I don't know anything about key frame aligned (and don't know what does it mean), and will try to implement it to our streaming.

So I need to start 150 copies of vlc fo streaming. Well, maybe you can suggest us to use Wowza Media Server 3 with your transcoder addon without using vlc?
avatar image Vasya Volkov · Aug 06, 2011 at 02:22 PM 0
Share
Yes, I don't know anything about key frame aligned (and don't know what does it mean), and will try to implement it to our streaming.

So I need to start 150 copies of vlc fo streaming. Well, maybe you can suggest us to use Wowza Media Server 3 with your transcoder addon without using vlc?
avatar image

Answer by Richard Lanham · Aug 06, 2011 at 11:26 AM

I do not think it will work. So take a minute to understand the key frame alignment requirement and test using the article that I sent before you waste a lot of time on it.

Richard
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vasya Volkov · Aug 06, 2011 at 05:16 PM 0
Share
I think I should explain my task more reasonably because our thread get off the point. I'll try to describe it shortly.

Our channels (around 50) have _already transcoded_ to h264 and we already broadcast them using http protocol (URLs have the form http://address/some/path/channel.ts) and pointed to different ports of some server. So the first channel is bounded to http://ipaddr:8001 , the second channel is bounded to http://ipaddr:8002 etc. Users (septop boxes - STB) use this urls to connect and process (show) content.

Now we want to test Wowza to broadcast our channels. Idea is to take streams from our broadcast servers (using http) and retransmit it with wowza.

And the main question is do we need vlc for restreaming (not for transcoding) this stream or Wowza can simply restream http input to http output stream? And if Wowzacan do such thing what configuration do we need?
avatar image

Answer by Richard Lanham · Aug 07, 2011 at 04:55 PM

You can share ports, take a look at this guide:

http://www.wowza.com/forums/showthread.php?11177-Datagram-(UDP-unicast-and-multicast)-Port-Sharing

Richard
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vasya Volkov · Aug 09, 2011 at 05:37 PM 0
Share
Hi, again.

I'm trying to broadcast live streaming with wowza: multicast udp -> wowza -> rtsp. But it's not working.

That's what I have done:

1) I've installed the last Wowza server

2) In examples folder there is a file installall.sh , which creates folders in application. The live folder - folder that I need. So I execute that file.

3) In conf/live folder I create the Applications.xml file, which I download from manual. (applications/live - folder already exists). In VHost.xml file I've added 554 port. And for any case I've opened all udp ports on my server.

4) In content folder I've create aone.stream file which contents: udp://227.7.6.30:1234 (I've also tried with udp://@227.7.6.30:1234)

5) Started stream with StreamManager. But I'm not sure that this is needed. But there are differents in logs with starting and without.

6) Trying to view this stream with mplayer rtsp://[wowza-server]:1935/live/aone.stream and don't see with error:

mplayer rtsp://[wowza-server]:1935/live/aone.stream

MPlayer SVN-r33805-4.6.1 (C) 2000-2011 MPlayer Team

163 audio & 363 video codecs

mplayer: could not connect to socket

mplayer: No such file or directory

Failed to open LIRC support. You will not be able to use your remote control.

Playing rtsp://[wowza-server]:1935/live/aone.stream.

Resolving [wowza-server] for AF_INET...

Connecting to server [wowza-server][wowza-server]: 1935...

librtsp: server responds: 'RTSP/1.0 404 Not Found'

rtsp_session: unsupported RTSP server. Server type is 'Wowza Media Server 2.2.4 build27452'.

STREAM_LIVE555, URL: rtsp://[wowza-server]:1935/live/aone.stream

Stream not seekable!

file format detected.

Failed to get a SDP description from URL "rtsp://[wowza-server]:1935/live/aone.stream": 404 Not Found

Exiting... (End of file)

In order I've followed this article: http://www.wowza.com/forums/content.php?37

and this http://www.wowza.com/forums/content.php?209

I don't share ports because of the one channel not working. When he start to broadcast, I'll try to share ports.

What else should I need to do?

Thanks.
avatar image

Answer by Richard Lanham · Aug 09, 2011 at 08:08 PM

I'm not sure about MPlayer. Have you tested the RTSP stream in VLC? And have you tested in Flash? Use Wowza LiveVideoStreaming/client example

Server: rtsp://[wowza-server]:1935/live

Stream: aone.stream

If you added 554 to /conf/VHost.xml /HostPort /Port "1935,554", then you don't have to use 1935 in the rtsp url, which can help with some players:

rtsp://[wowza-server]/live/aone.stream

Let us know how testing in VLC and Flash work.

Richard
Comment

People who like this

0 Show 2 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vasya Volkov · Aug 09, 2011 at 11:56 PM 0
Share
Hello Richard,

I've tested the stream with vlc and flash player stream but there is same result.

Here vlc output:

vlc rtsp://[wowza-server]/live/aone.stream

VLC media player 1.1.11 The Luggage (revision exported)

Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")

Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")

[0x9dd5914] main libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте 'cvlc' для запуска vlc без интерфейса.

Blocked: call to setlocale(6, "")

Warning: call to srand(1313355879)

Warning: call to rand()

Blocked: call to setlocale(6, "")

(process:14114): Gtk-WARNING **: Locale not supported by C library.

Using the fallback 'C' locale.

[0xa11c15c] live555 demux error: Failed to connect with rtsp://[wowza-server]/live/aone.stream

[0xb23007ac] main input error: open of `rtsp://[wowza-server]/live/aone.stream' failed: (null)

I've also tried to specify 1935 port, but same error.

Maybe I need to specify an interface which Wowza would listen?
avatar image Vasya Volkov · Aug 09, 2011 at 11:58 PM 0
Share
Hello Richard,

I've tested the stream with vlc and flash player stream but there is same result.

Here vlc output:

vlc rtsp://[wowza-server]/live/aone.stream

VLC media player 1.1.11 The Luggage (revision exported)

Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")

Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")

[0x9dd5914] main libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте 'cvlc' для запуска vlc без интерфейса.

Blocked: call to setlocale(6, "")

Warning: call to srand(1313355879)

Warning: call to rand()

Blocked: call to setlocale(6, "")

(process:14114): Gtk-WARNING **: Locale not supported by C library.

Using the fallback 'C' locale.

[0xa11c15c] live555 demux error: Failed to connect with rtsp://[wowza-server]/live/aone.stream

[0xb23007ac] main input error: open of `rtsp://[wowza-server]/live/aone.stream' failed: (null)

I've also tried to specify 1935 port, but same error.

Maybe I need to specify an interface which Wowza would listen?
avatar image

Answer by Richard Lanham · Aug 09, 2011 at 09:38 PM

Is your Wowza server on a public IP? If so, can you send the URL to support@wowza.com.

Include a link to the thread for reference.

Richard
Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Using Telestream Wirecast live encoder with Wowza Pro (RTMP or RTSP/RTP) 48 Answers

Is there a way to mix an audio stream and a video stream to make one new live stream 1 Answer

Matrox Monarch HD 2 Answers

Can't tell what streams are really live 1 Answer

Playing back with no audio 1 Answer

Hot Topics
  • Streaming Protocols
  • Wowza SDKs
  • AWS Hosting
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Partners
  • Partners Overview
  • Find a Reseller
  • Channel Partner Program
  • OEM Program
  • Wowza Reseller Portal
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Contact Us
Stay Connected
Sign Up for Our Blog
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster Pro
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges