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

Raúl Mansilla raul.mansilla at overon.es
Fri May 30 17:44:47 CEST 2014


Thanks Moritz,

I´m going to try something with unbuffer....

Regards,
Raúl

-----Mensaje original-----
De: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org]
En nombre de Moritz Barsnick
Enviado el: viernes, 30 de mayo de 2014 17:30
Para: FFmpeg user discussions
Asunto: Re: [FFmpeg-user] Stream to UDP and record log file only with some
errors

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
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user




More information about the ffmpeg-user mailing list