I have a video MPEG-TS video stream coming in over TCP and would like to use Wowza to stream it to a browser and ios.
One way I was able to get this to work was to use VLC to consume the tcp stream and broadcast it via RTP, and feed that to Wowza.
Is there a way for Wowza to consume the tcp (or udp) stream directly without using VLC in between? I used this article as reference.
Yes, if necessary, you can VLC in between. Take a look at the transcoding examples in this article (at bottom):
https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts
Use the mpeg-ts guide you linked to re-stream from that source:
https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder
Richard
Oh, “without”, sorry. Then just follow the 2nd guide. You have to be able to reach the source from Wowza
Richard
What is the codec info in VLC when you play the source directly in VLC? Look in the menu: Tools > Codec Info
Richard
Thanks Richard. As I mentioned in my post above, we can already get it to work using VLC, but would like to see if VLC can be eliminated and Wowza can consume MPEG-TS directly over tcp or udp.
Yes, if necessary, you can VLC in between. Take a look at the transcoding examples in this article (at bottom):
Publish a live stream from an MPEG-TS encoder
Use the mpeg-ts guide you linked to re-stream from that source:
Publish a live stream from an MPEG-TS encoder
Richard
I am seeing the following in the console if I try to consume UDP.
INFO stream destroy mpegts.stream -
INFO session disconnect 329289835 -
WARN server comment - RTPDePacketizerMPEGTS.handleRTPPacket: Incomplete packet: 1504:1472
WARN server comment - RTPDePacketizerMPEGTS.handleRTPPacket: Incomplete packet: 1504:1472
WARN server comment - RTPDePacketizerMPEGTS.handleRTPPacket: Incomplete packet: 1504:1472
INFO server comment - RTPMediaCaster.streamTimeout[782578434:wgv2/definst:mpegts.stream]: timeout:12000 diff:12013 reason:10
The udp stream is being produced using ffmpeg from a tcp source
ffmpeg -i tcp://video_source_ip -f mpegts -vcodec copy -acodec copy udp://local_ip:10000