Wowza Community

configuring Haivision Barracuda to Wowza2

Hi Guys,

Does anyone have any experience configuring a barracuda hardware encoder and wowza2 server to stream h.264 to a flash client? The documentation written by charlie and others is good, but a bit outdated (1.5) and I can’t get it working. Argh… see:hardware encoding

for example, i think I want to use direct RTP not TS over UDP, but I’m not sure, and there is no option on the barracuda to generate an .sdf file unless you make a quicktime stream.

Also, everything makes sense up to step 7 where you then launch some example client to magically connect the port 10000 udp hardware stream to rtmp flash client stream. I was expecting the server-side reader/writer modules would take the rdp:10000 in on one side, do some re-wrapping and spit it out on rtmp:1935. Wat exactly is the client for? and how do I launch the client on a unix server farm?

Please, if someone could give an architectural overview and some config advice I would be hugely grateful.

Thanks

Teddy

Hi All,

I got this working by following the quick start instructions for wowza 2, Tutorials section: How to publish and play a live stream (native RTP encoder with SDP file) and then on the Barracuda creating a Quicktime stream which will create the SDP file.

BUT I have no audio!!!

What logs can i look at so see whats going on? The access log says

LiveStreamPacketizerCupertino.init[rtplive/definst/jaeger.sdp]: audioGroupCount: 3

This is my SDP file

v=0

o=- 1 1 IN IP4 127.0.0.1

s=RTP session

e=NONE

c=IN IP4 224.30.30.30/128

b=RR:0

t=0 0

m=video 10000 RTP/AVP 96

a=rtpmap:96 H264/90000

a=control:trackID=0

a=fmtp:96 packetisation-mode=1; Z0IAIIxsFgkX/gAwABYgAAB9AAAYahBAAAAAAA==,aM48gAAAAAA=

m=audio 20000 RTP/AVP 97

a=rtpmap:97 mpeg4-generic/90000/1

a=control:trackID=1

a=fmtp:97 streamType=5;profile-level-id=22;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1188

I have the encoder set to connect to port 10000 and 20000

Also It takes like 30-40 seconds for the stream to start on the client.

Any Ideas?

Ted

Do you have the stream on the Internet so that we can try it? You can send the info to support@wowza.com. What version of the Flash player are you running? What version of Wowza Media Server?

I have a Haivision Makito (HD version of the Barracuda and it works fine). I might suggest using MPEG-TS rather then RTP. I believe this should work a lot better. Instructions for the Wowza side are here:

https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder

Charlie

Do you have a stream anywhere to watch? What are the exact encoding specs? Are you running the latest firmware? I would try different encoding parameters to see if you can get rid of the skip. I have seen strange skips with certain encodes with Flash playback. Not sure exact the cause. Changing encoding params has helped but this was a customer and not exactly sure what they changed to make it work.

Charlie

I might also set the frame rate. Looks like it is set to AUTO:

Frame Rate: AUTO

I might try 30fps. See if that helps. You might also ping the Haivision support folks. They may have suggested encoder params for streaming to Wowza Server.

Charlie

Again, also try sending a message to Haivision support. They may have a clue as to why it is happening.

Charlie

Hi, guys.

I’ve recently started evaluating a Barracuda and I’ve got some problems with it. I followed the instructions in the above link and it does work, but it skips at every GOP end. Any idea what might be causing that, it’s really annoying to watch.

And another thing. The quality is really… unsatisfactory. Way lower than Wirecast, which I’ve been using until now.

Thanks.

Charlie, you have a PM with the streaming links. I’d rather not make them public.

The settings on the encoder are attached.

evilpenguin

I have the same scenario like yours in barracuda encoder to wowza. can you give me a hand for this? many thanks!

Sorry, I don’t have the Barracuda anymore because I’ve concluded it’s not suitable for our needs. I evaluated several products in that period and did not document the settings. As I think of it, I can’t really remember much about the setup I used.

Best of luck in the year to come!

mk3vrl,

Here is an example Barracuda setup. You will probably want to increase the bitrate.

Barracuda Setup

Encoder->Video:

Input: BNC (Composite)

Aspect Ratio: 4:3

High: checked

Resolution: 720x480i

Frame Rate: AUTO

Framing: IP

GOP Size: 30

Bitrate: 500

Closed Captioning: checked

TimeCode Source: None

Encoder->Audio:

Audio Input: Analog

Audio Bitrate: 128

Audio Sample Rate: 48

Audio Channels: Stereo

Encoder->Streams->1:

Stream Type: TS over UDP

Encoder Instance: High

Stream IP: 192.168.1.20

Stream Port: 10000

MTU: 1496

TTL: 16

ToS: 0x00

Encoder-> RTSP:

RTSP server port: 554

Keep-Alive: 30

MTU Size: 1496

High->Streaming Mode: Unicast

Then set it up on the Wowza side using MPEG-TS tutorial: https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder

What is the bitrate? It might need to be altered. Is the encoder on the local network? If not there might be bandwidth issues.

mk3vjrl,

Maybe you could try setting a different transport stream on the Barracuda. There’s MPEG-TS… is there RTP/RTSP? Try contacting the Haivision folks. Be sure to have the latest firmware on your device. Try playing the stream from the encoder via some other method, e.g. VLC.

I don’t have a Barracuda to test with anymore. Maybe someone else on the forums can chime in, who has a working Baraccuda->Wowza setup? I’m sure there are several.

evilpenguin

I have the same scenario like yours in barracuda encoder to wowza. can you give me a hand for this? many thanks!

we are almost the same config in barracuda. same result as mine video was skipping frame by frame. anybody know how to config the barracuda for smooth streaming…

randall,

did you test that config on your side what is the result?

when I test the point to point network on barracuda encoder to makito decoder there are no skipping of frame and the video is smoothly flow in actions… I don’t think the issue is the bandwidth… my question is, why is that on wowza server and barracuda having a skipping of frame by frame does anybody solved this problem…

thanks for the reply charlie and randall.