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 Encoder GUIs

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 22nd June 2005, 10:55   #81  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
Quote:
logfile is a bit short, isn't it?!
way too short. The progress window disappears though once encoding is finished, does it not? Could you try the 2> output.txt trick ligh mentioned and post the result of the operation as well? Your logfile tells me (assuming the progress window goes away once encoding is done) that MeGUI cannot read anything from the stderr of x264.exe.

@Pasqui, absinthe, odyn1982: How does this look for you... stdout versus the contents of the log in version 0.1.9.8 or above?
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline  
Old 22nd June 2005, 11:01   #82  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
You can even combine both:

x264 -options... > output.txt 2> errors.txt
LigH is offline  
Old 22nd June 2005, 12:10   #83  |  Link
kurt
sidekick
 
kurt's Avatar
 
Join Date: Apr 2004
Location: old Europe
Posts: 610
ok, i will try this out in the evening (when i'm back from university)...
__________________
greets, kurt.
Pioneer PDP-427 XA | Popcorn Hour NMT C-200 | Sony STR-DB 840 QS | Canton Ergo 91 DC
kurt is offline  
Old 22nd June 2005, 17:38   #84  |  Link
kurt
sidekick
 
kurt's Avatar
 
Join Date: Apr 2004
Location: old Europe
Posts: 610
problem with no progress bar (and disappearing status window after encoding) still extists in MeGUI 0.1.9.9 on my machine:

with MeGUI i tried > output.txt 2> errors.txt but no files were written...
when using x264 via commandline 2 empty files were written...
----> logfile is like the one above (still short, with commands: > output.txt 2> errors.txt)
Code:
"C:\MeGUI\x264.exe" --bitrate 700 --no-b-adapt --subme 4 --analyse p8x8,b8x8,i4x4 --progress --no-psnr --output "C:\Movies [C]\test\test.mp4" "C:\Movies [C]\test\yyyy.avs" > output.txt 2> errors.txt
with MeGUI and latest mencoder (21/06/2005) no files were written too (log is short )...
when using mencoder via commandline the attached files were written...
Code:
"C:\Rippen\mencoder\mencoder.exe" "C:\Movies [C]\test\yyyy.avs" -ovc x264 -x264encopts bitrate=700:subq=4:i4x4 -o "C:\Movies [C]\test\test.264" -of rawvideo > output.txt 2> errors.txt
[P.S: still problems with priorities of the new MeGUI (only 50% cpu), i will check my machine...]

Edit: pasted commandline
Attached Files
File Type: zip mencoder output+error.zip (2.0 KB, 242 views)
__________________
greets, kurt.
Pioneer PDP-427 XA | Popcorn Hour NMT C-200 | Sony STR-DB 840 QS | Canton Ergo 91 DC

Last edited by kurt; 22nd June 2005 at 18:12.
kurt is offline  
Old 22nd June 2005, 17:50   #85  |  Link
odyn1982
Registered User
 
Join Date: Jun 2005
Location: Poland
Posts: 25
I tested versions 0.1.9.8-9 and problem with progress bar still exists, my status window doesn't close (but x264.exe finished job). No files were written with command "> output.txt"
My log:
Next job job1 is a video job. encoder commandline:
"E:\DIVX\PROGRAMY\x264\x264CLI\x264.exe" --bitrate 700 --no-b-adapt --subme 4 --analyse p8x8,i4x4 --progress --no-psnr --output "E:\test.mp4" "E:\TEST5.avs" > output.txt
successfully set up video encoder and callbacks for job job1
One question: i don't use bframes so why there is " --no-b-adapt "
odyn1982 is offline  
Old 22nd June 2005, 19:11   #86  |  Link
ckjnigel
Registered User
 
Join Date: Mar 2002
Posts: 17
I'm a tyro at this and am chuffed that I can even use standard Gordian Knot. A complication for me is that I run GK under WinX64 but have to use MeGUI on the Win32 partition because that's where NET 1.1 is. Is there some way to use the movie.avs and sdtrk.ac3 files that GK produces for an XviD encode as inputs for MeGui? The .avs was recognized okay, but I couldn't figure out how to reencode and mux the AC3 into an Mp4
BTW, the Yu-Gi_Oh x264 I made with GK looks vastly better with Videolan player than via players using the latest ffdshow. Heck, with VLC the 500 mb file is scarcely distinguishable from DVD.
ckjnigel is offline  
Old 22nd June 2005, 20:09   #87  |  Link
absinthe
Registered User
 
absinthe's Avatar
 
Join Date: Aug 2004
Location: North Carolina, USA
Posts: 270
Still no status progress with 1.9.9, but the encoding box does close and I believe it always did.

Using default settings (ABR/700 kbps),
Code:
"C:\Documents and Settings\abs\Desktop\AV Tools\MencoderGUI\codecs\x264.exe" --bitrate 700 --no-b-adapt --subme 4 --analyse p8x8,b8x8,i4x4 --progress --no-psnr --output "D:\withintest.mp4" "D:\within_test.avs"
produces the attached logfile.

I hope this hasn't been covered elsewhere, but does x264 have limitations on input colorspace? Sometimes my jobs last about 1 second and I get no output, or rather an empty file. Sometimes that only happens on the second pass. That was history, but the problem seemed solved when I started using the x264 CLI. It just now happened again though. I realized I'd had no problems with d2v files made from direct DVD rips, and realizing that the file I was just using was HuffyUV, I converted to YV12 via AviSynth and the problem went away.

Also, it seems in the last couple of versions that you can't output raw from MeGUI. Choosing RAW as output, the output field seems to default to a "*.mp4" file, which is the output I get.

-abs
Attached Files
File Type: zip absinthe.2pass.1.9.9.zip (82.6 KB, 234 views)
__________________
The perfect browser is now completely free: Opera. Get it. Love it.
absinthe is offline  
Old 23rd June 2005, 10:55   #88  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
Quote:
when using x264 via commandline 2 empty files were written...
But that seems to indicate a generic incapability of your PC to have stdout or stderr redirected when using x264.exe. And there's really nothing I can do.. if you don't even get stdout redirected on the commandline, I'm not susprised that MeGUI can't do it either.. it tries as you do with the 2> errors.txt but since you don't get anything in that file, MeGUI won't get anything from its streamreader either.

The only thing I can still try is the paralell 3 thread stdout/stderr reading that I use for mp4box now.. when time permits (week-end probably) I'll make a separate dumb program that launches x264.exe and writes out any messages received from x264's stdout and stderr to the commandline. But I would not at all be surprised if that didn't work on your machine either. And that means I'd be at the end of my rope and your computer is just not compatible with my software, period.

Quote:
Still no status progress with 1.9.9, but the encoding box does close and I believe it always did.
Please post the megui logfile for that encoding session (you posted the stats file ) MeGUI logfiles are in the MeGUI directory and named like this: logfile-date-time.log.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline  
Old 23rd June 2005, 11:00   #89  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
Quote:
I tested versions 0.1.9.8-9 and problem with progress bar still exists, my status window doesn't close (but x264.exe finished job).
So that is another problem then.. it means you get no status updates sent to the GUI.. so naturally there won't be any progress bar. I take it you never have a progess bar in audio encoding, muxing, and video encoding using another encoder (or codec) either, do you?

Can you try appending >2 errors.txt to your commandline and tell me what the file contains after encoding (try launching x264.exe from the commandline just in case).

Quote:
but I couldn't figure out how to reencode and mux the AC3 into an Mp4
How about loading it as audio input, press configure the configure the output, select an output name, press queue (and start if you disabled auto queue start)? That'll get you an mp4 Or, configure audio, do not press queue, configure video, press auto-encode, select a desired filesize, and start encoding? If there's something that doesn't work, then let me know in the greatest possible amount of detail (spare me nothing.. I rather be flooded with data than having to ask back).
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline  
Old 23rd June 2005, 11:07   #90  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
Quote:
One question: i don't use bframes so why there is " --no-b-adapt "
Probably because b-adapt is the default and I didn't make this option conditional on b-frames being present.. the GUI is aware of that, the commandline generator isn't. Of course I can change that for future versions.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline  
Old 23rd June 2005, 11:23   #91  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
Quote:
problem with no progress bar (and disappearing status window after encoding)
Does that mean "it disappears" or "it stays even when x264.exe has done its job"? stay = bad and it's another issue entirely than having a progress window that disappears after encoding, even if there are no status updates.. the disappearance tells me that there is no basic problem with sending status updates (the disappearance is triggered via the same kind of status updates as the progress updates), and thus the problem lies with reading the stderr from x264.exe.. if the progress window stays even when x264.exe is done, then there's a problem dispatching the status updates (as odyn1982 has).
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline  
Old 23rd June 2005, 13:35   #92  |  Link
odyn1982
Registered User
 
Join Date: Jun 2005
Location: Poland
Posts: 25
No, I always have progress bar with mencoder and mp4box.

My x264cli.bat file:
Code:
@ECHO OFF
CLS

REM =======================================================
REM  PLEASE EDIT THE PATHS TO THE NECESSARY APPLICATIONS  
REM =======================================================
SET pathToX264CLI="E:\DIVX\PROGRAMY\x264\x264CLI\x264.exe"
SET pathToInput="E:\TEST5.avs"
SET pathToOutput="E:\TEST.mp4"
SET pathToStats="E:\TEST.log"
REM =======================================================
REM =======================================================
ECHO.
ECHO ============================================
ECHO CALLING x264 USING THE FOLLOWING COMMAND:
ECHO ============================================
ECHO x264.exe [--bframe 3 --b-pyramid --ref 5 --filter -2:-2 --qcomp 0.75 --ipratio 1.10 --pbratio 1.40 --analyse "all" --8x8dct --weightb --me "umh" --merange 16 --subme 5 --no-psnr]

%pathToX264CLI% --pass 1 --bitrate 900 --bframe 3 --b-pyramid --ref 3 --filter -2:-2 --direct temporal --stats %pathToStats% --qcomp 0.75 --ipratio 1.10 --pbratio 1.40 --analyse "none" --8x8dct --weightb --me "dia" --merange 16 --subme 3 --progress -o NUL %pathToInput% 2> output.txt
ECHO
Output.txt:
Code:
avis [info]: 576x240 @ 25.00 fps (51 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE 3DNow! 
encoded frames: 1/51 (1.9%), 7.14 fps   
encoded frames: 2/51 (3.9%), 12.82 fps   
encoded frames: 3/51 (5.8%), 17.54 fps   
encoded frames: 4/51 (7.8%), 17.09 fps   
encoded frames: 5/51 (9.8%), 16.03 fps   
encoded frames: 6/51 (11.7%), 16.71 fps   
encoded frames: 7/51 (13.7%), 16.63 fps   
encoded frames: 8/51 (15.6%), 16.53 fps   
encoded frames: 9/51 (17.6%), 16.48 fps   
encoded frames: 10/51 (19.6%), 17.30 fps   
encoded frames: 11/51 (21.5%), 17.19 fps   
encoded frames: 12/51 (23.5%), 17.47 fps   
encoded frames: 13/51 (25.4%), 17.33 fps   
encoded frames: 14/51 (27.4%), 17.59 fps   
encoded frames: 15/51 (29.4%), 17.46 fps   
encoded frames: 16/51 (31.3%), 17.66 fps   
encoded frames: 17/51 (33.3%), 17.56 fps   
encoded frames: 18/51 (35.2%), 17.73 fps   
encoded frames: 19/51 (37.2%), 17.38 fps   
encoded frames: 20/51 (39.2%), 17.54 fps   
encoded frames: 21/51 (41.1%), 17.46 fps   
encoded frames: 22/51 (43.1%), 17.60 fps   
encoded frames: 23/51 (45.0%), 17.53 fps   
encoded frames: 24/51 (47.0%), 17.66 fps   
encoded frames: 25/51 (49.0%), 17.99 fps   
encoded frames: 26/51 (50.9%), 17.89 fps   
encoded frames: 27/51 (52.9%), 18.19 fps   
encoded frames: 28/51 (54.9%), 18.11 fps   
encoded frames: 29/51 (56.8%), 18.38 fps   
encoded frames: 30/51 (58.8%), 18.29 fps   
encoded frames: 31/51 (60.7%), 18.55 fps   
encoded frames: 32/51 (62.7%), 18.45 fps   
encoded frames: 33/51 (64.7%), 18.53 fps   
encoded frames: 34/51 (66.6%), 18.60 fps   
encoded frames: 35/51 (68.6%), 18.67 fps   
encoded frames: 36/51 (70.5%), 18.74 fps   
encoded frames: 37/51 (72.5%), 18.95 fps   
encoded frames: 38/51 (74.5%), 18.86 fps   
encoded frames: 39/51 (76.4%), 18.77 fps   
encoded frames: 40/51 (78.4%), 18.82 fps   
encoded frames: 41/51 (80.3%), 18.75 fps   
encoded frames: 42/51 (82.3%), 18.80 fps   
encoded frames: 43/51 (84.3%), 18.73 fps   
encoded frames: 44/51 (86.2%), 18.78 fps   
encoded frames: 45/51 (88.2%), 18.83 fps   
encoded frames: 46/51 (90.1%), 18.75 fps   
encoded frames: 47/51 (92.1%), 18.80 fps   
encoded frames: 48/51 (94.1%), 18.74 fps   
encoded frames: 49/51 (96.0%), 18.78 fps   
encoded frames: 50/51 (98.0%), 18.72 fps   
encoded frames: 51/51 (100.0%), 18.65 fps   
x264 [info]: slice I:1    Avg QP:23.00 Avg size: 11538 PSNR Mean Y:42.74 U:44.62 V:45.56 Avg:43.39 Global:43.39
x264 [info]: slice P:28   Avg QP:27.68 Avg size:  5814 PSNR Mean Y:37.79 U:42.03 V:42.15 Avg:38.79 Global:38.53
x264 [info]: slice B:22   Avg QP:30.77 Avg size:  2137 PSNR Mean Y:36.33 U:41.39 V:41.58 Avg:37.46 Global:37.30
x264 [info]: slice I   Avg I4x4:51.5%  I8x8:38.5%  I16x16:10.0%
x264 [info]: slice P   Avg I4x4:0.0%  I8x8:0.0%  I16x16:28.3%  P:53.5%  P8x8:0.0%  PSKIP:18.2%
x264 [info]: slice B   Avg I4x4:0.0%  I8x8:0.0%  I16x16:7.5%  P:29.8%  B:11.2%  B8x8:0.0%  DIRECT:6.1%  BSKIP:45.4%
x264 [info]: 8x8 transform  intra:3.6%  inter:37.3%
x264 [info]: PSNR Mean Y:37.25 U:41.80 V:41.97 Avg:38.31 Global:38.01 kb/s:867.9

encoded 51 frames, 17.94 fps, 868.58 kb/s

Last edited by odyn1982; 23rd June 2005 at 13:42.
odyn1982 is offline  
Old 23rd June 2005, 14:06   #93  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
@odyn1982: at least you get stderr messages.. so that behavior is consistent.. we just need to figure out why you don't get any statusupdates sent in x264 mode. I'll dump all the lines I get from x264 into a logfile and write it to the HD automatically instead of using the log appending mechanism which relies on the status updates.

@kurt: do you have a progress bar during audio encoding? besweet also writes the processing output to stderr and only informational messages to stdout. mencoder and mp4box use stdout and only rarely stderr.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline  
Old 23rd June 2005, 15:34   #94  |  Link
odyn1982
Registered User
 
Join Date: Jun 2005
Location: Poland
Posts: 25
Next problem with audio configuration. Megui always uses this settings: -azid( -s stereo -c normal -L -3db ) -bsn( -2ch -cbr 128 ) -ota( -d 0 -g max )
but I wanted 5.1ch, VBR streaming, he profile with high quality.

Code:
Log for job job2

besweet: "E:\DIVX\PROGRAMY\AUDIO\BeSweetv1.5b30\BeSweet.exe" -core( -input "E:\DIVX\FILMY\TRAILERS\HP2\HII T03 2_0ch 192Kbps DELAY 0ms.ac3" -output "E:\DIVX\FILMY\TRAILERS\HP2\Test\audio.mp4" -logfile "besweet.log" ) -azid( -s stereo -c normal -L -3db ) -bsn( -2ch -cbr 128 ) -ota( -d 0 -g max )

BeSweet v1.5b30 by DSPguru.
--------------------------

[00:00:00:000] Initializing...
[00:00:00:000] -- Initializing...                                      
                                                                       
[00:02:08:512] |                                      
                                                                       
SR: 48000, Table idx: 6 - start 12, stop 8
SR: 48000, Table idx: 6 - start 12, stop 8
[00:02:08:512] Finalizing...                                    
[00:02:08:512] Conversion Completed !                                    

Visit DSPguru's Homepage at :
                                http://DSPguru.doom9.net/
The progress window disappears though once encoding is finished.
odyn1982 is offline  
Old 23rd June 2005, 15:54   #95  |  Link
kurt
sidekick
 
kurt's Avatar
 
Join Date: Apr 2004
Location: old Europe
Posts: 610
Quote:
Originally Posted by Doom9
Does that mean "it disappears" or "it stays even when x264.exe has done its job"? stay = bad and it's another issue entirely than having a progress window that disappears after encoding, even if there are no status updates.. the disappearance tells me that there is no basic problem with sending status updates (the disappearance is triggered via the same kind of status updates as the progress updates), and thus the problem lies with reading the stderr from x264.exe.. if the progress window stays even when x264.exe is done, then there's a problem dispatching the status updates (as odyn1982 has).
status window disappears, when the job is done - so there is no fault....
only the progress bar fails...

Quote:
Originally Posted by Doom9
@kurt: do you have a progress bar during audio encoding? besweet also writes the processing output to stderr and only informational messages to stdout. mencoder and mp4box use stdout and only rarely stderr.
yes, progress bar during audio encoding works! (and 99% cpu for besweet.exe by default - in contrast to x264.exe) ...

Quote:
Originally Posted by Doom9
The only thing I can still try is the paralell 3 thread stdout/stderr reading that I use for mp4box now.. when time permits (week-end probably) I'll make a separate dumb program that launches x264.exe and writes out any messages received from x264's stdout and stderr to the commandline. But I would not at all be surprised if that didn't work on your machine either. And that means I'd be at the end of my rope and your computer is just not compatible with my software, period.
that doesn't sound good for my machine.... it's strange that besweet works properly but x264.exe doesn't...
__________________
greets, kurt.
Pioneer PDP-427 XA | Popcorn Hour NMT C-200 | Sony STR-DB 840 QS | Canton Ergo 91 DC
kurt is offline  
Old 23rd June 2005, 16:32   #96  |  Link
absinthe
Registered User
 
absinthe's Avatar
 
Join Date: Aug 2004
Location: North Carolina, USA
Posts: 270
Quote:
Originally Posted by Doom9
Please post the megui logfile for that encoding session (you posted the stats file ) MeGUI logfiles are in the MeGUI directory and named like this: logfile-date-time.log.
Well, inexplicably, I don't get such a file in my MeGUI directory at any point. I'm definitely using 0.1.9.9.

Anyhow, just like kurt, my status window definitely closes when the job's done; there's just no progress bar movement (it's always 0%).

Also like kurt, audio progress works just fine. As it does with muxing.

-abs
__________________
The perfect browser is now completely free: Opera. Get it. Love it.
absinthe is offline  
Old 23rd June 2005, 17:14   #97  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
Okay guys.. here's a very simply .net cli program that reads both stdout and stderr from x264.exe. It expects x264.exe in the same directory, as well as an avisynth script called input.avs.

You obviously have to launch it from the commandline and it should show something like this:
Code:
D:\MeGUI\bin\Debug>x264CLIReader.exe
18:13:40Started x264.exe and the stdout and stderr readers
18:13:40 line received: avis [info]: 640x352 @ 25.00 fps (3598 frames)
18:13:40 line received: x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
3DNow!
18:13:40 line received: mp4 [info]: initial delay 0 (scale 25)
18:13:40 line received: encoded frames: 4/3598 (0.1%), 36.70 fps
18:13:40 line received: encoded frames: 8/3598 (0.2%), 42.78 fps
18:13:40 line received: encoded frames: 11/3598 (0.3%), 47.01 fps
18:13:40 line received: encoded frames: 15/3598 (0.4%), 48.08 fps
Let me know what you get. Obviously this only applies to people not getting x264.exe status updates. If this fails I guess you'll have to settle for having no progress bar.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline  
Old 23rd June 2005, 17:23   #98  |  Link
odyn1982
Registered User
 
Join Date: Jun 2005
Location: Poland
Posts: 25
This is what I got:
odyn1982 is offline  
Old 23rd June 2005, 17:24   #99  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
@odyn1982: Could you explain which steps you took from starting MeGUI until encoding. I'm especially interested if there was an audio profile selected when you start MeGUI, if you changed the profile selection at any point in either window.

Quote:
This is what I got:
Excellent.. so I can read from stderr on your box after all. Now, what is the content of the MeGUI log after an x264 job?
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline  
Old 23rd June 2005, 17:30   #100  |  Link
odyn1982
Registered User
 
Join Date: Jun 2005
Location: Poland
Posts: 25
No, I've never had any audio or video profile.
I choose my input and output file, then I configured audio options (5.1, vbr, he, high), clicked queue and finally start.

Last edited by odyn1982; 23rd June 2005 at 17:35.
odyn1982 is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 17:44.


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