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. |
6th December 2005, 02:57 | #1 | Link |
Registered User
Join Date: Nov 2005
Posts: 3
|
Can I redirect x264 cli message to a text file ?
I am using x264.exe, and I found I cannot use either ">log.txt" or even "|log.txt" to obtain the output message.
I want to record the message when I use a .bat file to encoder many files and simply add "shutdown -s" in the end when my PC works along. Will Sharktooth add this function or is there a other way ? |
6th December 2005, 03:12 | #2 | Link |
retired developer
Join Date: Oct 2002
Location: Canada
Posts: 8,978
|
Whitout using a GUI it's not very possible...
__________________
Detritus Software |
6th December 2005, 03:31 | #3 | Link |
Registered User
Join Date: Nov 2005
Posts: 3
|
Me-GUI always add --no-psnr
But I just want to get the PSNR message. (collecting psnr won't take much time,right ?) Can I tweak Me-GUI ? Still,I am not sure whether Me-GUI can save the output as I didn't use it yet. _______________ I have run the test. Me-GUI can save the log, job1.xml can be simply edited. However, ME-GUI only save log on exit, what if Me-GUI was crashed or the electricity was shut down ? Is it just because MinGW doesn't support the difference between "cout" and "cerr" in c++ ? All the output are treated as through cerr ? So is there any GUI can just record the cerr output to file ? Last edited by neosimba; 6th December 2005 at 04:09. |
6th December 2005, 04:20 | #4 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Did you try "2>log.txt"? x264 uses the error stream for output. I just tested and it works.
This Microsoft page might interest you. |
6th December 2005, 09:20 | #6 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
After creating jobs, you can always exit MeGUI, open job*.xml, and edit the commandline. However, this only works if you're not in auto/one click mode because there the bitrate has to be adjusted and thus the commandline will be re-created. But I find PSNR pretty darned useless. MeGUI suppresses messages that are not important.. the above will give you a long list of text with status update messages.. in the end it won't look at all like what you see on the commandline because there each status update is written over the next one.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
|