[FFmpeg-devel] [RFC] ffmpeg/ffprobe commandline option to av_log_set_callback ?
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sun Mar 24 11:18:59 CET 2013
On 20 Mar 2013, at 18:47, "René J.V. Bertin" <rjvbertin at gmail.com> wrote:
> On Mar 20, 2013, at 15:03, Hendrik Leppkes wrote:
>>
>> In short, you have to use CreateProcess instead of popen, but it can
>> all be done.
>
> Apparently not the way SS_Log uses named pipes. The log viewer creates the pipe and then waits on it, while the client (or clients as there can be several) use CallNamedPipe. That function apparently encapsulates a CreateFile, WriteFile, ReadFile, CloseHandle sequence. If I open an additional file HANDLE with CreateFile, to use as stderr, I basically preempt the connection to the log viewer.
Not if both set FILE_SHARE_WRITE
More information about the ffmpeg-devel
mailing list