Log in

View Full Version : MeGUI - x264/XviD/lavc/Snow encoder with MP4/MKV/AVI output & audio


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 [29] 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

check
10th January 2008, 09:10
duckdown: post your log, and use one of the included xvid profiles if you are unsure of what settings to use.

foxyshadis
10th January 2008, 20:28
If you use the percentage profiles (https://forum.doom9.org/showthread.php?t=119399) it's very important to read up on them and understand how they work. MeGUI really needs basic no-effort profiles since it's obvious that the integration to find the best profile isn't going to happen anytime soon now.

weaver4
12th January 2008, 16:29
I noticed that the NDACCLC-96kbps audio profile is too low on my ipod even with the "increase volume automatically" enabled. When I encode with StaxRip it is at least 15db louder. BTW: it is also low on my TV playing on my PopCorn Hour.

Poopoo
13th January 2008, 00:31
Hi, using the latest version I encounter a crash when using the 'One Click Encoder' mode.

Everything goes well as long as I don't remove the 2nd Audio Track tab.(One Click Encoder/Encoder Config) If I encode using the standard 2 audio track tabs, the audio gets muxed at twice the normal speed, and thus stops halfway the movie, If I rightclick the "Audio Track 2" tab and select remove, and then click Go!, it crashes...
http://i13.tinypic.com/80zgute.jpg

dejected_is_me
13th January 2008, 05:52
i did a one click job; extracted ifo on progresive source, heavy metal 2000. job went nice and i told it to split my 1.4 gig movie into two 700 mb movies. i got the first one perfect the second one was 7 mb and could not be rendered. i posted the relevent log enteries:

Log for job job5

Job commandline: "C:\Megui\tools\mkvmerge\MKVtoolnix\mkvmerge.exe" -o "F:\DVD Encodes\Encodes\HM\Mux\Heavy Metal 2000_-_x264 - 5.mkv" -A -S "F:\DVD Encodes\Encodes\HM\encodes\HM2000_Video.mkv" -a 1 -D -S "F:\DVD Encodes\Encodes\HM\encodes\HM2000 T02 3_2ch 448Kbps DELAY 0ms_audio.m4a" --chapters "F:\DVD Encodes\Encodes\HM\raws\VTS_01_PGC_01 - Chapter Information - OGG.txt" --split 700M --no-clusters-in-meta-seek
mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:39:56
'F:\DVD Encodes\Encodes\HM\encodes\HM2000_Video.mkv': Using the Matroska demultiplexer.
'F:\DVD Encodes\Encodes\HM\encodes\HM2000 T02 3_2ch 448Kbps DELAY 0ms_audio.m4a': Using the Quicktime/MP4 demultiplexer.
'F:\DVD Encodes\Encodes\HM\encodes\HM2000_Video.mkv' track 1: Using the MPEG-4 part 10 (AVC) video output module.
'F:\DVD Encodes\Encodes\HM\encodes\HM2000 T02 3_2ch 448Kbps DELAY 0ms_audio.m4a' track 1: Using the AAC output module.
The file 'F:\DVD Encodes\Encodes\HM\Mux\Heavy Metal 2000_-_x264 - 5-001.mkv' has been opened for writing.


The cue entries (the index) are being written...
The file 'F:\DVD Encodes\Encodes\HM\Mux\Heavy Metal 2000_-_x264 - 5-002.mkv' has been opened for writing.
Assertion failed: TimecodeDelay >= int16(0x8000) && TimecodeDelay <= int16(0x7FFF), file ../../src/KaxCluster.cpp, line 295

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

------------------------------------------------------

Starting postprocessing of job...

Job completed successfully and deletion of intermediate files is activated

Found intermediate output file 'F:\DVD Encodes\Encodes\HM\encodes\HM2000_Video.mkv', deleting...
Deletion succeeded.

Found intermediate output file 'F:\DVD Encodes\Encodes\HM\encodes\HM2000 T02 3_2ch 448Kbps DELAY 0ms_audio.m4a', deleting...
Deletion succeeded.

Postprocessing finished!

End of log for job5
------------------------------------------------------

Kurtnoise
13th January 2008, 09:25
@Poopoo: by using which build ? (dev or stable one ?)

@dejected_is_me: you should ask to Mosu for that...

The cue entries (the index) are being written...
The file 'F:\DVD Encodes\Encodes\HM\Mux\Heavy Metal 2000_-_x264 - 5-002.mkv' has been opened for writing.
Assertion failed: TimecodeDelay >= int16(0x8000) && TimecodeDelay <= int16(0x7FFF), file ../../src/KaxCluster.cpp, line 295

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Poopoo
13th January 2008, 12:41
@Poopoo: by using which build ? (dev or stable one ?)

Hi Kurtnoise13,

I use version 0.2.6.1043.

Also, If I play the generated MP3 file with foobar2000, it also plays at double speed, so the problem must be in job 13 below:

Log for job job13

Input: Channels=2, BitsPerSample=16, SampleRate=48000Hz
Command line used: C:\Program Files\megui\tools\lame\lame.exe -b 128 --cbr -h --silent - "D:\My DVDs\Kyoto\Kyoto T01 2_0ch 224Kbps DELAY 0ms_audio.mp3"
------------------------------------------------------

Starting postprocessing of job...

Job completed successfully and deletion of intermediate files is activated

Postprocessing finished!

End of log for job13

EDIT : Seems like deselecting "Force decoding via DirectShow" and "Improve accuracy using...." have fixed the mp3 playing 3 times normal speed.

Still, there is the crash in "One Click Encoder" using only 1 audio track.

3r1c
13th January 2008, 17:56
Just thought i would mention this weird bug...

If i connect to the pc running megui with remote desktop while megui is processing (eg x264) then disconnect the remote session, the next job will always fail with a strange error and nothing in the logs.

MeGUI encountered a fatal error and may not be able to proceed.
Reason: Error creating window handle.

inman
20th January 2008, 05:09
I am using MeGUI 0.2.6.1042. I need to mux an MP4 audio with x264 video. The problem is the delay value has to be 35268ms. MeGUI doesn't allow delay to be greater than 10000ms while muxing.

Any solution to this?

check
20th January 2008, 05:21
just use mp4box by itself. There's a standalone GUI in the form of YAMB. google should find both, but kurnoise bundles them together.

inman
20th January 2008, 09:34
Tried MP4Box in both commandline and YAMB. The delay isn't working. And it looks like I am not the only one having this issue. I saw someone mentioning it might be an issue with Haali Media Splitter skipping the delay part or something.

Any other MP4 muxing software that supports delay?

Kurtnoise
20th January 2008, 09:48
35+ seconds is not a delay imo but more or less an issue with your stream...

inman
20th January 2008, 11:30
35+ seconds is not a delay imo but more or less an issue with your stream...

Yea I know it is a very abnormal value for a delay. But that is how I get the stream.

Anyway I found a solution to this. I used a program called Delaycut to correct the delay in the AC3 file itself. Then encoded it to MP4 with MeGUI, muxed it and now everything is fine.

Sharktooth
21st January 2008, 01:47
the DVD was badly ripped (possibly due a copy protection). use a proper program to rip it (ripit4me, dvdfab HD decrypter...)

spotter
30th January 2008, 06:40
I'm trying to encode Ratatouille with MeGUI and the audio and video are out of sync.

It seems that there are a few seconds of extra black frames of video that are not in the VOBs (namely the disney logo comes up 1-2s into watching the DVD, but 3-4s when watching the generated h264 file).

any ideas?

Taurus
30th January 2008, 07:37
I'm trying to encode Ratatouille with MeGUI and the audio and video are out of sync.

It seems that there are a few seconds of extra black frames of video that are not in the VOBs (namely the disney logo comes up 1-2s into watching the DVD, but 3-4s when watching the generated h264 file).

any ideas?
Nothing for MeGui to worry about :p.
Decrypt it with another Decrypter.
By the way: DVD or BD Version?
http://forum.doom9.org/showthread.php?t=132500&highlight=Ratatouille

donnyj
12th February 2008, 12:41
I can't find subq, agh....

I have searched around in MeGUI for an hour now... When doing a search for "subq" in the .xml profiles, I can't find any reference there either.... I've also tried searching this thread... (I mention all this to say that I tried to RTFM and put effort into finding before asking)

I'm probably just blind...

When setting codec to x264, is there a way to adjust subq (besides using the custom commandline options box)?

If not, what is the default?

Sharktooth
12th February 2008, 14:23
subq? what are you talking about?
maybe "subme" (referenced as Subpixel Refinement in the profile config window)...

donnyj
12th February 2008, 14:42
subq? what are you talking about?
maybe "subme" (referenced as Subpixel Refinement in the profile config window)...

I am sorry, I got the option confused because in MEncoder the same option is "subq"

"subq=<1−8> subpel refinement quality (for qpel) (default: 8 (high quality))"

Except the range appears to be 1-7 instead of 1-8 ???

I am asking this because I wanted to change to 6 as per: "Options which primarily affect speed and quality" (http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-x264.html)

Donny

Sharktooth
12th February 2008, 16:38
the list of modes are described in MeGUI's "Subpixel refinement" dropdown in the profile configuration.
from subme=1 to subme=5 there are no RD optimizations. submne=6 and 7 use RDO. the b-rdo (RDO for b-frames) option requires subme>=6 (this may be the subq=8 in mencoder).

donnyj
12th February 2008, 18:33
Sharktooth, thankyou very much for your help!

kuttichan
9th March 2008, 08:10
Hi all..

I am using Megui..

After I finish the steps for AviSynth Script creator...I am getting an error,where you include the audio input..checkout the SS below

http://maxupload.com/img/4593895E.jpg

Please help me with this..Thank you

check
9th March 2008, 08:16
Sorry, I'm not sure what you're trying to do. Are you trying to mux audio + video into one stream?

kuttichan
9th March 2008, 08:23
Sorry, I'm not sure what you're trying to do. Are you trying to mux audio + video into one stream?

After I have created the .avs file..I am trying to select ac3 for the audio input

kuttichan
9th March 2008, 08:25
I am following this basic Megui guide..and I am on 58/144

http://bt.dvd-guides.com/Basic%20MeGUI%20Guide%20by%20bT.htm

Kurtnoise
9th March 2008, 08:44
the delay of your audio stream is too high (30096ms)...

kuttichan
9th March 2008, 08:48
the delay of your audio stream is too high (30096ms)...

what should i do to decrease it??

Kurtnoise
9th March 2008, 08:53
well...the easiest way is to remove "DELAY 30096ms" in your filename. Then, reload it, transcode it and mux it with the video stream. If you have some desync after that, then you need to recreate your d2v and extract audio streams with an other tool like DVDDecrypter.

kuttichan
9th March 2008, 09:24
well...the easiest way is to remove "DELAY 30096ms" in your filename. Then, reload it, transcode it and mux it with the video stream. If you have some desync after that, then you need to recreate your d2v and extract audio streams with an other tool like DVDDecrypter.

once....I rename it...but....at the end..the voice and the film do not match...so..i guess..re-naming won't solve this prob...

Taurus
9th March 2008, 10:42
once....I rename it...but....at the end..the voice and the film do not match...so..i guess..re-naming won't solve this prob...
Without looking at your input video it's all looking thru the crystal ball.
Try to cut a few frames at the beginning of the source with DGIndex
and upload them somewhere so we can look at them.
Or cut a few frames into the source and start the DGIndex project fom there.
Sometimes the first frames are truncated due to bad ripping.
Maybe your ripping process is not correct for this source or there is a copy protection involved.
And of course, it's not MeGui's fault......

kuttichan
9th March 2008, 10:52
Without looking at your input video it's all looking thru the crystal ball.
Try to cut a few frames at the beginning of the source with DGIndex
and upload them somewhere so we can look at them.
Or cut a few frames into the source and start the DGIndex project fom there.
Sometimes the first frames are truncated due to bad ripping.
Maybe your ripping process is not correct for this source or there is a copy protection involved.
And of course, it's not MeGui's fault......
but I have been facing this same prob with many of my DVDs....that's strange.:confused:

Kurtnoise
9th March 2008, 14:09
what ripper did you use ?

kuttichan
9th March 2008, 18:55
what ripper did you use ?

you mean the decrypter??

NoX1911
9th March 2008, 23:47
When using MP4 Muxer to mux a h264 and MP3 file there will be created a tmp file first that will be placed in the same folder as the final file. For best results with 2 HDDs it would be better to always change writing destinations. SourceFiles(HDD1)->TMP(HDD2)->Final(HDD1)

Edit:
The source video sound is 250ms late. I can correct this with KMP -250ms on the fly. In MeGUIs MP4 Muxer i have to set +750 to achieve the same result. Why is it that way? It doesn't seem to be a milliseconds (ms) value. More a byte shift or something.

Edit2: Forget it... audio delay doesn't seem to work at all in MeGUI muxer here.

Sharktooth
10th March 2008, 14:07
The delay is insanely big. Use an appropriate ripper, like DVDFab Decrypter, AnyDVD, DVD Decrypter... etc.
the error is due to a BAD rip.

NoX1911
10th March 2008, 18:03
Whatever.. it doesn't work. There are other threads here dealing with that problem. It seems general ignorance of (mostly) DS based filters that don't respect (iso standard based) delay data (meta).

So i did workaround this by deleting some MP3 frames with MP3DirectCut.

arrirc
13th March 2008, 13:42
Please help....

This is the first time I am attempting a X264 conversion from a DVD. Apart from AutoMKV, MeGUI is the other program which I am trying.
I have installed this program and updated completely. But I have one doubt, if I use vob files as inputs (which seems to be allowed), will it accept all the VOBs in series if the first VOB is only selected?
I am not really sure how to sort out this input issue or how to make an AVS script!

Sharktooth
13th March 2008, 13:49
:readguid:
there's also a wiki...

arrirc
13th March 2008, 14:05
:readguid:
there's also a wiki...

Sorry, but I could not clear my doubts and a lot of information really drowned me (a bit at least).

Sharktooth
13th March 2008, 14:11
the first step it to launch the d2v creator... load the first .vob (the others will be automatically selected). it will create a .d2v file and demux the audio stream(s).
then open the Avisynth script creator, load the .d2v and create the necessary script (crop, resize, filter as needed).
once the script is done, load the .avs and the audio in the main window and click autoencode... the rest is pretty easy.

arrirc
13th March 2008, 18:06
Thank you very much Sharktooth :)

alcatron
14th March 2008, 16:23
Hi guys,

I am running Windows Vista x64 with SP1 installed. Running the latest MeGui 0.3.0.0 , AviSynth 2.5.7 & .NET Framework 3.0.
Q6600, 4GB RAM

I have this issue when i load the AVS script select then select CEhigh Profile for encode, select MKV, and then when i click the "Auto Encode" button i get this error:

Megui encountered a fatal error and may not be able to proceed. Reason:Object reference not set to an instance of an object.

Any ideas? heres a screenshot
http://img291.imageshack.us/img291/7755/meguierrorti0.jpg


Thanks

Sharktooth
14th March 2008, 17:28
did you set an audio source?

arrirc
14th March 2008, 19:45
I am having a similar error whenever I press Auto Encode....:(

Here the error window

http://img245.imageshack.us/img245/3159/meguierrorap0.png

And here is the window where you can see that both the Audio and Video sources are selected.

http://img245.imageshack.us/img245/1066/meguisettingsoq4.png

I have confirmed that the demuxed audio source is available...

My OS is windows XP. The main source is a DVD's VIDEO_TS folder on my HDD.

:confused:

alcatron
15th March 2008, 03:26
well i was going to click auto encode then mux in a ac3 track, but i cant even get pass the auto encode button, i used this same process as windows xp, but vista is not liking it for some reason. any ideas?

alcatron
15th March 2008, 17:33
ok well i went back to meGUI 0.2.6.1045 and now it works just fine....damn strange its not working in 0.3.0.0

But everytime i open meGUI 0.2.6.1045 now pops up saying "Youre running meGUI on vista but to avoid several issues,may i ask you to upgrade your .net framework"

However .NET 3.5 is installed, i have done a encode and it works fine now why was 0.3.0.0 acting up :confused:

arrirc
15th March 2008, 19:48
I already have .NET ver 3.5 installed....and I'm still getting the error message :(

trooper11
15th March 2008, 21:26
Im having an issue with an encode that fails at the muxing step.

Once it starts that steps, it just hangs and shows as error in the que list. Checking the log, here is the error message:

-------------------

Starting job job4 at 3:54:25 PM

Starting preprocessing of job...

Preprocessing finished!

Job not started. Reason: starting encoder failed with error 'The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail'


---------------------

let me know if any other info is needed. thanks.

unfortunateson
16th March 2008, 01:14
After updating Megui, the mp4 muxer fails to mux streams.
My error log says:

"Job not started. Reason: starting encoder failed with error 'This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem'"

Everything worked fine before the update.

TheLimp
16th March 2008, 09:52
Hi,

I got the exact same problem when I tried to MUX.

Job not started. Reason: starting encoder failed with error 'This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem'

Every thing was working fine but my PC was running a slow so I did a complete reinstall. There is a minimum of applications on my PC. I have installed the .net framework, megui 2 0.2.6.1044 and have updated it.

Another problem I have had since I did the reinstall is that the first pass now takes about 1h40 which is much more then it used to and also the 2nd pass is taking about 5h30 which is about 1h30 more. Even the Audio encode is taking longer

I am using turbo on the video encode options and automated pass. I read on this forum that this might have something to do with the subme value but it is set as 1 on the first and 6 on the second.

1ST PASS
Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 873 --stats "C:\DVD\Highlander\VIDEO_TS\highlander.stats" --bframes 1 --direct auto --subme 1 --analyse none --me dia --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output NUL "C:\DVD\Highlander\VIDEO_TS\highlander.avs"

2ND PASS
Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 2 --bitrate 873 --stats "C:\DVD\Highlander\VIDEO_TS\highlander.stats" --ref 5 --bframes 1 --b-rdo --direct auto --subme 6 --trellis 1 --analyse p8x8,b8x8,i4x4 --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output "C:\DVD\Highlander\VIDEO_TS\highlander.264"

This is my first post and I am a complete noob at video encoding so if I have posted this is the wrong place or asked an already answered question.. oppsss. Sorry about that and can you point me in the right direction :)

Cheers