[FFmpeg-devel] [RFC] ffmpeg/ffprobe commandline option to av_log_set_callback ?

"René J.V. Bertin" rjvbertin at gmail.com
Wed Mar 20 15:50:00 CET 2013

On Mar 20, 2013, at 15:03, Hendrik Leppkes wrote:
> Check this article: ("Creating a Child Process with Redirected Input
> and Output")
> http://msdn.microsoft.com/en-us/library/ms682499%28v=vs.71%29.aspx
> In short, you have to use CreateProcess instead of popen, but it can
> all be done.

Thanks, Hendrik - but guess what MS's own _popen function does? :)

Now I'd just have to figure out how to get a handle corresponding to my named pipe. The logging system I use launches an external viewer app when the 1st message is logged, and for some reason the named pipe is created by the viewer. (Presumably so that multiple clients can connect to it). The logging calls just use the pipe's name.


More information about the ffmpeg-devel mailing list