RED CAST - streaming to Wowza

server
streaming

#1

Hello,

how can I put stream from Caspar CG to Wowza? I have Wowza rtmp url, but if I put it into Red cast settings, nothing happen, Wowza does not detect any video.
Should it work also from localhost?

Thank you


#2

With following command in servre 2.2 I was able to stream to wowza server.

ADD 1 STREAM rtmp://user1:password1@127.0.0.1:1935/live/myStream -codec:v libx264 -codec:a aac -strict -2  -b:a 128k -x264opts:v keyint=45 -ar:a 48000 -tune:v zerolatency -preset:v ultrafast -b:v 750k -minrate:v 500k -maxrate:v 1000k -bufsize:v 1146k -filter:v format=pix_fmts=yuv420p -format flv

In the live incoming stream pannel I can see available myStream. In the vlc I can see it by putting

rtmp://127.0.0.1:1935/live/myStream


#3

thanks so much, now it looks, wowza has inbound trafic, it got me following info:

Inbound: Connected	Yes
Inbound Bitrate: Actual	723.7 Kbps
Outbound Bitrate: Actual	506 Kbps
Outbound Bitrate: Configured	9168.0 Kbps
CPU Usage	3 %
Frame Size	1280x720
Frame Rate	50 FPS
Keyframe Interval	45 GOP
Total Unique Viewers

I was able to change gop size warning, but i do not know where to change frame size. Wowza says:

Configured frame size is different from what Wowza Streaming Cloud is receiving from the source

but in server settings I have following lines

<video-mode>720p5000</video-mode>

From CasparCG server probably flows rtmp with bad resolution, because there was following info:

[2019-08-07 19:37:35.116] [info]
[2019-08-07 19:37:35.118] [info]    [ffmpeg] [libx264 @ 00000137DB391000] frame I:105   Avg QP:40.63  **size: 21446**
[2019-08-07 19:37:35.118] [info]
[2019-08-07 19:37:35.118] [info]    [ffmpeg] [libx264 @ 00000137DB391000] frame P:5136  Avg QP:43.65  **size:  1523**

so what is wrong?

Btw I have still no frames displayed in wowza/ no picture, but I assume, it is because of frame size warning.


#4

Please, anyone some idea? Why wowza give me warning on Frame Size 1280x720 ?? Or how to change it on caspar output?


#5

For changing the resolution to 1920:1080 try following code in server 2.2 or 2.3

ADD 1 STREAM rtmp://user1:password1@127.0.0.1:1935/live/myStream -codec:v libx264 -codec:a aac -strict -2  -b:a 128k -x264opts:v keyint=45 -ar:a 48000 -tune:v zerolatency -preset:v ultrafast -b:v 5750k -minrate:v 5000k -maxrate:v 6000k -bufsize:v 1146k -filter:v format=pix_fmts=yuv420p,scale=1920:1080 -format flv

I have just added -filter:v format=pix_fmts=yuv420p,scale=1920:1080


#6

Hi @vimlesh1975,

I do not know what I am doing wrong. Wowza still didplays no video. I have tried to use CMP (before I used just basic client or RedCast), but still not beter result Wowza still seems to receive framesize 0x0.


#7

any help please?