[FFmpeg-user] Problem streaming mpegts on udp

Maxim Kozlov rogat1y at gmail.com
Wed Mar 27 17:38:14 CET 2013

2013/3/25 Andrey Utkin <andrey.krieger.utkin at gmail.com>

> * Check errors/warnings in output of stream
No errors.

* Try saving to local file and then playing back
Tried. Everything ok.

> * Check how CPU and network (both input and output) utilization changes in
> time
Running on Dual Intel Xeon X 5650 with 6Gb mem. Windows 7pro 64bit
Max CPU load 34%
Max used mem 30%

> You can try to fix this with increasing ffmpeg internal input UDP
> socket buffer: add "fifo_size" option to input URL as a GET-parameter
> (udp://
Input URL?
How i can calculate *fifo_size*

In my last tests i set *?pkt_size=1128&buffer_size=0 *and picture breaks
once in a 5-7 minutes.

And as you can see, first instance of ffmpeg grabs video and audio from
Blackmagiс Decklink card and encodes with %HIGH% setting, then it pipes to
second instance of ffmpeg, that streams %HIGHOPTS%-settings to two servers,
and reencodes %HIGHOPTS%-stream into %MIDOPTS%-streams and
%LOWOPTS%-streams. And i can't see any broken pictures in low and mid

More information about the ffmpeg-user mailing list