id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,blockedby,blocking,reproduced,analyzed
986,windows named pipe seek,setosha,michael,"I trying to use ffmpeg as fast video codec under windows. But windows standard input is very slow. So I switched to named pipes. It's up to 10x faster then standart input (pipe:). Don't ask me why...

Using windows [http://msdn.microsoft.com/en-us/library/windows/desktop/aa365780(v=vs.85).aspx named pipes] its possible to crate pipe with [http://msdn.microsoft.com/en-us/library/windows/desktop/aa365150(v=vs.85).aspx CreateNamedPipe] in server side. Then using [http://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx CreateFile] in client side open pipe exactly as usual file. 

So it's works just fine

{{{ffmpeg -y -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -r 60 -s 800x600 -i \\.\pipe\pipename out.mkv}}}

But when I try to use it like this

{{{ffmpeg -i \\.\pipe\pipename out.mkv}}}

on some input formats ffmpeg says about bad input. Same binary stream transfered as 

{{{ffmpeg -i pipe: out.mkv}}} 

works just fine (not so fast, but works). Seems ffmpeg trying to seek, but fails.

Is it possible to disable file seeking? 

You can use file name to check pipe it or not {{{\\.\pipe\*}}}
Or use [http://msdn.microsoft.com/en-us/library/windows/desktop/aa364960(v=vs.85).aspx GetFileType] function.
Or test file seeking abilities with [http://msdn.microsoft.com/en-us/library/windows/desktop/aa365542(v=vs.85).aspx SetFilePointer]
Or just add command line argument -noseek or something
Or somthing like {{{pipe:\\.\pipe\pipename}}} (now not working now) or like {{{pipe:pipename}}} (not working too)",defect,closed,normal,avutil,unspecified,fixed,windows named pipe seek,,,,0,0
