[FFmpeg-user] Stream to UDP and record log file only with some errors

Moritz Barsnick barsnick at gmx.net
Fri May 30 17:30:20 CEST 2014


Hi Raúl,

On Fri, May 30, 2014 at 17:18:11 +0200, Raúl Mansilla wrote:
> I´m using blackdetect and silencedetect filters for logging video and audio
> failures and help me to raise an alarm in a monitoring system, so for that
> purpose I´m redirecting the logs to a file that will only write what I´m
> GREPing....but it doesn´t work as I can´t get nothing to be written....any
> suggestion?

The problem is most likely that the pipe is buffered. That means it
won't release the text to the next command in the pipe before 4kB are
filled.

This suggestion should help:
http://unix.stackexchange.com/a/25375

Regards,
Moritz


More information about the ffmpeg-user mailing list