Wowza Community

I want to streaming via ffmpeg

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.

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)

Regards,

Salvadore

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

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.