Wowza Community

Using an MPEG Transport Stream (MPEG-TS) encoder with Wowza Pro (MPEG-TS)

HI,

we are using MPEG2 TS/RTP multicast for input. We get jerky picture with 3-4 fps.

Stream is HVGA, H.264 400kbps, 25fps. The picture is the same in Flash player and on Iphone. If we use 3GPPv6, with same parameters, the picture if fine and no problems are present.

If we set on encoder MPEG 2 TS/UDp, then a lot of RTP packet loss errors are observed.

What could be the problem?

Thanks!

What could be the problem?

HI,

thanks for prompt reply. I’ll use this module to debug streams and see what I can find.

Birates and resolutions that were jerky were from QCIF (~150kbps) up to VGA. The problems were more or less the same for every bitrate/resolution.

We use leading brand of encoders, so I guess it’s not an encoding problem. The problem is that with standard MPEG2 TS/RTP exporter we do not get any useful streams (and it should work). With 3GPPv6 exporter we can go up to HVGA and we need also VGA streams.

I’ll test this today and see what happens.

Thanks!

HI,

thanks for prompt reply. I’ll use this module to debug streams and see what I can find.

Birates and resolutions that were jerky were from QCIF (~150kbps) up to VGA. The problems were more or less the same for every bitrate/resolution.

We use leading brand of encoders, so I guess it’s not an encoding problem. The problem is that with standard MPEG2 TS/RTP exporter we do not get any useful streams (and it should work). With 3GPPv6 exporter we can go up to HVGA and we need also VGA streams.

I’ll test this today and see what happens.

Thanks!

I installed the module and set it up more or less as instructed. I do not see any errors in the stream. It’s recognized correctly.

May I send you the stream URL via private message, along with a short part of the log just to verify that there are no errors?

Perhaps you can spot something strange.

What I also noticed are some artifacts in the lower part of the image, which are almost always present in Flash player. I also noticed that in Flash player it seems that only I frames are shown (every 1500ms), while on Iphone the still images change 2-3 times a second.

With RTP using 3GPPv6 exporter all is fine.

The bitrate is ~400kbps for VGA stream.

Thanks!

Hi,

it was an encoder issue. We sorted it out with manufacturers support.

Thanks for your help.

You need Wowza Media Server Advanced 2 to do this.

http://wowza.com/advanced

And this is the guide for streaming to VLC:

http://www.wowza.com/forums/showthread.php?t=5376

Richard

You can use StreamNameAlias package to protect server:

http://www.wowza.com/community/t/-/47

Richard

Craig, let’s keep this on one thread, this one:

http://www.wowza.com/forums/showthread.php?11268-Newbie-Wowza-server-showing-quot-out-of-sync-errors

Richard

KB, you can use ModuleMediaCasterStreamMonitorAdvanced to monitor, debug and reset MediaCaster streams:

https://www.wowza.com/docs/how-to-enable-advanced-monitoring-and-resetting-of-mediacaster-streams)

Loudenboomer, The symptom sounds like stream bitrate higher than client bandwidth problem. In any case, if you find encoding parameters that work and others that don’t, obviously keep what works, use that as a baseline. The ModuleMediaCasterStreamMonitorAdvanced should be useful for you too.

Richard

You can send url to the stream, and zip up conf and logs also. Include a link to this thread for reference

I’m not sure if we can help. It seems like an encoding/player issue. My advice is use what works.

Richard

Make sure you are not using contiguous ports. Skip at least one in your assignment.

Richard

Hi,

I use the fastvdo smartcapture usb and mpeg-ts stream.

  1. Is it possible to define a default “Stream” for the rtplive application and map the mpeg-ts stream (udp://[ip-address]:[port]) to?

I want to hide the udp://[ip-address]:[port] from the user and instead map “livestream” to my udp://[ip-address]:[port] so the client side url for the stream becomes:

client:

rtmp://[ip-address]:port/liveapp/livestream

  1. How can setup security when using a mpeg-ts encoder that push stream the udp port on the wowza server? To only allow certain IP’s to send stream.

Andreas

I’ve got some questions:

  1. what is 0.0.0.0 part of publish stream name? What does it mean? Where can I read about it?

  2. how to protect port(with wowza plugin) from udp flooding from another computer (I mean, legal and hacker encoders will send packets to the same port, so video will become spoiled)?

Thank you!

You can use StreamNameAlias package to protect server:

http://www.wowza.com/community/t/-/47

Do you mean that if hacker will flood UDP to specific port, then this packets will be ignored by Wowza?

I understand all about streamname alias, but nevertheless if hacker does not know the port - he can flood to all ports (there are not so many of them, right?) to spoil all published mpeg-ts videos.

So… question is still opened.

Hi!

What are default PIDs?

I mean when no audioPID and videoPID are specified.

Thanks Charlie,

So I just tell the encoder to send basically udp://wms.server.addr:anyport And Wowza will know to listen on that port based on a player connect? So it’s the player that actually starts the stream publishing?

thanks,

–Chris

Hi. Im new to this forum but i got a few questions regarding the TS option.

  1. Can the streamer do a IGMPv1 join to a existing Multicast stream containing a Mpeg2TS 188bytes stream (h.264 and aac Elementary streams)?

  2. Can it remux and remap it unicastly over RTMP for viewing on Flash 10?

  3. Are there any security mechanisms that i can set restrictions from the streamingserver regards to where the client comes from and so on?

best regards D

Hi. I now got the license and installed 1.7.2 with ure 2.patch to a:

Vmware ESXI 4.0 Image

Centos 5.3 64bit

Sun Java 1.6.0.16 x64

Java configured at heapsize 1024mb


  1. When starting the startup script i get:

Exception in thread “main” java.lang.NoClassDefFoundError: com/wowza/wms/bootstrap/Bootstrap

Caused by: java.lang.ClassNotFoundException: com.wowza.wms.bootstrap.Bootstrap

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Could not find the main class: com.wowza.wms.bootstrap.Bootstrap. Program will exit.

SOLVED: Had to reinstall the whole server with a uninstall first. Worked then… beats me why… It also now popped up with a serial question… dunno why it didnt do that the first time… Now i used rpm -i instead of the bin file directly…

But i still havnt found any info on how to set up the server to join a multicast/udp via igmp v1 message.

Configure logging: file:///usr/local/WowzaMediaServerPro/conf/log4j.properties

INFO server server-start Wowza Media Server Pro10 1.7.2 build12154 -

INFO server comment - Serial number: XXXXX-XXXXX-XXXXX-XXXXX-YAUE9

INFO server comment - Maximum connections: 10

INFO server comment - Hardware Available Processors: 2

INFO server comment - Hardware Physical Memory: 7408MB/7983MB

INFO server comment - Hardware Swap Space: 3999MB/3999MB

INFO server comment - Max File Descriptor Count: 1024

INFO server comment - Open File Descriptor Count: 31

INFO server comment - OS Name: Linux

INFO server comment - OS Version: 2.6.18-128.7.1.el5

INFO server comment - OS Architecture: amd64

INFO server comment - Java Name: Java HotSpot™ 64-Bit Server VM

INFO server comment - Java Vendor: Sun Microsystems Inc.

INFO server comment - Java Version: 1.6.0_16

INFO server comment - Java VM Version: 14.2-b01

INFO server comment - Java Spec Version: 1.6

INFO server comment - Java Home: /usr/java/jre1.6.0_16

INFO server comment - Java Max Heap Size: 7MB

INFO server comment - Java Architecture: 64

INFO server comment - CMDInterface now listening: [any]:8083

INFO server comment - vhost home directory: /usr/local/WowzaMediaServerPro

INFO vhost vhost-start defaultVHost -

INFO vhost comment defaultVHost RTMP/RTMPT bind attempt ([any]:1935)

INFO vhost comment defaultVHost Bind successful ([any]:1935)

ERROR server comment - messageReceived: java.nio.BufferOverflowException

INFO vhost vhost-stop defaultVHost -

best regards TE

Whether to support the VLC play video, if so, how to set up? Whether they can be Internet access?

Thanks. And only HE-AAC?

We can only handle H.264/AAC over MPEG-TS. We cannot handle MP3 audio.

Charlie

Hi there, I’m having a bit of an issue with Wowza and the re-broadcast of a multicast stream into a flash site.

We have Cisco routers which are acting as multicast controllers. When I fire up VLC on the same host as wowza transmitting to 234.3.2.234 I have no trouble connecting with the RTPMulticastListener. However… we have implemented the actual stream to our edge Cisco routers not via local vlc.

When I connect to the stream I see all the right things happening in Wowza. And a tcpdump on the eth0 interface shows the IGMPv3 join packet going out to the routers.

02:26:55.039008 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [DF], proto IGMP (2), length 40, options (RA)) 10.13.28.12 > 224.0.0.22: igmp v3 report, 1 group record [gaddr 234.3.2.234 to_ex, 0 source ]

The problem is that the stream never starts. I’m told by the Cisco guys here they they see the IGMPv3 query coming through but that they are using “source specific multicast” for these streams and that, as the join lacks the source IP, the router is rejecting the request.

I’m told if I can configure Wowza to send this… or alternatively configure it to send a IGMPv2 join they can apply a hack on the router which will map the group to the source.

Are either of these things possible?

i.e

Sending the source IP for the source specific multicast IGMPv3 join or sending an IGMPv2 join instead?

Thanks!