Wowza Community

Streaming a multicast stream target to gstreamer hlssink

I am trying to research a proxy player for UDP multicast. And attempting to use gstreamer for this purpose. However I can’t figure out the right command for wowza to convert to hls. It wont generate a playlist or even segments. Playing it back causes dropped frames. VLC playback is ok.

What is the required stream target settings to work with gstreamer ?

This wont generate anything

gst-launch-1.0 -v udpsrc multicast-group=224.0.0.0 auto-multicast=true port=4000 ! decodebin3 ! hlssink max-files=5 playlist-root=http://localhost:8081/ location=D:/www/hls/hlssink.%05d.ts playlist-location=D:/www/hls/playlist.m3u8

This shows output but it drops frames and not sure if I get audio with it.

gst-launch-1.0 udpsrc multicast-group=224.0.0.0 auto-multicast=true port=4000 buffer-size=100000 ! decodebin3 use-buffering=true max-size-buffers=32 max-size-bytes=1000000 sync=false ! glimagesink

It’s strange ff-play is OK but audio cuts out now and then. ./ffplay -i udp://224.0.0.0:4000

this works but not for gstreamer ./ffmpeg -i udp://224.0.0.0:4000 -analyzeduration 30M -probesize 30M -f hls -hls_time 4 -hls_playlist_type event stream.m3u8