# FFMPEG to Wowza - Localhost streaming

**URL:** <https://community.wowza.com/t/ffmpeg-to-wowza-localhost-streaming/39434>\
**Category:** Wowza Streaming Engine\
**Created:** [January 4, 2013, 2:58pm UTC](https://community.wowza.com/t/ffmpeg-to-wowza-localhost-streaming/39434 "2013-01-04T14:58:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jagadish\_Kamath](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@Jagadish\_Kamath](https://community.wowza.com/u/Jagadish_Kamath)\
**Post date:** [January 4, 2013, 2:58pm UTC](https://community.wowza.com/t/ffmpeg-to-wowza-localhost-streaming/39434/1 "2013-01-04T14:58:05Z")

</div>

Hello,

I’m using FFMPEG to generate mpegts stream and I want to stream this to Wowza for HLS streaming. Both FFMPEG and Wowza sit on the same system. I figured out the only way to connect FFMPEG to Wowza is as per the tutorial [https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder)

I was wondering since I have to stream to localhost, what is the most efficient way? How can I avoid packet loss here if my system is connected to a distributed network(where there are chances of packet loss) Should I set the Host IP as 127.0.0.1 or my actual IPv4 IP of 192.168.53.35 or both are same?I basically wanted to make sure that no packet gets lost since I’m doing a UDP streaming here to the same system

Your replies will greatly help me to set up a streaming infrastructure

~Jagadish

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 4, 2013, 1:39pm UTC](https://community.wowza.com/t/ffmpeg-to-wowza-localhost-streaming/39434/2 "2013-01-04T13:39:35Z")

</div>

Jagadish,

If FFmpeg is running on the same server there should not be any packet loss between FFmpeg and Wowza. You can log packet loss to be sure:

[https://www.wowza.com/docs/how-to-turn-on-an-rtp-jitter-buffer-and-packet-loss-logging-rtp-and-mpeg-ts](https://www.wowza.com/docs/how-to-turn-on-an-rtp-jitter-buffer-and-packet-loss-logging-rtp-and-mpeg-ts)

Rihcard
