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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th December 2005, 02:57   #1  |  Link
neosimba
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 ?
neosimba is offline   Reply With Quote
Old 6th December 2005, 03:12   #2  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
Whitout using a GUI it's not very possible...
__________________
Detritus Software
Sirber is offline   Reply With Quote
Old 6th December 2005, 03:31   #3  |  Link
neosimba
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.
neosimba is offline   Reply With Quote
Old 6th December 2005, 04:20   #4  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
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.
foxyshadis is offline   Reply With Quote
Old 6th December 2005, 05:26   #5  |  Link
neosimba
Registered User
 
Join Date: Nov 2005
Posts: 3
Thank you!

I am searching for a commen GUI and you broght me back to my favorite CLI. ^-^
neosimba is offline   Reply With Quote
Old 6th December 2005, 09:20   #6  |  Link
Doom9
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
Doom9 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.