Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
31st March 2008, 18:04 | #1 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
stdIn support with x264?
writing a small gui to use on windows and linux systems I encountered the problem that most windows builds out there do not support reading from a pipe
I tested build from: x264.nl -> no celticDruid builds -> no x264.tk -> no Cef -> yes (version that comes with megui -> no) and the only builds supporting stdIn seem to be the builds from cef. Since I haven't found the time to build my own x264 windows builds yet I wanted to ask if there's a patch out there to enable stdIn support for x264 or if just most of the people sharing their builds disable stdIn support when compiling? Greetings Selur Last edited by Selur; 31st March 2008 at 22:51. |
31st March 2008, 18:46 | #3 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
How can one use a named pipe in windows?
Works fine with mkfifo on linux systems, but I never found an easy way to do this on windows systems. I read some stuff a while ago but it seemed like a hell of work to do it and since cef's build works I assumed x264 supports it. (atm. I'm using cef's build and connect mencoder (as decoder) directly to x264 under windows; on linux is use mkfifo since the linux version of mencoder does not support piping to stdOut) Cu Selur |
31st March 2008, 18:50 | #4 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
|
|
31st March 2008, 19:12 | #5 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Hmm,.. that's like using wine under linux, kind of kills the intention I had for the tool, but thanks for the info. I remeber it as an alternative.
Do you know anything specific if cef did something special with his builds or if the rest of the guys compiling x264 for windows just disabled stdIn somehow? Cu Selur |
31st March 2008, 19:23 | #6 | Link |
Registered User
Join Date: Jul 2007
Posts: 552
|
Selur
May be this patch will help you: http://mailman.videolan.org/pipermai...ch/004325.html |
31st March 2008, 19:44 | #7 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
@MasterNobody: thanks for the link I'll try it when I find the time to do my own builds.
Reading the patch, it seems like when compiling with MinGW (not MSVC) stdin support gets broken and since most people use MinGW but not stdin, nobody complained. -> to all building x264 builds for the masses with MinGW: "Would be nice if you could apply the linked patch so that stdin support works under windows." Cu Selur Last edited by Selur; 31st March 2008 at 19:51. |
|
|