<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Rémi Denis-Courmont a écrit :
<blockquote cite="mid:201002182118.50750.remi@remlab.net" type="cite">
  <pre wrap="">Le jeudi 18 février 2010 21:06:45 Toufik Ahmed, vous avez écrit :
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi VLC team
I have an application which generates a CIF YUV data and I want to
display them with VLC (first in standalone and after I ll try to
integrate VLC into my application). Is there any solution to piping this
data into VLC (using windows)
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Tell VLC to open a named pipe, and write the YUV frames in so-called 'mplayer' 
YUV format.

  </pre>
</blockquote>
Hi<br>
I have created a program that write the YUV stream to a named pipe on
windows,  to allow VLC to read it after.<br>
My problem is that VLC cannot read this pipe.<br>
Here is how I created the pipe:<br>
<br>
<dl class="codebox">
  <dd><code>   npipe = CreateNamedPipe("\\\\.\\pipe\\TestChannel",
PIPE_ACCESS_DUPLEX, PIPE_TYPE_MESSAGE | PIPE_WAIT, 
PIPE_UNLIMITED_INSTANCES , 1024, 1024,5000,NULL);</code></dd>
</dl>
<br>
I ran VLC using the following command to read the data on pipe: <br>
<dl class="codebox">
  <dd><code>vlc.exe \\.\pipe\TestChannel</code></dd>
</dl>
VLC starts but a message error is shown : VLC could not open the file "
\\.\pipe\TestChannel".<br>
<br>
I wonder if someone has expiremented the named pipe on windows. I need
your help on this topic<br>
<br>
<br>
Best regards<br>
<br>
P.S : I m also trying to pass this YUV data using invmem module, so any
help is also appreciated<br>
<br>
<br>
<br>
</body>
</html>