# I want to streaming via ffmpeg

**URL:** https://community.wowza.com/t/i-want-to-streaming-via-ffmpeg/46718
**Category:** Wowza Streaming Engine
**Created:** [March 15, 2016, 2:34am UTC](https://community.wowza.com/t/i-want-to-streaming-via-ffmpeg/46718 "2016-03-15T02:34:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Taisup\_Um](https://avatars.discourse-cdn.com/v4/letter/t/da6949/32.png) [@Taisup\_Um](https://community.wowza.com/u/Taisup_Um)
#### Post date: [March 15, 2016, 2:34am UTC](https://community.wowza.com/t/i-want-to-streaming-via-ffmpeg/46718/1 "2016-03-15T02:34:29Z")

</div>

Hello.

I want to streaming my webcam on window via ffmpeg.

ffmpeg -re -f dshow -i video=“Logitech HD Webcam C525” -c:v libx264 -pix\_fmt yuv420p -profile:v baseline -level 3.0 -preset slow -crf 22 -movflags +faststart -rtbufsize 2100m -f rtsp -s 320x240 -an -b:v 400000 "rtsp://---------/live/test

I used it and I checked server that received via rtsp.

but I can’t see movie.

so I need help how I can send my webcam movie to wowza server with ffmpeg.

Thanks.

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [March 16, 2016, 7:20am UTC](https://community.wowza.com/t/i-want-to-streaming-via-ffmpeg/46718/2 "2016-03-16T07:20:31Z")

</div>

Hello there and welcome to the Wowza support forum.

This guide explains how to use FFMPEG as a live stream encoder with Wowza Media Server:

[How to use FFmpeg with Wowza Streaming Engine (MPEG-TS)](https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts%28MPEG-TS%29)

Regards,

Salvadore

---

<div class="post-metadata">

### Author: ![Andrew\_Ramberg](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Andrew\_Ramberg](https://community.wowza.com/u/Andrew_Ramberg)
#### Post date: [April 1, 2016, 9:22am UTC](https://community.wowza.com/t/i-want-to-streaming-via-ffmpeg/46718/3 "2016-04-01T09:22:13Z")

</div>

Hello,

I believe that lasimov meant sending over UDP vs TCP, you can loose packets which is true. If your goal is to have a low latency connection that during a loss of packets restores closest to the actual time, UDP streams would give you this. If your more concerned about packet loss and don’t mind a potential drift in latency, then TCP would be a better choice. RTSP can be delivered using both protocols.

Best regards,

Andrew

---

<div class="post-metadata">

### Author: ![Isaac\_Asimov](https://avatars.discourse-cdn.com/v4/letter/i/7ea924/32.png) [@Isaac\_Asimov](https://community.wowza.com/u/Isaac_Asimov)
#### Post date: [March 20, 2016, 4:22pm UTC](https://community.wowza.com/t/i-want-to-streaming-via-ffmpeg/46718/4 "2016-03-20T16:22:44Z")

</div>

The problem of using MPEG-TS over udp instead RTSP is that you can lost packets even when you have enough bandwidth in your connection (e.g. a single one wifi interference can lost udp packets and won’t be resend in mpeg-ts over udp).

You can try GStreamer instead ffmpeg for the same purpose.
