View Full Version : MeGUI: bug reports and feature requests


Pages : 1 [2] 3 4 5 6 7 8

Zathor
29th April 2010, 21:18
@Zathor
The log is too big to put in a single post so i have uploaded it to mediafire.

http://www.mediafire.com/?wgjz0ajayid

Thanks. I have tried to reproduce it but I failed. Can you reproduce it?

Can you please explain what you have done? I tried to index to DVDs (same VOB name), did an autoencode on both of them and then started the two workers.

AMED
29th April 2010, 23:30
1. Make sure there is a worker 1 and worker 2 setup.

2. Index first video and make changes with avisynth editor (crop, denoise, auto deinterlace) click save.

# Set DAR in encoder to 43 : 23. The following line is for automatic signalling
global MeGUI_darx = 43
global MeGUI_dary = 23
LoadPlugin("C:\Program Files (x86)\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("E:\MainMovie\ONE_MISSED_CALL_SCN\VIDEO_TS\VTS_01_1.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
Load_Stdcall_Plugin("C:\Program Files (x86)\megui\tools\yadif\yadif.dll")
Yadif(order=1)
crop( 8, 84, -8, -80)

#resize
super = MSuper(pel=2, sharp=2)
backward_vec2 = MAnalyse(super, isb = true, delta = 2, overlap=4)
backward_vec1 = MAnalyse(super, isb = true, delta = 1, overlap=4)
forward_vec1 = MAnalyse(super, isb = false, delta = 1, overlap=4)
forward_vec2 = MAnalyse(super, isb = false, delta = 2, overlap=4)
MDegrain2(super, backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400)

3. Click AutoEncode, click Queue.

4. Index second video and make changes with avisynth editor (crop, denoise, auto deinterlace) click save.

# Set DAR in encoder to 4 : 3. The following line is for automatic signalling
global MeGUI_darx = 4
global MeGUI_dary = 3
LoadPlugin("C:\Program Files (x86)\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("E:\MainMovie\THE_GHOST\VIDEO_TS\VTS_01_1.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
Load_Stdcall_Plugin("C:\Program Files (x86)\megui\tools\yadif\yadif.dll")
Yadif(order=1)
crop( 8, 2, -10, -2)

Spline36Resize(704,576) # Spline36 (Neutral)
super = MSuper(pel=2, sharp=2)
backward_vec2 = MAnalyse(super, isb = true, delta = 2, overlap=4)
backward_vec1 = MAnalyse(super, isb = true, delta = 1, overlap=4)
forward_vec1 = MAnalyse(super, isb = false, delta = 1, overlap=4)
forward_vec2 = MAnalyse(super, isb = false, delta = 2, overlap=4)
MDegrain2(super, backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400)

5. On the Queue tab, click start.

6. If you look at the screenshot below, it seems to mess up the audio encoding as well. both were encoded with the same nero aac settings (keep channels and vbr 0.40) but yet job 2 is 18.6MB and completely slient, job 6 is 194MB and the audio is fine. another thing i noticed was when job 2 had finished encoding it would not start the next job until job 6 had also finished.

http://i40.tinypic.com/qpq6o0.png

7. Then both workers started processing job 3 at the same time.

http://i39.tinypic.com/1498c2w.png

AMED
29th April 2010, 23:31
and the Log

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.4.13
--[NoImage] OS : Windows Seven Ultimate Edition x64 (6.1.0.7600)
--[NoImage] Latest .Net Framework installed : 3.5 SP1 (3.5.30729.4926)
--[NoImage] Avisynth Version : 2.5.8.5
-[Information] Log for job1 (idx, VTS_01_1.VOB -> VTS_01_1.d2v)
--[Information] [30/04/2010 9:57:26 a.m.] Started handling job
--[Information] [30/04/2010 9:57:26 a.m.] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\megui\tools\dgindex\dgindex.exe" -SD=< -AIF=<E:\MainMovie\ONE_MISSED_CALL_SCN\VIDEO_TS\VTS_01_1.VOB< -OF=<E:\MainMovie\ONE_MISSED_CALL_SCN\VIDEO_TS\VTS_01_1< -FO=0 -exit -hide -OM=1 -TN=80
--[Information] [30/04/2010 9:57:26 a.m.] Indexing started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [30/04/2010 9:58:31 a.m.] Running auto force film
---[NoImage] Film percentage: -1
--[Information] [30/04/2010 9:58:31 a.m.] Postprocessing
---[Information] Deleting intermediate files
--[Information] [30/04/2010 9:58:31 a.m.] Job completed
-[Information] AutoEncode job generation log
--[NoImage] Split Size : null
--[Information] Eliminating duplicate filenames
---[NoImage] Video output file: E:\MainMovie\ONE_MISSED_CALL_SCN\VIDEO_TS\VTS_01_1.264
---[NoImage] Muxed output file: E:\MainMovie\ONE_MISSED_CALL_SCN\VIDEO_TS\VTS_01_1-muxed.mkv
---[NoImage] Encodable audio stream 0: E:\MainMovie\ONE_MISSED_CALL_SCN\VIDEO_TS\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.m4a
-[Information] Log for job5 (idx, VTS_01_1.VOB -> VTS_01_1.d2v)
--[Information] [30/04/2010 10:00:06 a.m.] Started handling job
--[Information] [30/04/2010 10:00:06 a.m.] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\megui\tools\dgindex\dgindex.exe" -SD=< -AIF=<E:\MainMovie\THE_GHOST\VIDEO_TS\VTS_01_1.VOB< -OF=<E:\MainMovie\THE_GHOST\VIDEO_TS\VTS_01_1< -FO=0 -exit -hide -OM=1 -TN=80
--[Information] [30/04/2010 10:00:06 a.m.] Indexing started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [30/04/2010 10:01:06 a.m.] Running auto force film
---[NoImage] Film percentage: -1
--[Information] [30/04/2010 10:01:06 a.m.] Postprocessing
---[Information] Deleting intermediate files
--[Information] [30/04/2010 10:01:06 a.m.] Job completed
-[Information] AutoEncode job generation log
--[NoImage] Split Size : null
--[Information] Eliminating duplicate filenames
---[NoImage] Video output file: E:\MainMovie\THE_GHOST\VIDEO_TS\VTS_01_1.264
---[NoImage] Muxed output file: E:\MainMovie\THE_GHOST\VIDEO_TS\VTS_01_1-muxed.mkv
---[NoImage] Encodable audio stream 0: E:\MainMovie\THE_GHOST\VIDEO_TS\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.m4a
-[Information] Log for job2 (audio, VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.ac3 -> VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.m4a)
--[Information] [30/04/2010 10:05:43 a.m.] Started handling job
--[Information] [30/04/2010 10:05:43 a.m.] Preprocessing
--[NoImage] Avisynth script
---[NoImage] LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] NicAc3Source("E:\MainMovie\ONE_MISSED_CALL_SCN\VIDEO_TS\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.ac3", DRC=1)
---[NoImage] Normalize()
---[NoImage] return last
--[NoImage] Commandline used: -ignorelength -q 0.4 -if - -of "{0}"
--[Information] [30/04/2010 10:05:43 a.m.] Encoding started
--[Information] [30/04/2010 10:05:43 a.m.] Encode thread started
--[Information] [30/04/2010 10:05:43 a.m.] Avisynth script environment opened
--[Information] [30/04/2010 10:05:43 a.m.] Script loaded
--[Information] Output Decoder
---[NoImage] Channels: 6
---[NoImage] Bits per sample: 32
---[NoImage] Sample rate: 48000
--[NoImage] Commandline: C:\Program Files (x86)\megui\tools\neroAacEnc.exe -ignorelength -q 0.4 -if - -of "E:\MainMovie\ONE_MISSED_CALL_SCN\VIDEO_TS\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.m4a"
--[Information] [30/04/2010 10:05:43 a.m.] Encoder process started
--[NoImage] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2009 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Feb 18 2010 *
---[NoImage] * Package version: 1.5.4.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] [30/04/2010 10:14:34 a.m.] Postprocessing
---[Information] Deleting intermediate files
--[Information] [30/04/2010 10:14:34 a.m.] Job completed
-[Information] Log for job6 (audio, VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.ac3 -> VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.m4a)
--[Information] [30/04/2010 10:05:43 a.m.] Started handling job
--[Information] [30/04/2010 10:05:43 a.m.] Preprocessing
--[NoImage] Avisynth script
---[NoImage] LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] NicAc3Source("E:\MainMovie\THE_GHOST\VIDEO_TS\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.ac3", DRC=1)
---[NoImage] Normalize()
---[NoImage] return last
--[NoImage] Commandline used: -ignorelength -q 0.4 -if - -of "{0}"
--[Information] [30/04/2010 10:05:43 a.m.] Encoding started
--[Information] [30/04/2010 10:05:43 a.m.] Encode thread started
--[Information] [30/04/2010 10:05:43 a.m.] Avisynth script environment opened
--[Information] [30/04/2010 10:05:43 a.m.] Script loaded
--[Information] Output Decoder
---[NoImage] Channels: 6
---[NoImage] Bits per sample: 32
---[NoImage] Sample rate: 48000
--[NoImage] Commandline: C:\Program Files (x86)\megui\tools\neroAacEnc.exe -ignorelength -q 0.4 -if - -of "E:\MainMovie\THE_GHOST\VIDEO_TS\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.m4a"
--[Information] [30/04/2010 10:05:43 a.m.] Encoder process started
--[NoImage] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2009 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Feb 18 2010 *
---[NoImage] * Package version: 1.5.4.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] [30/04/2010 10:14:34 a.m.] Postprocessing
---[Information] Deleting intermediate files
--[Information] [30/04/2010 10:14:34 a.m.] Job completed
-[Information] Log for job3 (video, VTS_01_1.avs -> VTS_01_1.264)
--[Information] [30/04/2010 10:14:34 a.m.] Started handling job
--[Information] [30/04/2010 10:14:34 a.m.] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\megui\tools\x264\vfw4x264.exe" --level 4 --preset slower --crf 21.0 --sar 4429:4048 --output "E:\MainMovie\ONE_MISSED_CALL_SCN\VIDEO_TS\VTS_01_1.264" "E:\MainMovie\ONE_MISSED_CALL_SCN\VIDEO_TS\VTS_01_1.avs"
--[Information] [30/04/2010 10:14:34 a.m.] Encoding started
-[Information] Log for job3 (video, VTS_01_1.avs -> VTS_01_1.264)
--[Information] [30/04/2010 10:14:34 a.m.] Started handling job
--[Information] [30/04/2010 10:14:34 a.m.] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\megui\tools\x264\vfw4x264.exe" --level 4 --preset slower --crf 21.0 --sar 4429:4048 --output "E:\MainMovie\ONE_MISSED_CALL_SCN\VIDEO_TS\VTS_01_1.264" "E:\MainMovie\ONE_MISSED_CALL_SCN\VIDEO_TS\VTS_01_1.avs"
--[Information] [30/04/2010 10:14:34 a.m.] Encoding started

Zathor
2nd May 2010, 23:18
6. If you look at the screenshot below, it seems to mess up the audio encoding as well. both were encoded with the same nero aac settings (keep channels and vbr 0.40) but yet job 2 is 18.6MB and completely slient, job 6 is 194MB and the audio is fine. another thing i noticed was when job 2 had finished encoding it would not start the next job until job 6 had also finished.

Thanks for the detailed report. I have been able to reproduce the problem with more than one worker working on a job and fix will be in the next build.
The audio file has been ok for me.

cheer
7th May 2010, 23:41
Question regarding DGIndexNV. This is my first go-around with using MeGUI for Blu-Ray, so be patient. :)

I'm using DGINdexNV to create the project files. When I then go into the AVISynth Script Creator and hit Analyze, I get an error dialog that says, "Failed to create video decoder (100)" and, at this point, MeGUI becomes unresponsive. If I skip the analysis step, everything seems OK.

Is this just not supported, or have I got a problem on my system?

I'm doing a VC-1 source (Star Trek: TOS). I manually used eac3to to figure out which stream files comprise which episode, then manually use DGIndexNV to add all of the appropriate stream files and create the project.

Shevek
8th May 2010, 08:38
Question regarding DGIndexNV. This is my first go-around with using MeGUI for Blu-Ray, so be patient. :)

I'm using DGINdexNV to create the project files. When I then go into the AVISynth Script Creator and hit Analyze, I get an error dialog that says, "Failed to create video decoder (100)" and, at this point, MeGUI becomes unresponsive. If I skip the analysis step, everything seems OK.

Is this just not supported, or have I got a problem on my system?

I'm doing a VC-1 source (Star Trek: TOS). I manually used eac3to to figure out which stream files comprise which episode, then manually use DGIndexNV to add all of the appropriate stream files and create the project.

Do you have the CUVID (http://neuron2.net/dgdecnv/dgdecnv.html) server running?

Knuffi
9th May 2010, 10:34
With newest Update-Server version, I cannot encode any video stream at all:
[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.4.13
--[NoImage] OS : Windows Seven x64 (6.1.0.7600)
--[NoImage] Latest .Net Framework installed : 3.5 SP1 (3.5.30729.4926)
--[NoImage] Avisynth Version : 2.5.8.5
-[Information] Log for job9 (video, AmHisX_cut.avs -> AmHisX_cut.mp4)
--[Information] [09.05.2010 11:25:12] Started handling job
--[Information] [09.05.2010 11:25:12] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\megui\tools\x264\vfw4x264.exe" --crf 20.0 --trellis 0 --profile high --level 4.1 --bframes 3 --ref 4 --slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-maxrate 14000 --vbv-bufsize 14500 --sar 1:1 --output "E:\capture\AmHisX_cut.mp4" "E:\capture\AmHisX_cut.avs"
--[Information] [09.05.2010 11:25:12] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [09.05.2010 11:25:12] Job completed

In the example, it's a stream i recorded with my TV-card - two weeks ago there was no problem with another stream.

AMED
10th May 2010, 07:28
Hi Zathor,

I've found a way to reproduce the Audio bug that i mentioned earlier.

Here are the steps :)

1. Download THIS (http://www.mediafire.com/?kidjazjdan4) 2 channel AC3 that i borrowed from MASH :)

2. Create 2 copies of the downloaded AC3, call one TEST1.ac3 and the other TEST2.ac3.

3. Make sure there is a worker 1 and worker 2 setup.

4. Change the Nero AAC scratchpad to this, press update and close.

http://i44.tinypic.com/2qnb3i1.png

5. Load TEST1.ac3 in to the audio track 1 in MeGUI and click enqueue.

6. Load TEST2.ac3 in to the audio track 1 in MeGUI and click enqueue.

7. Click on Queue tab and click start.

run these jobs multiple times and inspect the output sizes of the mp4s created,
Run 1:
TEST1.mp4 = 1.63MB, TEST2.mp4 = 1.12MB.
Run 2:
TEST1.mp4 = 1.64MB, TEST2.mp4 = 100KB.
Run 3:
TEST1.mp4 = 100KB, TEST2.mp4 = 1.19MB.
Run 4:
TEST1.mp4 = 1.63MB, TEST2.mp4 = 1.13MB.

And the LOG (http://www.mediafire.com/?mmjylmqktnt)

EDIT: OK found the problem, it's normalize() in the AVISynth script. If you disable normalize peaks to ... in the nero AAC encoding config dialog the output files are the exact same size.

without normalize enabled.
TEST1.mp4 = 1.51MB, TEST2.mp4 = 1.51MB.

Zathor
10th May 2010, 14:33
But even when normalize is disabled there are sometimes glitches. I have changed it a few days ago so that only one audio job can be run at a given time:
http://megui.svn.sourceforge.net/viewvc/megui?view=rev&revision=1602

eidolen
10th May 2010, 14:40
Hi,
I just auto-updated a couple days ago and now anytime I try and add a denoise filter I get errors. It took me some time to see what was happening, but for some reason the AVS Script is getting corrupted somehow.

My source is mpeg2 and is indexed with DGCreator first before opening AVS Acript Creator. After that I can use any other options fine but if I add the noise filter at any level and select "Preview AVS Script", I get multiple errors.

The default AVS Script before selecting any options looks like this:

#denoiseLoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\VIDEO CACHE\[Test Clips]\Source\I_Opening.d2v", cpu=4, info=3)
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
#resize
#denoise

I can already see that something looks awry with #denoise at the very top. When I actually load a denoise filter it changes to this:

LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\FluxSmooth.dll")
FluxSmoothST(7,7) # Medium NoiseLoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\VIDEO CACHE\[Test Clips]\Source\I_Opening.d2v", cpu=4, info=3)
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
#resize
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\FluxSmooth.dll")
FluxSmoothST(7,7) # Medium Noise

If I reformat the script by hand it seems to work ok, but I figure it's something wrong on my end as I can't find anything anywhere on anyone else having the same problem. Am I doing something wrong, or have a corrupt file somewhere? I'd really like to get this working properly again and hope I'm not missing something obvious.

The first error that appears doesn't show in the log but states:
"AviSynth script error:
Script Error: Invalid arguments to function "FluxSmoothST""

After clicking OK, the following error appears and shows up in the log:
"MeGUI encountered a fatal error and may not be able to proceed. Reason. Parameter is not valid."

Here is the relevant portion of the log:
[Error] Unhandled error
--[NoImage] Exception message: Parameter is not valid.
--[NoImage] Stacktrace
---[NoImage] at System.Drawing.Image.get_Width()
---[NoImage] at System.Drawing.Image.get_Size()
---[NoImage] at System.Windows.Forms.PictureBox.ImageRectangleFromSizeMode(PictureBoxSizeMode mode)
---[NoImage] at System.Windows.Forms.PictureBox.get_ImageRectangle()
---[NoImage] at System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
---[NoImage] at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
---[NoImage] at System.Windows.Forms.Control.WmPaint(Message& m)
---[NoImage] at System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[NoImage] Inner exception: null



Source:
Video
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, Matrix : Standard
Duration : 10s 0ms
Bit rate mode : Constant
Bit rate : 3 522 Kbps
Nominal bit rate : 8 500 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16/9
Frame rate : 29.970 fps
Standard : NTSC
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.821

Thanks for any help in sorting this out,
eidolen

Natsu!
10th May 2010, 20:37
Help me

I have an error when process MKV to AVI XviD, the strange thing is that the error only occurs in at 86.69% 2pass
The error is due to Xvid_encraw.exe, the problem persists, reinstall it and update the Megui, xvid_encraw.exe was downloaded, and yet the problem continues ...
Please I need your help, and not to do ... and I often use the Megui.

Here a screenshot of the error

http://i851.photobucket.com/albums/ab79/dupret2009/Logerrorxvid_encrawmegui.jpg

Thank you very much

Guest
10th May 2010, 21:10
@Natsu!

Where did you get the MKV file?

Natsu!
10th May 2010, 21:47
is a RAW chapter of an anime series...
----------

edit:

http://i851.photobucket.com/albums/ab79/dupret2009/errorxvid_encraw.jpg

here screenshot error...

Guest
10th May 2010, 23:13
@Natsu!

I asked where you got the file. If you don't answer, you'll get a rule 6 strike.

Natsu!
11th May 2010, 02:12
From here take the MKV...

link removed per rule 6

AlekseiV
11th May 2010, 11:12
Zathor, would it be possible to have an option for the FFMSIndex to also create the audio index? Right now I would have to index it through MeGUI (without loading files), then manually add FFAudioSource() above FFVideoSource(), then open the .avs. Doing otherwise causes two indexing passes which can take some time on large videos.

Guest
11th May 2010, 12:56
@Natsu!

You may not discuss downloaded material here, per forum rule 6. Please read and follow our forum rules.

http://forum.doom9.org/forum-rules.htm

eidolen
12th May 2010, 13:56
Hi,
Still having the same trouble with the AVS Script creator in MeGui.

http://forum.doom9.org/showthread.php?p=1398733#post1398733

Does anyone have any thoughts or know where else I can find some help with this problem?

Thanks,
E

Zathor
12th May 2010, 17:07
Hi,
Still having the same trouble with the AVS Script creator in MeGui.

http://forum.doom9.org/showthread.php?p=1398733#post1398733

Does anyone have any thoughts or know where else I can find some help with this problem?

Thanks,
E

I do not have this kind of problem and cannot reproduce it. Can you please install MeGUI to a different location, let it update and try it again? This way you will get a clean installation.

HertZ
15th May 2010, 14:20
Since the last update of mediainfo in megui, file indexing take so much time (more than 20 minutes to start the process)

Zathor
16th May 2010, 08:32
Since the last update of mediainfo in megui, file indexing take so much time (more than 20 minutes to start the process)

Please post more details e.g. which files do you index. In order to verify that mediainfo is the problem you can close megui, extract these old mediainfo files in the megui dir (http://megui.org/auto/mediainfo_0_7_32.zip) and index the file again.

Taurus
16th May 2010, 09:13
@ Zathor:
There is a new mediainfo available (ver.0.7.33).

Zathor
16th May 2010, 10:20
I have published 0.7.33 yesterday and shortly after that HertZ posted about the mediainfo problem with (I assume) 0.7.33. Therefore I have posted a link to the oder release in order to verify the problem.:)

Taurus
16th May 2010, 11:32
Aah sorry, I did not update yesterday :p
HertZ should have told us what kind of a file he was indexing.
I just did a small test on different files with old and new version.
Only DV avi seems to be a little slower with the new version.
Tested avi, mov, flv, mkv, mp4, divx, xvid, mpeg2 via dgindex,wmv....
Different containers and raw streams, with and without sound.
All were short samples about 5 minutes duration
Only DV avi is lagging a bit, could be because of heavy coding in the background on a DV avi file.

HertZ
16th May 2010, 11:58
operates again with all mediainfo 0. 7.32, the problem was with a h264 m2ts bluray.

Zathor
16th May 2010, 12:07
operates again with all mediainfo 0. 7.32, the problem was with a h264 m2ts bluray.

Can you please post the mediainfo of the file and which indexer you used or which action had been using 20 minutes.

HertZ
16th May 2010, 16:00
zathor I have tested with three different titles bluray, I doubt that is specific under bluray.
Final indexer used was DGIndexNV or DGIndex/DGAVIndex (same result for both), so while selecting the .264 file (extracted from the m2ts), MeGUI DGIProject Creator window open, and it took 20 minutes to get the dgi Project output file name

Taurus
16th May 2010, 16:52
So it is not mediainfo, it's on the DG indexer stage:devil:.
You are confusing me...
If you load the index file to the AVS Script Creator, there is no delay?

Renzz
16th May 2010, 17:37
I have an issue as well with the new mediainfo - if I try and open an elementary mpeg2 stream (m2v) in the file indexer, it just hangs (ie it never opens it, or it may take considerably longer than before - I didn't wait to see). I've reverted back to the previous mediainfo and it's working ok again.

Zathor
16th May 2010, 17:49
Can someone with the problem please upload a short sample and describe in detail how to reproduce the problem? And maybe post your OS.
I tried many different files and for me it is working (Win7 x64, 32bit MeGUI).

Zathor
16th May 2010, 18:50
Finally I could see the problem myself with an .264 file. I have stopped the update of mediainfo - hopefully 0.7.34 fixes the problem.

sinz718
17th May 2010, 01:30
Was working yesterday then I couldn't find plug-ins for avisynth so the hunt was on, I saw that Gordianknot had some avisynth plug-ins so I installed it then grabbed those plug-ins and transfered them to the avisynth folder to call them in my script.

Didn't even get around to it, I load up MeGui, go to index my .vob file add to queue, launch queue, frozen crash.
Un-installed Gordianknot thinking that's the only thing I installed must have ruined MeGui, uninstall MeGui just in-case for a fresh install, restart, install MeGui, no added plugs, test file again, Crash.

Here is the log attached.
6GB DDR3 incase you need that info.

EDIT:
To note I just restored my pc to yesterday and all seems fine, I had also installed the new K-Lite Codec Pack 5.9.0 so something between Gordianknot and K-Lite went wrong I will not reinstall either now knowing it will corrupt my MeGui.

flebber
17th May 2010, 14:38
Was working yesterday then I couldn't find plug-ins for avisynth so the hunt was on, I saw that Gordianknot had some avisynth plug-ins so I installed it then grabbed those plug-ins and transfered them to the avisynth folder to call them in my script.

Didn't even get around to it, I load up MeGui, go to index my .vob file add to queue, launch queue, frozen crash.
Un-installed Gordianknot thinking that's the only thing I installed must have ruined MeGui, uninstall MeGui just in-case for a fresh install, restart, install MeGui, no added plugs, test file again, Crash.

Here is the log attached.
6GB DDR3 incase you need that info.

EDIT:
To note I just restored my pc to yesterday and all seems fine, I had also installed the new K-Lite Codec Pack 5.9.0 so something between Gordianknot and K-Lite went wrong I will not reinstall either now knowing it will corrupt my MeGui.

So you have ffdshow intalled no? from here http://ffdshow-tryout.sourceforge.net/ . Avisynth filters here is one link http://avisynth.org/warpenterprises/ there are many other filters and scripts here as well :)

STC-Fan
18th May 2010, 17:21
EDIT: Thanks zathor - I didn't realise the SF pages were active. Feature requests have been added for both items.

In a future build of MeGUI, would it be possible to add in a "Preview AVS Script" button at the bottom of the "Current position" video preview window? I know it sounds strange to duplicate this button when it's already on the Avisynth script creator window, but it would benefit me, and possibly others, as I am currently carrying out manual frame-by-frame correction of a lot of frames in a video.

The (interlaced) video in question has fields shifted vertically in some frames, but not all. There is no filter to automatically correct this through frame analysis (that I am aware of); the only option is to use an old VirtualDub filter called FieldShift, which tries to correct all frames in a video by default. Therefore, I have to import the VDub filter into my AVS script and use the ScriptClip and ConditionalReader functions to import a text file containing the frame numbers that need correction.

At the moment, I have to switch between VirtualDub (to scan through the video - the preview function in MeGUI doesn't update smoothly when scanning forwards, so I'd miss broken frames), then EditPad (with the list of frames to fix, and the correction value to apply), then the MeGUI script preview window (to hit the "Preview AVS script" button), and then finally the MeGUI video preview window (to see if my correction was OK).

I have asked about the problem with the video itself (http://forum.doom9.org/showthread.php?t=153158) previously, however the ScriptClip + ConditionalReader solution was the best available. And apart from the time spent on this, it's also rather annoying having to do wasteful colour space conversion for one VDub filter (as no Avisynth equivalent exists), which then impacts on the final encoding time (OK, I am splitting hairs a bit here, it's only around 2-3 fps).

So I guess what I am asking for is:

1) The ability to smoothly move forwards through the video (allowing me to ditch VDub for the same purpose)

2) A "Preview AVS script" button added to the video preview window (so I don't have to jump to the Avisynth script creator window and press it)

Betsy25
18th May 2010, 18:02
Hi Zathor,

I get an error in the muxing phase when muxing .h264 into container .m2ts.

[Information] Log for job5 (mux, VTS_01_1.264 -> VTS_01_1-muxed.m2ts)
-[Information] [18/05/2010 18:59:10] Started handling job
-[Information] [18/05/2010 18:59:10] Preprocessing
-[NoImage] Job commandline: "C:\Program Files\MeGUI\tools\tsmuxer\tsmuxer.exe" "E:\Funes 2010\La Zizanie DVDShrink\VIDEO_TS\VTS_01_1-muxed.meta" "E:\Funes 2010\La Zizanie DVDShrink\VIDEO_TS\VTS_01_1-muxed.m2ts"
-[Information] [18/05/2010 18:59:10] Muxing started
-[NoImage] Standard output stream: SmartLabs tsMuxeR. Version 1.10.6 http://www.smlabs.net
-[NoImage] Standard error stream: Can't open file: E:\Funes 2010\La Zizanie DVDShrink\VIDEO_TS\VTS_01_1.264"V_MPEG4/ISO/AVC
-[Information] [18/05/2010 18:59:10] Job completed

Zathor
18th May 2010, 22:31
@STC-Fan: Please post your feature request at the SourceForge page.

@Betsy25: I tried to reproduce it but failed. Which MeGUI version are you using? Please disable in the settings the deletion of intermediate files and post the content of the .meta file in the output directory.

Betsy25
19th May 2010, 01:42
@Betsy25: I tried to reproduce it but failed. Which MeGUI version are you using? Please disable in the settings the deletion of intermediate files and post the content of the .meta file in the output directory.


I use the latest version, I have never had deletion of temporary files enabled. Here is the VTS_01_1-muxed.meta file.
MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500
V_MPEG4/ISO/AVC, "E:\Funes 2010\La Zizanie DVDShrink\VIDEO_TS\VTS_01_1.264", fps=25.0 , insertSEI, contSPS
A_AC3, "E:\Funes 2010\La Zizanie DVDShrink\VIDEO_TS\VTS_01_1 T80 2_0ch 192Kbps DELAY 0ms.ac3", lang=fre
S_TEXT/UTF8, "E:\Funes 2010\La Zizanie DVDShrink\VIDEO_TS\La Zizanie_GOED.srt", video-width=720, video-height=432, fps=25.0, lang=dut

Zathor
19th May 2010, 05:54
At a first glance the .meta files look ok. Can you please add the three files to the tsmuxergui and compare these settings to the posted ones? Is it possible to mux your files with the tsmuxergui?

Betsy25
19th May 2010, 12:48
At a first glance the .meta files look ok. Can you please add the three files to the tsmuxergui and compare these settings to the posted ones? Is it possible to mux your files with the tsmuxergui?

@Zathor,

Sorry for late reply.

I tried adding the 3 files to the tsmuxergui directly, and that works just fine. About those settings, do I have to post the newly created .meta file when I do the above ?

simonb1975uk
19th May 2010, 15:25
Apologies if I'm posting this in the wrong forum but does anyone have any tips on transcoding the blu-ray of Sherlock Holmes (2009 version) using MeGui? I have dgindexNV.

simonb1975uk
19th May 2010, 22:36
Ah so sorry I found out how to do it. Sorry again if I posted in the wrong forum

Zathor
19th May 2010, 22:43
@Zathor,

Sorry for late reply.

I tried adding the 3 files to the tsmuxergui directly, and that works just fine. About those settings, do I have to post the newly created .meta file when I do the above ?

Yes, please post the from tsmuxerGui created meta file.

Zathor
22nd May 2010, 19:03
0.3.4.14
- changed the way windowstate, location and size are saved and applied for MainForm, JobWorker, Changelog and WorkerSummary
- [x264Config] changed "Fast first pass" to "Slow first pass"
- [ProfileConfigurationWindow] + [Calculator] + [Changelog] changed style to FixedToolWindow (no resize, no minimize)
- [Calculator] settings can be applied if bitrate > 0
- [JobControl] enhanced the adding of new jobs
- [AudioEncodingTab] "_new" will be appended to the file name if the output file already exists
- If targeting file size in AutoEncode or One-Click the encoding mode of the selected video profile
will be switched temporarily to automated 2/3pass
- [JobControl] + [JobWorkerWindow] fixed a problem with several workers running the same job
- [JobControl] + [JobWorkerWindow] only one audio encoding at a time. Bug #2996413
- [FileBar] set focus to the open dialogue
- [VideoCodecSettings] + [x264Settings] removed unnecessary variables
- renamed VobInputWindow to FileIndexerWindow, renamed several of the indexer classes
- [FileIndexerWindow] display of source media information added
- [FileIndexerWindow] based upon the source media the recommended indexer will be preselected
- [tsMuxeR] fixed failed muxing in rare cases
- [BitrateCalculator] add BPP and Quality Estimate calculation support w/ complexity slider. Patch by JarrettV (#2999751)
- [BitrateCalculator] improved audio and unlimited extra calculation support. Patch by JarrettV (#2999751)
- [BitrateCaluclator] the encoding mode of the selected video profile will be switched to automated 2/3pass if necessary
- [x264ConfigurationPanel] simplified the main page, improved the tooltip help

I would like to have feedback especially regarding these changes:
- the file indexer tries to preselect the correct indexer
- only one audio job can be processed at a time
- improved bitrate calculator (http://forum.doom9.org/showthread.php?t=154441)
- changed the x264 preset system (http://forum.doom9.org/showthread.php?t=154334)

Please provide the feedback to the last two points to the appropriate threads.

alexcel
23rd May 2010, 00:33
Hi:

I've found errors in file indexer:

Megui encountered a fatal error and may not be able to proceed
Reason: method not found. System.string
MediaInfoWrapper.VideoTrack.getscanTypeString()

Occurs with a m2ts file form bluray and with and .h264 extracted with HDStreamExtractor (eacto).

Using mediainfo 0.7.32

Log

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.4.14
--[NoImage] OS : Windows Seven Premium Edition x64 (6.1.0.7600)
--[NoImage] Latest .Net Framework installed : 3.5 SP1 (3.5.30729.4926)
--[NoImage] Avisynth Version : 2.5.8.5
-[Error] Unhandled error
--[NoImage] Exception message: Método no encontrado: 'System.String MediaInfoWrapper.VideoTrack.get_ScanTypeString()'.
--[NoImage] Stacktrace
---[NoImage] en MeGUI.VideoUtil.getMediaInformation(String strFileName, String& strVideoCodec, String& strVideoScanType, String& strContainerFormat, List`1& audioTracks)
---[NoImage] en MeGUI.FileIndexerWindow.openVideo(String fileName)
---[NoImage] en MeGUI.FileIndexerWindow.input_FileSelected(FileBar sender, FileBarEventArgs args)
---[NoImage] en MeGUI.FileBar.triggerEvent()
---[NoImage] en MeGUI.FileBar.setFilename(String filename)
---[NoImage] en MeGUI.FileBar.openButton_Click(Object sender, EventArgs e)
---[NoImage] en System.Windows.Forms.Control.OnClick(EventArgs e)
---[NoImage] en System.Windows.Forms.Button.OnClick(EventArgs e)
---[NoImage] en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
---[NoImage] en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
---[NoImage] en System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] en System.Windows.Forms.ButtonBase.WndProc(Message& m)
---[NoImage] en System.Windows.Forms.Button.WndProc(Message& m)
---[NoImage] en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
---[NoImage] en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage] en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[NoImage] Inner exception: null

Zathor
23rd May 2010, 08:59
Thanks for the hint. The mediainfowrapper.dll needs to be replaced. I had already distributed this dll with the mediainfo 0.7.33 package but forgot that I had revoked it because of problems with the mediainfo.dll. I distribute now a package with the new wrapper and the old dll. This sould fix the problem - please report back.

Dal
23rd May 2010, 09:00
I get the same error too when trying to open a file in File Indexer.

My files are recorded in DVBViewer, and cut with ProjectX.

Here is my MeGui log:

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.4.14
--[NoImage] OS : Windows Seven x64 (6.1.0.7600)
--[NoImage] Latest .Net Framework installed : 3.5 SP1 (3.5.30729.4926)
--[NoImage] Avisynth Version : 2.6.0.1
-[Error] Unhandled error
--[NoImage] Exception message: Finner ikke metoden System.String MediaInfoWrapper.VideoTrack.get_ScanTypeString().
--[NoImage] Stacktrace
---[NoImage] ved MeGUI.VideoUtil.getMediaInformation(String strFileName, String& strVideoCodec, String& strVideoScanType, String& strContainerFormat, List`1& audioTracks)
---[NoImage] ved MeGUI.FileIndexerWindow.openVideo(String fileName)
---[NoImage] ved MeGUI.FileIndexerWindow.input_FileSelected(FileBar sender, FileBarEventArgs args)
---[NoImage] ved MeGUI.FileBar.triggerEvent()
---[NoImage] ved MeGUI.FileBar.setFilename(String filename)
---[NoImage] ved MeGUI.FileBar.openButton_Click(Object sender, EventArgs e)
---[NoImage] ved System.Windows.Forms.Control.OnClick(EventArgs e)
---[NoImage] ved System.Windows.Forms.Button.OnClick(EventArgs e)
---[NoImage] ved System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
---[NoImage] ved System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
---[NoImage] ved System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] ved System.Windows.Forms.ButtonBase.WndProc(Message& m)
---[NoImage] ved System.Windows.Forms.Button.WndProc(Message& m)
---[NoImage] ved System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
---[NoImage] ved System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage] ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[NoImage] Inner exception: null

Thank you.

Dal
23rd May 2010, 09:03
Thanks for the hint. The mediainfowrapper.dll needs to be replaced. I had already distributed this dll with the mediainfo 0.7.33 package but forgot that I had revoked it because of problems with the mediainfo.dll. I distribute now a package with the new wrapper and the old dll. This sould fix the problem - please report back.

I'm sorry, I didn't see this, I guess we wrote it simultaneously :)
Will the new .dll be available via the Auto Updater (http://megui.org/auto)?

Thanks.

Zathor
23rd May 2010, 09:32
It's already online since my posting above :)

cybersharky
23rd May 2010, 09:42
On Megui restarting after updating I get this:
http://img291.imageshack.us/img291/9726/megui.jpg
And then MeGUI crashes.

If I delete all the xml files in jobs, the error goes away.

Dal
23rd May 2010, 10:03
It's already online since my posting above :)
Yeah, I noticed that just a little too late :)

But another problem has occured, this time with the Bitrate Calculator.
I'm not able to press the Apply button in there.

I have ran the File Indexer, processed the Queue, and created a d2v-script.
So now, in the MeGui, both the Video and the Audio fields are filled out.
And when I enter the Bitrate calculator and select output size (both audio and video info seems to be filled out here too), but the Apply button remains greyed out. Here's a picture:

http://gaasdal.net/brc.jpg

Am I missing something in the new version?
This used to be very straight forward in earlier versions.

Thanks again.

Betsy25
23rd May 2010, 12:07
On Megui restarting after updating I get this:
http://img291.imageshack.us/img291/9726/megui.jpg
And then MeGUI crashes.

If I delete all the xml files in jobs, the error goes away.

Same problem here. MeGui cannot start, crashes.
"Error loading File : job1.xml cannot be loaded"

EDIT: Deleting the job*.xml prior to launching fixed it.

Emp3r0r
23rd May 2010, 16:45
I'll look into the issue with the apply button.

FlezZ
23rd May 2010, 18:47
It's not just the apply button. When you enter total file size manually, the old version showed you the video bitrate. However, the updated version doesn't.

Zathor
23rd May 2010, 19:24
It's not just the apply button. When you enter total file size manually, the old version showed you the video bitrate. However, the updated version doesn't.

Thats the root of the problem. Only with a video bitrate the Apply button can be pressed (it doesn't make sense to apply a bitrate of 0)

Zathor
23rd May 2010, 19:25
Can someone with the "job could not be loaded" error send me such a file?

cybersharky
23rd May 2010, 20:00
Can someone with the "job could not be loaded" error send me such a file?

Sent you a link via PM

rapscallion
23rd May 2010, 20:07
Problem with the calculator and DTS MA audio....reported in the thread referenced above.

Edit: Stand alone calculator, v.9 works fine. It's the Megui version that's the problem.

alexcel
23rd May 2010, 22:01
Thanks for the hint. The mediainfowrapper.dll needs to be replaced. I had already distributed this dll with the mediainfo 0.7.33 package but forgot that I had revoked it because of problems with the mediainfo.dll. I distribute now a package with the new wrapper and the old dll. This sould fix the problem - please report back.

Solved, works fine. Thx again

alexcel
23rd May 2010, 22:07
Hi

I am using dgindexnv 2007.

I am having several problems:

If a create a job to encode, and then close megui, and then open megui later to execute pending jobs, jobs do not start as cuvid server is not running. I have to start it manually
Autoencode fails: after selecting avs script, pressing autoencode nothing happens and later when trying to abort megui crashes
In avs creator, Analyse stream fails, nothing happens and megui crashes


I think these errors might come from the way magui handles cuvid server and dgindexnv, but I am not sure

Can not post log cause megui crashes

Thx

Zathor
23rd May 2010, 22:34
http://img291.imageshack.us/img291/9726/megui.jpg

I fixed already the last two errors so that MeGUI wont crash and the job is moved/deleted. The first error is caused by the renaming of the indexer jobs (e.g. IndexJob --> D2VIndexJob). The job type needs to be translated on the fly.

Zathor
23rd May 2010, 22:37
If a create a job to encode, and then close megui, and then open megui later to execute pending jobs, jobs do not start as cuvid server is not running. I have to start it manually
Autoencode fails: after selecting avs script, pressing autoencode nothing happens and later when trying to abort megui crashes
In avs creator, Analyse stream fails, nothing happens and megui crashes


Please try to disable the usage of the CUVIDServer in the MeGUI settings (you have to create the avs files again or edit them to use dgmultisource()).

I need to have a look at your first problem. The server should be started automatically.

quantum5uicid3
24th May 2010, 08:04
while the bitrate calc is being looked at, any chance that defaults for container, audio type/bitrate, and target size could be saved. even better would be having the option to bypass the current bitrate calculator window completely and just have the chosen default selections automatically plugged into the video length to calculate encoder bitrate.

i'd be happy either way. :)

alexcel
24th May 2010, 21:25
Please try to disable the usage of the CUVIDServer in the MeGUI settings (you have to create the avs files again or edit them to use dgmultisource()).

I need to have a look at your first problem. The server should be started automatically.


I have disabled CUVIDServer and all problems are gone, even my first one as I have disabled the use or need for cuvidserver.:thanks:. You are great.

By the way, I think this option should be disabled by default or even removed :helpful:

Guest
24th May 2010, 23:30
By the way, I think this option should be disabled by default or even removed :helpful: I agree that DGMultiSource() should be the default now. The new version DGDecNV 2008 coming in a few hours will have the Quick Start guide revised that way. CUVID server was created only because originally DGMultiSource() would not work with the pre-Zathor builds.

Zathor
25th May 2010, 11:25
I will switch it in the next build.

But it will be of course only switched for new installations because already existing settings will not be changed.

Betsy25
25th May 2010, 13:21
What is the point of the "Subtitles" input field in the Avisynth Script creator window, when it doesn't add them ?

In the script source window, there is

LoadPlugin("C:\Program Files\MeGUI\tools\avisynth_plugin\VSFilter.dll")
VobSub("S:\My DVDs\2012\VIDEO_TS\VTS_01_0.idx")


But in the final encoding, there were no hardcoded subs at all ? :confused:

Nightshiver
25th May 2010, 16:45
Use textsub.

Emp3r0r
25th May 2010, 19:47
And when I enter the Bitrate calculator and select output size (both audio and video info seems to be filled out here too), but the Apply button remains greyed out. Here's a picture:

I am not able to reproduce. When I open the bitrate calculator, the video and audio details are filled in but the Total File Size says "Not calculated" and I must choose a size. Once I choose a size the apply button is active.

Can anyone else reproduce?

Betsy25
25th May 2010, 20:54
Use textsub.

Are you serious ? TextSub for .idx files ?

Anyway I have to revert to both Megui and StaxRip.

MeGUI which is able to extract the correct language streams while StaxRip can't.
Staxrip for doing the actual conversion because it is able to hardcode the .idx subs correctly while MeGUI can't....

quantum5uicid3
25th May 2010, 23:12
load the sub, not the idx
VobSub("S:\My DVDs\2012\VIDEO_TS\VTS_01_0.sub")

and with blurays, use suptitle
http://www.zachsaw.co.cc/?pg=suptitle_pgs_avisynth_plugin

example
SupTitle("F1_T8_Subtitle - English.sup")

Betsy25
26th May 2010, 02:39
load the sub, not the idx
VobSub("S:\My DVDs\2012\VIDEO_TS\VTS_01_0.sub")

and with blurays, use suptitle
http://www.zachsaw.co.cc/?pg=suptitle_pgs_avisynth_plugin

example
SupTitle("F1_T8_Subtitle - English.sup")

Thanks, I cannot see the VobSub("") sequence in the StaxRip .avs, but it works, perhaps Zathor can fix the Avisynth Script Editor so that choosing subtitles to hardcode from it will select the .sub and not the .idx by default.

quantum5uicid3
26th May 2010, 06:09
loading the idx should work also, but maybe a version mismatch or something is occuring. the idx is a text only index file

Dal
26th May 2010, 22:32
I am not able to reproduce. When I open the bitrate calculator, the video and audio details are filled in but the Total File Size says "Not calculated" and I must choose a size. Once I choose a size the apply button is active.

Can anyone else reproduce?
Very strange.
I have no problem reproduce every time I try :(

For my sake, I hope someone else are able to reproduce :)

Thanks

zelenin
27th May 2010, 10:24
http://img9.imageshack.us/img9/5620/megui1.png
http://img228.imageshack.us/img228/5189/megui2.png

zanuda
27th May 2010, 19:11
the same problem
the "new" bitrate calculator doesn't work

Emp3r0r
27th May 2010, 22:05
Can somebody with the bitrate calculator problem open DebugView and paste any exceptions you see when choosing total file size?

DebugView: http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx

zelenin
27th May 2010, 22:13
when i choose Total file size:
[1652] MeGUI.exe Error: 0 :
[1652] System.FormatException: Input string was not in a correct format.
[1652] at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
[1652] at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
[1652] at System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info)
[1652] at MeGUI.packages.tools.calculator.CalcData.CalcQualityCodecModifier()
[1652] at MeGUI.packages.tools.calculator.CalcData.CalcByTotalSize()
[1652] at MeGUI.Calculator.Calculate()

Emp3r0r
28th May 2010, 16:13
thanks @zelenim I have identified the issue and I'm working on a patch

Dal
28th May 2010, 16:18
I get this when I open Bitrate Calculator from the MeGui Tools menu:

[3224] MeGUI.exe Error: 0 :
[3224] System.ArgumentException: Frames must be greater than zero.
[3224] Parameternavn: frames
[3224] ved MeGUI.packages.tools.calculator.CalcData..ctor(Int64 frames, Decimal fps, ContainerType container, VideoCodec codec, Boolean bframes, AudioBitrateCalculationStream[] audios)
[3224] ved MeGUI.Calculator.Calculate()
[3224] MeGUI.exe Error: 0 :
[3224] System.InvalidOperationException: Et objekt som kan nullstilles mĺ ha en verdi.
[3224] ved System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
[3224] ved System.Nullable`1.get_Value()
[3224] ved MeGUI.Calculator.Calculate()

I'm not sure what I can translate "Et objekt som kan nullstilles mĺ ha en verdi" into, that is Norwegian as it is now.

Emp3r0r
28th May 2010, 17:44
Zelenin or Dal: can you try this exe and see if it fixes your problem with the culture parsing of the modifier values:

http://jvance.com/files/MeGUI.zip

zelenin
28th May 2010, 18:27
Zelenin or Dal: can you try this exe and see if it fixes your problem with the culture parsing of the modifier values:
http://jvance.com/files/MeGUI.zip
Yes, it's work!

Emp3r0r
28th May 2010, 18:33
Thanks zelenin!

Zathor: can you update this line of code qualityCodecModifiers.Add(mod.Split('=')[0], float.Parse(mod.Split('=')[1]); to this qualityCodecModifiers.Add(mod.Split('=')[0], float.Parse(mod.Split('=')[1],
System.Globalization.CultureInfo.InvariantCulture));Thanks!

Dal
28th May 2010, 23:57
Zelenin or Dal: can you try this exe and see if it fixes your problem with the culture parsing of the modifier values:

http://jvance.com/files/MeGUI.zip

Yes, it seems to work fine now.

I thank you!

alexcel
29th May 2010, 21:24
Hi:

I've tried to use oneclick for blurays movies. I have a main movie stream .m2ts as input file

When using oneclick megui tries to create a d2v file (idx, from 0000.m2ts to 0000.d2v), not a dgi file as when using file indexer, and then stops in error.

Am I doing anything wrong? Is there an option to use oneclick fot HD streams?:confused:

Thanks!

Note: I have licensed neuron2 dgindexnv

MOS-Marauder
30th May 2010, 13:52
I havent used MeGUI now some time and Upated today.

Now i have one strange thing...

I have a .TS File (h264 50 fps + ac3 file) 2 hrs 30 approx...

I used Neurons DGIndexNV (2009) to Index it.

Now the Big Problem:

When i start AVI Script Creator and load that DGI File .... a looooooooooooooooong Time nothing happens.

Up to 2-3 Minutes.

Then i can do all cropping/resizing things and save the AVS.

Then AGAIN i have to wait upto 3 minutes until MeGui becomes aviable again. After loading Audio and pressing "Auto Encode" ....

Same thinggy again... 2-3 minutes until i can choose my Bitrates.

Guess what? .... Continuing does same...2-3 Minutes until MeGui comes Aviable to start Cue.


Starting the Encode i have to wait 5 minutes until even the Status Window pops up... not speaking of again waiting then 5 minutes until it really starts encode. (pass 1).... I guess on Part 2 same thing.

Im Not sure if this is a fault of DGToolsNV or MeGui...
I remember that i got the same behaviour with an older Version of the DGToolsNV when using DGMultiSource.....


So what to do?

Chris

Zathor
2nd June 2010, 13:29
0.3.4.15
- DGIndexNV will use DGMultiSource instead of DGSource as default setting
- [JobControl] fixed a crash if an unknown job type is used
- [JobControl] old D2V and DGI jobs will be updated
- [BitrateCalculator] add 1˝ DVD target size and adjust others to safe values.
Patch by JarrettV (#2999751)
- [BitrateCalculator] fix calculation accuracy by total file size and by BPP to account for
constant video overhead. Patch by JarrettV (#2999751)
- [BitrateCalculator] simplify audio bitrate inspection to assume bitrate from video duration
and audio file size. Patch by JarrettV (#2999751)

Zathor
2nd June 2010, 13:31
Hi:

I've tried to use oneclick for blurays movies. I have a main movie stream .m2ts as input file

When using oneclick megui tries to create a d2v file (idx, from 0000.m2ts to 0000.d2v), not a dgi file as when using file indexer, and then stops in error.

Am I doing anything wrong? Is there an option to use oneclick fot HD streams?:confused:

No, at the moment "One-Click" can only be used with D2V.

VincAlastor
5th June 2010, 06:41
thank you for your great job, keeping megui alive, zathor!
a long time i didn't open the bitrate calculator, but today i have to say, it's very well thought out logically! if i want to encode multiple streams for a blu ray, i have to use a tiny exel sheet to set the same video bitrate for all streams. but this sheet doesn't calculate very accurate (m2ts overhead is complicated to calculate for me). maybe you could extend megui's bitrate calculator for multiple video streams, if it is possible and less complicated.

revy
6th June 2010, 06:53
0.3.4.15
- DGIndexNV will use DGMultiSource instead of DGSource as default setting
- [JobControl] fixed a crash if an unknown job type is used
- [JobControl] old D2V and DGI jobs will be updated
- [BitrateCalculator] add 1˝ DVD target size and adjust others to safe values.
Patch by JarrettV (#2999751)
- [BitrateCalculator] fix calculation accuracy by total file size and by BPP to account for
constant video overhead. Patch by JarrettV (#2999751)
- [BitrateCalculator] simplify audio bitrate inspection to assume bitrate from video duration
and audio file size. Patch by JarrettV (#2999751)

I had to downgrade to 0.3.4.14, with this version MeGUI doesn't open anymore, stays loaded in memory and shows the icon on the taskbar. I tried to click on the icon but nothing shows up... Tried a full reinstall without success, the only thing that "solved" was downloading the 0.3.4.14 .exe file.

zelenin
6th June 2010, 08:24
MeGUI doesn't open anymore, stays loaded in memory and shows the icon on the taskbar
0.3.4.15 works for me

MOS-Marauder
6th June 2010, 12:20
Works here, too.

Thx Zathor!


Chris

Zathor
6th June 2010, 14:09
I had to downgrade to 0.3.4.14, with this version MeGUI doesn't open anymore, stays loaded in memory and shows the icon on the taskbar. I tried to click on the icon but nothing shows up... Tried a full reinstall without success, the only thing that "solved" was downloading the 0.3.4.14 .exe file.

Please try to delete the user.config file. I assume that the window location is somehow wrong. You can find the file in the user profile (e.g. for W7: C:\Users\<username>\AppData\Local\www.doom9.net)

revy
7th June 2010, 03:43
Please try to delete the user.config file. I assume that the window location is somehow wrong. You can find the file in the user profile (e.g. for W7: C:\Users\<username>\AppData\Local\www.doom9.net)

Yes, that worked out :)

Thanks.

Rat Killer
7th June 2010, 03:58
I got a new HTC EVO on friday. I am trying to put together some HD video files it can play. It has HDMI output for 720p video and a 720p camcorder built in.

Very little is known about the internal capabilities but looking at an output file from the camcorder, it creates files with extension 3GP and mediainfo reports the video codec as mpeg-4 3GPP.

Is it possible to create such files with MeGUI? If not, can someone recommend a tool that can?

doc_dvxm
7th June 2010, 09:50
0.3.4.15 works fine for me.

Thanx to all of you guys keeping meGUI stay alive :)

Emulgator
7th June 2010, 12:23
The matching ICSharpCode.SharpZipLib.dll Version 0.85.5.452 seems to be missing from the 0.3.4.15 development.zip.
Trying an older version of this dll results in the same error.
Where can I get this dll if I intend to make a virgin setup from the development package ?

Zathor
7th June 2010, 13:30
The matching ICSharpCode.SharpZipLib.dll Version 0.85.5.452 seems to be missing from the 0.3.4.15 development.zip.
Trying an older version of this dll results in the same error.
Where can I get this dll if I intend to make a virgin setup from the development package ?

http://megui.org/auto/megui-libs_0_3_5.zip

quantum5uicid3
7th June 2010, 14:40
--profile and --level should remain a part of basic x264 settings.

and i think evo 4g supports h264 video, level 3.1, ref 3, and profile baseline and aac audio in a mp4 container.

edit
i'd like to add too that i think the new complexity slider is a waste of space, because asking a novice to judge the complexity of a video is inherently flawed. just saving previous settings or a slider for selecting crf values would be much more worthwhile additions imho. basically i just find it to be more confusing then helpful. running a --crf ? --pass 1 --slow-firstpass...outputting to a file and saving the stats is the better way to judge compressability and dealing with the occasional unwelcome result of a crf encode.

edit2 to make it more clear.

if target filesize after first pass is greater than or less than specified values, automatically run the 2nd pass adjusting the bitrate and overwriting the previous file.

Emulgator
7th June 2010, 15:29
Many thanks, Zathor !

Rat Killer
9th June 2010, 12:53
Thanks quantum5uicid3! Tried and those setting worked PERFECTLY the first try. WOOT!

Now I cannot wait to get the hdmi cable for this phone. Amazing for a pda/phone.


Next question, is there a way to extract tracks from an mp4 in meGUI? eac3to does not handle extraction from mp4 so the hd stream extractor does not work on mp4s. mp4box can do it from a command line, just did not see a way inside meGUI to do it. If its not there, any chance it could be added?

:thanks:

Clumpco
9th June 2010, 21:23
With build 0.3.4.15 (using DGIndexNV 2010, Win7 32 bits) I get frequent GUI crashes at the start of the second pass. The progress window opens, but before it starts updating I get a "Programme has crashed" message from Windows. However X264 seems to carry on all by itself and completes the encode.
Any ideas?

Capsbackup
10th June 2010, 03:24
Next question, is there a way to extract tracks from an mp4 in meGUI? eac3to does not handle extraction from mp4 so the hd stream extractor does not work on mp4s. mp4box can do it from a command line, just did not see a way inside meGUI to do it. If its not there, any chance it could be added?
:thanks:

You could try Yamb. http://yamb.unite-video.com/download.html

movq
10th June 2010, 11:22
megui support windows 2008 server,64 bit OS?

velp
10th June 2010, 11:56
Hi,

Thanks for all the work that goes into MeGUI. Since I've found it I use it for everything.

One little thing I've noticed for the past few versions is the 'and close' tick box on the HD Streams Extractor screen seems to be anchored to some other component, or statically positioned within the form which doesn't allow for the resizing of the window components properly. This is by no means a show stopper. Just noticed that the behaviour on every other screen seems to have it anchored to the bottom of the form allowing for all components to be dynamically resized. This would be really handy on the HD Streams Extractor screen, some of those disks have so many streams, playlists etc be great to see more in one glance.

No rush, when every you get around to it, just making sure someone was aware of it.

Thanks again.

Velp

MOS-Marauder
10th June 2010, 15:45
megui support windows 2008 server,64 bit OS?

Yep..since its based on Windows Seven (or Vice Versa) it works fine.


Im using Win7 x64 and Windows Server 2008 R2 x64...

Both work fine.


Chris

Rat Killer
10th June 2010, 17:49
You could try Yamb. http://yamb.unite-video.com/download.html

Yes, a bit of searching yesterday and I came to the same conclusion myself. Thanks though.

Would be nice if meGUI could incorporate a bit more front end GUI support for the extract side of mp4box so could to it all in MeGUI.

MajorX
12th June 2010, 03:15
Hi friends
i m new with MeGUI encoding....so plz help me
when i encode anime video with DAR 16:9 the output file shows DAR 3:2.....encoding done correctly and i set DAR to 16:9 while creating avs script but i get same result.

can any one tell me some setting for megui for encoding anime...now i m using following setting

ref=8, bframes=3, b_pyramid=2, b_adapt=2, fast_pskip=1, chroma_qp_offset=-2, decimate=1, deblock=1:1:2, psy=1, psy_rd=0.40:0.00

is this setting correct or something wrong??

Inspector.Gadget
12th June 2010, 03:42
MajorX, post your Avisynth script. MeGUI stores and reads DAR data out of it and passes it to the muxer.

lnatan25
12th June 2010, 15:11
For some reason, the auto encode window does not remember custom sizes anymore... I always have to enter them manually.

Zathor
12th June 2010, 20:07
0.3.4.16
- [MainForm] fixed window size will be reset if window is minimized
- moved CustomFileSize, CustomFPSs, CustomDARs and GUI settings from user.config into settings.xml
- user.config is no longer created / updated.
Therefore MeGUI itself does not write anymore outside of the application directory
- [mencoderEncoder] switched mencoder to ffmpeg as pre-rendering engine in order to support x64

I never used the pre-rendering function and have not tested the change. I believe that if I broke something someone will post it.

Clumpco
12th June 2010, 22:23
0.3.4.16 - Seems to have got mkvmerge command line syntax wrong.

Job commandline: "C:\Program Files\megui\tools\mkvmerge\mkvmerge.exe" -o "my-muxed.mkv"
--engage keep_bitstream_ar_info --default-duration 1:25fps -d 1 -A -S "my.mkv" --language 0:eng --track-name "0:ac3 2/0 (flagged 3/2)"
--sync 0:-1025ms -a 0 -D -S "my PID 157d 3_2ch 48KHz 384Kbps DELAY -1025ms.ac3"
--language 0:eng --track-name "0:eng subs" -s 0 -D -A "my.srt" --no-clusters-in-meta-seek

[Error] An error occurred: Error: The source file '--no-clusters-in-meta-seek' could not be opened successfully,
or retrieving its size by seeking to the end did not work.
Note: full file path/name replaced by "my" for privacy reasons

Zathor
12th June 2010, 23:53
Thanks for the report.

That's because of a change in mkvtoolnix:

* mkvmerge: enhancement: mkvmerge will no longer put all clusters
into a meta seek element resulting in smaller file size. The
parameter "--no-clusters-in-meta-seek" has been renamed to
"--clusters-in-meta-seek" and its meaning reverted.

I will release a new build today which removes the --no-clusters-in-meta-seek from the command line.

MOS-Marauder
13th June 2010, 12:16
The Mkvmerge version u put un your last Update also cannot be started manually via mmg.exe.... Gui and Muxer versions mismatch.

Edit: the Muxer Gui used my Default Config....

Chris

Zathor
13th June 2010, 12:39
I have no problem so far to start mmg.exe manually and create a new mkv.

Zathor
13th June 2010, 13:25
0.3.4.17
- [VideoUtil] + [MainForm] fixed the detection of AviSynth for MeGUI x64
- [MkvMergeMuxer] removed --no-clusters-in-meta-seek because of the change in MkvToolNix 4.0.0
- [WindowUtil] + [JobWorkerWindow] prevent standby while a job is running

lnatan25
13th June 2010, 18:05
Thanks for the fixes, Zathor!

MOS-Marauder
14th June 2010, 11:08
I have no problem so far to start mmg.exe manually and create a new mkv.


Me, too.

mmg.exe took my default Config in the Registry (i had mkvtoolnix installed).

Chris

aegisofrime
15th June 2010, 15:25
Hi Zathor. I believe this is related to your change of using ffmpeg instead of memcoder for pre-rendering.

After the change, I notice that the pre-rendering stops early during the process. To be more specific, there isn't any crash. The only indication of a problem is that the file size meter stops increasing. My AVS script is as follows:

SetMTMode(2,4)
DGdecode_mpeg2source("C:\Raws\Test.d2v")
tempgaussmc_beta1u(1,1,0,0,0,0,edimode="--",SVthin=0.0,pelsearch=1)

Distributor()

MT("LimitedSharpenFaster()",4)

A pretty standard TGMC deinterlacing script, I would.

I'm thinking that perhaps it would be better to keep using mencoder for 32-bit and try ffmpeg for 64-bit? In addition to the above mentioned problem, there is another additional undesirable with ffmpeg, that there's no information feedback on expected file size, frames encoded or remaining time left. I believe these information can be quite important.

I would love to provide more information, however seeing as there's no error message whatsoever, I'm stumped as to what information to provide. Also this happens with at least 3 different videos I have tried, so I don't think it's video specific.

quantum5uicid3
16th June 2010, 04:04
do you think you could try a more recent build and see if the problem still exists? the lack of status info is a prob though. you could also try running job from commandline.

just overwrite ffmpeg.exe in the megui\tools\ffmpeg\

http://sourceforge.net/projects/mplayer-win32/files/
FFmpeg-svn-23591.7z is current most recent


edit
the link was confusing

i'm also not sure if -vstrict should be -1 or -2. i thought since ffvhuff is now stable, -1 should be used but ffmpeg documentation is not that clear about anything. anyone?

edit2:
at this point, couldn't it just use.

x264 --preset ultrafast --tune fastdecode --qp 0 --output "output" "input"

jeremy33
17th June 2010, 16:46
Hi,

I have a little probem with megui. If I encode a video for my GSM Samsung S5230 it don't work but if I encode the same video with the same settings with Ripbot it work.

Ripbot settings :

--level 3.0 --aud --nal-hrd vbr --vbv-bufsize 10000 --vbv-maxrate 10000 --no-cabac --filter 0,0 --ref 3 --bframes 0 --b-adapt 0
--no-weightb --weightp 0 --b-pyramid none --subme 6 --aq-mode 1 --trellis 0 --partitions p8x8,b8x8,i4x4,p4x4 --no-8x8dct --me umh

Cloudstrifeff7
18th June 2010, 10:18
With latest build when I use Const. Quality for x264, when I click "AutoEncode" in Size and Bitrate the choice is on File Size, with build 0.3.4.14 or with stable the choice is on "No Target size". This is a bug?

Zathor
18th June 2010, 17:33
Hi,

I have a little probem with megui. If I encode a video for my GSM Samsung S5230 it don't work but if I encode the same video with the same settings with Ripbot it work.

Ripbot settings :

--level 3.0 --aud --nal-hrd vbr --vbv-bufsize 10000 --vbv-maxrate 10000 --no-cabac --filter 0,0 --ref 3 --bframes 0 --b-adapt 0
--no-weightb --weightp 0 --b-pyramid none --subme 6 --aq-mode 1 --trellis 0 --partitions p8x8,b8x8,i4x4,p4x4 --no-8x8dct --me umh

I would recommend to create a new profile in MeGUI and put these settings for example in the custom command line.

With latest build when I use Const. Quality for x264, when I click "AutoEncode" in Size and Bitrate the choice is on File Size, with build 0.3.4.14 or with stable the choice is on "No Target size". This is a bug?

No, it's no bug - it's a intended change:
http://forum.doom9.org/showthread.php?p=1402211#post1402211

Frogger13
18th June 2010, 18:06
Hi,

I am using MeGUI for quite some time now and would like to post a small request concerning the AVS Script editor.

In fact, it's perfect, but two things could be enhanced when it comes the the AVS Script Editor:


Use a Fixedsys font like notepad (courrier new, ...) as does any code editor. It makes it easy to create a presentable code
Add the possibility to change the size of the window as it is VERY small for an AVS Script code editor (or leave it fixed size but make it a litte larger)


Would be very nice if these where implemented :thanks:

Concerning MeGU x64 I have a question: I found the core files but no libs, etc. is this normal? the programm won't start and complain about misconfiguration... :(

Cloudstrifeff7
18th June 2010, 18:47
No, it's no bug - it's a intended change:
http://forum.doom9.org/showthread.php?p=1402211#post1402211

I see. Thank you very much!

Inspector.Gadget
18th June 2010, 18:57
The AVS Script code area can easily be resized by clicking and dragging the triangle at the lower right corner of the child window containing the code area.

quantum5uicid3
18th June 2010, 21:22
@jeremy33

you're settings are somewhat redundent and more confusing then they need to be. a portion of bluray compatible settings? also aside from x264 setting, you need to be looking at audio and container settings.

here's a good starting point for any mobile device for x264

program --level 3.0 --profile baseline --preset %whatever% --ref 5

then just manually tweak --ref , --vbv-bufsize , --vbv-maxrate , --level , and --profile to use the highest setting/resolution that will work on your device and post your results. :)

edit
forgot, here's a clear chart for what each of the levels will set your vbv to and maximum allowed resolutions.
http://rob.opendot.cl/index.php/useful-stuff/h264-profiles-and-levels/

Frogger13
19th June 2010, 08:41
The AVS Script code area can easily be resized by clicking and dragging the triangle at the lower right corner of the child window containing the code area.

Humm nope... Maybe there is a misunderstanding: I'm talking about de AVS Code Editor, and there is no lower left corner drag thing here...

http://img691.imageshack.us/img691/2980/avseditor.jpg

It would actually come very handy to have FixedSys Fonts there (Courrier New...) and at least double width Window size. As a .NET application both enhancements should not be to difficult :)

jeremy33
19th June 2010, 08:44
I find why it doesn't work.

If I set output to .mp4 it doesn't work but if I set output to RAWAVC and I mux to .mp4 it work (with megui mp4box).

So what's wrong ?

Zathor
19th June 2010, 18:56
0.3.4.18
- [UpdateWindow] set last modified time
- [AviSynthWindow] + [AviSynthProfileConfigPanel] changed font to Courier New
- [MeGUISettings] defaults to development update server if development build is used
- [mencoderEncoder] switched ffmpeg to mencoder as pre-rendering engine for x86

This build will be released as stable build together with the recent tools soon (if no new problems arise).

Frogger13
19th June 2010, 22:09
0.3.4.18
- [UpdateWindow] set last modified time
- [AviSynthWindow] + [AviSynthProfileConfigPanel] changed font to Courier New
- [MeGUISettings] defaults to development update server if development build is used
- [mencoderEncoder] switched ffmpeg to mencoder as pre-rendering engine for x86

This build will be released as stable build together with the recent tools soon (if no new problems arise).

ThanX Zathor thats Great! :thanks::thanks::thanks:

BTW: How do you run the x64 Version of MeGUI? I can't find the Lib and data files for 64bit:confused:

Zathor
19th June 2010, 23:10
BTW: How do you run the x64 Version of MeGUI? I can't find the Lib and data files for 64bit:confused:
You can find the installation instructions here:
http://forum.doom9.org/showthread.php?p=1390397#post1390397

Frogger13
20th June 2010, 08:34
You can find the installation instructions here:
http://forum.doom9.org/showthread.php?p=1390397#post1390397

Thanks for the Information, but I keep getting following error:

http://img267.imageshack.us/img267/4698/errorjl.jpg

AviSynth64 is installed and working. MeGUI64 is in the same path as MeGUI32. But also if I put the x64 files in a separate Directory, the error is the same.

Edit: Installed .NET Framework is incremental .NET Framework 3.5 (http://www.microsoft.com/downloads/details.aspx?FamilyId=333325fd-ae52-4e35-b531-508d977d32a6&displaylang=en) + hotfixes

Zathor
20th June 2010, 13:45
MeGUI64 is in the same path as MeGUI32. But also if I put the x64 files in a separate Directory, the error is the same.

MeGUI x64 must be installed in a different directory than MeGUI x86. But this is not the source of the error. It seems that you need to install a Visual C++ x64 Redistributable Package (there are several ones and newer ones do not include the older packages)

Zathor
20th June 2010, 13:52
Build 0.3.5 released. Beside the build number and a few minor cosmetic things this build is the same as 0.3.4.18.

Changelog for 0.3.5 (includes all changes since 0.3.4):

0.3.5.0
Main changes:
- simplified x264 profiles and the main x264 configuration page. Only the
target/playback device of the encoding will be selected with the default
profile. The encoding mode and quality will be selected automatically or
can be defined manually.
- if targeting file size in AutoEncode or One-Click the encoding mode of the
selected video profile will be switched temporarily to automated 2/3pass
The AutoEncode defaults can be changed in the settings
- if applying a bitrate in the bitrate calculator the encoding mode of the
selected video profile will be switched on request permanently
to automated 2/3pass
- only one concurrent audio encoding is allowed
- renamed "DG Creator" to "File Indexer" and improved the File Indexer
- added FFMS (FFmpegSource2) to the File Indexer
- improved Bitrate Calculator. Patch by JarrettV (#2999751)

Other changes:
- [AviSynthWindow] + [AviSynthProfileConfigPanel] + [Changelog]
changed font to Courier New
- [MeGUISettings] defaults to development update server
if development build is used
- [VideoUtil] + [MainForm] fixed the detection of AviSynth for MeGUI x64
- [MkvMergeMuxer] removed --no-clusters-in-meta-seek because of the change
in MkvToolNix 4.0.0
- [WindowUtil] + [JobWorkerWindow] prevent standby while a job is running.
Feature request #2976205
- [MainForm] fixed window size will be reset if window is minimized
- moved CustomFileSize, CustomFPSs, CustomDARs and GUI settings from
user.config into settings.xml
- user.config is no longer created / updated. Therefore MeGUI itself does not
write anymore outside of the application directory
- DGIndexNV will use DGMultiSource instead of DGSource as default setting
- [mencoderEncoder] switched mencoder to ffmpeg as pre-rendering engine in
MeGUI x64 in order to support x64
- [JobControl] fixed a crash if an unknown job type is used
- [JobControl] old D2V and DGI jobs will be updated
- [BitrateCalculator] add 1 1/2 DVD target size and adjust others to safe
values. Patch by JarrettV (#2999751)
- [BitrateCalculator] fix calculation accuracy by total file size and by BPP
to account for constant video overhead. Patch by JarrettV (#2999751)
- [BitrateCalculator] simplify audio bitrate inspection to assume bitrate from
video duration and audio file size. Patch by JarrettV (#2999751)
- changed the way windowstate, location and size are saved and applied for
MainForm, JobWorker, Changelog and WorkerSummary
- [x264Config] changed "Fast first pass" to "Slow first pass"
- [ProfileConfigurationWindow] + [Calculator] + [Changelog] changed style to
FixedToolWindow (no resize, no minimize)
- [Calculator] settings can only be applied if bitrate > 0
- [JobControl] enhanced the adding of new jobs
- [AudioEncodingTab] "_new" will be appended to the file name if the output
file already exists
- [JobControl] + [JobWorkerWindow] fixed a problem with several workers
running the same job
- [JobControl] + [JobWorkerWindow] only one audio encoding at a time.
Bug #2996413
- [FileBar] set focus to the open dialogue
- renamed VobInputWindow to FileIndexerWindow, renamed several of
the indexer classes
- [FileIndexerWindow] display of source media information added
- [FileIndexerWindow] based upon the source media the recommended indexer
will be preselected
- [tsMuxeR] fixed failed muxing in rare cases
- [BitrateCalculator] add BPP and Quality Estimate calculation support with
complexity slider. Patch by JarrettV (#2999751)
- [BitrateCalculator] improved audio and unlimited extra calculation support.
Patch by JarrettV (#2999751)
- [BitrateCaluclator] the encoding mode of the selected video profile will be
switched to automated 2/3pass if necessary
- [x264ConfigurationPanel] simplified the main page, improved the tooltip help
- [HDBDStreamExtractor] DTS output type option for DTS-MA or DTS-HR extracts
only the core DTS track. Feature Request #2695340
- [x264Encoder] fixed rc-lookahead. Bug #2991069
- [OSInfo] improved .NET 4.0 detection. Bug #2988751
- [x264Settings] changed the default b-pyramid value to normal
- [x264Config] fixed the log file button
- [UpdateWindow] added platform type
- [UpdateWindow] only the platform matching updates will be downloaded
- if the x64 MeGUI build is used only x64_64.exe is referenced
- [OneClickConfigPanel] "Keep Input Resolution" disables "Signal AR"
- [JobQueue] CTRL+A selects all queue items. Feature request #2981335
- [JobQueue] SHIFT+UP or DOWN to move an queue item, UP or DOWN to navigate
in the list
- [DAR] + [ARChooser] enhanced ITU values
- [OneClickSettings] changed the default output resolution to 720
- [OneClickWindow] custom AR can be applied if "Keep Input Resolution"
is selected
- [OneClickWindow] "Keep Input Resolution" disables "Signal AR"
- [x264Encoder] --aud will only be appended if selected in the configuration
dialog. Bug #2979294
- [OneClickSettings] the MKV container is enabled by default
- [x264ConfigurationPanel] fixed wrong vbvmaxrate value after
profile switching
- [OneClickWindow] fixed "Keep Input Resolution" behavior
- [VideoEncodingComponent] improved error handling
- [FilmCutter] changed default transition type in AVS Cutter to "No transition"
Fade transition will blend in/out 10 frames. Bug #2913546
- x264 - some CQP mode adjustments
- x264 - added superfast preset support (requires x264 revision 1509 or higher)
- [ffmsReader] + [ScriptServer] FFVideoSource defaults to the YV12 colorspace
- [VideoUtil] improved the ConvertToYV12() handling
- [UpdateCacher] + [UpdateWindow] + [MainForm]
added offline install capability
- [UpdateCacher] + [UpdateWindow] zip files will be verified before extracting
- [UpdateCacher] improved proxy support
- user.config will be migrated to new version if possible
- [x264Encoder] mbtree can be disabled while fast preset is active
- [AviSynthWindow] FFVideoSource will be used automatically if a corresponding
findex file exists
- [MeGUISettings] fixed ffms file not found problem
- [MP4BoxMuxer] + [CommandlineJobProcessor] changed the way the remaining time
is estimated. Bug #2124705
- [MainForm] updatecopier.exe will only be elevated if necessary
- simplified updatecopier.exe
- [HDStreamExtractorIndexer] improved mpls parsing
- [BitrateCalculator] fixed overflow in case of very long video durations
- [MainForm] suspend the update process until the profiles have been imported
- [x264Encoder] + [x264ConfigurationPanel] changed the default b-pyramid value
to normal (requires x264 revision 1455 or higher)
- [JobWorkerWindow] enhanced error handling
- [AudioEncoderInterface] earlier preprocessing status update
- [tsMuxeR] ISO639-2-Code will be used for the language during muxing
- [tsMuxeR] fixed muxing of srt files. Bug #2958514
- [x264] removed the lossless checkbox, changed turbo to "fast first pass",
changed thread-input, cosmetics
- [tsMuxeR] + [CommandlineMuxer] changed the way the projected filesize is estimated
- [AviSynthProfileConfigPanel] if clever anamorphic encoding is enabled the
dropdown box will be also enabled
- [AviSynthWindow] openning a file also triggers the clever anamorphic
encoding event. Bug #2957647
- [UpdateWindow] set last modified time to extracted files
- [UpdateWindow] files which need a reboot will also be saved if selected
- update ICSharpCode.SharpZipLib.dll
- [x264Encoder] added support for new x264 nal-hrd switches
(requires x264 revision 1442 or higher)

Bi11
21st June 2010, 00:00
Bugs in x264 configuration dialog (Advanced mode) in Build 0.3.5 :

1) Changing Tunings causes changes to --ref and --bframes. It places --ref 3 and sometimes (for presets: Ultra Fast, Very Slow, Placebo) --bframes 3 on the commandline.

2) For Film, Animation and Grain Tunings, changing Psy-Trellis Strength has no effect on the commandline until Psy-RD Strength is changed to something other than 1.00.

It seems the code for Tunings needs some serious bug spray. Sometimes there are some weird (but not so easy to replicate) changes to the commandline, like choosing Animation sometimes places --bframes 16 on the commandline. :confused:

TwoToad
21st June 2010, 07:04
Hey Zathor, nice work on 0.3.5.0...

Something that's been off on all MeGUI versions I am hoping you could fix is when I AutoEncode with a video that is encoded animorphically, MeGUI doesn't pass this information on to mp4box.

My AVS file contains these lines:


# Set DAR in encoder to 47 : 26. The following line is for automatic signalling
global MeGUI_darx = 47
global MeGUI_dary = 26


But the log files show this:


Job commandline: "C:\Program Files\megui\tools\mp4box\mp4box.exe" -add "File.264:fps=29.97" -add "File.m4a#trackID=1" -ipod -tmp "c:\movies\" -new "File.mp4"


It's not passing a "-par 1=40:33" (or ": par=40:33", I'm not sure which is preferable) switch to the mp4box command line?

As a side note, I also tried muxing the file using the Tools->Muxer->MP4 Muxer option from the menu. It doesn't let you set the PAR from there either. But for the audio track it does let you set the language, which does pass a ":lang=English" parameter to mp4box. I thought this was very nice and was wondering if the language (and par of course) could be added to the video input as well?

Thanks for your time Zathor. I hope this was the correct forum to post this in.

soso12
21st June 2010, 08:36
Hello Zathor,
Thank you for all the good work you do, i used the last Build 0.3.5 released but i noticed that we are limited only to (High@L4.0) we have no choise like before :
Vidéo
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Profil du format : High@L4.0
Paramčtres du format, CABAC : Oui
Paramčtres du format, RefFrames : 9 images
Type de muxing : Container profile=Unknown@4.0
Identifiant du codec : V_MPEG4/ISO/AVC
Débit : 6 186 Kbps
Largeur : 1 280 pixels
Hauteur : 720 pixels
Format ŕ l'écran : 16/9
Images par seconde : 23,976 Im/s
Résolution : 8 bits
Colorimétrie : 4:2:0
Type d'image : Progressif
Bits/(Pixel*Image) : 0.280
Bibliothčque utilisée : x264 core 98 r1649 c54c47d
is this normal or wanted ?
:thanks:

AMED
21st June 2010, 08:39
the option is there, in the x264 config enable show advanced settings, misc tab.

soso12
21st June 2010, 10:02
Thanks AMED, i don't saw the Misc tab, it's perfect ! :thanks:

flebber
22nd June 2010, 00:05
I am getting an error when trying to process video in megui. Problem occurs after auto preview is enabled. The problem is that my output reflects the auti preview.

http://farm2.static.flickr.com/1317/4722080523_b06f902ee7.jpghttp://farm2.static.flickr.com/1375/4722733144_d324a39d02.jpg

The script is basically default as I thought previously my filters may have done it.

# Set DAR in encoder to 16 : 9. The following line is for automatic signalling
global MeGUI_darx = 16
global MeGUI_dary = 9
LoadPlugin("C:\Megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Rip\Source\MainMovie\DVD_VIDEO_1_1\VIDEO_TS\VTS_01_1.d2v", cpu=4, info=3)
LoadPlugin("C:\Megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
crop( 10, 2, -6, -2)

LanczosResize(704,576) # Lanczos (Sharp)
LoadPlugin("C:\Megui\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise

Guest
22nd June 2010, 00:12
Try:

crop( 8, 2, -8, -2)

flebber
22nd June 2010, 01:02
I still have the error with different crop settings. I tried all different anamorphic settings and disabled undot, But no go.

Guest
22nd June 2010, 03:34
Post an unprocessed source sample that we can use to duplicate the issue.

Also, what happens if you load the script directly into VirtualDub?

flebber
22nd June 2010, 04:13
Will post source shortly. Same appearance when script loaded into virtualdub. Used oneclick encoder and it produced a good copy(Even auto inserted chapters, neat feature).

Output from one click encoder.
General
Complete name : C:\Rip\Source\MainMovie\DVD_VIDEO_1_1\VIDEO_TS\VTS 01 1.mkv
Format : Matroska
File size : 597 MiB
Duration : 44mn 19s
Overall bit rate : 1 885 Kbps
Encoded date : UTC 2010-06-22 02:22:54
Writing application : mkvmerge v4.0.0 ('The Stars were mine') built on Jun 6 2010 16:18:42
Writing library : libebml v1.0.0 + libmatroska v1.0.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container profile=Unknown@3.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 44mn 19s
Bit rate : 1 738 Kbps
Width : 704 pixels
Height : 572 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.173
Stream size : 551 MiB (92%)
Writing library : x264 core 98 r1649 c54c47d
Encoding settings : cabac=1 / ref=5 / deblock=1:0:-1 / analyse=0x3:0x113 / me=umh / subme=8 / psy=0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=3 / sliced_threads=0 / nr=100 / decimate=0 / interlaced=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00

Audio
ID : 2
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : A_MPEG/L3
Codec ID/Hint : MP3
Duration : 44mn 19s
Bit rate mode : Variable
Bit rate : 109 Kbps
Nominal bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Stream size : 34.6 MiB (6%)
Writing library : LAME3.98r
Encoding settings : -m j -V 4 -q 2 -lowpass 17 --abr 128

Menu
00:00:00.000 : en:Chapter 01
00:02:29.760 : en:Chapter 02
00:17:46.400 : en:Chapter 03
00:27:50.720 : en:Chapter 04
00:36:33.600 : en:Chapter 05
00:43:40.000 : en:Chapter 06
00:44:17.400 : en:Chapter 07

Guest
22nd June 2010, 04:19
Post the source clip. Anything else is useless and a waste of time.

flebber
22nd June 2010, 05:02
http://www.mediafire.com/file/jygzihmgday/sample.vob.VOB_0

JoeH
22nd June 2010, 08:08
Zathor, the "AutoEncode" option for MKV files doesn't seem to be working correctly in 0.3.5. I've noticed the following problems:

1. It ignores the name for the file that you put into the AutoEncode window.
2. It only creates the video encode jobs, not the mux job. Even if I output MKV and then Autoencode to MKV, I want it to remux the MKV file so as to create the index.
3. If I select RAWAVC as the format, and then select MKV as the Autoencode format, it does not create a RAWAVC job, but only creates an MKV job.

The M2TS autoencode seems to be working correctly.

Guest
22nd June 2010, 12:00
Same appearance when script loaded into virtualdub. I see no such problem using your sample and script when viewing the script directly in VirtualDub.

flebber
22nd June 2010, 14:22
I see no such problem using your sample and script when viewing the script directly in VirtualDub.

I still get the lines in Virtualdub. Thats where it seemed odd that One Click encoder has a perfect output but using avs script creator didn't. Seems there should be no difference.

WorBry
22nd June 2010, 14:52
Core 0.3.5.0 on the stable update server wont load (auto-unzip) .... broken? Tried running the update several times. The one on the developmental server seems OK though.

Guest
22nd June 2010, 14:56
I still get the lines in Virtualdub. Then it has nothing to do with MEGUI.

Dal
22nd June 2010, 20:57
After upgrading to 0.3.5.0, File Indexer does not demux audio files anymore. I have tried both demux all and demux selected, but no.

It works fine when I do it manually directly in DGIndex, though.

Log in MeGui shows no errors.

Anyone else has this problem?

Zathor
22nd June 2010, 22:13
I have tried it with a VOB file and the DG Indexer and I had no problems to extract the audio files.

Zathor
22nd June 2010, 22:37
Core 0.3.5.0 on the stable update server wont load (auto-unzip) .... broken? Tried running the update several times. The one on the developmental server seems OK though.

Thanks, one mirror had a bad zip file. Because I have no direct access I have uploaded 0.3.5 with a new file name and hopefully the mirror will be updated correctly this time.

Shevek
22nd June 2010, 22:43
After upgrading to 0.3.5.0, File Indexer does not demux audio files anymore. I have tried both demux all and demux selected, but no.

It works fine when I do it manually directly in DGIndex, though.

Log in MeGui shows no errors.

Anyone else has this problem?

No problems here - successful extract of DTS audio from a DVD VOB

Dal
22nd June 2010, 22:48
I have tried it with a VOB file and the DG Indexer and I had no problems to extract the audio files.
The files I use are .ts files recorded with DVBViewer.

Guess I have to go back to v3.4.17 (if I can find it)

Edit: According to MeGui log, this is the command line for DGIndex while demuxing: [NoImage] Job commandline: "D:\Brukerprogrammer\Media\megui\tools\dgindex\dgindex.exe" -SD=< -AIF=<D:\Lager\nytt\PVR\06-22_18-25-00_Disney Channel (nor)_Phineas og Ferb.ts< -OF=<D:\Lager\nytt\PVR\06-22_18-25-00_Disney Channel (nor)_Phineas og Ferb< -FO=0 -exit -hide -OM=2

Hope this helps.

flebber
23rd June 2010, 00:19
Then it has nothing to do with MEGUI.

Actually found the error :) I stripped the megui script back to.

LoadPlugin("C:\Megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Rip\Source\MainMovie\DVD_VIDEO_1_1\VIDEO_TS\VTS_01_1.d2v")
#deinterlace
crop( 8, 2, -8, -2)

#resize


Its the "cpu=4, info=3" at the end of the DGDecode call that causes my error.

DGDecode_mpeg2source("C:\Rip\Source\Customize\DVD_VIDEO_S1_D3\VIDEO_TS\VTS_01_1.d2v", cpu=4, info=3)

How can this be fixed other than me manually changing it everytime?

Guest
23rd June 2010, 00:22
That does not cause any error for me.

Try adding this to the end of the script:

ConvertToRGB()

Then open it in VirtualDub. Just to see if your YV12 codec is screwed.

flebber
23rd June 2010, 00:36
I did it with two seperate files and scripts, the extra info/cpu casues error on both.

My PC details
2.80 gigahertz AMD Athlon II X2 240
256 kilobyte primary memory cache
2048 kilobyte secondary memory cache
64-bit ready
Multi-core (2 total)
Not hyper-threadedNVIDIA GeForce 9500 GT [Display adapter]

Guest
23rd June 2010, 01:12
Post the scripts.

Did you get the error with the sample file you uploaded?

flebber
23rd June 2010, 01:29
i had two scripts created by megui which caused the error.

I started off with a script like this.
# Set DAR in encoder to 16 : 9. The following line is for automatic signalling
global MeGUI_darx = 16
global MeGUI_dary = 9
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FFT3dGPU.dll")
LoadPlugin("C:\Megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Rip\Source\MainMovie\DVD_VIDEO_1_3\VIDEO_TS\VTS_01_1.d2v", cpu=4, info=3)
LoadPlugin("C:\Megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
crop( 8, 2, -8, -2)

LanczosResize(704,576) # Lanczos (Sharp)
#denoise
FFT3dGPU(sigma=1.5, plane=4, bt=0,sharpen=1, bw=32, bh=32)

I was then left with this which still produced error so removed the info cpu which left this and tested again and it then worked in Virtualdub.
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FFT3dGPU.dll")
LoadPlugin("C:\Megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Rip\Source\MainMovie\DVD_VIDEO_1_3\VIDEO_TS\VTS_01_1.d2v", cpu=4, info=3)
#deinterlace
crop( 8, 2, -8, -2)

Guest
23rd June 2010, 01:33
I'll ask once more and if you don't answer, I will go away.

Did you produce the error with the sample clip that you uploaded? That exact clip. I ask because your script does not match the sample you gave me.

If so, can you please remove cpu and info one by one to see which is causing the problem?

Under Help/Detected SIMD, what is checked?

flebber
23rd June 2010, 01:45
No problem

removing cpu removes error. here is exact script as file uploaded working # Set DAR in encoder to 16 : 9. The following line is for automatic signalling
global MeGUI_darx = 16
global MeGUI_dary = 9
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FFT3dGPU.dll")
LoadPlugin("C:\Megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Rip\Source\MainMovie\DVD_VIDEO_1_1\VIDEO_TS\VTS_01_1.d2v", info=3)
LoadPlugin("C:\Megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
crop( 8, 2, -8, -2)

LanczosResize(704,576) # Lanczos (Sharp)
#denoise
FFT3dGPU(sigma=1.5, plane=4, bt=0,sharpen=1, bw=32, bh=32)

Guest
23rd June 2010, 01:47
Again, your script does not reference the sample clip you gave me. Therefore since you refuse to cooperate, I have nothing more to offer.

flebber
23rd June 2010, 01:50
Again, your script does not reference the sample clip you gave me. Therefore since you refuse to cooperate, I have nothing more to offer.

that is the exact clip i refernced in first post about thi issue. I am just trying to help and give as much as possible.

Guest
23rd June 2010, 01:53
Your sample is sample.vob.VOB_0.

Your script references VTS_01_1.d2v.

I want you to do this on the exact same clip you uploaded. Is it so hard?

I also asked for the Detected SIMD.

flebber
23rd June 2010, 01:56
Your sample is sample.vob.VOB_0.

Your script references VTS_01_1.d2v.

Why are you jerking me around?

I am not trying to jerk you around, believe me. I used dgsplit to take a small sample of the above vob to post from the dsv i just referenced.

Guest
23rd June 2010, 01:58
I give up. You won't do what I ask!

Maybe Zathor can help you find a way to disable the postprocessing.

flebber
23rd June 2010, 01:58
I give up. You won't do what I ask! Bye.

okay only trying to help. Will leave it there.

Guest
23rd June 2010, 02:03
Too bad, because if there's a bug in DGDecode's postprocessing, it would be nice to get it fixed.

I mean, how hard is it to load sample.vob.VOB_0 and do save project?

We have to be doing the exact same thing to get reliable debugging and compare our results. I'm not just being a pedant.

flebber
23rd June 2010, 03:15
Too bad, because if there's a bug in DGDecode's postprocessing, it would be nice to get it fixed.

I mean, how hard is it to load sample.vob.VOB_0 and do save project?

We have to be doing the exact same thing to get reliable debugging and compare our results. I'm not just being a pedant.

okay so it is a simple misunderstanding I will do sample vob,

flebber
23rd June 2010, 03:22
with error. I removed info and error still existed. Removinf Cpu resolves as script below.
# Set DAR in encoder to 16 : 9. The following line is for automatic signalling
global MeGUI_darx = 16
global MeGUI_dary = 9
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FFT3dGPU.dll")
LoadPlugin("C:\Megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Rip\Source\MainMovie\DVD_VIDEO_1_1\VIDEO_TS\sample.vob.d2v", cpu=4, info=3)
LoadPlugin("C:\Megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
crop( 8, 2, -8, -2)

LanczosResize(704,576) # Lanczos (Sharp)
#denoise
FFT3dGPU(sigma=1.5, plane=4, bt=0,sharpen=1, bw=32, bh=32)

okay works with this
# Set DAR in encoder to 16 : 9. The following line is for automatic signalling
global MeGUI_darx = 16
global MeGUI_dary = 9
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FFT3dGPU.dll")
LoadPlugin("C:\Megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Rip\Source\MainMovie\DVD_VIDEO_1_1\VIDEO_TS\sample.vob.d2v", info=3)
LoadPlugin("C:\Megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
crop( 8, 2, -8, -2)

LanczosResize(704,576) # Lanczos (Sharp)
#denoise
FFT3dGPU(sigma=1.5, plane=4, bt=0,sharpen=1, bw=32, bh=32)

Guest
23rd June 2010, 04:30
Thank you.

What is reported for Detected SIMD by DGIndex?

What is the version of DGMPGDec being used?

What is the version of Avisynth being used?

Zathor
23rd June 2010, 06:25
What is the version of DGMPGDec being used?

If he is using the update server:
http://forum.doom9.org/showpost.php?p=1383648&postcount=32

The files I use are .ts files recorded with DVBViewer.

Guess I have to go back to v3.4.17 (if I can find it)

Edit: According to MeGui log, this is the command line for DGIndex while demuxing: [NoImage] Job commandline: "D:\Brukerprogrammer\Media\megui\tools\dgindex\dgindex.exe" -SD=< -AIF=<D:\Lager\nytt\PVR\06-22_18-25-00_Disney Channel (nor)_Phineas og Ferb.ts< -OF=<D:\Lager\nytt\PVR\06-22_18-25-00_Disney Channel (nor)_Phineas og Ferb< -FO=0 -exit -hide -OM=2

At a first glance the command looks good (-OM=2 is used so all audio tracks should be demuxed). I cannot check it at the moment myself with a ts file. But if it has been working with 0.3.4.17 it should work with 0.3.5 because since then nothing has changed regarding the dgindexer.

Dal
23rd June 2010, 12:26
At a first glance the command looks good (-OM=2 is used so all audio tracks should be demuxed). I cannot check it at the moment myself with a ts file. But if it has been working with 0.3.4.17 it should work with 0.3.5 because since then nothing has changed regarding the dgindexer.
I think I realized I have never indexed a file in MeGui before without cutting it in some other program (ProjectX, TSDoctor, SmartCutter) first :(
I have tried to run the DGIndex command line from command prompt, and same problem there.
If I however go into DGIndex -> Stream -> Detect PIDs: PAT/PMT and set the PIDs manually, it works fine.

The strange thing is that the audio PID is detected fine in the MeGui File Indexer, so why isn't that info "transferred" to the DGIndex command line that the File Indexer creates?
Maybe it's not possible for all I know :)

Anyway, the conclusion must be that the problem is in the files DVBViewer creates, and the cutting programs I have used has fixed the problems somehow before I have used the files in MeGui.

A builtin frame-accurate cutting / stream fixing program in MeGui is the ultimate goal of course :)

Thanks again.

flebber
23rd June 2010, 14:41
Thank you.

What is reported for Detected SIMD by DGIndex?

What is the version of DGMPGDec being used?

What is the version of Avisynth being used?

SIMD: Sorry I didn't know how to create a printed report for this, not sure if its correct.
http://farm2.static.flickr.com/1337/4726888141_bfa30710c7.jpg

What version DGMPGDec? Latest Megui version Dgindex lists as 1.58b

Avisynth version 2.60 build sep 27 2009

Guest
23rd June 2010, 15:14
Thank you, flebber. Investigating...

Guest
23rd June 2010, 15:17
@flebber

Can you test it with Avisynth 257 or 258?

flebber
24th June 2010, 00:15
tested with 258 build 22 dec 2008.

Working script works with cpu=4 in the script. Sorry for the trouble it appears it was an avisynth fault.

Guest
24th June 2010, 00:16
That's what I suspected. I will report this to IanB.

Vincent Vega
25th June 2010, 11:20
i've run into the following issue trying to downmix + slow down 3.1 ac3 tracks to 2.0 ac3. i ended up with 3.1 encodes instead of 2.0. tried two similar source files. all relevant info (hopefully) given below. megui updated yesterday to all development updates.

[Information] Versions
-[NoImage] MeGUI Version : 0.3.5.0
-[NoImage] OS : Windows Vista Ultimate Edition x64 SP2 (6.0.131072.6002)
-[NoImage] Latest .Net Framework installed : 4.0 (4.0.30319)
-[NoImage] Avisynth Version : 2.6.0.1

SOURCE01 [Mediainfo]:

Audio
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Duration : 1h 28mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 4 channels
Channel positions : Front: L C R, LFE
Sampling rate : 48.0 KHz
Stream size : 242 MiB (100%)

MEGUI AFTEN SETTINGS:

Downmix Multichannel to Stereo
Slow down 25 to 23.976
Normalize to 100%
Bitrate 192

RESULT01 [Mediainfo]:

Audio
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Duration : 1h 31mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 4 channels
Channel positions : Front: L C R, Side: C
Sampling rate : 48.0 KHz
Stream size : 126 MiB (100%)

MEGUI LOG:

[Information] Log for job3 (audio, SomeAudio01 T82 3_0ch 384Kbps DELAY 0ms.ac3 -> SomeAudio01 T82 3_0ch 384Kbps DELAY 0ms_new.ac3)
-[Information] [6/25/2010 12:41:31 AM] Started handling job
-[Information] [6/25/2010 12:41:31 AM] Preprocessing
-[NoImage] Avisynth script
--[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\NicAudio.dll")
--[NoImage] NicAc3Source("D:\SomePath\SomeAudio01\SomeAudio01 T82 3_0ch 384Kbps DELAY 0ms.ac3")
--[NoImage] 6<=Audiochannels(last)?x_stereo208cbea08f954eb0bf2ecb10e06f2226(ConvertAudioToFloat(last)):last
--[NoImage] SSRC((AudioRate()*1001+480)/960).AssumeSampleRate(AudioRate())
--[NoImage] Normalize()
--[NoImage] return last
--[NoImage] function x_stereo208cbea08f954eb0bf2ecb10e06f2226(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] c = GetChannel(a, 3)
--[NoImage] lfe = GetChannel(a, 4)
--[NoImage] sl = GetChannel(a, 5)
--[NoImage] sr = GetChannel(a, 6)
--[NoImage] l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
--[NoImage] c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
--[NoImage] r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
--[NoImage] l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
--[NoImage] r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
-[NoImage] Commandline used: -readtoeof 1 -b 192 - "{0}"
-[Information] [6/25/2010 12:41:31 AM] Encoding started
-[Information] [6/25/2010 12:41:31 AM] Encode thread started
-[Information] [6/25/2010 12:41:31 AM] Avisynth script environment opened
-[Information] [6/25/2010 12:41:31 AM] Script loaded
-[Information] Output Decoder
--[NoImage] Channels: 4
--[NoImage] Bits per sample: 32
--[NoImage] Sample rate: 48000
-[NoImage] Commandline: C:\Program Files (x86)\MeGUI\tools\aften\aften.exe -readtoeof 1 -b 192 - "D:\SomePath\SomeAudio01\SomeAudio01 T82 3_0ch 384Kbps DELAY 0ms_new.ac3"
-[Information] [6/25/2010 12:41:31 AM] Encoder process started
-[NoImage] Output from encoder via stderr
--[NoImage] Aften: A/52 audio encoder
--[NoImage] Version git
--[NoImage] (c) 2006-2009 Justin Ruggles, Prakash Punnoor, et al.
--[NoImage] input format: Microsoft WAVE Floating-point 32-bit little-endian 48000 Hz 4-channel
--[NoImage] output format: 48000 Hz 3/1
--[NoImage] SIMD usage: MMX SSE SSE2 SSE3
--[NoImage] Threads: 2
--[NoImage] progress: 100% | q: 251.7 | bw: 9.0 | bitrate: 192.0 kbps
-[Information] [6/25/2010 12:57:40 AM] Postprocessing
--[Information] Deleting intermediate files
-[Information] [6/25/2010 12:57:40 AM] Job completed

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

SOURCE02 [Mediainfo]:

Audio
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Duration : 1h 49mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 4 channels
Channel positions : Front: L C R, Side: C
Sampling rate : 48.0 KHz
Stream size : 301 MiB (100%)

MEGUI AFTEN SETTINGS:

Downmix Multichannel to Stereo
Slow down 25 to 23.976
Normalize to 100%
Bitrate 192

RESULT02 [Mediainfo]:

Audio
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Duration : 1h 54mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 4 channels
Channel positions : Front: L C R, Side: C
Sampling rate : 48.0 KHz
Stream size : 157 MiB (100%)

MEGUI LOG:

[Information] Log for job6 (audio, SomeAudio02 T82 3_1ch 384Kbps DELAY 0ms.ac3 -> SomeAudio02 T82 3_1ch 384Kbps DELAY 0ms_new.ac3)
-[Information] [6/25/2010 4:13:25 AM] Started handling job
-[Information] [6/25/2010 4:13:25 AM] Preprocessing
-[NoImage] Avisynth script
--[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\NicAudio.dll")
--[NoImage] NicAc3Source("D:\SomePath\SomeAudio02\SomeAudio02 T82 3_1ch 384Kbps DELAY 0ms.ac3")
--[NoImage] 6<=Audiochannels(last)?x_stereo80cfe570cad743669b0ad15d5d30a008(ConvertAudioToFloat(last)):last
--[NoImage] SSRC((AudioRate()*1001+480)/960).AssumeSampleRate(AudioRate())
--[NoImage] Normalize()
--[NoImage] return last
--[NoImage] function x_stereo80cfe570cad743669b0ad15d5d30a008(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] c = GetChannel(a, 3)
--[NoImage] lfe = GetChannel(a, 4)
--[NoImage] sl = GetChannel(a, 5)
--[NoImage] sr = GetChannel(a, 6)
--[NoImage] l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
--[NoImage] c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
--[NoImage] r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
--[NoImage] l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
--[NoImage] r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
-[NoImage] Commandline used: -readtoeof 1 -b 192 - "{0}"
-[Information] [6/25/2010 4:13:25 AM] Encoding started
-[Information] [6/25/2010 4:13:25 AM] Encode thread started
-[Information] [6/25/2010 4:13:25 AM] Avisynth script environment opened
-[Information] [6/25/2010 4:13:26 AM] Script loaded
-[Information] Output Decoder
--[NoImage] Channels: 4
--[NoImage] Bits per sample: 32
--[NoImage] Sample rate: 48000
-[NoImage] Commandline: C:\Program Files (x86)\MeGUI\tools\aften\aften.exe -readtoeof 1 -b 192 - "D:\SomePath\SomeAudio02\SomeAudio02 T82 3_1ch 384Kbps DELAY 0ms_new.ac3"
-[Information] [6/25/2010 4:13:26 AM] Encoder process started
-[NoImage] Output from encoder via stderr
--[NoImage] Aften: A/52 audio encoder
--[NoImage] Version git
--[NoImage] (c) 2006-2009 Justin Ruggles, Prakash Punnoor, et al.
--[NoImage] input format: Microsoft WAVE Floating-point 32-bit little-endian 48000 Hz 4-channel
--[NoImage] output format: 48000 Hz 3/1
--[NoImage] SIMD usage: MMX SSE SSE2 SSE3
--[NoImage] Threads: 2
--[NoImage] progress: 100% | q: 260.8 | bw: 9.0 | bitrate: 192.0 kbps
-[Information] [6/25/2010 4:33:39 AM] Postprocessing
--[Information] Deleting intermediate files
-[Information] [6/25/2010 4:33:39 AM] Job completed

tebasuna51
25th June 2010, 12:28
i've run into the following issue trying to downmix + slow down 3.1 ac3 tracks to 2.0 ac3. i ended up with 3.1 encodes instead of 2.0. tried two similar source files. all relevant info (hopefully) given below. megui updated yesterday to all development updates.
...
--[NoImage] 6<=Audiochannels(last)?x_stereo208cbea08f954eb0bf2ecb10e06f2226(ConvertAudioToFloat(last)):last
...
The downmix only work for ac3 5.1

You can create a specific avs file to downmix others channels configurations, for instance:

LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\NicAudio.dll")
a=NicAc3Source("D:\SomePath\SomeAudio01\SomeAudio01 T82 3_0ch 384Kbps DELAY 0ms.ac3")
flr = GetChannel(a, 1, 2)
fcc = GetChannel(a, 3, 3)
lfe = GetChannel(a, 4, 4)
clf = MixAudio(fcc, lfe, 0.2929, 0.2929)
MixAudio(flr, clf, 0.4142, 1.0)

And input the .avs to Megui instead the ac3 file
Include the slowdown (if you need) and normalize after.

The downmix work fine for the first sample (L,R,C,LFE), with the second (L,R,C,S) you need this mix:
flr = GetChannel(a, 1, 2)
fcc = GetChannel(a, 3, 3)
lrc = MixAudio(flr, fcc, 0.4142, 0.2929)
sl = GetChannel(a, 4)
sr = Amplify(sl, -1.0)
blr = MergeChannels(sl, sr)
MixAudio(lrc, blr, 1.0, 0.2929)

Vincent Vega
25th June 2010, 12:59
thanks so much tebasuna51, i'll try that right away.

also i have a totally stupid question: i don't understand the sample02 chan configuration: L C R, Side: C; what is "Side: C"?

Edit: i just tried this second sample in Ac3 filter it shows left, center, right and.. SL (side left), what kinda weird configuration is that? could it be a broken (in some way) audio track?

tebasuna51
26th June 2010, 03:01
also i have a totally stupid question: i don't understand the sample02 chan configuration: L C R, Side: C; what is "Side: C"?
A wrong translation:
L C R S (acmod 5 in ac3 header) means:
Left Center Right Surround

equivalent (after remapping) to wav channels
FL FR FC BC
FrontLeft FrontRight FrontCenter BackCenter

If you don't have a Back Center speaker a proper player must play the BC in BL-BR

Vincent Vega
26th June 2010, 07:03
so if AC3Filter plays the Surround channel in SL only it's a bug in it? i've always liked valex's decoder so much.. what ds filter would you recommend that can handle such chan config properly?

tebasuna51
26th June 2010, 11:36
so if AC3Filter plays the Surround channel in SL only it's a bug in it? i've always liked valex's decoder so much.. what ds filter would you recommend that can handle such chan config properly?
I always recommend use ffdshow instead AC3Filter.
With ffdshow you can remap (matrix mixer) the BC to BL-BR with 0.7071 coefficients.

Vincent Vega
26th June 2010, 11:46
ok thanks for your time man.

Sharktooth
29th June 2010, 14:54
nice to see Zathor worked on MeGUI while i was away :)

Zathor
29th June 2010, 14:58
nice to see Zathor worked on MeGUI while i was away :)

Welcome back! :)

Sharktooth
29th June 2010, 15:01
it seems you did a huge work zathor. thank you.
i guess i have to study the latest sources almost from scratch.
feel free to contact me and, obviously, give me some days and i will be back developing megui ;)

JoeH
30th June 2010, 08:00
Good to see you back Sharktooth.

Taurus
30th June 2010, 11:23
A warm welcome back Mr. Shark.
Where have you been so long?
So maybe Zathor & Shark = the new dreamteam?
I really appreciate your work on MeGui :thanks:

flebber
30th June 2010, 11:36
Has anyone else had trouble in megui with Warpsharp.dll and toon.dll.

I removed both dll's and my megui encodes perfectly. I replaced warpsharp.dll with the version from warpenterprises and it stopped the error.

But I re added toon.dll to my avisynth plugins and it cannot complete an encode with the toon.dll being used. Does anyone have a light toon/anime dll that plays well with megui. I haven't had to encode much anime previously.

Sharktooth
30th June 2010, 13:22
@flebber: it seems an avisynth problem more than a megui problem... try to find newer version of the toon plugin.

@Taurus: thanks, i had "troubles" of all kinds...

@JoeH: thanks :)

quantum5uicid3
30th June 2010, 13:49
changes to --level and --profile in their new location do not update the commandline below until after you close and save the x264 configuration dialog. and i still think they should be basic x264 settings. :)

edit
and i dont think the threads checkbox or field is working. nvm i think it's just doing the same thing as level and profile.

Sharktooth
30th June 2010, 13:52
i think i read somewhere zathor is working on the x264 configuration window.

saint-francis
30th June 2010, 20:57
Sharktooth, I am very glad to see you back!
I hope you health is up to speck and that all else is well with you.

quantum5uicid3
1st July 2010, 15:37
some fixes to profiles. ***for latest x264***
1. added "--open-gop coded" to bluray and avchd presets.
2. force disabled bframes and soft enabled CABAC for iphone profile.
3. force disabled b-pyramid and soft enabled CABAC for psp profile.
3. and removed redundency of setting vbv to 10000 when level 3 is already set. *correction*

http://www.mediafire.com/?zgr5wz25iim
md5: 75f2898b57f84b501ab92b2d0c31161a

addition
i packaged ffm2-312 (http://code.google.com/p/ffmpegsource/downloads/detail?name=ffms2-mt-r312.7z&can=2&q=) for the update server too just in case you hadn't had time. it seems stable. :)

http://www.mediafire.com/?qwgnnyjmmzc
md5: e8a202a143774340d7ee869ea52694f3

edit2:
wasnt thinking and disabled bframes completely on psp

also, the motorola droid supports --level 3.1 --profile baseline --ref 5 @ 856x480

Octo-puss
1st July 2010, 17:40
Whoa, Sharktooth is back! Glad to see you! Has your health improved then??

Sharktooth
1st July 2010, 18:48
im pretty good and recovering well but my health is OT here
however, thanks ;)

MOS-Marauder
2nd July 2010, 14:13
When the Tools will be updated ? (for example DGTools NV is actually 2018....)

Chris

Edit: Weird.. right in that moment i wrote u did it *G*

Sharktooth
2nd July 2010, 14:47
It's also called mind-reading or telepathy ;)

Zathor
2nd July 2010, 17:54
0.3.5.1
- [FileIndexerWindow] changed caption. Feature request #3019279
- [AudioEncoderInterface] fixed crash if input wav file is locked. Bug #3021693
- [VideoUtil] + [DialogManager] CUVIDServer will be started if needed. Bug #3011113
- [x264ConfigurationPanel] changed preset defaults (requires x264 revision 1658 or higher)
- [x264ConfigurationPanel] added the missing update events to some settings
- [x264ConfigurationPanel] enhanced command line generating for main/baseline profile
- [FileIndexer] disabled MKV indexing with DGAVCDec. Bug #3024329
- [FileIndexer] DGIndexNV is only available if license.txt is found
- [MuxProvider] added support for SUP suptitles in MKV (requires MkvToolNix 4.1.0 or higher)
- [VideoCodecSettings] update custom command line if neccessary (e.g. --nal-hrd -> --nal-hrd vbr)

some fixes to profiles. ***for latest x264***
1. added "--open-gop coded" to bluray and avchd presets.
2. force disabled bframes and soft enabled CABAC for iphone profile.
3. force disabled b-pyramid and soft enabled CABAC for psp profile.
3. and removed redundency of setting vbv to 10000 when level 3 is already set. *correction*

Thanks, new profiles are online, too.

Shevek
2nd July 2010, 18:37
I'm trying to update to the latest x264 but it won't work:

Trying server: http://megui.org/auto/
Retrieving update file from server...
File downloaded successfully...
Loading update data...
Update data loaded successfully...
Finished parsing update file...
There is 1 file that can be updated.
Updating x264. File 1/1.
Update completed.
0 file was completed successfully
1 file had problem.

All the other updates worked OK (core, Tx264, dgindexnv, ffms)

Sharktooth
2nd July 2010, 18:50
i updated it without problems.
try clearing the update_cache folder and launch megui again.

Shevek
2nd July 2010, 19:29
i updated it without problems.
try clearing the update_cache folder and launch megui again.

Excellent! Thanks Sharktooth. I've updated to 1659 now.

Shevek
2nd July 2010, 19:33
Where is the correct place to make feature requests?

Zathor
2nd July 2010, 19:36
Where is the correct place to make feature requests?

If you want to discuss it first you can post here but afterwards the correct place is there:
http://sourceforge.net/tracker/?group_id=156112&atid=798479

tebasuna51
2nd July 2010, 19:39
Warning with MkvToolNix 4.1.0

2010-06-12 Moritz Bunkus
* mkvmerge: enhancement: mkvmerge uses header removal compression
by default for AC3, DTS, MP3, Dirac and MPEG-4 part 2 (XviD/DivX) tracks.

2010-06-25 Moritz Bunkus
* mmg: enhancement: The "compression" drop down box is enabled for
all track types. That way "no compression" can be forced for those
tracks mkvmerge uses "header removal" compression for.

Eac3to don't support tracks with "header removal compression" and HD Stream Extractor don't work with these tracks. Tested at least with dts tracks.

Sharktooth
2nd July 2010, 19:44
the problem is MeGUI is not the only too that uses MKVMerge...
so i guess we have to update eac3to in the next days. at least i hope...

Shevek
2nd July 2010, 19:59
If you want to discuss it first you can post here but afterwards the correct place is there:
http://sourceforge.net/tracker/?group_id=156112&atid=798479

Thanks Zathor.

Is it possible to add some default options for the HD Steams Extractor? (Similar to Configure AutoEncode defaults...)

e.g.


Option to default to VC1 or H264 for video stream instead of MKV
Option to automatically add -core to options for DTS Master or TrueHD audio streams
Option to automatically select all [language] streams (Audio and Subtitle)

mcwups1
3rd July 2010, 01:49
Good evening everyone.

I got a message for an update and all went well except the x264 update which gave me this message....

http://i142.photobucket.com/albums/r89/mcwups1/Capture.jpg

Now, first of all, I have Win7 x64, so why does it say x86? I really don't understand the difference. When I'm transcoding, it says x264x64.exe (I think) in the processes, and I know I put it in the folder in MeGui.

Anyway, does anyone have an idea what I need to do to fix this? Everytime I start MeGui, the update balloon pops up, and this happens.

Thanks in advance.

Shevek
3rd July 2010, 02:01
Good evening everyone.

I got a message for an update and all went well except the x264 update which gave me this message....

I posted about the same update problem a few hours ago, here's Sharktooth's reply which worked for me:

i updated it without problems.
try clearing the update_cache folder and launch megui again.

mcwups1
3rd July 2010, 02:06
I posted about the same update problem a few hours ago, here's Sharktooth's reply which worked for me:

Ah, okay. Thanks to BOTH of you then, because that worked like a charm.

Happy 4th to you all.

AMED
3rd July 2010, 23:08
MkvToolNix 4.1.1 is out

http://forum.doom9.org/showthread.php?p=1414216#post1414216

Sharktooth
4th July 2010, 03:46
MkvToolNix 4.1.1 is out

http://forum.doom9.org/showthread.php?p=1414216#post1414216
will update it tomorrow

MOS-Marauder
4th July 2010, 08:18
I have a small question.. Ive tried to encode an Xvid with MeGui. No matter what Resolution or Setting i give MeGui (4:3, 16:9, 1.8xxx) the final file will always have Custom Pixel Shape. Where can i set it that there is the correct in the Mpeg4 settings ?

In that case it was 640x320, a file from my cam after cropping.

PAR 1:1 =1
DAR 2:1 =2
Custom Pixel SHape 1:1=1

Where can i set these things ? In the AVS script Gen i set the AR to 16:9.... i need Square Pixel


Chris

Sharktooth
4th July 2010, 15:00
if you need square pixels dont check the anamorphic option (that means non-square pixels)

Capsbackup
4th July 2010, 21:30
i updated it without problems.
try clearing the update_cache folder and launch megui again.

I have tried this for both my XP and Win 7 installations, but neither will update x264. I get this:
Finished parsing update file...
There are 2 files that can be updated.
Updating x264. File 1/2.
Error: Could not unzip x264. Deleting file. Please run updater again...
Updating mkvmerge. File 2/2.

I can manually download x264, and place in the proper folder. However, I keep getting the update available notice for x264, which keeps displaying the same message!

Zathor
4th July 2010, 22:03
Please post the complete update log.

Capsbackup
4th July 2010, 22:14
Please post the complete update log.

Gladly. Can you tell me where to find the update log, since I did not know and just did a copy/paste within the update window where I saw the update failed. :confused:

EDIT:
Just cleared the update-cache of the failed zip of x264, rebooted, and tried updating again and this time it was successful! :)
I will try my XP Pro version next to see if I can update it too.

Repeated same steps for XP, and it now updated x264 too! All is well again.

WorBry
5th July 2010, 03:57
Have the same problem updating x264 1649 to 1659 (x86) from the developmental server - 1659 wont unzip. Clearing the update cache, rebooting and repeating update doesn't resolve it for me.

Edit: Tried again an hour later and it updated OK this time.

nakTT
5th July 2010, 06:40
Hi all,

I'm using spline64 for downsizing my resolution (is it better than lanczos?). The thing is the next time I want to use MeGUI again, the setting has been reverted back to lanczos (Sharp) from spline64 (sharp). Is there any way I can make the setting stick?

:thanks:

AMED
5th July 2010, 07:16
Hi all,

I'm using spline64 for downsizing my resolution (is it better than lanczos?). The thing is the next time I want to use MeGUI again, the setting has been reverted back to lanczos (Sharp) from spline64 (sharp). Is there any way I can make the setting stick?

:thanks:Make a Avisynth profile in Avisynth script creator.

MOS-Marauder
5th July 2010, 08:11
if you need square pixels dont check the anamorphic option (that means non-square pixels)

I didnt check it!!!

I simply loaded the DGI file.. cropped the file (640x288).

Input DAR was set to 16:9. Thats all i did there... And outcome again has CUSTOM PIXEL SHAPE in "About Mpeg4 Encoding" in Avinaptic.


In the Original Xvid COdec i can Choose Square Pixel... so why is there no Option in Megui for that?


Edit: I encoded the SAME AVS with the SAME SETTINGS now with VDub and outcome was as expected Square Pixels. NO Custom Shape. What can i do to change it in MeGui ?

Chris

nakTT
5th July 2010, 08:19
Make a Avisynth profile in Avisynth script creator.
Thanks. It worked like a charm.

:thanks:

Sharktooth
5th July 2010, 12:49
I didnt check it!!!

I simply loaded the DGI file.. cropped the file (640x288).

Input DAR was set to 16:9. Thats all i did there... And outcome again has CUSTOM PIXEL SHAPE in "About Mpeg4 Encoding" in Avinaptic.


In the Original Xvid COdec i can Choose Square Pixel... so why is there no Option in Megui for that?


Edit: I encoded the SAME AVS with the SAME SETTINGS now with VDub and outcome was as expected Square Pixels. NO Custom Shape. What can i do to change it in MeGui ?

Chris
if you didnt check anamorphic then it's square pixel. what reports avinaptic may vary due to the fact megui uses another interface for xvid... but still if the picture looks good (i mean the right proportions) then it is ok.
post a screenshot.

MOS-Marauder
5th July 2010, 12:55
SHot of the Picture or the Avinaptic output ?

Ive tested MeGui now ... also 720x576 uncropped 4:3 or 16:9 ... Every Encode results in Square Pixels in Avinatptic so there must be something not ok ....

From the Optics.. Imho both encodes look same (VDubmod+XVid / MeGui) but thats not the point iam aiming to... ;)


Output Avinaptic @ MeGUI:

Resolution: MEDIUM (640 x 288)
Width: multiple of 32 (GOOD)
Height: multiple of 32 (GOOD)
Average DRF quality: MEDIUM (3.738947)
Standard deviation quality: MEDIUM (1.242031)
Std. dev. weighted mean: MEDIUM (0.997095)

[ Video track ]

FourCC: xvid/XVID
Resolution: 640 x 288
Frame aspect ratio: 20:9 = 2.222222
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 20:9 = 2.222222
Framerate: 25 fps
Number of frames: 148568 (953)
Stream size: 639,134,959 bytes
Bitrate: 860.393838 kbps
Qf: 0.186717
Key frames: 1615 (0; 250; 500; 743; 993; ... 148372)
Null frames: 0
Min key int: 1
Max key int: 250
Avg key int: 91.992569
Delay: 0 ms

[ About MPEG4 encoding ]

User data: XviD0050
Packed bitstream: No
QPel: No
GMC: No
Interlaced: No
Aspect ratio: Custom pixel shape (1:1 = 1)
Quant type: H.263
Number of frames: 148568
Drop/delay frames: 0
Corrupted frames: 0


Same Video in Vdubmod+Xvid and all Settings same:


Resolution: MEDIUM (640 x 288)
Width: multiple of 32 (GOOD)
Height: multiple of 32 (GOOD)
Average DRF quality: MEDIUM (4.241983)
Standard deviation quality: MEDIUM (1.259045)
Std. dev. weighted mean: HIGH (0.650623)

[ Video track ]

FourCC: xvid/XVID
Resolution: 640 x 288
Frame aspect ratio: 20:9 = 2.222222
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 20:9 = 2.222222
Framerate: 25 fps
Number of frames: 148568
Stream size: 625,389,595 bytes
Bitrate: 841.890036 kbps
Qf: 0.182701
Key frames: 1579 (0; 300; 600; 743; 1043; ... 148472)
Null frames: 0
Min key int: 1
Max key int: 300
Avg key int: 94.089930
Delay: 0 ms

[ About MPEG4 encoding ]

User data: XviD0055
Packed bitstream: No
QPel: No
GMC: No
Interlaced: No
Aspect ratio: Square pixels
Quant type: H.263
Number of frames: 148568
Drop/delay frames: 0
Corrupted frames: 0







Chris

Sharktooth
5th July 2010, 13:03
screenshot of the source and encoded videos.
also what's the custom pixel shape reported by avinaptic?

MOS-Marauder
5th July 2010, 13:05
Here they are...

Dont wonder about the cropping at the Bottom.. Its beacuse this Movie has Hardcoded Subs.


http://www10.zippyshare.com/v/42271132/file.html

Ive done these with Avidemux .. Frame 4828.


Chris

btw.. my AVS:


LoadPlugin("C:\Program Files (x86)\megui-Dev\tools\dgindexnv\DGDecodeNV.dll")
DGSource("winter.dgi",fieldop=0)
#deinterlace
crop( 0, 70, 0, -32)

LanczosResize(640,288) # Lanczos (Sharp)
#denoise

Sharktooth
5th July 2010, 13:29
CUSTOM PIXEL SHAPE is just a flag set into the bitstream. pixel shape 1:1 IS square pixels.
as i said early, incoerencies in what avinapic reports may be due to the fact megui uses xvid_encraw interface instead of xvid VFW...
what matters is the pixel shape. 1:1 is square pixels. i dont know why avinaptic is reporting 1:1 as custom but still... it's 1:1 and so it is square.
infact megui and vdub produced pictures looks exactly the same.

MOS-Marauder
5th July 2010, 13:37
CUSTOM PIXEL SHAPE is just a flag set into the bitstream. pixel shape is 1:1 IS square pixels.
as i said early, incoerencies in what avinapic reports may be due to the fact megui uses xvid_encraw intefrace instead of xvid VFW...
what matters is the pixel shape. 1:1 is square pixels. i dont know why avinaptic is reporting 1:1 as custom but still... it's 1:1 and so it is square.
infact megui and vdub produced pictures looks exactly the same.

Yeh thats what i said.. looking same (allmost.. i guess that Enc with MeGui has more Details?).

So its more a Bug or bad "Tagging" in xvid_encraw ?

Standalone Players detect SQUARE and 1:1 differently...

Chris

Sharktooth
5th July 2010, 13:57
http://en.wikipedia.org/wiki/Pixel_aspect_ratio

look at the images... and you'll understand.

The aspect ratio of the pixels themselves is known as the Pixel Aspect Ratio (PAR) – for square pixels this is 1:1

as long as the PAR is 1:1 you get square pixels... no matter what.
so it's neither a bug or a bad tagging.
probably the bug is in avinaptic that reports a custom pixel shape even if the pixel shape is explicitly set to 1:1.

edit: if the bitstream doesnt have pixel shape signaled, it's usually assumed it is square. if the bitstream has 1:1 PAR signaled it IS square, no assumption required.
now, avinaptic seems to tell you that no-signaling is square pixels, while if pixel shape is signaled then avinaptic reports Custom even if it is set to 1:1.

MOS-Marauder
5th July 2010, 15:06
Jo i agree with u but some ppl still say mit must be written into the Bitstream. U know maybe some kind of Patcher ?

Btw i forgot... Welcome back ;)


Chris

Sharktooth
5th July 2010, 15:13
Jo i agree with u but some ppl still say mit must be written into the Bitstream. U know maybe some kind of Patcher ?

Btw i forgot... Welcome back ;)


Chris
Thanks.
Well, listen...
if the encoder doesnt specify the AR then it's usually assumed the encoding is made in square pixels... that's ok, coz even if the AR was missing you couldnt know.
however, if the AR is specified and it's 1:1 then we exactly know the encoding IS square pixel and we need no assumption and we know the AR isnt missing.
So, if avinaptic assumes 1:1 is a Custom AR, that's a limitation coz it only checks for the AR flag but doesnt check the actual AR values (even if it displays it).
A sane way of doing that would be checking the AR values and comparing them to common values so that 1:1 would be recognized as Square pixels coz it IS square pixels...

MOS-Marauder
5th July 2010, 15:32
Thanks.
Well, listen...
if the encoder doesnt specify the AR then it's usually assumed the encoding is made in square pixels... that's ok, coz even if the AR was missing you couldnt know.
however, if the AR is specified and it's 1:1 then we exactly know the encoding IS square pixel and we need no assumption and we know the AR isnt missing.
So, if avinaptic assumes 1:1 is a Custom AR, that's a limitation coz it only checks for the AR flag but doesnt check the actual AR values (even if it displays it).
A sane way of doing that would be checking the AR values and comparing them to common values so that 1:1 would be recognized as Square pixels coz it IS square pixels...

Yep i think so, too.. Anyway.. i found a Tool that patches the Headers ;)

"MPEG4Modifier"

So all is fine now ...

Chris

Sharktooth
5th July 2010, 15:57
you dont need to patch the header...

quantum5uicid3
5th July 2010, 16:54
i can't help but to bring it up again, because i don't think anyone commented on it. crf is a great feature, but sometimes it produces an unexpected result quality/bitrate above/below expectations. i find it's more practical to adjust the bitrate manually by just running a second pass at that point. i know i can just change the crf and renecode, but it's still kind of a guessing game how much of a +/- change to make.

basically im requesting an additional 1st pass mode in the advanced settings of the x264 configuration dialog. that uses ( --crf x --pass 1 --slow-firstpass ) , outputting both stats and video files.

I don't much like using my shitty batch file for encoding. :)

is there a disadvantage that i'm missing?

Sharktooth
5th July 2010, 17:03
yes. using CRF AND aiming for a bitrate.
you should chose one or the other.
however you dont need batch files since you can add custom commandline options to your CRF preset and specify --pass 1 --slow-firstpass and --stats ... and save it.
create a new preset with the same settings but in "2pass - 2nd-pass" mode with the new bitrate and let it go...

quantum5uicid3
5th July 2010, 17:26
I'm not needing any certain bitrate/filesize in particular, so most of the time i don't need two passes. just sometimes it gives an undesirable result, and it's often enough that I would just rather always wrtie stats with my crf encodes.

yeah i tried custom commandline but i couldn't figure out a way to take advantage of megui's automatic handling of the stats file name/location.

Sharktooth
5th July 2010, 17:44
assuming the source and the destination files are in the same folders there will be also the stats too.
just add --stats and the drive:\path\filename to the custom commandline options for both presets.
that will suffice to replace the megui stats handling.

quantum5uicid3
5th July 2010, 18:41
nvm, crf is infallible.

Sharktooth
6th July 2010, 16:33
im gradually adding newer x264 options such as the new Open GOP, NAL-HRD, infinite KeyInt etc.
that may break the ACTUAL presets, but if necessary i will publish updated ones together with the new megui version (still dev version)

Sharktooth
6th July 2010, 18:15
Megui dev version 0.3.5.2 BREAKS the x264 PRESETS.
Please BACKUP ALL YOUR x264 PRESETS BEFORE UPDATING.

Frogger13
6th July 2010, 22:24
You can find the installation instructions here:
http://forum.doom9.org/showthread.php?p=1390397#post1390397

Thanks for the Information, but I keep getting following error:

http://img267.imageshack.us/img267/4698/errorjl.jpg

AviSynth64 is installed and working. MeGUI64 is in the same path as MeGUI32. But also if I put the x64 files in a separate Directory, the error is the same.

Edit: Installed .NET Framework is incremental .NET Framework 3.5 (http://www.microsoft.com/downloads/details.aspx?FamilyId=333325fd-ae52-4e35-b531-508d977d32a6&displaylang=en) + hotfixesMeGUI x64 must be installed in a different directory than MeGUI x86. But this is not the source of the error. It seems that you need to install a Visual C++ x64 Redistributable Package (there are several ones and newer ones do not include the older packages)

Well I tried and installed VC++ Redist 2005, 2005 SP1, 2008, 2008 SP1 and 2010... But I still get the Same error... :confused:

System is Xp x64 and MeGUIx64 has its own directory now...

BTW I'm wondering why there are no x64 builds of the DLLs?! Am I missing something :confused::confused::confused:

FraGTaLiTy
6th July 2010, 22:36
Megui dev version 0.3.5.2 BREAKS the x264 PRESETS.
Please BACKUP ALL YOUR x264 PRESETS BEFORE UPDATING.

Is there a way to fix this? It won't let me re=add my presets.

doc_dvxm
7th July 2010, 00:19
I've updated it without backup and all x264 presets have been lost.....

Now I'am starting tests with new version with new self generated "Unrestricted (DXVA) Very High Profile" for x264.

OS: Win 7 32 Bit Ultimate.

Everythings look fine...

Sharktooth
7th July 2010, 01:03
Is there a way to fix this? It won't let me re=add my presets.
yes: http://forum.doom9.org/showthread.php?p=1415179#post1415179

Sharktooth
7th July 2010, 01:04
I've updated it without backup and all x264 presets have been lost.....

Now I'am starting tests with new version with new self generated "Unrestricted (DXVA) Very High Profile" for x264.

OS: Win 7 32 Bit Ultimate.

Everythings look fine...
same answer as above. megui automatically made a backup folder with your old presets.
read this post if you need your old presets: http://forum.doom9.org/showthread.php?p=1415179#post1415179

quantum5uicid3
7th July 2010, 10:30
sorry but imho the change in the profiles was a regression, why break them now? the same problem exists as before, device compatibility isn't maintained when changing the speed --preset and now there's going to be a hundred questions about why i lost my profiles.

doc_dvxm
7th July 2010, 10:42
same answer as above. megui automatically made a backup folder with your old presets.
read this post if you need your old presets: http://forum.doom9.org/showthread.php?p=1415179#post1415179


:)

Thanx.. Fixed.

Cisco7
7th July 2010, 11:18
Very good work, developpers. I wonder why you wait so long to add the bits*pixels ratio in the bitrate calculator. Anyway you did and you will continue doing an incredible work for people like me who wants to control anything while encoding videos (I used to encode with Gordian Knot few years ago), update feature is amazing (I replace stable url by developpement url in the settings, I like to have newest and fresh tools to encode my videos) many thanks !

nurbs
7th July 2010, 11:23
I wonder why you wait so long to add the bits*pixels ratio in the bitrate calculator.
I guess since it's completely useless it wasn't priority.

Sharktooth
9th July 2010, 03:58
new megui dev build:

0.3.5.3
- (sharktooth) [x264ConfigurationPanel] Trigger GenericUpdate() on macroblockOptions.SelectIndex change to keep coherency between macroblock options checkboxes and commandline generation
- (sharktooth) [x264] Added --pic-struct support
- (sharktooth) [x264] Added --fake-interlaced support
- (zathor) [x264] old nal-hrd profile values will be migrated
it adds compatibility with 0.3.5.1 and older presets

Sharktooth
9th July 2010, 04:15
for a stupid copy&paste mistake please re-download the 0.3.5.3 update otherwise the newly added x264 settings wont be saved into your presets...

Guest
12th July 2010, 03:02
I'm probably stupid but update does not work for me. It does the update and restarts but it's still the old version (0.3.1.1058) and it asks me to update again. Also, I got LOTS of silly profile import errors and had to hit LOTS of cancel buttons.

Seems like this should be easy. Just think what Joe Six-Pack will experience if I can't figure it out. Usually I'm pretty good at this computer gig.

AMED
12th July 2010, 06:11
Delete all the MeGUI-core files in your update cache and try again.

there was a check put in place to see if the updates downloaded correctly, if it wasn't the user would be prompted to download it again after MeGUI was restarted

Lyle_JP
12th July 2010, 07:27
Despite the fact that I have "Use CUVID Server" unchecked, MeGUI still uses it whenever I open a .dgi file with the AVS Script Creator. It wouldn't be such a big deal except that in the latest build of DGindexNV, Graft has fixed the memory leak that allows him to deep-six the CUVID server forever, which he has now done. So this behavior of the AVS script creator could become a problem in the future.

Also, MeGUI x64 probably shouldn't have the --open-gop bluray option until an x64 build of x264 r1666 is available, no?

RyaNJ
12th July 2010, 09:23
Would there be any chance of getting WebM encoding support at some point? It would be nice since the new standard could get quite popular, quite quickly. Especially with its YouTube adoption.

Sharktooth
12th July 2010, 15:14
@Lyle_JP: i didnt develop the dgindexnv support, so i cant answer right now. i need to check the code. x264 r1666 x64 is in the megui update server... what are you talking about?

@RyaNJ: probably yes.

Zathor
12th July 2010, 15:33
Despite the fact that I have "Use CUVID Server" unchecked, MeGUI still uses it whenever I open a .dgi file with the AVS Script Creator
I cannot verify it at the moment but this would not be the intended behavior and therefore it would be a bug.

The best way to bring a bug to the attention of the developers is to open a bug report at sourceforge. If it is only posted here it may be missed.

Inspector.Gadget
12th July 2010, 16:27
It's time to phase out the CUVID server entirely anyway. See neuron2's latest few posts in the *NV thread.

Guest
12th July 2010, 16:34
Zathor and the OP are well aware of that. The problem is that the OP cannot currently stop MEGUI from using the server.

Sharktooth
12th July 2010, 17:01
ok. fixed locally. i left the cuvid support intact however the "Use CUVID Server" option now works as expected (and disabled by default since some versions).
next build will include the fix and the DG NV Tools 2020 (or newer).

Sharktooth
12th July 2010, 18:00
new build is up on the main update mirror.
changelog:
0.3.5.4
- (sharktooth) [x264ConfigurationPanel] AVCProfile and AVCLevel groupboxes Enable status now depends on the Show Advanced Settings status
- (sharktooth) [x264ConfigurationPanel] Moved Profile and Level to the main tab and made some more space for more VUI options
- (sharktooth) [DialogManager] Check the "Use CUVID Server" option status before launching CUVID server
Also DG NV Tools were updated to ver. 2020 and there are new presets for you...

Lyle_JP
12th July 2010, 18:55
@Lyle_JP: i didnt develop the dgindexnv support, so i cant answer right now. i need to check the code. x264 r1666 x64 is in the megui update server... what are you talking about?

The 64 bit x264 in your distribution is r1659, not r1666. I promise. Check for yourself. The most recent version of x64 x264 from x264.nl is also r1659.

Sharktooth
12th July 2010, 18:56
you could be possibly right... im checking...

EDIT: You're right. That happened coz i download builds from direct links instead of checking the x264.nl website...

Sharktooth
12th July 2010, 19:00
@Lyle_JP: test this version: http://komisar.gin.by/old/1666/x264.1666.generic.x86_64.exe
if it works i will upload that bin...

Lyle_JP
12th July 2010, 19:11
@Lyle_JP: test this version: http://komisar.gin.by/old/1666/x264.1666.generic.x86_64.exe
if it works i will upload that bin...

Well, my encoding now starts without error, and is running presently. Sadly, I have to be afk for a few hours, so I won't be able to test output immediately.

Sharktooth
12th July 2010, 19:12
ok. if it starts then it should be good ;)
i'll upload it to the update server. if i get some negative responses i will downgrade it to 1659. but im confident it will work flawlessly.

Sharktooth
13th July 2010, 20:53
the work on x264 configuration page is almost done. --colorprim, --colormatrix and --tranfer now are supported. when i find 2 minutes ill add also --pulldown.

Shevek
13th July 2010, 22:42
I'm stuck in a loop updating DGIndexNV to 2020

Every time I start MeGUI it tells me DGIndexNV needs updating.

I've tried emptying the update-cache and the DGIndexNV folder but it keeps updating every time.

I have checked and the <CurrentVersion /> section of AutoUpdate.xml for DGIndexNV is not being updated.

(0.3.5.4)

Sharktooth
13th July 2010, 22:52
Are you running MeGUI as Admin?

Shevek
13th July 2010, 23:05
I'm not running as admin, however I have granted my user full permission on the MeGUI folder and all subfolders/files (I don't get a UAC prompt on launch).

All other components have updated correctly and the AutoUpdate.xml file contains a correct <CurrentVersion><FileVersion>...</FileVersion><Url>...</Url></CurrentVersion> for all others.

Sharktooth
13th July 2010, 23:08
it depends where DGIndexNV is located...
however run it as admin and see if it gets updated. once you did it you can close it and launch normally

Shevek
13th July 2010, 23:18
Tried as admin, same issue.

DGIndexNV is installing to C:\Program Files\megui\tools\dgindexnv

It's backing up the current files and installing the new files.

I now have each file doubled with a .backup version (these are identical, as confirmed using BeyondCompare)

It seems to me that the update process itself is running fine until it comes to updating the AutoUpdate.xml file - it still has an empty <CurrentVersion /> for DGIndexNV

Shevek
13th July 2010, 23:23
More info:

I switched back to stable and it updated to 2013, AutoUpdate.xml updated with correct CurrentVersion (2013) and it doesn't update again on launch.

Switch back to development again, it updated to 2020, AutoUpdate.xml updated with correct CurrentVersion (2020) and it doesn't update again on launch.

Problem solved!

Could this be because it is a fresh install of MeGUI and I cancelled the initial update, switched straight to Development and then did my update?

Shevek
13th July 2010, 23:33
Next problem!

I am loading a VC-1 source (MKV container) into the Indexer and my only option is FFMSIndex - DGIndexNV is greyed out.

I have a GeForce 210 installed as a secondary video card alongside an ATI 4850 primary

Sharktooth
14th July 2010, 03:23
the first problem seems to be related to an autoupdate.xml corruption. you already fixed it, however you can delete the file and megui will regenerate it.
about the second problem, it works here with avc but i didnt test with a vc-1 mkv file coz i dont have it.
if you can upload a small clip i can test it and see where the problem lies.

Zathor
14th July 2010, 06:18
I am loading a VC-1 source (MKV container) into the Indexer and my only option is FFMSIndex - DGIndexNV is greyed out.
Please check if you have a licence.txt in the dgindexnv folder.

rack04
14th July 2010, 13:27
More info:

I switched back to stable and it updated to 2013, AutoUpdate.xml updated with correct CurrentVersion (2013) and it doesn't update again on launch.

Switch back to development again, it updated to 2020, AutoUpdate.xml updated with correct CurrentVersion (2020) and it doesn't update again on launch.

Problem solved!

Could this be because it is a fresh install of MeGUI and I cancelled the initial update, switched straight to Development and then did my update?

I have this same problem. I installed a fresh version of MeGUI and updated from the development server. Every time I open MeGUI it asks to update DGDecNV. If I switch to stable upload it downloads 2013 and doesn't ask again. If I switch to developmental it downloads 2020 and asks to update every time I open.

Does this have anything to do with DGDecNV not including CUVIDServer.

Renzz
14th July 2010, 15:18
I have this same problem. I installed a fresh version of MeGUI and updated from the development server. Every time I open MeGUI it asks to update DGDecNV. If I switch to stable upload it downloads 2013 and doesn't ask again. If I switch to developmental it downloads 2020 and asks to update every time I open.

Does this have anything to do with DGDecNV not including CUVIDServer.

Me too - exactly the same problem.

Sharktooth
14th July 2010, 17:34
as i already said... delete the autoupdate.xml file... megui will re-download all the updates an will also recreate the autoupdate file...

Renzz
14th July 2010, 18:42
as i already said... delete the autoupdate.xml file... megui will re-download all the updates an will also recreate the autoupdate file...

I did try that but it hasn't fixed it.

It seems to be reporting the current version of dgindexnv as blank - where does it get that info from?

Sharktooth
14th July 2010, 18:49
from here: http://megui.org/auto/upgrade.xml
and here (64bit) http://megui.org/auto/upgrade_x64.xml

rack04
14th July 2010, 19:13
from here: http://megui.org/auto/upgrade.xml
and here (64bit) http://megui.org/auto/upgrade_x64.xml

The problem is in the AutoUpdate.xml file. It is not recognizing the current version of dgindexnv.

--- C:/Program Files/MeGUI/AutoUpdate_orig.xml Wed Jul 14 13:09:02 2010
+++ C:/Program Files/MeGUI/AutoUpdate.xml Wed Jul 14 13:10:46 2010
@@ -836,7 +836,10 @@
<Reinstall>false</Reinstall>
<DownloadChecked>false</DownloadChecked>
<SavePath>C:\Program Files\MeGUI\tools\dgindexnv\dgindexnv.exe</SavePath>
- <CurrentVersion />
+ <CurrentVersion>
+ <FileVersion>2020</FileVersion>
+ <Url>dgindexnv_b2020.zip</Url>
+ </CurrentVersion>
<AvailableVersions>
<Version>
<FileVersion>2020</FileVersion>

Sharktooth
14th July 2010, 19:19
those xml tags are automatically generated...

Sharktooth
14th July 2010, 20:04
0.3.5.5
- (sharktooth) [x264] Added --pulldown option plus some various fixes
- (sharktooth) [x264] Added --colorprim, --transfer and --colormatrix options
- (sharktooth) [x264] Added --non-deterministic support plus some cosmetic changes

development update: work on x264 options is complete. now ill focus on fixing --tune and --preset support

Shevek
14th July 2010, 20:44
Please check if you have a licence.txt in the dgindexnv folder.

That was exactly it! Now all working.

Shevek
14th July 2010, 20:46
I have this same problem. I installed a fresh version of MeGUI and updated from the development server. Every time I open MeGUI it asks to update DGDecNV. If I switch to stable upload it downloads 2013 and doesn't ask again. If I switch to developmental it downloads 2020 and asks to update every time I open.

Does this have anything to do with DGDecNV not including CUVIDServer.

Mine was fine once I went back to 2013 then back to 2020.

Renzz
14th July 2010, 23:03
Mine was fine once I went back to 2013 then back to 2020.

I think the problem is to do with CUVIDserver.exe being removed from the build in ver 2020. I had manually deleted it from MEGUI's dgindexnv folder, and if I go back to 2013, CUVIDserver.exe gets reinstalled, and the update then works to 2020 - and I no longer get prompted to keep doing to upgrade. If I manually delete CUVIDserver.exe, the update window then shows my current version as blank, and it goes back to continually prompting to upgrade it.

Looks like MEGUI is somehow using CUVIDserver.exe to work out it's current version and if it's not there, you get this issue.

Shevek
14th July 2010, 23:19
I think the problem is to do with CUVIDserver.exe being removed from the build in ver 2020. I had manually deleted it from MEGUI's dgindexnv folder, and if I go back to 2013, CUVIDserver.exe gets reinstalled, and the update then works to 2020 - and I no longer get prompted to keep doing to upgrade. If I manually delete CUVIDserver.exe, the update window then shows my current version as blank, and it goes back to continually prompting to upgrade it.

Looks like MEGUI is somehow using CUVIDserver.exe to work out it's current version and if it's not there, you get this issue.

sounds plausible - I had thought the same, but not got around to testing the theory.

EDIT: Confirmed!

Without CUVIDServer.exe in directory, this is the Updater window AFTER updating. Note Existing Version is missing and Update Available:
http://i20.photobucket.com/albums/b223/DrShevek/SuperUser/MeGUI1.png

With CUVIDServer.exe in directory, this is the Updater window AFTER updating. Note Existing Version is correct and No Update Available:
http://i20.photobucket.com/albums/b223/DrShevek/SuperUser/MeGUI2.png

jimmydrac
15th July 2010, 00:09
Hey Shark...Thanks :thanks: for all your hard work!!! I'm probably having a brain fart :stupid: here but I searched for info on the new pulldown tab buy couldn't find anything. Does this have anything to do with 3:2? Any help on what this does would be greatly appreciated.

Thanks......MEGUI ROCKS!!!!!!

Sharktooth
15th July 2010, 13:03
@jimmydrac: http://en.wikipedia.org/wiki/Telecine#2:2_pulldown

@shevec: ill look into it...

Rat Killer
15th July 2010, 19:19
I only use the faac encoder once in a while so this could have changed at any point in the last few weeks but....

The options checked in the faac config do not get applied when encoding. I am using either an mkv or an .ac3 file for input and asking for an aac output, downmix to stereo and vbr of 100.

What I get is an aac file with 5 channels and approx 320kbps. This used to work fine.

Suggestions? Did I muck something up or has something in the faac front end changed or what?

Thanks for any suggestions. I can do this conversion manually with ffmpeg (command line ffmpeg -i test.ac3 -ac 2 -ab 128000 test.aac) but its much easier to keep everything inside megui.

Sharktooth
15th July 2010, 21:32
@rat killer: could you please try if it happens with nero encoder and/or vorbis too?

Rat Killer
15th July 2010, 21:52
@rat killer: could you please try if it happens with nero encoder and/or vorbis too?

Nero works fine. Should have been using it all along I suppose. Did not know the codec was free until I went looking. Thanks for the help.

Sharktooth
16th July 2010, 03:21
you're welcome. however, if nero works fine there there should be a problem with faac.

WorBry
16th July 2010, 14:58
0.3.5.5
- (sharktooth) [x264] Added --pulldown option plus some various fixes
- (sharktooth) [x264] Added --colorprim, --transfer and --colormatrix options
- (sharktooth) [x264] Added --non-deterministic support plus some cosmetic changes

development update: work on x264 options is complete. now ill focus on fixing --tune and --preset support

Thanks for the new additions. Just wondering if you are you still intending to add an AR control option?

http://forum.doom9.org/showpost.php?p=1416106&postcount=46

Sharktooth
16th July 2010, 15:51
oh... completely forgot about that...
i will add it... ;)

aegisofrime
16th July 2010, 17:10
It appears that MeGUI is broken with the latest x264.

Here's the error:

http://img714.imageshack.us/img714/8002/70679196.jpg

quantum5uicid3
16th July 2010, 18:21
It appears that MeGUI is broken with the latest x264.

Here's the error:

http://img714.imageshack.us/img714/8002/70679196.jpg

http://forum.doom9.org/showthread.php?p=1417966#post1417966

yay! resize!

GRKNGLR
17th July 2010, 01:24
Hello,

MediaInfo version 0.7.34 is out for some time, but there are still 0.7.33 dll's on MeGUI update server. When will the version 0.7.34 be out for MeGUI?

Alex_080
17th July 2010, 03:04
when i updating to MeGUI latest version i got a error message like this

http://img693.imageshack.us/img693/9051/65377720.jpg

what is mean of this?

Zathor
17th July 2010, 10:57
The problem is that the MeGUI build running during the import cannot import the profile because settings have been added / changed. The workaround would be to update MeGUI to the latest build without updating the profiles, start the new build and update the profiles.

Sharktooth
17th July 2010, 20:31
@WorBry: SAR option added with predefined values for common resolutions/aspect ratios.
if that's not enough i can add a textbox to add a custom SAR... but i think it wont be necessary.

WorBry
17th July 2010, 23:45
Great. Thanks alot. :)

jimmydrac
18th July 2010, 07:14
I was wondering how this new option is different from the avisynth signaling that can be done using megui's script creator? Is there a difference between the two or is it just another way to to adjust the ratio after resizing?

Thanks!!!

AMED
18th July 2010, 09:28
there still seems to be a small issue with the file indexer with AVC in MKV files.

once you open up a MKV with AVC in the file indexer all the DG indexing options are ghosted out but FFMSIndex is not selected.

http://i31.tinypic.com/359l1mo.png

as you can see down at the output file that it's still trying to use DGIndex to index the mkv, so if you blindly click queue it will not index.

Zathor
18th July 2010, 09:53
MediaInfo version 0.7.34 is out for some time, but there are still 0.7.33 dll's on MeGUI update server.

Thanks. 0.7.33.1 in MeGUI is 0.7.32 because 0.7.33 introduced a problem with raw stream detection. It seems to be fixed in 0.7.34.

When will the version 0.7.34 be out for MeGUI?

Now :)

Zathor
18th July 2010, 10:16
there still seems to be a small issue with the file indexer with AVC in MKV files.

once you open up a MKV with AVC in the file indexer all the DG indexing options are ghosted out but FFMSIndex is not selected.

as you can see down at the output file that it's still trying to use DGIndex to index the mkv, so if you blindly click queue it will not index.

Thanks, investigating.

EDIT: Fixed locally.

DeWTurk
18th July 2010, 20:47
Megui update development error I solve this problem, delete

http://i30.tinypic.com/24den40.jpg

http://i26.tinypic.com/8vtctf.jpg

http://i25.tinypic.com/wvr98j.jpg

http://i27.tinypic.com/2z9ksv5.jpg

Zathor
18th July 2010, 20:54
http://forum.doom9.org/showpost.php?p=1418336&postcount=1305

eneskilic
19th July 2010, 00:37
http://i29.tinypic.com/25z79f9.png

im not using any filter...

AMED
19th July 2010, 01:20
use the FFMSindexer file indexer on the MKV first.

Sharktooth
19th July 2010, 02:23
http://i29.tinypic.com/25z79f9.png

im not using any filter...
double posting is not allowed in this forum.

Underground78
19th July 2010, 10:57
now ill focus on fixing --tune and --preset support

Any news about this ?

Sharktooth
19th July 2010, 13:59
not yet, i just started working on it but i have not much time... so have some patience.

DeWTurk
19th July 2010, 14:17
http://forum.doom9.org/showpost.php?p=1418336&postcount=1305
ok thanks :thanks:

rtjnyoface
20th July 2010, 10:55
Just wanted to stop in and say thanks to the devs again. Noticed the new bitrate calc a couple weeks back and thought I'd shoot up some confidence and feelings of appreciation again. So thanks a lot guys, many of us really appreciate it!

Underground78
20th July 2010, 13:27
not yet, i just started working on it but i have not much time... so have some patience.

Of course, it was just to know. :)

Renzz
20th July 2010, 15:21
Has anyone else noticed that with the latest version of Mediainfo (0.7.34) it is taking quite a bit longer to open elementary streams in File Indexer, compared to 0.7.32 (M2V's in particular)? Seems to be taking up to 20 seconds on my system, whereas 0.7.32 was more or less instant.

stax76
20th July 2010, 16:11
Maybe it's the same slow loading issue I reported recently, that what fixed in 0.7.35beta.

Zathor
20th July 2010, 18:17
Yes, the 07/18 development build of mediainfo fixed the problem with m2v files.

Lyle_JP
23rd July 2010, 00:43
Love the new SAR control! May I ask for two more common sar values for the drop down? I'd love to have 8:9 and 32:27 for NTSC DVDs which do not follow the ITU-R BT.601 standards (4:3 and 16:9, respectively).

Also, it's just a cosmetic thing, but weighted P-frame prediction should be greyed out when baseline profile is chosen.

WorBry
23rd July 2010, 05:00
In that case, adding a textbox to set custom SAR values might be a better option, as the list could go on.

......SAR option added with predefined values for common resolutions/aspect ratios.
if that's not enough i can add a textbox to add a custom SAR... but i think it wont be necessary.

Sharktooth
23rd July 2010, 16:41
ill see what i can do

Rat Killer
24th July 2010, 13:04
I am trying to recode ac3 or dts 5.1 audio track to a stereo aac. Using either FAAC or Nero, selecting downmix to stereo the resulting file is an aac or mp4 file with 5 channels.

Attempting the same task using the winamp aac encoder results in an error and aborts.

I can do the conversion with ffmpeg on a command line:

ffmpeg -i test.ac3 -ac 2 -ab 96000 output.aac

and it seems to work. Except that the time base seems to get out of whak so when remuxed, the sound gets further and further out of sync. The original ac3 track plays fine and I have tried with several different tracks getting the same results.


The real task at hand is converting an mp4 file that contains h264 video and ac3 audio to a new mp4 file for my EVO that contains h264 video with baseline profile AVC level 3.1 and aac stereo audio. Am I just approaching this in the wrong way? The video recode works fine from an avs script, the audio does not, I have to extract the audio using yamb. Is there a line I should be placing in the avs script to allow it to pass the audio correctly and encode in meGUI? I tried setting audio=true but that did not help.

Any ideas?

Sharktooth
24th July 2010, 14:28
could you please post your encoding steps coz i just re-encoded an ac3 5.1 to a stereo aac using nero within megui and it worked flawlessly

Rat Killer
24th July 2010, 14:57
Input tab, Audio track 1
Audio Input: test.ac3
Cuts: (left blank)
Audio Output: test.mp4 (for Nero)
Encoder Settings, config, output channels, Downmix multichannel to Stereo, SampleRate, Keep Original, AAC Profile, Automatic
Click Enqeue and it processes and builds the mp4 output file containing 5 channels and nearly the same file size as the input. it should come out much smaller with only 2 channels.

tebasuna51
24th July 2010, 17:00
I am trying to recode ac3 or dts 5.1 audio track to a stereo aac. Using either FAAC or Nero, selecting downmix to stereo the resulting file is an aac or mp4 file with 5 channels.

If you get only 5 channels maybe your source isn't 5.1 but 5.0.
Only 5.1 sources can be downmixed to stereo with MeGUI.
:logfile:

Try with a .avs file with:
NicAc3Source("your_audio.ac3", 2)

in MeGUI Audio Input instead the .ac3 file.

Rat Killer
24th July 2010, 18:37
Thanks and good catch. you were exactly right and your suggestion with the avs command worked. THANKS!

AMED
25th July 2010, 00:16
Has anybody else noticed the tunings drop down in the x264 conf dialog putting additional commands in the command line?

how to reproduce:

1. open x264 config dialog and click load defaults.

2. go through the tunings one by one and look at the resulting command line

Default
program --crf 20 --output "output" "input"
Film
program --tune film --crf 20 --output "output" "input"
Animation
program --tune animation --crf 20 --output "output" "input"
Grain
program --tune grain --crf 20 --deadzone-inter 21 --deadzone-intra 11 --output "output" "input"
PSNR
program --tune psnr --crf 20 --output "output" "input"
SSIM
program --tune ssim --crf 20 --output "output" "input"
Fastdecode
program --tune fastdecode --crf 20 --no-deblock --no-cabac --weightp 2 --aq-mode 2 --output "output" "input"
Touhou
program --tune touhou --crf 20 --aq-mode 2 --aq-strength 1.0 --partitions p8x8,b8x8,i4x4,i8x8 --trellis 0 --output "output" "input"
3. Once you get to the bottom of the tuning start working back to the top again
Touhou
program --tune touhou --crf 20 --aq-mode 2 --aq-strength 1.0 --partitions p8x8,b8x8,i4x4,i8x8 --trellis 0 --output "output" "input"
Fastdecode
program --tune fastdecode --crf 20 --no-deblock --no-cabac --weightp 2 --aq-mode 2 --output "output" "input"
SSIM
program --tune ssim --crf 20 --trellis 0 --output "output" "input"
PSNR
program --tune psnr --crf 20 --trellis 0 --output "output" "input"
Grain
program --tune grain --crf 20 --trellis 0 --output "output" "input"
Animation
program --tune animation --crf 20 --trellis 0 --output "output" "input"
Film
program --tune film --crf 20 --trellis 0 --output "output" "input"
Default
program --crf 20 --output "output" "input"

I was under the impression that all the tunings should add is --tune %tuning% to the command line.

Sharktooth
25th July 2010, 03:17
AMED, yes it sort of broken. im working on it but it need huge changes and my time is limited... so, a fix is going to be released but not so soon.

forum king
30th July 2010, 19:27
hey fellas , sorry if i am being off topic , but i just noticed that the great St is back :) , wow i am happy to see you sharktooth ( i am also visiting after a long hiatus :P )
well i wanted to ask how can one restrict x264.exe from using full cpu .. ( especizlly during IInd pass )
i want to allow it to use just 30 to 35% of the CPU , how can i do that permanently , atm all i do is reduce the affinity of the process x264.exe in task manager, but its not a permanent solution..
regards
Josh!!!

stax76
30th July 2010, 20:04
@forum king

Why isn't low priority sufficient?

forum king
30th July 2010, 20:06
@forum king

Why isn't low priority sufficient?
well even then it reaches 97 to 100% and makes doing other stuff slow,

Sharktooth
30th July 2010, 20:22
the CPU usage is not the culprit. i mean, if a process is run in low priority it will use CPU cycles ONLY if there are no process with higher priority that require CPU cycles.
so for example if you run one encoding in normal priority and another in low priority, the first encode will use all the CPU cycles needed. the second will just use only those left (more or less).
however limiting x264 CPU usage is not possible unless you have a multicore CPU. in that case you can limit the number of threads and make x264 run only on one core.

Atak_Snajpera
30th July 2010, 20:25
well even then it reaches 97 to 100% and makes doing other stuff slow,
Use IDLE priority.

Sharktooth
30th July 2010, 20:27
LOW is AKA Idle...

forum king
30th July 2010, 20:42
LOW is AKA Idle...
Thanks , and what will happen if there are many users in a PC , like a server ??? what effect will x264.exe 100% usage have on other users ????
i guess there it will a problem ????

and how to limit the number of threads ???
the default setting is 0 which mean 1.5x of the nlogical cpu ???
suppose i enter 2 or 3 , does it mean that out of the 4 cores megui + x264.exe will use only 2 or 3 cores ???

stax76
30th July 2010, 21:00
I guess MeGUI uses idle by default, if Firefox is slow then it's probably the hard drive, ideally you would use 2 drives, a SSD as system drive and a normal hard drive for media.

Sharktooth
31st July 2010, 01:19
@forum king: the logic remains the same. higer priority processes will have a higher priority, hence more CPU cycles if they need them.
limit the threads with the threads option. 1 thread will use one core, 2 threads 2 cores etc. (1.5x is a coefficient to maximize the threading efficiency so, for example, to FULLY use 2 cores, x264 sets 3 threads as default).

forum king
31st July 2010, 12:58
Thanks SK that clears it all , and will follow your advise about posting too.
god bless.

forum king
5th August 2010, 08:36
lol as the topic hasnt moved a bit in last 5 days , i thought i ll make a double post..

actually i tried editing threads counts after the latest update of megui, but i donno i dont see no change in the command line at all after changing it from 0 to any other value.
then i tried manually adding --threads x in the edit option ( x being any value , i added 6 :P ), but after that x264 wont start at all, as if it has slept :P
what should i do :P
regards

Zathor
5th August 2010, 10:39
actually i tried editing threads counts after the latest update of megui, but i donno i dont see no change in the command line at all after changing it from 0 to any other value.

Please try the development build 0.3.5.6. I am assuming you are using 0.3.5.0 at the moment, correct?

forum king
5th August 2010, 11:08
Please try the development build 0.3.5.6. I am assuming you are using 0.3.5.0 at the moment, correct?
yes !!! as a matter of fact i am ..
do u want me to update again via development servers ??
and Zathor my mate !! could u also tell me if 15 threads are equal to 10 cores ???
and also among all the builds that are out there ( i can see stable is at 1649 and development is at 1677 ) of x264 which one is most stable and faster ;)
i am gonna try and encode some high definition stuff now ;P

Betsy25
5th August 2010, 15:47
Zathor, have you taken a step backwards from MeGui, or could we still expect some of your brilliant work to MeGui in the future ?:)

MOS-Marauder
6th August 2010, 11:19
Are the Plugs no longer updated ? (DGToolsNV for example)?

There are some new Versions already out...


Chris

Zathor
6th August 2010, 14:15
Are the Plugs no longer updated ? (DGToolsNV for example)?
There are some new Versions already out...


Thanks for the reporting. I have not much time at the moment and therefore it would be great if you could point out which tools are out of date and direct me to the download links.

Sharktooth
6th August 2010, 16:23
sorry, i havent been at home since some time and i dont have the credentials to log in into the auto-update FTP server with me.
the updated tools sould be DGNV tools, x264 and mediainfo lib.

Betsy25
6th August 2010, 19:05
Zathor, have you taken a step backwards from MeGui, or could we still expect some of your brilliant work to MeGui in the future ?:)

Thanks for not replying, it's the best way to express the truth.
I hope MeGUI will not fall back in the buggy mess it once was.

Guest
6th August 2010, 19:28
Thanks for not replying, it's the best way to express the truth.
I hope MeGUI will not fall back in the buggy mess it once was. He said "I have not much time at the moment". What do you want, a personal telegram?

Your impertinence is shameful.

quantum5uicid3
7th August 2010, 14:45
Thanks for not replying, it's the best way to express the truth.
I hope MeGUI will not fall back in the buggy mess it once was.

i must have missed that version. :)

megui has been awesome for years. the problems of 1057 were really blown out of proportion, it was 100% usable with some awareness of the commandline even with latest x264.

thank you zathor, shartooth, kurtnoise, and all!

Zathor
8th August 2010, 17:05
0.3.5.7
- (sharktooth) [x264ConfigurationPanel] Fix default CRF value when changing from bitrate mode to CRF. Adjusted default bitrate to 1000
- (zathor) [FileIndexer] improved handling if DGIndexNV is not available
- (zathor) [MkvMergeMuxer] header compression is disabled for all tracks
- (zathor) [MainForm] slightly tweaked file\open

gahz
9th August 2010, 11:09
don't know if this was mentioned anywhere else.

i can get megui to reliably crash by unchecking "open preview after avisynth script selection". it will crash either as soon as i load an avs file or as soon as i click on the enque button. hope this helps.

my script if it matters:
LoadPlugin("c:\program files\megui\tools\dgindexnv\DGDecodeNV.dll")
dgsource("D:\tmp\12.dgi")

Lighto
9th August 2010, 12:32
don't know if this was mentioned anywhere else.

i can get megui to reliably crash by unchecking "open preview after avisynth script selection". it will crash either as soon as i load an avs file or as soon as i click on the enque button. hope this helps.

my script if it matters:
LoadPlugin("c:\program files\megui\tools\dgindexnv\DGDecodeNV.dll")
dgsource("D:\tmp\12.dgi")

My MeGUI doesn't crash after unchecking "open preview after avisynth script selection" and loading an avs file/enqueue, but my script is different though.

Zathor
9th August 2010, 13:18
don't know if this was mentioned anywhere else.

i can get megui to reliably crash by unchecking "open preview after avisynth script selection". it will crash either as soon as i load an avs file or as soon as i click on the enque button.
Thanks for the report. As it seems to be no general problem please describe the crash in more detail (e.g. post a screenshot or the log if possible)

GmorG McRoth
9th August 2010, 13:21
It seems that custom profile: vbvsize, vbvmax, vbvpeak values are not loaded properly in "XviD configuration dialog". Upon loading the preset, they always come as zeros. Values are properly saved in xml preset file, and they are properly applied when preset is chosen without entering configuration dialog.

Cloudstrifeff7
9th August 2010, 21:57
There is a bug with autoupdate. In http://megui.org/auto/ there is x264_presets_v52.zip, but with autoupdate Megui see only x264_presets_v51.zip.

gahz
10th August 2010, 04:33
Thanks for the report. As it seems to be no general problem please describe the crash in more detail (e.g. post a screenshot or the log if possible)

here's the screenshot:
http://i997.photobucket.com/albums/af97/gahz73/meguicrash.png

happens everytime unless i load the preview. were you asking what steps i take to have it crash?

Lighto
10th August 2010, 11:56
There is a bug with autoupdate. In http://megui.org/auto/ there is x264_presets_v52.zip, but with autoupdate Megui see only x264_presets_v51.zip.

http://i34.tinypic.com/2m5fbm0.png
I am guessing this is related to what you mentioned as well.

Cloudstrifeff7
10th August 2010, 12:34
http://i34.tinypic.com/2m5fbm0.png
I am guessing this is related to what you mentioned as well.

Exactly. :) In "latest version" there is 5.1.

Zathor
10th August 2010, 18:29
5.2 back in action :thanks:

mariush
10th August 2010, 19:03
btw... something trivial... maybe you can do an [(filecount!=1) ? ' are ' : ' is ' ] + ' ' + [ (filecount ==0 ) ? 'no' : filecount.toString() ] + ' file' + [ ( filecount !=1 ) ? 's' : '' ] sort of thing

It's just visual but it should also be very easy to implement

Cloudstrifeff7
10th August 2010, 19:34
5.2 back in action :thanks:

:thanks:

gahz
15th August 2010, 07:13
sorry to bother you zathor, just wanted to inform on newer findings.

the crash that i reported a few posts back seems to only happen on my desktop and not my laptop.

i have all codecs and what not configured the same so i guess i'll just blame diff hardware.

i do know that it happens when i use dgindexnv in my script. could it be because of diff vid cards? one uses a gtx285 and the other a gtx260m

tebasuna51
16th August 2010, 00:08
Warning with MkvToolNix 4.1.0

Eac3to don't support tracks with "header removal compression" and HD Stream Extractor don't work with these tracks. Tested at least with dts tracks.

Please add eac3to v3.24 (http://forum.doom9.org/showthread.php?p=1426354#post1426354) to solve the problem after MkvToolNix 4.1.0

Thanks.

Sharktooth
16th August 2010, 15:07
done.

Zathor
17th August 2010, 18:40
sorry to bother you zathor, just wanted to inform on newer findings.

the crash that i reported a few posts back seems to only happen on my desktop and not my laptop.

i have all codecs and what not configured the same so i guess i'll just blame diff hardware.

i do know that it happens when i use dgindexnv in my script. could it be because of diff vid cards? one uses a gtx285 and the other a gtx260m

Do you use the same graphics driver on both machines? Can you open the avs file with other tools like VirtualDub?

Are you using the latest build of DGIndexNV (2024) and are you able to index your file using the MeGUI\tools\dgindexnv\DGIndexNV.exe without problems?

Cloudstrifeff7
17th August 2010, 23:08
When I extract file ogg from mkv with HD Stream Extractor, the tool don't work.

eac3to v3.24
command line: "eac3to.exe" "C:\video.mkv" 2:"C:\T2_Audio - 2.0 channels.ogg" -progressnumbers
------------------------------------------------------------------------------
MKV, 1 video track, 1 audio track, 0:24:11, 24p /1.001
1: h264/AVC, English, 704x480 24p /1.001
2: VORBIS, 2.0 channels, 48kHz
Bitstream parsing for track 2 failed. <WARNING>
Demuxing this track may still produce correct results - or not. <WARNING>
This audio conversion is not supported. <ERROR>

AMED
19th August 2010, 21:51
ffms2-r325 released (http://ffmpegsource.googlecode.com/files/ffms2-r325.7z)

Sharktooth
20th August 2010, 02:02
When I extract file ogg from mkv with HD Stream Extractor, the tool don't work.

eac3to v3.24
command line: "eac3to.exe" "C:\video.mkv" 2:"C:\T2_Audio - 2.0 channels.ogg" -progressnumbers
------------------------------------------------------------------------------
MKV, 1 video track, 1 audio track, 0:24:11, 24p /1.001
1: h264/AVC, English, 704x480 24p /1.001
2: VORBIS, 2.0 channels, 48kHz
Bitstream parsing for track 2 failed. <WARNING>
Demuxing this track may still produce correct results - or not. <WARNING>
This audio conversion is not supported. <ERROR>
have you tried with mkvextract?

Sharktooth
20th August 2010, 02:13
ffms2 updated to rev 325 (dev build).
please test.

gahz
20th August 2010, 10:08
just wanted to report that i have fixed that wierd crash i was getting. the cause, at least in my case, was nvidia 258.96 drivers using the script i posted earlier. if i used a script that the megui avs script creator spits out i get no crashes but i wont go this route because i like neuron's tools so much. so the only solution i came up with was to rollback my nvidia drivers to the one that win7 update recommends and voila problem fixed no more crashes.

AMED
22nd August 2010, 03:26
ffms2 updated to rev 325 (dev build).
please test.I've had a test and there seems to be a problem with the reported frame rate.

v3.25 reports 23.9091908091908 FPS
v3.18 reports 23.976 FPS (which is correct)

best to rollback to v3.18

Sharktooth
23rd August 2010, 03:18
3.18 has problems with mkv files with header compression.
so, dont know what's better...
however, i'll update ffms as soon as it gets fixed.

MOS-Marauder
24th August 2010, 17:54
Please add eac3to v3.24 (http://forum.doom9.org/showthread.php?p=1426354#post1426354) to solve the problem after MkvToolNix 4.1.0

Thanks.


Is it also possible to change MKV mux options so that this Header Compression is set to NONE on muxing ?

--compression -1:none


Chris

nurbs
24th August 2010, 18:04
MeGUI does that already.

MOS-Marauder
24th August 2010, 19:39
MeGUI does that already.


Im sorry.. found it in the rls notes :(

- (zathor) [MkvMergeMuxer] header compression is disabled for all tracks


Chris

Sharktooth
25th August 2010, 15:58
header compression will be re-enabled when the majority of devices will support it.
however, with the new tools updates, megui now supports MKVs with header compression as input.

Sharktooth
25th August 2010, 16:46
@WorBry: sorry for the delay. i've added you suggested values in Force SAR dropdown. They will be there in the next build.

mastrboy
25th August 2010, 17:33
Any way we could get an option/check-box to use FFaudiosource instead of Nicaudio?

I sometimes get an error using built in MeGUI audio encode functions:

[Error] Log for job1 (audio, 03.ac3 -> 03.mp4)
-[Information] [25.08.2010 17:56:17] Started handling job
-[Information] [25.08.2010 17:56:17] Preprocessing
-[NoImage] Avisynth script
--[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\NicAudio.dll")
--[NoImage] NicAc3Source("C:\Users\mastrboy\Desktop\03.ac3")
--[NoImage] Normalize()
--[NoImage] return last
-[NoImage] Commandline used: -ignorelength -lc -br 256000 -if - -of "{0}"
-[Information] [25.08.2010 17:56:17] Encoding started
-[Information] [25.08.2010 17:56:17] Encode thread started
-[Information] [25.08.2010 17:56:17] Avisynth script environment opened
-[Information] [25.08.2010 17:56:18] Script loaded
-[Information] Output Decoder
--[NoImage] Channels: 6
--[NoImage] Bits per sample: 32
--[NoImage] Sample rate: 48000
-[NoImage] Commandline: C:\Program Files (x86)\MeGUI\tools\neroAacEnc.exe -ignorelength -lc -br 256000 -if - -of "C:\Users\mastrboy\Desktop\03.mp4"
-[Information] [25.08.2010 17:56:18] Encoder process started
-[Error] An error occurred
--[NoImage] Exception message: Abnormal encoder termination 1
--[NoImage] Stacktrace: ved MeGUI.AviSynthAudioEncoder.encode()
--[NoImage] Inner exception: null
-[NoImage] Output from encoder via stderr
--[NoImage] *************************************************************
--[NoImage] * *
--[NoImage] * Nero AAC Encoder *
--[NoImage] * Copyright 2009 Nero AG *
--[NoImage] * All Rights Reserved Worldwide *
--[NoImage] * *
--[NoImage] * Package build date: Feb 18 2010 *
--[NoImage] * Package version: 1.5.4.0 *
--[NoImage] * *
--[NoImage] * See -help for a complete list of available parameters. *
--[NoImage] * *
--[NoImage] *************************************************************
-[NoImage] Output from encoder via stdout: ERROR: error while encoding frame
-[Information] [25.08.2010 17:57:33] Job completed


If i manually create a .avs script using FFAudiosource there is no problem:

FFAudioSource("C:\Users\mastrboy\Desktop\03.ac3")
Normalize()


MeGUI log using FFaudiosource avs script instead:

[Information] Log for job1 (audio, Script.avs -> Script.mp4)
-[Information] [25.08.2010 18:08:28] Started handling job
-[Information] [25.08.2010 18:08:28] Preprocessing
-[NoImage] Avisynth script
--[NoImage] Import("C:\Users\mastrboy\Desktop\Script.avs")
--[NoImage] Normalize()
--[NoImage] return last
-[NoImage] Commandline used: -ignorelength -lc -br 256000 -if - -of "{0}"
-[Information] [25.08.2010 18:08:28] Encoding started
-[Information] [25.08.2010 18:08:28] Encode thread started
-[Information] [25.08.2010 18:08:28] Avisynth script environment opened
-[Information] [25.08.2010 18:08:36] Script loaded
-[Information] Output Decoder
--[NoImage] Channels: 6
--[NoImage] Bits per sample: 16
--[NoImage] Sample rate: 48000
-[NoImage] Commandline: C:\Program Files (x86)\MeGUI\tools\neroAacEnc.exe -ignorelength -lc -br 256000 -if - -of "C:\Users\mastrboy\Desktop\Script.mp4"
-[Information] [25.08.2010 18:08:36] Encoder process started
-[NoImage] Output from encoder via stderr
--[NoImage] *************************************************************
--[NoImage] * *
--[NoImage] * Nero AAC Encoder *
--[NoImage] * Copyright 2009 Nero AG *
--[NoImage] * All Rights Reserved Worldwide *
--[NoImage] * *
--[NoImage] * Package build date: Feb 18 2010 *
--[NoImage] * Package version: 1.5.4.0 *
--[NoImage] * *
--[NoImage] * See -help for a complete list of available parameters. *
--[NoImage] * *
--[NoImage] *************************************************************
-[Information] [25.08.2010 18:10:25] Postprocessing
--[Information] Deleting intermediate files
-[Information] [25.08.2010 18:10:25] Job completed

Sharktooth
25th August 2010, 17:38
please post your request in the feature request tracker: http://sourceforge.net/tracker/?group_id=156112&atid=798479
ffaudiosource is very interesting indeed...

mastrboy
25th August 2010, 21:25
Request added to tracker: https://sourceforge.net/tracker/?func=detail&aid=3053195&group_id=156112&atid=798479

Dal
26th August 2010, 08:57
Hello again.

I have 2 questions:
- I just bought DGIndexNV, but now, when using File Indexer, it is not possible to Select Tracks anymore, just No Audio, or All Tracks. Is this a bug, or design? It is a nice feature I would like to see continued.
- In the past, in the Bitrate Calculator, when I made my own file sizes, they would stay there. But now, no custom made file sizes are "staying", so I have to keep entering the numbers every time. Bug or design? This too is a feature I would very much like to have continued.

Thanks again.

RyaNJ
27th August 2010, 17:51
I've just hit an issue - running the bitrate calculator for a nero-acc audio file I just encoded causes an "index out of bounds" error. The audio file plays no problem. Any idea why this is or if there is a fix?

Betsy25
27th August 2010, 18:50
I just would like to ask if this "stable" branch is ever going to get updated, or are users advised to switch over to the development branch and forget about the stable one ?

Zathor
28th August 2010, 00:29
A new stable build will be released every once in a while as soon as a development build is declared "stable". There are no timeframes for such a release - there may be months between stable builds or days. If you want to have the newest tools / functions and want to help us in reporting problems / feedback, then switch to the development part.

Betsy25
28th August 2010, 14:14
Thanks for replying Zathor,

I was of the idea that Sharktooth had taken over all work on MeGUI and the development branch was the only branch that would still get updated.:)

Sharktooth
28th August 2010, 14:41
uh?!??!?!? no way... i could never do that...

Carpo
28th August 2010, 15:28
there's $50 in it for you if you do ;)

Zathor
28th August 2010, 15:57
there's $50 in it for you if you do ;)

You want to pay so that I stop being one of the MeGUI developers. Out of sheer curiosity - why?

Betsy25
28th August 2010, 20:44
You want to pay so that I stop being one of the MeGUI developers. Out of sheer curiosity - why?

I don't think he meant it that way Zathor.:cool:
Your contributions are magnificent !

Carpo
28th August 2010, 21:07
You want to pay so that I stop being one of the MeGUI developers. Out of sheer curiosity - why?

You misunderstood - guess its just my warped little mind ;-) was just wondering if sharktooth could be bribed ;)

Sharktooth
29th August 2010, 02:35
only for *put some 6 or more digit number here* euros... :p

WorBry
29th August 2010, 03:10
@WorBry: sorry for the delay. i've added you suggested values in Force SAR dropdown. They will be there in the next build.

No problem :) It was just a suggestion for folks who want custom SAR values. The 'standard' preset values meet my needs.

Sharktooth
30th August 2010, 15:40
rev 1704: [MainForm.cs] Added a big fat warning about patents and binary files when megui finds updates

The messagebox will show this: "There are updated files available that may be necessary to MeGUI to work correctly. Some of them are binary files subject to patents, so they could be in violation of your local laws if you live in US, Japan and some countries in Europe. MeGUI will let you choose what files to update but please check your local laws about patents before proceding. By clicking on the 'Yes' button you declare you have read this warning. Do you wish to proceed reviewing the updates?"

Knuffi
30th August 2010, 23:10
Which files are the one you aim on?

Sharktooth
31st August 2010, 00:33
dgindex, ffmpeg (and all derivates, including mplayer/mencoder, ffms2, dgavcindex, eac3to), faac, lame, nicaudio, x264 and xvid.
hope i didnt forget anything.

Kurtnoise
31st August 2010, 08:00
rev 1704: [MainForm.cs] Added a big fat warning about patents and binary files when megui finds updates
imo...this is useless. Anyone can remove these lines from the code and recompile the project to create a new build.

Sharktooth
31st August 2010, 15:53
it could be useless but warns the user. also we have to move the auto-update server somewhere else (currently it is in US... and that's a problem)

DVDBob
1st September 2010, 00:23
Hello.

I have some problems with some VOB files, when i have try to encode to MKV.
And i have install a YV12 codec.
But still get this error:
http://i53.tinypic.com/2v1n1c9.png

Sharktooth
1st September 2010, 00:25
post your .avs script.

DVDBob
1st September 2010, 00:30
MeGUI has not made one. Avs script, but the error comes after MeGUI has made. D2v index file.

Guest
1st September 2010, 00:46
@DVDBob

Since you are using a torrent-like name, please tell us where you got your source materials. If it is a DVD, please state the full title and region and preferably a link to where it can be purchased.

@all

No help on this until the source is clarified. Thank you.

DVDBob
1st September 2010, 00:50
Maj Og Charlie Season 1.
Region 2
I have purchased it here: http://www.moviezoo.dk/dvd-film/Maj-og-Charlie-saeson-1_5704897040761

Guest
1st September 2010, 01:01
Thank you for your clarification. If you avoid torrent-like names in the future, rule 6 flags won't go up.

@all

Please help DVDBob if possible.

Sharktooth
1st September 2010, 02:41
open the avisynth script creator (tools menu) and load the d2v.
once the script is done load the avs as video input.

DVDBob
1st September 2010, 03:21
It did not work.

I still get the same error.

Emp3r0r
1st September 2010, 03:23
- In the past, in the Bitrate Calculator, when I made my own file sizes, they would stay there. But now, no custom made file sizes are "staying", so I have to keep entering the numbers every time. Bug or design? Dal, it should be saving your sizes. I'm debugging it now. I looks like this issue is with the settings serialization.

I've just hit an issue - running the bitrate calculator for a nero-acc audio file I just encoded causes an "index out of bounds" error. RyanNJ, do you have more details about the error? Any log or debug information? How long is the file, bitrate, etc.

Sharktooth
1st September 2010, 04:06
DVDBob: are you listening to me? you cant open a .d2v file as input. you MUST use avisynth script creator to load the d2v...

DVDBob
1st September 2010, 04:09
That is also what I've tried but it does not work.

Sharktooth
1st September 2010, 04:15
check your avisynth\plugins folder. if there is a dgdecode.dll delete it or move it elsewhere.
also what yv12 codec have you installed?

DVDBob
1st September 2010, 04:40
I have installed Helix YUV Codecs v1.2, and there is no dgdecode.dll in avisynth\plugins folder.

Kurtnoise
1st September 2010, 09:28
also we have to move the auto-update server somewhere else (currently it is in US... and that's a problem)
This server is used since the day when the update feature has been made (more than 3 years from now iirc)...and licenses issues exist also since the day 1. No problem so far as I know. So, why you bother today ?

Sharktooth
1st September 2010, 14:29
@DVDBob: Describe exactly what you're doing step by step.

@kurtnoise: i care coz i want to be on "the safe side"...

NanoBot
1st September 2010, 17:50
Hi,

perhaps it might help you in your decisions to know how a developer here in Germany handled a similiar possibly license and patent problem. The program I mention, which you may know, is "ProjectX", is only a Java based MPG2 muxxer / demuxxer; it is neither a MPG encoder nor a decoder. Nevertheless, to circumvent any possible legal problems with the patent holders, the original author of the program decided to release only the source code, but no binaries: http://sourceforge.net/projects/project-x/.

Of course there are other people which are releasing binaries of this program, e.g. http://www.oozoon.de/main_de.html. But the developer cannot be held responsible for binaries released by other parties, so he should, at least in Germany, never run into any trouble by the patent laws. I suspect that the legal situation in most other countrys should be the same.

So a possible solution for the megui team could be, that they also only distribute the source code, with no default server for binary updates in it. If the end user finds a possible update server for binaries and fills in the URL into megui, IMHO the developers cannot be held responsible for this.

C.U. NanoBot

mariush
1st September 2010, 18:19
Would the developers have issues if they download only the source code from the server and launch a compilation on the users' computer (thus create binary on users pc)?

Not sure how long compiling something like x264 takes but with the processors nowadays, I don't think it would take long. well maybe that profiling would take a lot but otherwise...

Underground78
1st September 2010, 18:52
also we have to move the auto-update server somewhere else (currently it is in US... and that's a problem)

Maybe one of the companies which provide bandwidth to SourceForge or others open source projects would accept to host you if you really want to have a server outside the US.

For example in France, the ISP Free offers hosting for SourceForge , VLC and ftp://ftp.proxad.net/ ...

Sharktooth
2nd September 2010, 01:07
Hi,

perhaps it might help you in your decisions to know how a developer here in Germany handled a similiar possibly license and patent problem. The program I mention, which you may know, is "ProjectX", is only a Java based MPG2 muxxer / demuxxer; it is neither a MPG encoder nor a decoder. Nevertheless, to circumvent any possible legal problems with the patent holders, the original author of the program decided to release only the source code, but no binaries: http://sourceforge.net/projects/project-x/.

Of course there are other people which are releasing binaries of this program, e.g. http://www.oozoon.de/main_de.html. But the developer cannot be held responsible for binaries released by other parties, so he should, at least in Germany, never run into any trouble by the patent laws. I suspect that the legal situation in most other countrys should be the same.

So a possible solution for the megui team could be, that they also only distribute the source code, with no default server for binary updates in it. If the end user finds a possible update server for binaries and fills in the URL into megui, IMHO the developers cannot be held responsible for this.

C.U. NanoBot
nope. coz updates and builds will depend on someone else.
some tools in megui need to be built with certain flags...

Sharktooth
2nd September 2010, 01:10
Would the developers have issues if they download only the source code from the server and launch a compilation on the users' computer (thus create binary on users pc)?

Not sure how long compiling something like x264 takes but with the processors nowadays, I don't think it would take long. well maybe that profiling would take a lot but otherwise...
not possible since it would be extremely inconvenient for the users to install several build environments.

Sharktooth
2nd September 2010, 01:31
Maybe one of the companies which provide bandwidth to SourceForge or others open source projects would accept to host you if you really want to have a server outside the US.

For example in France, the ISP Free offers hosting for SourceForge , VLC and ftp://ftp.proxad.net/ ...
have they a website?

Underground78
2nd September 2010, 08:30
have they a website?

They have one : http://fondation.free.org/ but it's in French, I don't know if you can understand it a little.

It looks like there is an application file of 6 pages you have to fill to explain the goal of the project so maybe it is too complicated ... :confused:

Carpo
2nd September 2010, 14:35
See if you can find the company that hosts anydvd or dvdfabs servers ;-)

Underground78
2nd September 2010, 15:57
See if you can find the company that hosts anydvd or dvdfabs servers ;-)

AnyDVD seems to be hosted by a French company (OVH) but I highly doubt they do it for free ... :o

Zathor
2nd September 2010, 16:57
- In the past, in the Bitrate Calculator, when I made my own file sizes, they would stay there. But now, no custom made file sizes are "staying", so I have to keep entering the numbers every time. Bug or design? This too is a feature I would very much like to have continued.

Dal, it should be saving your sizes. I'm debugging it now. I looks like this issue is with the settings serialization.

Emp3r0r, hopefully you have not spend too much time on it because I had it already fixed locally and did not noticed your message. I have uploaded the change now.

http://megui.svn.sourceforge.net/viewvc/megui?view=rev&revision=1706

Carpo
2nd September 2010, 19:20
AnyDVD seems to be hosted by a French company (OVH) but I highly doubt they do it for free ... :o

I thought both those comps used servers outside of the reach of the MPAA, that's why they cant do anything about the 2 programs?

Underground78
2nd September 2010, 20:05
Well the firm itself is based in "Antigua and Barbuda" but it really seems that their servers (or some of them) are hosted in France by OVH (which is one of the largest host company in Europe) but here are getting OT here ... It is not like if Megui needs to move to Antigua and Barbuda ...

lnatan25
3rd September 2010, 00:11
rev 1704: [MainForm.cs] Added a big fat warning about patents and binary files when megui finds updates

The messagebox will show this: "There are updated files available that may be necessary to MeGUI to work correctly. Some of them are binary files subject to patents, so they could be in violation of your local laws if you live in US, Japan and some countries in Europe. MeGUI will let you choose what files to update but please check your local laws about patents before proceding. By clicking on the 'Yes' button you declare you have read this warning. Do you wish to proceed reviewing the updates?"
Please put this with a check box that allows the user to select "OK I get it, now f*** off and don't show this again!" option. Once I've seen this, considered the consequences and checked my local laws, I do not need this silly message showing up for every single update. :rolleyes:

Sharktooth
3rd September 2010, 02:12
not a big issue since the warning is in the same window that is shown to inform you if there are updates...

Kurtnoise
3rd September 2010, 09:11
have they a website?
btw, did you ask to bob0r to host such files ? iirc, x264.nl is hosted in EU.

Sharktooth
3rd September 2010, 15:44
i asked him some time ago (years...) but i can ask him again ;)

Betsy25
3rd September 2010, 18:00
Ain't x264.nl in the Netherlands ?

EDIT: Yep Sharc, it's hosted in CZ (Czech Republic)

http://www.urlvoid.com/scan/x264.nl
http://www.robtex.com/dns/x264.nl.html

Sharc
3rd September 2010, 18:51
Looks like it's in CZ.

Dal
3rd September 2010, 23:31
Hello again.
I've just discovered a problem with my files encoded with MeGUI.

But since it's somewhat hard to know where the actual problem lies, I posted my problem to an earlier forum post about DXVA that I started.

So to avoid cross posting (and since it *can* be a MeGui problem), I'm just gonna post a link to the forum post here:
http://forum.doom9.org/showthread.php?p=1431497#post1431497

Hope someone are able to help.

Thank you.

royia
4th September 2010, 21:13
Is there a roadmap for MeGUI?
How about integrating AvsP into MeGUI and put some life into it development (AvsP)?

Thanks.

rapscallion
4th September 2010, 22:42
Sorry if this is a stupid question, however in the latest tx264 (5.3):

what is the "24" in x264:bd9 1080p24-7820p24 profile?

Also do I need to use these new profiles with the latest builds or can I still use the prevoius ones like "x264:avchd (dvd5/9)-2pass" ?

Some settings in the new presets are a little confusing to me, particularly under GOP size.

Under the old profile (automated 2 pass selected) GOP size max = 250, now is 24. GOP size minimum =25, now 2. Open GOP was none, now Blu-ray for all new x264 dvd/bd profiles. Hovering cursor still says 250 max recommended.

Could someone please help me with this one ?

nurbs
4th September 2010, 23:18
The 24 is usually framerate in that notation. In this case also the keyframe interval since for Blu Ray compatibility the maximum allowed keyframe interval is the same as the framerate (or twice the framerate in some cases). Of course high keyframe intervals are recommended, but Blu Ray doesn't allow them. Open GOP helps a lot with short keyframe intervals so the Blu Ray compatible mode is on of course.
Depending on how old the previous profiles are they might not work, or at least not work as expected, with the latest x264 build or the latest version of megui.

Basically since you are trying to encode a Blu Ray the necessary restrictions needed for Blu Ray compatibility are in place and some options that are helpful with this restrictions are enabled.

If you are not trying to encode a Blu Ray you shouldn't be using the Blu Ray profile since it will limit the quality at a certain filesize compared to less restrictive profile like for instance the DXVA or unrestricted ones.
If you are trying to encode a Blu Ray then keep in mind that there are other restrictions like the allowed resolutions (e.g. 1080p or 720p) that megui won't enforce (AFAIK).

rapscallion
5th September 2010, 00:29
Thanks for the response nurbs.

Actually the profile example I used was for bd-9 which used to be called AVCHD (which it is, of course, as is bd-5)

I encode only in "avchd" or bd-25. Both 720p and 1080p.

The 24 threw me off because, here in the U.S., the frame rate is 23.976 ??

I still wonder why the dramatic change in the max/min gop levels ? Or is that tied in to the open GOP being enabled for "blu-ray" ? :confused:

Sharktooth
5th September 2010, 02:41
AVCHD is a different standard than Blu-Ray.

Sharktooth
5th September 2010, 02:50
Is there a roadmap for MeGUI?
How about integrating AvsP into MeGUI and put some life into it development (AvsP)?

Thanks.
No roadmap available yet. we're working on stabilizing the code and adding some new features and encoders support options when needed.

rapscallion
5th September 2010, 05:33
AVCHD is a different standard than Blu-Ray.

Of course, that's why I'm asking why the new presets use "blu-ray" enabled for avchd profile open gop ??

nurbs
5th September 2010, 09:46
The 24 threw me off because, here in the U.S., the frame rate is 23.976 ??
Rounded to closest integer.

I still wonder why the dramatic change in the max/min gop levels ? Or is that tied in to the open GOP being enabled for "blu-ray" ?
I might be wrong, but I think the restrictions for AVCHD are by and large the same as for Blu Ray. I'm sure most players wouldn't care about the GOP size and maybe they'd even support the normal Open GOP setting, but authoring applications are often more picky then the players themselves. The AVCHD preset that comes with MeGUI now seems to be set for maximum compatibility. As an example it uses --weightp 0. While Blu Ray players should support --weightp 2 and most do, there are some players producing artifacts with streams where it is enabled, so it is turned off in the preset.

@Sharktooth:
Looking through the presets I noticed that the Blu Ray and AVCHD presets have --min-keyint 2 as a custom command line option. x264 now automatically uses keyint/10 for the minimum keyframe interval, so it's not strictly needed, unless of course you put it there so inexperienced users won't mess the setting up when playing with the advanced options.

Sharktooth
5th September 2010, 14:46
Of course, that's why I'm asking why the new presets use "blu-ray" enabled for avchd profile open gop ??
coz AFAIK it wont work otherwise except if you disable opengop.

Sharktooth
5th September 2010, 14:47
unless of course you put it there so inexperienced users won't mess the setting up when playing with the advanced options.
that's it

rapscallion
5th September 2010, 16:09
@nurbs, @sharktooth :

Thank you both for the explanations.
It can be a little confusing for us "non experts" to see big changes in particular settings when builds are updated.
Especially when there is no change log to explain the effects/reasons for the changes.

BTW, welcome back Sharktooth !
Zathor has done a fine job, as you know, in your absence and it's great that he's continuing.

Sharktooth
5th September 2010, 16:26
yep, zathor "saved" megui from oblivion.
however, expect more changes in presets in the next stable build... and expect more changes when the --device option will be added to x264...
we cant avoid that due to the fragmentation of info and the contradictory reports...

forum king
8th September 2010, 06:32
hey guys , i am using the development servers now a days for the patched build.
yesterday while encoding , due to reason my system restarted abruptly :
and since then i cant encode a file wa nearly 90% in 2nd pass so i restarted the 2nd pass but i am getting this error in megui

[Error] An error occurred: avis [error]: unsupported input format (DIB )

i always add ConvertToYV12() at the end of avisynth script
and the video preview is working too
but when i try and play the avisynth script in MPC this is what i get :

Directshow source : couldnt open the file ......
No combination of filters could be found to render the stream.
says error in line 1 ( off curse measn error in line 1 of the script )

the line 1 of the script is
DirectShowSource("C:\Users\lifetalk\Desktop\ALL\second.half.of.me_10.9.9.mkv", fps=25, audio=false, convertfps=true)

so does it mean i have to reinstall klite ( which i use or avisynth or what ?

thanks in advance.

regards

Neil


PS : my apologies in advance if this aint the right forum to post this.

Sharktooth
8th September 2010, 12:52
there is no patched builds anymore. zathor is an official megui developer and please read the forum rules (dont double post).

Zathor
8th September 2010, 13:13
To avoid confusion in the future I have changed the title of this topic to "bug reports and feature requests".

The correct place for bug reports and feature request is the Project page, but if you want to discuss them first you can do it here. However remember: without opening a bug report or feature request at the project page it is likely that we forgot about it. After all we are humans, aren't we?

Zathor
9th September 2010, 14:30
0.3.5.9
- (sharktooth) [MainForm.cs] Added a big fat warning about patents and binary files when megui finds updates
- (sharktooth) [x264] Added 2 new "Force SAR" options
- (sharktooth) [x264] Enabled Trellis with no-cabac option (requires x264 rev 1703+)
- (zathor) [FPSChooser] + [TargetSizeSCBox] fixed custom FPS and file size saving
- (zathor) [LogItem] changed default log type to information
- (zathor) [HDBDStreamExtractor] HdBrStreamExtractor.txt not created anymore
- (zathor) [HDStreamExtractorIndexer] improved log handling
- (zathor) [JobQueue] fixed load context menu option. Bug #3024349
- (zathor) [MuxWindow] language and video name will be visible during load. Bug #3024349
- (zathor) [JobQueue] enhanced load handling
- (zathor) [MeGUISettings] + [UpdateWindow] + [VobSubIndexer] added vobsub.dll
- (zathor) [VobSubIndexWindow] some cosmetics including option to override detection
- (zathor) [IFOparser] fixed detection of subtitle streams. Bug #2773128
- (zathor) [VideoPlayer] fixed "go to frame" button. Bug #2860093
- (zathor) [HDStreamExtractor] some features could not be extracted. Bug #3037750
- (zathor) [JobQueue] renamed "load" to "edit"
- (zathor) [FileIndexer] changed supported file type detection
- (zathor) [OneClickWindow] + [MainForm]. Only supported files can be used in OneClick. Bug #3032668

flebber
9th September 2010, 15:18
Thats a great update, really giving MeGui some more power.

Especially sweet as
- (zathor) [FileIndexer] changed supported file type detection
File Indexer now copes with so much including FLV by default very cool.

Chumbo
9th September 2010, 23:51
Thats a great update, really giving MeGui some more power.

Especially sweet as
- (zathor) [FileIndexer] changed supported file type detection
File Indexer now copes with so much including FLV by default very cool.
+1. I couldn't agree more. Many thanks. :)

WorBry
10th September 2010, 00:52
@WorBry: sorry for the delay. i've added you suggested values in Force SAR dropdown. They will be there in the next build.

No problem :) It was just a suggestion for folks who want custom SAR values. The 'standard' preset values meet my needs.

I see you've added 8:9 and 32:27 sar values in 0.3.5.9. Actually it was Lyle_JP who requested this:

http://forum.doom9.org/showthread.php?p=1419923#post1419923

I was under the impression that you were intending to add a text box for entering custom SAR values. Like I said, no big deal for me, and it's easy enough to edit the SAR in the command line anyway.

Sharktooth
10th September 2010, 02:51
yes, sorry. i confused the posts.
however adding a box is really useless coz if you want to specify a custom SAR you can enter it in the custom commandline options.

Capsbackup
10th September 2010, 05:37
Could an Ipad preset be included in the next presets update?
I find it is very convenient to just select a preset, knowing someone with much more experience and knowledge has developed it and included the proper parameters.

Sharktooth
10th September 2010, 12:35
i will try to find the info needed to make a preset

Chumbo
10th September 2010, 14:33
0.3.5.9
- (sharktooth) [MainForm.cs] Added a big fat warning about patents and binary files when megui finds updates
...
Not a big deal, but noticed "proceed" is misspelled as "proced" in the dialog.

Sharktooth
10th September 2010, 14:39
will fix

Zathor
10th September 2010, 20:06
0.3.5.10
- (sharktooth) [x264] Added 64:45 SAR option
- (sharktooth) [MainForm.cs] Typo
- (zathor) [Settings] added option for DGIndex(NV) to autoload VOB files
incrementally. Default value is enabled. Feature request #2955909
- (zathor) [Settings] added option to close MeGUI after encoding.
Default value is still "Do nothing". Feature request #2954099
- (zathor) [Settings] added option start the queue at program start.
Default value is disabled. Feature request #1908749
- (zathor) [JobUtil] display overwrite confirmation dialog for the output file
during initial job creation if it is necessary. Feature request #3022005
- (zathor) [OneClickEncoder] added support for DGIndexNV and DGAVCIndex

Especially the last one is maybe introducing new problems. Please test the OneClick encoder not only with the new files (e.g. mkv if DGIndexNV is available) but also the old functions.

Chumbo
10th September 2010, 21:42
will fix
Don't forget "proced" in "proceding" too. ;)

Sharktooth
11th September 2010, 03:40
the only typo i found was "proceding" fixed in "proceeding"

Chumbo
11th September 2010, 15:06
the only typo i found was "proceding" fixed in "proceeding"
I probably had an old version, but both "proced" and "proceding" are now fixed in the latest I just grabbed. :)

RyaNJ
11th September 2010, 20:03
I'd like to make a request for some extra items to be added into the mkv muxing window, maybe to allow us to add covert art and stuff added?

It shouldn't be to tricky to add considering you guys look like you've got most of the stuff there already :)

Chouonsoku
12th September 2010, 01:21
Maybe I'm doing something wrong (I don't think so though) but the Force SAR option isn't working correctly for me. I'm trying to use it to encode some DVDs and setting the box to 10:11 is causing some odd anomalies. --sar 10:11 will show up in the command line on the Config menu, but once the encode starts:

Job commandline: "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe" --level 4.1 --crf 18 --deblock -3:-3 --bframes 16 --b-adapt 2 --ref 5 --no-mbtree --cqm "jvt" --merange 24 --me tesa --direct auto --subme 10 --partitions all --trellis 2 --no-dct-decimate --no-fast-pskip --psnr --ssim --sar 10:11 --sar 48600:52129 --output "D:\Video\TV\Yu-Gi-Oh!\YUUGIOU_1\01\01.mkv" "D:\Video\TV\Yu-Gi-Oh!\YUUGIOU_1\01\01.avs"

So the video gets encoded with that funky sar value instead of 10:11. In the three proceeding encodes, it read "--sar 10:11 --sar 1:1". Obviously I've gotten around this by just using the custom command line, but it's sort of a weird error.

Zathor
12th September 2010, 01:47
Thanks for the report. It has been fixed yesterday:
http://megui.svn.sourceforge.net/viewvc/megui?view=revision&revision=1737
And will be included in the next build.

Zathor
12th September 2010, 13:57
0.3.5.11
- (zathor) [x264] fixed more than one --sar in the command line. Bug #3038722
- (zathor) [MuxWindow] added a unique title to every mux window. Feature request #2937578
- (zathor) [MuxWindow] added a shortcut to every mux window. Feature request #1868046
- (zathor) [VideoUtil] fixed a problem if two identical audio sources
are beeing used in OneClick
- (zathor) [AutoUpdateServerConfigWindow] new servers will be checked during add
- (zathor) [Settings] hard-wired the stable & development update servers.
custom servers can be added if required
- (zathor) fixed custom FPS, AR and file size saving so that
only manually added values will be saved permanently. Bug #3064654

Guest
12th September 2010, 14:06
Hi Zathor,

I had an email:

I have another question. I know MeGUI isnt your app. But I have a problem with MeGUI and DGDecNV 2024 and 2026. When trying to make an avs-script with megui, it gives me error that its unable to load DGMultiDecodeNV.dll . I understand perfectly why it says that, since DGMultiDecodeNV.dll is now called DGDecodeNV.dll. But is there any way to fix this?

I suggested that he can just rename the DLL.

Is this something that needs attention in MeGUI?

Thank you.

Zathor
12th September 2010, 14:11
I assume that he is using the stable build of MeGUI (0.3.5.0) and this build does not support the newer changes within DgIndexNV as it is still using 2013.

As a workaround he should switch to the development update server or wait a little bit for the next stable build.

Guest
12th September 2010, 14:15
Great, thank you.

Zathor
12th September 2010, 21:18
0.3.5.12
- (zathor) [FileIndexer] disable DGIndexNV in a RDP session
- (zathor) [VidePlayerControl] added new control to speed up
video navigation. Patch by aKzenT (#1902576)
- (zathor) [VidePlayer] some cosmetics
- (zathor) [VidePlayer] added option to reload the video. Feature request #3003709

Dal
13th September 2010, 18:58
Dal, it should be saving your sizes. I'm debugging it now. I looks like this issue is with the settings serialization.
This works again now, thank you very much!

saint-francis
15th September 2010, 03:59
Any thoughts on updating the denoisers in MeGUI? I think that most people these days have processors fast enough to accomplish in 1/2 the time with MCTemporalDenoise what used to be done with the MeGUI selection of denoisers. Just a simple MCTemporalDenoise (settings="medium") would probably be fine. The script seems to be fairly robust as many people use it all the time and as far as I know it's x64 compatible also. What about also adding some sharpening? MCTD has some of these features but something like LSFMod could quite easily be introduced. Maybe just toss a (SLOW) comment in there after the option.

Sharktooth
15th September 2010, 04:34
please post you request in the feature request tracker in the megui project page on sourceforge.

Sharktooth
15th September 2010, 04:41
i started working on the commandline generation to fix the bugs when using the preset and/or tunings options...
it may require a while but it's needed...
i realized we cant tag the next build as stable without those fixes. plus some tools need to be updated since they're causing problems (mediainfo, mp4box) so... i decided to proceed with that huge seek & fix work.

Lighto
15th September 2010, 19:49
There is something weird with the new queue system.
In the past, jobs are proceed by job number.(job1 then 2 and so on)
While using the latest 0.3.5.12, i got job 2 and job 5 proceeding at the same time.
Both of them are video encoding.

I understand that it's best to make a tracker at sourceforge for bugs for the development team to keep track of it, however I would like to clarify if it's really a bug or some sort of new feature.

Some details :
job 1 - 6 in queue
job 1 & 4 - audio encoding
job 2 & 5 - video encoding
job 3 & 6 - muxing

After I hit the start button, job 1 starts and finish the encode as per normal.
Here's where the problems starts.
Next, job 2 and job 4 starts at the same time.
Job 4 completes first and job 5 starts.
job 2 and job 5 are running together at the same time.

I didn't carry on the job to see what happens next but I would assume that most probably I would see job 5 and job 3 running at the same time or job 3 and 6 running at the same time.

Zathor
15th September 2010, 21:10
I assume you have more than one worker. Can you please check in Wokers\Worker Summary if there is more than one worker?

A finished audio jobs starts other workers if there is some work to do. This has been the workaround for a workaround (somewhere deep in the 0.3.4.x). If more than one audio job is processed at the same time one output file is (very likely) bad. Therefore a worker skips an audio job if there is another one already encoding. To avoid non processed files (which may lead to a complete stopping of the queue processing if there are dependencies) the finished job will start again all other workers.

Could of course be nicer but it is no bug - it's a feature :) If you want it changed then please post in the feature request tracker and describe in which way you want to have it changed.

Dal
15th September 2010, 21:48
0.3.5.12
- (zathor) [FileIndexer] disable DGIndexNV in a RDP session
- (zathor) [VidePlayerControl] added new control to speed up
video navigation. Patch by aKzenT (#1902576)
- (zathor) [VidePlayer] some cosmetics
- (zathor) [VidePlayer] added option to reload the video. Feature request #3003709
Have you changed update server?
I was able to update to 0.3.5.11, but i cannot find the 0.3.5.12 update.

poisondeathray
15th September 2010, 22:03
Have you changed update server?
I was able to update to 0.3.5.11, but i cannot find the 0.3.5.12 update.

http://forum.doom9.org/showpost.php?p=1433992&postcount=5694

Zathor
15th September 2010, 22:35
Have you changed update server?
I was able to update to 0.3.5.11, but i cannot find the 0.3.5.12 update.

Are you sure you are using 0.3.5.11? Because of this change in 0.3.5.11

- (zathor) [Settings] hard-wired the stable & development update servers. custom servers can be added if required
the working servers are built-in and cannot be changed.

Dal
15th September 2010, 22:43
Are you sure you are using 0.3.5.11? Because of this change in 0.3.5.11

- (zathor) [Settings] hard-wired the stable & development update servers. custom servers can be added if required
the working servers are built-in and cannot be changed.

Aah, I just had to set the Auto Update settings to "Use development update server".

Thank you.

Zathor
16th September 2010, 00:51
I assume you have more than one worker. Can you please check in Wokers\Worker Summary if there is more than one worker?

A finished audio jobs starts other workers if there is some work to do. This has been the workaround for a workaround (somewhere deep in the 0.3.4.x). If more than one audio job is processed at the same time one output file is (very likely) bad. Therefore a worker skips an audio job if there is another one already encoding. To avoid non processed files (which may lead to a complete stopping of the queue processing if there are dependencies) the finished job will start again all other workers.

Could of course be nicer but it is no bug - it's a feature :) If you want it changed then please post in the feature request tracker and describe in which way you want to have it changed.

Thought about it, the behavior is confusing so I have changed it. The worker will be postponed if another audio job is running and it will be resumed as soon as the other worker finishes the audio job. The status will be shown in the worker summary.

Lighto
16th September 2010, 03:37
I assume you have more than one worker. Can you please check in Wokers\Worker Summary if there is more than one worker?

A finished audio jobs starts other workers if there is some work to do. This has been the workaround for a workaround (somewhere deep in the 0.3.4.x). If more than one audio job is processed at the same time one output file is (very likely) bad. Therefore a worker skips an audio job if there is another one already encoding. To avoid non processed files (which may lead to a complete stopping of the queue processing if there are dependencies) the finished job will start again all other workers.

Could of course be nicer but it is no bug - it's a feature :) If you want it changed then please post in the feature request tracker and describe in which way you want to have it changed.

Just checked the worker summary, turns out there was around 4 workers that was created when I was messing with it the last time.
After shutting down all the workers, I got it to work the usual way.

Sorry for the false alarm, I am not familiar in the usage of workers and the way they work.:o

Update : My muxing job is stucked at 99%, there may be something wrong with mp4box...
Update 2 : Confirmed that problems lies with mp4box, mux works perfectly fine with Kurtnoise 2010.04.10 while it gets stuck at 99% with 2010.09.10.

Sharktooth
16th September 2010, 18:43
Lighto: if you're using the dev build, let megui auto-update (new mp4box build available 2010-09-16) and check if it works

Sharktooth
17th September 2010, 02:08
tunings and AVC profiles commandline generation has been fixed (at least i hope).
now im going to have a look and fix the presets commandline generation.

Sharktooth
17th September 2010, 02:15
for those using the dev build (0.3.5.12) that want to test the fixes you can download THIS (removed, see edit) test build and extract it into the megui installation folder.
please report any bug you find in commandline generation with tunings or AVC profiles (presets other than medium still produce unoptimal or in some cases wrong commandline).

edit: new build available. check some posts below.

Lighto
17th September 2010, 08:33
Lighto: if you're using the dev build, let megui auto-update (new mp4box build available 2010-09-16) and check if it works

Working now with mp4box 2010.09.16.:)

JoeH
17th September 2010, 08:55
My company recently installed a new web filter / safety program called ZScaler. It's a filter (like Websense) but it works by saving a cookie with the information needed to connect for every program that connects to the Internet. This means that programs that don't allow cookies, or that don't allow the option to connect by means of IE in the background or using IE cookies are not able to get to the Internet. So, at least from my companies computer, MeGUI can't update.

We are looking for workarounds for this problem, but I just wanted to mention it to see if you had any ideas. Regardless, one way I could get around this is if you simply post a full MeGUI with all tools included everytime you do a stable build. I know you have been talking about that as something you wanted to do - so, just letting you know it would be of interest here. Thanks for all your hard work keeping this tool going.

Sharktooth
17th September 2010, 16:57
JoeH, let me see if i can do something for you. If now we will release a full package for the next upcoming stable release.

Sharktooth
17th September 2010, 17:01
new test build: *removed*, use auto-update to get ver 0.3.5.13

JoeH
18th September 2010, 08:36
JoeH, let me see if i can do something for you. If now we will release a full package for the next upcoming stable release.

:thanks::thanks:

Zathor
18th September 2010, 09:33
0.3.5.13
- (sharktooth) [x264Encoder] Removed unnecessary/wrong code
- (sharktooth) [x264] Fixed commandline generation when switching between AVC profiles
- (sharktooth) [x264] Removed touhout tuning option
- (sharktooth) [x264] Fix commandline generation with tunings
- (sharktooth) [x264] Fixed Psy-RD settings commandline generation with certain tunings
- (sharktooth) [VideoPlayer] added a check to stop the player before reloading the video
- (zathor) [Queue] if a worker tries to start an audio job while another
audio job is already running the worker will be postponed.
- (zathor) added overlay icon if a warning or error event has been logged (Windows 7 only)
- (zathor) removed the embedded changelog. instead the changelog.txt will be opened

Underground78
18th September 2010, 09:41
I see there is a 5.6 version of the x264 presets but it is not used in the auto-update, why ?

Sharktooth
18th September 2010, 14:04
try now...

Underground78
18th September 2010, 14:06
try now...

Now it's OK, thank you ! :)

flebber
18th September 2010, 14:38
Seem to have got an error with subs. I loaded an mkv created with MakeMkv. I used File input from HD streams extractor. It errors Bitstream parsing for track 4 failed.

http://i988.photobucket.com/albums/af10/Sayth_Renshaw/megui.png

Sharktooth
18th September 2010, 14:43
HD Stream Extractor uses eac3to to extract streams.
So ask in the eac3to thread (by linking your previous post - read, do not crosspost as per forum rules).

edit: however, you can use MKVExtract to extract tracks from a .mkv file. it is located in the tools\mkvmerge folder

LeXXuz
19th September 2010, 20:54
I could use some help and advice. I have some issues with xvid presets, sar for xvid/x264 and avs script editor. Did an update from .10 to .13 lately and I'm pretty sure that everything worked fine before. Also updated DGIndexNV from 1024 to 1026 (see #3).

1)
XVID presets editor loses custom matrix settings. I can chose a custom matrix, update the profile and enqueue that job (with the custom matrix used in the command line). However, if I load another source file and press the config button for that preset, custom matrix is gone and replaced by standard H.263 matrix.

2)
Problem with aspect ratio. Command lines have aspect ratio settings, I can see that in the log files for the xvid/x264 jobs. There are no custom -par settings in my profile and I don't use anamorphic encodes, so there are no Global x/y variables in my avs script.

example avs:
LoadPlugin("C:\Program Files\MeGUI x64\tools\avisynth_plugin\FluxSmooth_SSE41.dll")
LoadPlugin("C:\Program Files\MeGUI x64\tools\dgindexnv\DGDecodeNV.dll")
DGSource("E:\###.dgi",fieldop=0, resize_w=640, resize_h=272)
AssumeFPS(25)
#crop
#FluxsmoothST(7,7)
#resize
XVID preset settings:
http://img840.imageshack.us/img840/250/xvid.png
resulting XVID commandline:
[Information] Job commandline: "C:\Program Files\MeGUI x64\tools\xvid_encraw\xvid_encraw.exe" -i "E:\###.avs" -single -cq 2.5 -smoother 0 -max_key_interval 250 -quality 4 -vhqmode 2 -qmatrix "C:\Program Files\MeGUI x64\extra\eqm_v3ulr_rev3.xcm" -lumimasking -imin 1 -pmin 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -par 272:351 -threads 2 -avi "E:\###.avi" -vbvmax 4854000 -vbvsize 3145728 -vbvpeak 2359296

Same with x264 settings:
http://img830.imageshack.us/img830/7379/x264.png
resulting x264 commandline:
[Information] Job commandline: "C:\Program Files\MeGUI x64\tools\x264\x264_64.exe" --level 4.1 --tune film --crf 18.0 --bframes 5 --ref 10 --vbv-bufsize 30000 --vbv-maxrate 40000 --partitions all --trellis 2 --no-fast-pskip --sar 351:351 --output "E:\###.mp4" "E:\###.avs"


Also can't find anything about par/sar in the xml profile files.

Where do the -par / --sar x:y parameters come from :confused:

3) Problem with AVS script creator. Importing .dgi files (source for dgi is mkv with AVC), the aspect ratio setting is wrong. On the older versions, I think it was 3.5.10 and before,DAR always was x/y as it should since PAR of the source material is 1:1. Now it's set to either 16:9 PAL or 16:9 NTSC. This ofcourse confuses the auto resize function.

I remember discussing DAR information for dgi files in the DGindexNV thread, but this was about DVDs as source file. Back then Meguis script generator did not use the correct DAR (16:9 PAL or 4:3 PAL) for those dgi files but DAR of 1,25 (720/576). Maybe Donald changed something which now confuses MeGUI to use 16:9 PAL even for source files with 1:1 PAR (like the AVC file mentioned before).

See this picture. The source is a dgi file of a Matroska file with AVC video. It's an encode I made earlier this year. The source resolution is 1920x816. Megui wants to resize it to 1488x816 because of wrong DAR:
http://img3.imageshack.us/img3/5662/avscreator.th.png (http://img3.imageshack.us/i/avscreator.png/)

EDIT:

Okay, just found out, it seems to be the preview window causing all that trouble. When I load an avs file as source, the DAR is set to 16:9 PAL in the preview window. I have to set it manually back to x/y and the -par is corrected to 1:1.

NEVER had to this before, so I never cared about the DAR settings in the preview window when loading a source file. :o

Is this intended to work that way and now I have to set the correct PAR myself for any file I load as source?

flebber
19th September 2010, 22:07
HD Stream Extractor uses eac3to to extract streams.
So ask in the eac3to thread (by linking your previous post - read, do not crosspost as per forum rules).

edit: however, you can use MKVExtract to extract tracks from a .mkv file. it is located in the tools\mkvmerge folder Similar response in eac3to thread to your response shrktooth.

http://forum.doom9.org/showthread.php?p=1444213#post1444213

eac3to is unable to extract properly vobsub from mkv
(that why in HDC now i use mkvextract...)

BHH

I can also use the fileindexer tool but the only issue is that I would loose the chapters. Could file indexer have an option to enablle subs and chapters maybe? Maybe an option to remux in mkv to enable extraction in Megui. Request here https://sourceforge.net/tracker/?group_id=156112&atid=798479

Zathor
20th September 2010, 00:29
@LeXXuz: I can confirm at least problem #3. No time yet to dig deeper into it. Will do it tomorrow.

LeXXuz
20th September 2010, 01:00
@LeXXuz: I can confirm at least problem #3. No time yet to dig deeper into it. Will do it tomorrow.

Thanks Zathor. Take your time. :)

#2 is directly related to that. If I set DAR in the preview window manually I can avoid this problem.

Never realized that these parameters were added to the commandline for non anamorphic encodes. Has this recently been added to compensate for small errors of the mod16 resize? Or was I just blind all the time? :o

Some other thing: is it possible that Megui saves any changes made to its profiles immediately and not when exiting the program?

If you edit profiles and Megui crashes for any reason during your work, you lose all changes made since the last startup.

doc_dvxm
20th September 2010, 02:35
Hi guys.

Firstly, I want to say that I am very happy that Bitrate Calculator tool is now more usefull from the past - Now it's enough to enter the desired custom filesizes and it remember the values entered:)

Btw, I don't know when it started exactly, but after last changes, meGUI don't save the quantitization type matrices entered on the XviD and x264 profiles (like eqm_v3hr.xcm & prestige.cfg).

Is it bug or is it planned?

Thanx in advance....

doc

LeXXuz
20th September 2010, 13:13
Btw, I don't know when it started exactly, but after last changes, meGUI don't save the quantitization type matrices entered on the XviD and x264 profiles (like eqm_v3hr.xcm & prestige.cfg).


Same here. See #1 of my post above. And I guess this is a bug in the profile editor.

Zathor
20th September 2010, 13:14
0.3.5.14
- (zathor) fixed AR chooser displaying always 16:9 PAL
e.g. in VideoPlayer or AVS Script Creator
- (zathor) fixed saving of custom quantizer matrices in x264/xvid profiles. Bug #3070834

@LeXXuz/doc_dvxm: Thanks for your reports. Please report back if the problems are solved.

Is it possible that Megui saves any changes made to its profiles immediately and not when exiting the program?
If you edit profiles and Megui crashes for any reason during your work, you lose all changes made since the last startup.

That is also true for the log files and parts of the jobs. I agree that this is annoying and should be changed. Nevertheless that’s the way it is designed now and it would require some more work to change it. In my opinion this time is better spend in other parts of MeGUI.
I'm unsure if there is already a feature request for these things. If not please create a feature request.

LeXXuz
20th September 2010, 13:30
Wow that was fast. Thanks Zahtor for that quick fix. :)

I'll give it a try asap and report back.

As for saving the profiles I had a feeling that this will be quite some work to change this. It is quite annoying, but I agree that there are more important things to do. Maybe there is time for this in the future.

EDIT:
Excellent. Custom matrices stay in the profiles and the AR problems are gone, too. Thank you! :)

doc_dvxm
20th September 2010, 19:22
Wooooow... So fast and clean :)

Thanx Zathor...

Really appreciated :)

Lighto
21st September 2010, 17:28
While re-encoding a video with 6 channel audio, I could not downmix the audio to stereo with both FAAC and Nero AAC.
I tried with both the latest development build and latest stable build, the same problem occurs.
In the end I could only successfully downmix to stereo audio with RipBot.

Please advise on where the problem may lie.:thanks:

Zathor
21st September 2010, 22:10
0.3.5.15
- (zathor) fixed status overlay icon not showing up
- (zathor) [VideoPlayer] fixed playing last frame. Bug #3072660

While re-encoding a video with 6 channel audio, I could not downmix the audio to stereo with both FAAC and Nero AAC.
I tried with both the latest development build and latest stable build, the same problem occurs.:
Do you get an error message? Please post the log and more details about the file.

saint-francis
22nd September 2010, 03:05
please post you request in the feature request tracker in the megui project page on sourceforge.

Done (https://sourceforge.net/tracker/?func=detail&aid=3073085&group_id=156112&atid=798479).

If anyone has any time for anything aside from bug squashing and can look into this, I'm sure the community would be happy. If you need a MCTD script please just use:

MCTemporalDenoise (settings = "medium")

If the devs get more anxious we can grow from there.

Thanks for all the hard work on MeGUI. The work of (all) the developers is greatly appreciated by the community. You have made one of the best (no rule 13 strike please!) GUI's to date.

And again, please set up a donation function on SF. Over the years there have been many times when I have had exra money and would have loved to give back.

Emp3r0r
22nd September 2010, 04:27
I love how much faster the video seeking is! :thanks:

Also, Zathor, can you add these two common AR in the following code:


public static readonly Named<Dar>[] ARs = new Named<Dar>[] {
new Named<Dar>("ITU 16:9 PAL (1.823361)", Dar.ITU16x9PAL),
new Named<Dar>("ITU 4:3 PAL (1.367521)", Dar.ITU4x3PAL),
new Named<Dar>("ITU 16:9 NTSC (1.823169)", Dar.ITU16x9NTSC),
new Named<Dar>("ITU 4:3 NTSC (1.367377)", Dar.ITU4x3NTSC),
new Named<Dar>("4:3 (1.333333)", Dar.STATIC4x3),
new Named<Dar>("16:9 (1.777778)", Dar.STATIC16x9),
new Named<Dar>("Film Common (1.85:1)", new Dar(1.85m)),
new Named<Dar>("Film Widescreen (2.39:1)", new Dar(2.39m)),
new Named<Dar>("1:1", Dar.A1x1) };

Lighto
22nd September 2010, 05:39
0.3.5.15
- (zathor) fixed status overlay icon not showing up
- (zathor) [VideoPlayer] fixed playing last frame. Bug #3072660


Do you get an error message? Please post the log and more details about the file.
Mediainfo of audio before re-encode
Audio
ID : 1
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : 2000
Duration : 59mn 55s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 192 MiB (27%)
Alignment : Split accross interleaves
Interleave, duration : 42 ms (1.00 video frame)
Interleave, preload duration : 500 ms

Mediainfo of audio after re-encode using Nero AAC: NDAAC-LC-64Kbps which is set to downmix multi-channel to stereo by default.
Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 59mn 55s
Bit rate mode : Variable
Bit rate : 63.8 Kbps
Maximum bit rate : 107 Kbps
Channel(s) : 5 channels
Channel positions : Front: L C R, Side: L R
Sampling rate : 48.0 KHz
Stream size : 27.3 MiB (98%)
Encoded date : UTC 2010-09-22 04:12:53
Tagged date : UTC 2010-09-22 04:18:20

Log of MeGUI
[Information] Log
-[Information] Versions
--[Information] MeGUI Version : 0.3.5.15
--[Information] OS : Windows Seven x64 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 3.5 SP1 (3.5.30729.4926)
--[Information] Avisynth Version : 2.5.8.5
-[Information] Log for job1 (audio, Liar Game The Final Stage CD1.avi -> Liar Game The Final Stage CD1.m4a)
--[Information] [22/9/2010 12:12:51 PM] Started handling job
--[Information] [22/9/2010 12:12:51 PM] Preprocessing
--[Information] Avisynth script
---[NoImage] AVISource("C:\Liar Game The Final Stage\Liar Game The Final Stage CD1.avi", audio=true)
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] Trim(0,0)
---[NoImage] 6<=Audiochannels(last)?x_stereob042e83eff61405c99a7f8516fa482d4(ConvertAudioToFloat(last)):last
---[NoImage] Normalize()
---[NoImage] return last
---[NoImage] function x_stereob042e83eff61405c99a7f8516fa482d4(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] c = GetChannel(a, 3)
---[NoImage] lfe = GetChannel(a, 4)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
---[NoImage] c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
---[NoImage] r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
---[NoImage] r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
--[Information] Commandline used: -ignorelength -lc -br 64000 -if - -of "{0}"
--[Information] [22/9/2010 12:12:51 PM] Encoding started
--[Information] [22/9/2010 12:12:51 PM] Encode thread started
--[Information] [22/9/2010 12:12:51 PM] Avisynth script environment opened
--[Information] [22/9/2010 12:12:52 PM] Script loaded
--[Information] Output Decoder
---[Information] Channels: 5
---[Information] Bits per sample: 16
---[Information] Sample rate: 48000
--[Information] Commandline: C:\Users\Lenovo\Desktop\MeGUI_0.3.5_x86_WithoutInstaller_OfflinePackage\neroAacEnc.exe -ignorelength -lc -br 64000 -if - -of "C:\Liar Game The Final Stage\Liar Game The Final Stage CD1.m4a"
--[Information] [22/9/2010 12:12:53 PM] Encoder process started
--[Information] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2009 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Feb 18 2010 *
---[NoImage] * Package version: 1.5.4.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] [22/9/2010 12:18:20 PM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [22/9/2010 12:18:20 PM] Job completed



It would seems that the audio was only down-mixed to 5 channel.

shroomM
22nd September 2010, 09:09
Am I the only one who can't deselect CABAC in the configuration dialog ?

tebasuna51
22nd September 2010, 12:34
...
It would seems that the audio was only down-mixed to 5 channel.

The downmix function isn't activated when audio have less than 6 channels:
6<=Audiochannels(last)?x_stereo...:last

Then, or MediaInfo report is wrong or AviSource only output 5 channels.

If the problem is only with this avi file try extract the ac3 file ( AVIMuxGUI, VirtualDubMod, ...) and use the ac3 like audio input file for MeGUI (now the decoder must be NicAC3Source).

If you get 5 channels another time (then MediaInfo report is wrong) use like audio input file for MeGUI an .avs like this (replace path's and name):
LoadPlugin("c:\megui_path...\tools\avisynth_plugin\NicAudio.dll")
NicAc3Source("C:\path\name.ac3", 2)
Normalize()

Sharktooth
22nd September 2010, 12:56
Am I the only one who can't deselect CABAC in the configuration dialog ?
cabac is disabled if fast decode tuning or baseline profile are selected.

Lighto
22nd September 2010, 16:56
The downmix function isn't activated when audio have less than 6 channels:
6<=Audiochannels(last)?x_stereo...:last

Then, or MediaInfo report is wrong or AviSource only output 5 channels.

If the problem is only with this avi file try extract the ac3 file ( AVIMuxGUI, VirtualDubMod, ...) and use the ac3 like audio input file for MeGUI (now the decoder must be NicAC3Source).

If you get 5 channels another time (then MediaInfo report is wrong) use like audio input file for MeGUI an .avs like this (replace path's and name):
LoadPlugin("c:\megui_path...\tools\avisynth_plugin\NicAudio.dll")
NicAc3Source("C:\path\name.ac3", 2)
Normalize()

Extracted the ac3 audio and the re-encoded output is fine.
I would like to know if it's possible to extract the audio stream with MeGUI.
Also, is it feasible to make the extraction of audio stream part of the standard steps to go through when one open a file in MeGUI?
Currently, when you open a media file with MeGUI it will go through these events.
1. Indexing
2. AVS Script Creating
3. MeGUI place AVS Script into input
4. User selects audio input (in most case, user will select video file)
5. User uses Auto Encode

Will it be feasible to change it to this.

1. Indexing
2. AVS Script Creating
3. MeGUI place AVS Script into input
4. User selects audio input
5. If user selects a video file as a audio input, MeGUI will extract the audio stream and place the extracted audio file into the audio input.
6. User uses Auto Encode
7. MeGUI completes encode
8. MeGUI permanently deletes AVS and extracted audio file from system.

Or follow what RipBot264 does.

1. Indexing and extraction of all streams from the source
2. AVS Script Creating
3. MeGUI place AVS Script into input
4. MeGUI place extracted audio file into audio input
5. User uses Auto Encode
6. MeGUI completes encode
7. MeGUI permanently deletes AVS, extracted audio and extracted subtitle file from system.

Or simply include a tool to extract audio stream from .avi

shroomM
23rd September 2010, 07:13
cabac is disabled if fast decode tuning or baseline profile are selected.

I can't UNcheck it (as in, enable the --no-cabac option).

The checkbox is not grayed or anything, just when I click it, the check doesn't disappear.

EDIT:
0.3.5.13 broke it, 0.3.5.12 works OK.

EDIT2:
Don't know if this is the right place to be posting this, but FWIW, commenting the lines 1713 and 1733 in x264ConfigurationPanel.cs fixed the issue.

Sharktooth
23rd September 2010, 14:11
shroomM, please post the screenshots (all tabs) of the x264 preset config. its probably a bug but i need to know how to trigger it.

edit: ok, found it & fixed. removing/commenting out those lines is not the correct solution. check the svn for details.

Sharktooth
23rd September 2010, 16:04
Extracted the ac3 audio and the re-encoded output is fine.
I would like to know if it's possible to extract the audio stream with MeGUI.
Also, is it feasible to make the extraction of audio stream part of the standard steps to go through when one open a file in MeGUI?
Currently, when you open a media file with MeGUI it will go through these events.
1. Indexing
2. AVS Script Creating
3. MeGUI place AVS Script into input
4. User selects audio input (in most case, user will select video file)
5. User uses Auto Encode

Will it be feasible to change it to this.

1. Indexing
2. AVS Script Creating
3. MeGUI place AVS Script into input
4. User selects audio input
5. If user selects a video file as a audio input, MeGUI will extract the audio stream and place the extracted audio file into the audio input.
6. User uses Auto Encode
7. MeGUI completes encode
8. MeGUI permanently deletes AVS and extracted audio file from system.

Or follow what RipBot264 does.

1. Indexing and extraction of all streams from the source
2. AVS Script Creating
3. MeGUI place AVS Script into input
4. MeGUI place extracted audio file into audio input
5. User uses Auto Encode
6. MeGUI completes encode
7. MeGUI permanently deletes AVS, extracted audio and extracted subtitle file from system.

Or simply include a tool to extract audio stream from .avi
long post short answer. audio cant be automatically selected for input coz source file could have more than one audio track and megui cant know which one to select for encoding. about the video selected for audio... well... i will refrain to write what im thinking or i could offend someone... however i'll add some restrictions to supported audio formats in the audio input dialog.

Lighto
23rd September 2010, 16:45
long post short answer. audio cant be automatically selected for input coz source file could have more than one audio track and megui cant know which one to select for encoding. about the video selected for audio... well... i will refrain to write what im thinking or i could offend someone... however i'll add some restrictions to supported audio formats in the audio input dialog.

When I open a .rmvb with MeGUI, it automatically uses the .rmvb as the audio input. It works but from the way you're saying I guess it isn't the correct way.:o

As such will it be possible to extract audio stream using tools provided in MeGUI?

Thank you for your time.:thanks:

Nightshiver
23rd September 2010, 16:59
Bug Report:

When I muxed my finished .mp4 with .ac3 audio, the mp4 muxer doubled the amount of video in the final output. Essentially, it was the same episode but 2 times in the same container. The original .mp4 file and .ac3 file are fine and correct on their own, but when joined it created this problem.

Sharktooth
23rd September 2010, 17:01
probably a mp4box problem

shroomM
23rd September 2010, 19:19
Sharktooth - I can confirm the bug being fixed. Thanks!

Nightshiver
23rd September 2010, 20:06
probably a mp4box problem

If it's not fixable by MeGUI dev's, is there a way for me to post this/get in touch with the mp4box dev?

Sharktooth
23rd September 2010, 20:13
let me investigate first.
however, try with YAMB (use the mp4box binary that is in your megui\tools\mp4box folder) and see if you get the same "doubled" result.

Nightshiver
23rd September 2010, 21:25
I tried YAMB, but YAMB won't import AC3 audio.

Kurtnoise
23rd September 2010, 22:20
this is wrong...use the last beta release.


btw, I just tried to mux an AVC + AC3 streams (+20Go as filesize result) w/ my own build. No problem so far...

Nightshiver
23rd September 2010, 22:32
You mean the beta release of mp4box from your site?

http://kurtnoise.free.fr/mp4tools/

If so, the beta mp4box didn't work either.

Sodgawd
24th September 2010, 01:27
@Sharktooth -- with the Yamb (2.1.0.0 beta 2 release) with the latest mp4box (distributed with MeGUI update) does not "double" the video time when avc + m4a (aac) + ac3 muxed. MeGui muxes the MP4 just fine with m4a (aac), but with ac3, the video portion is "doubled."

@Kurtnoise -- I have yet to try out you builds of MP4box from your website.

EDIT -- When muxed in MeGui with Kurtnoise's MP4Box build (32-bit), no "doubling" of the video. :) Hope this helps.

Nightshiver
24th September 2010, 03:14
Just tried that as well and it still doesn't work. I even uninstalled MeGUI and re-installed.

Muxer >> Mp4 Muxer >> Video Source is test1.mp4 >> audio source is mono.ac3 >> queue >> Start >> messed up end result.

I copied over everything in Kurtnoise's mp4box build into the MeGUI one, replacing everything as needed.

Kurtnoise
24th September 2010, 08:35
Could you post your logfile please...

Maybe, it's due to the mono track. I'll try that later.

rohn
24th September 2010, 08:53
Can you support *.dgi files from DGAVCDecDI ?

I get an error about missing DEDecodeNV.dll when opening them in the Avi synth script creator.

Lighto
24th September 2010, 09:23
long post short answer. audio cant be automatically selected for input coz source file could have more than one audio track and megui cant know which one to select for encoding. about the video selected for audio... well... i will refrain to write what im thinking or i could offend someone... however i'll add some restrictions to supported audio formats in the audio input dialog.

When I open a .rmvb with MeGUI, it automatically uses the .rmvb as the audio input. It works but from the way you're saying I guess it isn't the correct way.:o

As such will it be possible to extract audio stream using tools provided in MeGUI?

Thank you for your time.:thanks:

Hey Sharktooth, I gone through some MeGUI youtube tutorials and realized I didn't get the desired result cause I ain't doing it right.

I changed the AVS Script from using AVISource to DirectShowSource and set the audio to true.
Then I used the AVS Script as both the video and audio input and got my desired output.:D

I would like to take this chance to apologize for the nuisance I have been to the development team.:o

Sharktooth
24th September 2010, 13:16
not a nuissance. you made your point clear and we definatly can improve that part.
next week ill finish committing the changes to x264 presets and im going to look at how to improve the workflow.

Sharktooth
24th September 2010, 13:17
Can you support *.dgi files from DGAVCDecDI ?

I get an error about missing DEDecodeNV.dll when opening them in the Avi synth script creator.
we'll see what we can do

Lighto
25th September 2010, 14:00
You mean the beta release of mp4box from your site?

http://kurtnoise.free.fr/mp4tools/

If so, the beta mp4box didn't work either.

Kindly update the version of MP4Box in MeGUI to the latest 2010-9-21 version, developers.
:thanks:

Sharktooth
26th September 2010, 16:35
ill do it tomorrow

stax76
26th September 2010, 17:00
long post short answer. audio cant be automatically selected for input coz source file could have more than one audio track and megui cant know which one to select for encoding.

I have a little bit experience with automation ;) , on a German system the user likely wants the German track, if there are multiple audio streams in a container without language info, you can use the original stream order.

yetanotherid
27th September 2010, 09:43
I've been using MeGUI to convert a few MKV files lately, usually containing x264 and AC3. If I try to convert one which was muxed using MKVToolnix, DGIndex usually locks up and FFMSIndex either does the same stops with an error. Most non-MKVToolnix muxed MKVs are fine. Anyone else come across this themselves?

Edit. When I say "convert" I meant re-encode. Usually to fix cropping issues or to make a standard definition copy.

Kurtnoise
27th September 2010, 10:58
I have a little bit experience with automation ;) , on a German system the user likely wants the German track, if there are multiple audio streams in a container without language info, you can use the original stream order.
How the stream order can give you the stream # that the user wants to extract ?

I've been using MeGUI to convert a few MKV files lately, usually containing x264 and AC3. If I try to convert one which was muxed using MKVToolnix, DGIndex usually locks up and FFMSIndex either does the same stops with an error. Most non-MKVToolnix muxed MKVs are fine. Anyone else come across this themselves?

Edit. When I say "convert" I meant re-encode. Usually to fix cropping issues or to make a standard definition copy.
update your ffmpegsource...might be due to the header compression.

stax76
27th September 2010, 11:24
How the stream order can give you the stream # that the user wants to extract ?

Most important tracks are likely on top so you would just use the first one but it's a rare scenario since for DVD and Blu-ray there is language info, MKV usually too and DVB has usually just one track.

Kurtnoise
27th September 2010, 12:34
What's happen in your scenario when a mkv has 3 german audio tracks (say, 5.1/2.0/Director's comments) and the user wants only the last one ?

stax76
27th September 2010, 13:40
Maybe not the most natural scenario. ;)

I've not yet found a way to read the users mind nor did I add any option to handle such unusual task so the user has to perform this manually.

Kurtnoise
27th September 2010, 14:53
Create a popup window when you detect more than one audio tracks in your input (can be done easily w/ MediaInfo).

Put this as textbox : "Your <inputfilename> contains more than one audio streams. Which one would like to encode ?"

Add a combox for all audio tracks with [#xx - Language - Audio Format - Channels Nb ] as template.

where #xx is the stream number. This implies to use FFMS iirc...And almost users will be happy.

zmaster
27th September 2010, 15:28
Kindly update the version of MP4Box in MeGUI to the latest 2010-9-21 version, developers.
:thanks:I'd like to disappear in this version of the problem with hanging muxing AVC with a resolution of 848x480 and AAC streams in a format mp4.
I tested it, Yamb no multiplexes too. Most likely the problem is mp4box (version dated 2010.09.16)
I am waiting for when the update becomes available. :/

Kurtnoise
27th September 2010, 15:35
:logfile: :rolleyes:

zmaster
27th September 2010, 16:01
The problem is this: the process of multiplexing stops at 99% and beyond is an endless nothing doing. Therefore it is necessary to click on the abolition of the multiplex, to complete the process, which is reflected in the log:
[22:40:14] : Yamb 2.1.0.0 beta 2 запущено !!!
[22:40:14] : определяю тип операционной системы...Windows XP Professional x86 (version 5.1, Build 2600 : Service Pack 2)
[22:40:14] : MP4Box найден... C:\Program Files\megui\tools\mp4box\MP4Box.exe
[22:40:14] : MKVextract found...C:\Program Files\megui\tools\mkvmerge\mkvextract.exe
[22:40:14] : EAC3to found...C:\Program Files\megui\tools\eac3to\eac3to.exe
[22:41:06] : Test480p.264 loaded.
[22:41:18] : testAAC.aac loaded.
[22:41:21] : Creation of Test480p.mp4...
[22:41:21] : Command Line used for Creation : "C:\Program Files\megui\tools\mp4box\MP4Box.exe" -add "C:\Test480p.264:fps=29.970" -add "C:\testAAC.aac" -itags tool="Yamb 2.1.0.0 [http://yamb.unite-video.com]" "C:\Test480p.mp4"
[22:41:21] : File saved in C:\
[22:41:21] : Importing AVC Stream...
[22:45:27] : Creation aborted.
[22:45:27] : Total Time Elapsed...04 min 06 secs
[22:45:32] : Yamb 2.1.0.0 beta 2 closed.

And the logfile from MeGUI:

[Information] Log
-[Information] Versions
--[Information] MeGUI Version : 0.3.5.15
--[Information] OS : Windows XP Professional x86 SP2 (5.1.131072.2600)
--[Information] Latest .Net Framework installed : 3.0 (3.0.04506.30)
--[Information] Avisynth Version : 2.5.8.5
-[Information] Log for job1 (mux, Test480p.264 -> Test480p-muxed.mp4)
--[Information] [28.09.2010 1:47:50] Started handling job
--[Information] [28.09.2010 1:47:50] Preprocessing
--[Information] Job commandline: "C:\Program Files\megui\tools\mp4box\mp4box.exe" -add "C:\Test480p.264:fps=29.97" -add "C:\testAAC.aac" -tmp C:\ -new "C:\Test480p-muxed.mp4"
--[Information] [28.09.2010 1:47:50] Muxing started
--[Information] Standard output stream: AVC-H264 import - frame size 848 x 480 at 29.970 FPS
--[Information] Standard error stream
--[Information] Deleting aborted output
---[Information] Delete aborted ouptut set: True
---[Information] File to delete: C:\Test480p-muxed.mp4
---[Information] [28.09.2010 1:51:43] File deleted
--[Information] [28.09.2010 1:51:43] Job completed
--[Information] [28.09.2010 1:51:43] Current job was aborted

I noticed this problem only with video with resolution 848x480, 480x270 video such as multiplexed correctly (It certainly does not mean that the problem only with 848x480 video, I just noticed it with the source).
By the way, the problem with multiplexed appeared after updating mp4box before that my version.
P / s: I'm using mp4box x86.
P / ss: Sorry, my English - Translation of Google.

AMED
29th September 2010, 08:30
Is there any chance of getting FLAC added to the supported audio files list for the Adaptive Muxer when using mkv?

http://i53.tinypic.com/na8l.png

Kurtnoise
30th September 2010, 15:49
The problem is this: the process of multiplexing stops at 99% and beyond is an endless nothing doing. Therefore it is necessary to click on the abolition of the multiplex, to complete the process, which is reflected in the log:
[22:40:14] : Yamb 2.1.0.0 beta 2 запущено !!!
[22:40:14] : определяю тип операционной системы...Windows XP Professional x86 (version 5.1, Build 2600 : Service Pack 2)
[22:40:14] : MP4Box найден... C:\Program Files\megui\tools\mp4box\MP4Box.exe
[22:40:14] : MKVextract found...C:\Program Files\megui\tools\mkvmerge\mkvextract.exe
[22:40:14] : EAC3to found...C:\Program Files\megui\tools\eac3to\eac3to.exe
[22:41:06] : Test480p.264 loaded.
[22:41:18] : testAAC.aac loaded.
[22:41:21] : Creation of Test480p.mp4...
[22:41:21] : Command Line used for Creation : "C:\Program Files\megui\tools\mp4box\MP4Box.exe" -add "C:\Test480p.264:fps=29.970" -add "C:\testAAC.aac" -itags tool="Yamb 2.1.0.0 [http://yamb.unite-video.com]" "C:\Test480p.mp4"
[22:41:21] : File saved in C:\
[22:41:21] : Importing AVC Stream...
[22:45:27] : Creation aborted.
[22:45:27] : Total Time Elapsed...04 min 06 secs
[22:45:32] : Yamb 2.1.0.0 beta 2 closed.

And the logfile from MeGUI:

[Information] Log
-[Information] Versions
--[Information] MeGUI Version : 0.3.5.15
--[Information] OS : Windows XP Professional x86 SP2 (5.1.131072.2600)
--[Information] Latest .Net Framework installed : 3.0 (3.0.04506.30)
--[Information] Avisynth Version : 2.5.8.5
-[Information] Log for job1 (mux, Test480p.264 -> Test480p-muxed.mp4)
--[Information] [28.09.2010 1:47:50] Started handling job
--[Information] [28.09.2010 1:47:50] Preprocessing
--[Information] Job commandline: "C:\Program Files\megui\tools\mp4box\mp4box.exe" -add "C:\Test480p.264:fps=29.97" -add "C:\testAAC.aac" -tmp C:\ -new "C:\Test480p-muxed.mp4"
--[Information] [28.09.2010 1:47:50] Muxing started
--[Information] Standard output stream: AVC-H264 import - frame size 848 x 480 at 29.970 FPS
--[Information] Standard error stream
--[Information] Deleting aborted output
---[Information] Delete aborted ouptut set: True
---[Information] File to delete: C:\Test480p-muxed.mp4
---[Information] [28.09.2010 1:51:43] File deleted
--[Information] [28.09.2010 1:51:43] Job completed
--[Information] [28.09.2010 1:51:43] Current job was aborted

I noticed this problem only with video with resolution 848x480, 480x270 video such as multiplexed correctly (It certainly does not mean that the problem only with 848x480 video, I just noticed it with the source).
By the way, the problem with multiplexed appeared after updating mp4box before that my version.
P / s: I'm using mp4box x86.

Cannot reproduce here with my own build...which x264 command line did you use to create your video stream ?

Anyway, I'll upload a new mp4box build tonight.

Is there any chance of getting FLAC added to the supported audio files list for the Adaptive Muxer when using mkv?
done.

LeXXuz
1st October 2010, 14:04
- removed -

not a problem with MeGUI, it's Avisynth x64

zmaster
1st October 2010, 14:39
LeXXuz,
Had a similar problem but with the installation of an update for MeGUI, it seems to disappear.
May be the case in AviSynth? The script opens in VeeDub?

LeXXuz
1st October 2010, 14:58
My bad. Should have checked that as well. Vdub crashes, too.

So it's either DGindexNV or Avisynth x64. :o

Will ask there.

AlekseiV
2nd October 2010, 22:00
MeGUI instantly errors when attempting to encode a YV12 video that has mod2 width. It can view it fine.
Encoding returns:
"--[Error] An error occurred: avis [error]: unsupported input format (DIB )"

Reproduce script:
BlankClip(300, 550, 500, "RGB24", color=$FF5500).ConvertToYV12()
#300 frames, 550x500 resolution
x264.exe can encode this fine and it plays with no errors.

Sharktooth
3rd October 2010, 03:35
MeGUI instantly errors when attempting to encode a YV12 video that has mod2 width. It can view it fine.
Encoding returns:
"--[Error] An error occurred: avis [error]: unsupported input format (DIB )"

Reproduce script:
BlankClip(300, 550, 500, "RGB24", color=$FF5500).ConvertToYV12()
#300 frames, 550x500 resolution
x264.exe can encode this fine and it plays with no errors.
that's not a megui error but an avisynth error. play your AVS in a directshow media player and look at what it displays.

AlekseiV
3rd October 2010, 07:42
that's not a megui error but an avisynth error. play your AVS in a directshow media player and look at what it displays.Wrote a script for a video and it crashes all my players, actually...
Yeah, with more testing I've managed to get it to throw a [YV12 must be width mod4] error on a video, when it doesn't other times.

Then I change my bugreport: "avis [error]: unsupported input format (DIB )" should note (or MeGUI should note) that the issue may be caused by width mod 2 input, instead of throwing the odd DIB error. Since it doesn't throw an error until encoding (and works fine until then), it isn't very obvious what the problem is.

Sharktooth
3rd October 2010, 14:02
megui cant know that. you MUST HAVE a WORKING avisynth script.

yetanotherid
11th October 2010, 19:03
I've been using MeGUI to convert a few MKV files lately, usually containing x264 and AC3. If I try to convert one which was muxed using MKVToolnix, DGIndex usually locks up and FFMSIndex either does the same stops with an error. Most non-MKVToolnix muxed MKVs are fine. Anyone else come across this themselves?

If anyone's interested the problem does seem to be the MKV header compression. If I re-mux the MKV file with header compression disabled the freshly created MKV plays nicely with MeGUI.

Sharktooth
11th October 2010, 19:56
megui disables header compression by default and some tools included in megui dev version autoupdate server (like ffms and eac3to) now support header compression.

Zathor
15th October 2010, 08:49
0.3.5.16
- (kurtnoise) add FLAC files support in the Matroska Muxer
- (sharktooth) [x264] fixed unselectable CABAC option in Main and High profiles
- (zathor) [MP4 Muxer] fixed temp directory handling
- (zathor) [MKV Muxer] enhanced error handling
- (zathor) [Log] added a context menu item to remove the overlay icon in case of an error
- (zathor) [OneClick] fixed detection of some demuxed audio files. Bug #3085510

Zathor
16th October 2010, 17:49
0.3.5.17
- (zathor) [OneClick] some dga demuxed audio files were not deleted during cleanup
- (zathor) [MKV Muxer] changed default track flag of subtitles to no. Feature request #3086194
- (zathor) [MKV Muxer] added option to set the default subtitle track
- (zathor) [MKV Muxer] added option to set a subtitle delay. Feature request #3088742
- (zathor) [AutoEncode] added option to always mux the video encoding (enabled by default). Feature request #3082125

Zathor
17th October 2010, 17:35
0.3.5.18
- (zathor) [OneClick] fixed "and open next" checkbox which did not always open the file dialogue. Bug #3089165
- (zathor) [MKV Muxer] fixed rare "error parsing idx file" message
- (zathor) [MKV Muxer] "default stream" checkbox is enabled by default for the first subtitle stream

Rat Killer
18th October 2010, 21:37
Not sure if its a bug, or if I have a setting wrong but...

Opening a file using the indexer, Megui loads the files as inputs for video and audio as it should. I select mp4 as the video output and ac3 as the audio. Then click autoencode, answer the questions in the pop up box on output file name and mp4 type. Megui adds the jobs to the Q.

The video job added creates a raw .264 file rather than an mp4 as requested. Using the input screen and creating the job parts manually works correctly so its something in the autoencode. Final result is mp4 either way but creating the raw 264 file sometimes results in out of sync audio. Using the mp4 output for the video seems to not do that.

Zathor
18th October 2010, 22:30
It has been this change:
0.3.5.17
- (zathor) [AutoEncode] added option to always mux the video encoding (enabled by default). Feature request #3082125

Main reason for this feature request has been the non (slow) seekable mkv output of x264. If this causes problems with mp4, well, we could change it so that only MKV is affected. Any opinions?

Rat Killer
19th October 2010, 02:41
Guess I misunderstand the change. I need the final output file muxed into an mp4 but the intermediate video file that x264 puts out should be stored as an mp4 as well if told to do so, not a .264 raw video stream file.

If the .264 raw files work better when muxing to mkv, I understand the need and even a default behaviour as far more folks use this software to create mkvs than mp4, but muxing a .264 and a .ac3 into a mp4 often results in out of sync audio.

Why must autoencoder ignor the setting to save the intermediate file as an mp4 if told to do so? Whould it not be more appropriate to default to .264 for mkv files but allow the setting to be changed and followed. As it is now, there is a setting that does not work and needs to unless I still misunderstand the way its to be used. But again, doing the 3 steps manually yields perfect results, autoencode does not as it ignores the setting.

Your change notes indicate that the new setting is an option, is there a way to set it to follow the encoder setting rather than ignore them as is done now? I need autoencoder to mux, just need it to also store the intermediate file as an mp4 rather than a raw .264 file when told to do so.

Thanks.

Sharktooth
19th October 2010, 03:35
.264 is the only option for blu-ray compatibility too.

Zathor
19th October 2010, 09:50
I need autoencoder to mux, just need it to also store the intermediate file as an mp4 rather than a raw .264 file when told to do so.
Why must autoencoder ignor the setting to save the intermediate file as an mp4 if told to do so?
There is not and has not been a setting in the autoencoder to specify the intermediate format of the video encoding. What you specify there is the output container format and this will be followed.

Your change notes indicate that the new setting is an option, is there a way to set it to follow the encoder setting rather than ignore them as is done now? As stated above the encoder setting is not ignored - it is simply not the encoder setting, it is the final output container you specify there. The mux path can be reverted in the megui settings, extra config, always mux video encoding.

...but muxing a .264 and a .ac3 into a mp4 often results in out of sync audio. So muxing a .264 with an audio file results in out of sync audio. But if you specify an audio file to be processed together in the autoencoder that is exactly the way it goes for years. What has changed is only the mux path if only the video file is processed without any additional streams. Therefore all video+audio mp4 files created by autoencoder should have this out of sync problem. I do not get the point, sorry. Can you please explain in which way you create the final mp4 files in megui.

Whould it not be more appropriate to default to .264 for mkv files but allow the setting to be changed and followed. As the target of the feature request has been only mkv I will change it the way that the setting will only take affect for mkv container and enable it by default for this container.

Rat Killer
19th October 2010, 10:30
First, let me say I really appreciate your help here.

The setting I am referring to is not the one on the autoencoder popup page but the one on the input tab, video encoding section, file format. This sets the format of the video file to mp4, mkv or raw. Then there is a setting in the autoencoder popup that allows selection of the final container format.

If I do not use autoencoder, I set video encoding file format to mp4, audio extension to ac3. Then manually mux the two into a final mp4. This always results in files with good sync.

When autoencoder does the job with the same settings, the intermediate file is .264 rather than mp4. The results are SOMETIMES out of sync. It depends on the quality of the information in the original files, never have been able to determine where the error in sync is, but avoiding a .264 intermediate file avoids the problem.

The setting under options, settings, extra config tab, configure Autoencoder defaults does allow for selecting an mp4 file, this presets the final container format for the autoencoder popup window. I am still a bit unsure what the check box that is labeled Always mux video encoding is for, I had thought it meant to automaticlly mux the video and audio intermediate files.

While you are working on the autoconfig settings dialog, it would be great if for mp4 container type, you could also store a default device type.

Thanks again so much for your help. I am learning. Really.:thanks:

Zathor
19th October 2010, 10:58
The setting I am referring to is not the one on the autoencoder popup page but the one on the input tab, video encoding section, file format. This sets the format of the video file to mp4, mkv or raw.
Thats of course true, but this setting will not be taken into account in the autoencoder. In the autoencoder the intermediate video file format will be set automatically depending on the desired final output container format, if there are any streams to mux and so on.

When autoencoder does the job with the same settings, the intermediate file is .264 rather than mp4. The results are SOMETIMES out of sync. It depends on the quality of the information in the original files, never have been able to determine where the error in sync is, but avoiding a .264 intermediate file avoids the problem.
While testing I found an inconsistency even before my changes. If selecting the input files (video + audio) in the input tab, select autoencode and queue them the intermediate video format is .264. If I select something in the "add additional content" window in the autoencoder the intermediate format is mp4/mkv (depending on the final output container). If I use both input methods for audio files it is .264. I have to dig a little bit deeper but I do not like to have it using other ways for muxing.

I am still a bit unsure what the check box that is labeled Always mux video encoding is for, I had thought it meant to automaticlly mux the video and audio intermediate files.
Have to rephrase it. The meaning is that if only a video file is to processed (no other streams) that the video encoder is not encoding directly in the target container format (if possible, e.g. avi, mkv, mp4) but instead is using the raw format and have it mux afterwards. Any idea to put this in the small line? (ok, have to use a tooltip I think).

While you are working on the autoconfig settings dialog, it would be great if for mp4 container type, you could also store a default device type. I will have a look at it.

Zathor
19th October 2010, 12:05
While you are working on the autoconfig settings dialog, it would be great if for mp4 container type, you could also store a default device type.
I have committed this change.

Rat Killer
19th October 2010, 12:19
Thanks a bunch for your explainations. Helped me to understand much better. Let me (us) know what you decide to do with the autoencoder intermediate files types once you look into it. From your explaination, there is more going on.

Thinking about it a bit more, it does make sense that the autoencoder would ignore the file type in the video encode section as not all combinations are possible or useful. Autoencode needs to select the correct intermediate file type best suited to the final container as you said. Looking forward to your updates as usual. Thanks again.

Lighto
20th October 2010, 11:34
Is it me or does the preview window in AVS cutter gets longer in height when it's reloaded by the reload button?

Zathor
20th October 2010, 12:51
0.3.5.19
- (kurtnoise) Update several Article Name from help button. Patch by XhmikosR (#3079390)
- (kurtnoise) Update ContextHelp.xml file. Patch by XhmikosR (#3079390)
- (kurtnoise) Remove log files shortcut from nsis scripts. Patch by XhmikosR (#3079390)
- (kurtnoise) Remove "tools" sub directory from backupfiles_CheckedChanged() because we can have some backup files in the root folder and SearchOption.AllDirectories is used anyways.
- (zathor) [Adaptive Muxer] resized window so that the buttons at the bottom are visible again. Bug #3090155
- (zathor) [AutoEncode] added saving of the default mp4 device type to the "Configure AutoEncode defaults" in the settings
- (zathor) [MKV Muxer] added support for quotes in the track names. Bug #3090689
- (zathor) [Queue] the connection job <--> worker is going to be restored/repaired during startup if lost/wrong. Bug #3090054
- (zathor) [AutoEncode] the "always mux the video encoding" setting applies now only to mkv container. also renamed the option and added a tooltip

Let me (us) know what you decide to do with the autoencoder intermediate files types once you look into it.
As you can see in the change notes above I have changed it the way that only MKV is affected. The muxing behaviour is in general a little bit strange but it is working at the moment and I do not want to change it before the next stable release.

Is it me or does the preview window in AVS cutter gets longer in height when it's reloaded by the reload button?
Tried it and had no problems. Is it the window itself only which gets longer for you or does it also apply for the video frame?

Lighto
20th October 2010, 13:27
Tried it and had no problems. Is it the window itself only which gets longer for you or does it also apply for the video frame?

The window itself.
Also there isn't a MeGUI icon at the top left of the window for audio cutter and avs cutter in terms of cosmetics in case any developers feel that it's worth the time to add the MeGUI icon instead of the default one.:o
Long file names cannot be seen in those 2 tools as well if there isn't enough space within a single line.
Running 0.3.5.19
Here's some screenshots.

When I just opened the AVS Cutter.
http://imgur.com/ZmZxL.png

After I clicked Reload Video once.
http://imgur.com/bzaSG.png

After I clicked it for 10 times.:o
http://imgur.com/uoO2j.png

Rat Killer
20th October 2010, 20:03
0.3.5.19
- (zathor) [AutoEncode] added saving of the default mp4 device type to the "Configure AutoEncode defaults" in the settings
- (zathor) [AutoEncode] the "always mux the video encoding" setting applies now only to mkv container. also renamed the option and added a tooltip


As you can see in the change notes above I have changed it the way that only MKV is affected. The muxing behaviour is in general a little bit strange but it is working at the moment and I do not want to change it before the next stable release.


Thanks for the update, including the new mp4 default setting. As autoencode is still encoding video to a .264 file rather than an mp4 file prior to muxing, I'll stick with the manual method of quing the 3 steps rather than using the autoencode for mp4 until you have a chance to look at it after then next stable release. Hope to have this working one day.

:thanks:

Zathor
20th October 2010, 21:33
The window itself.
Found it. Thanks!

Also there isn't a MeGUI icon at the top left of the window for audio cutter and avs cutter Was missing in other tools, too. Hopefully I have found them all.

Long file names cannot be seen in those 2 tools as well if there isn't enough space within a single line.
Don't get this point. You can resize the window and should see the full path.

0.3.5.20
- (zathor) [FileIndexer] + [Muxer] dialogues are not modal anymore; some cosmetics
- (zathor) [Muxer] removed cancel button; added reset button to the video section; selecting an audio or subtitle file will automatically add a new emtpy track tab (saving two clicks)
- (zathor) [Muxer] added option to queue several jobs without closing the mux window. Feature request #2038358
- (zathor) [AVS Cutter] fixed increasing window height if using the "reload video" button
- (zathor) added MeGUI icon to several tools

Zathor
20th October 2010, 23:08
0.3.5.21
- (zathor) [AudioEncodingWindow] some cosmetics
- (zathor) [Muxer] fixed duplicate jobs after editing a mux job
- (zathor) [Muxer] tweaked the automatically adding of empty tracks

flebber
20th October 2010, 23:14
Wow Zathor, lots of work lots of releases. Thank you.

In relation to one click encoder with MKV input. Will oneclick keep my chapters and subs from my MKV input?

Zathor
20th October 2010, 23:16
In relation to one click encoder with MKV input. Will oneclick keep my chapters and subs from my MKV input?
That's planed but at the moment - no. For this task the OnceClick part has to be completly rewritten and this will not happen in the next hours.

flebber
21st October 2010, 06:10
Ifits on the horizon that is sweet. All megui devs have been putting in a big effort and its much appreciated. Thanks

Zathor
21st October 2010, 17:47
0.3.5.22
- (zathor) added MeGUI icon to some tools (part #2) and adjusted the font of several windows. Feature request #3090902
- (zathor) [File Indexer] the demuxed audio tracks will replace all existing audio track tabs in the main input tab if "on completion load files" is selected

Sorry for the update frequency :rolleyes:

Lighto
21st October 2010, 17:50
0.3.5.22
- (zathor) added MeGUI icon to some tools (part #2) and adjusted the font of several windows. Feature request #3090902
- (zathor) [File Indexer] the demuxed audio tracks will replace all existing audio track tabs in the main input tab if "on completion load files" is selected

Sorry for the update frequency :rolleyes:

I am sure some of us actually likes the frequent updates.:o

JoeH
22nd October 2010, 06:59
Thanks for everything! The more the merrier.

sinz718
22nd October 2010, 15:42
I've been getting this error since the last updates when I try to feed MeGui an .avs script It doesn't matter whats in the .avs script as I let MeGui create It's own and it still is messed up and never encodes the video.

MeGui 0.3.5.22 Ran update.
Error code is:
Process exits with error code: -1073741819
Updated ffdshow to newest beta 7
Updated x264_64bit
Avisynth 2.5.8.5
My .avs plays in every media player just fine and MeGui plays It fine as well, It just won't encode.

I'm obviously trying to encode an x264 to .mkv any help on this? I read somewhere other people had the same issue's earlier on and It had something to do with the subs but I have no subs in this project.

Love this though It's only worked for me about twice I know once I get It working with me I will be very happy, thanks for making MeGui.

Inspector.Gadget
22nd October 2010, 16:06
sinz718: post your Avisynth script and the MeGUI log (copied from the "Log" tab) in separate codeboxes in a post in this thread.

sinz718
23rd October 2010, 02:11
MeGui Log:

Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.5.0
--[NoImage] OS : Windows Seven Premium Edition x64 (6.1.0.7600)
--[NoImage] Latest .Net Framework installed : 4.0 (4.0.30319)
--[NoImage] Avisynth Version : 2.5.8.5
-[Information] Log for job2 (idx, Wedding.264 -> Wedding.dga)
--[Information] [10/22/2010 9:01:06 PM] Started handling job
--[Information] [10/22/2010 9:01:06 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\MeGUI\tools\dgavcindex\dgavcindex.exe" -i "Z:\Encode\Wedding.264" -o "X:\Encode\Wedding.dga" -e -h
--[Information] [10/22/2010 9:01:06 PM] Indexing started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
--[Information] [10/22/2010 9:01:15 PM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [10/22/2010 9:01:16 PM] Job completed
-[Information] Log for job1 (video, Wedding.avs -> Wedding.mkv)
--[Information] [10/22/2010 9:01:40 PM] Started handling job
--[Information] [10/22/2010 9:01:40 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe" --crf 20 --level 4.1 --vbv-maxrate 40000 --vbv-bufsize 40000 --sar 1:1 --output "Z:\Encode\Wedding.mkv" "X:\Encode\Wedding.avs"
--[Information] [10/22/2010 9:01:41 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [10/22/2010 9:01:45 PM] Job completed


AviSynth Script:

LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgavcindex\DGAVCDecode.dll")
AVCSource("X:\Encode\Wedding.dga")
#deinterlace
#crop
LanczosResize(640,480) # Lanczos (Sharp)
#denoise


Okay, tell me what's the prob. :)

It also says that my Video is I420 and I should add convert to YV12() and if I want MeGui to add it for me so I do and It still doesn't re-encode, with out without that code.

Sharktooth
23rd October 2010, 02:20
your problem is currently fixed in the development version of megui. please set the option to download the development version and update megui.

Lighto
23rd October 2010, 04:37
@sinz718
Which version of MeGUI are you using?
0.3.5.0 or 0.3.5.22?

sinz718
23rd October 2010, 06:13
0.3.5.22 now and It's just great cause can't even use It now after that patent law message I don't want to touch MeGui... Where do I go to check these laws and all that junk... more confused then before...

Still love MeGui.

Edit 1

Tested and got:
[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 0.3.5.22
--[Information] OS : Windows Seven Premium Edition x64 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.8.5
-[Error] Log for job1 (video, Wedding.avs -> )
--[Information] [10/23/2010 1:10:34 AM] Started handling job
--[Information] [10/23/2010 1:10:34 AM] Preprocessing
--[Information] Job commandline: "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe" --pass 1 --bitrate 16000 --stats "Z:\Encode\Wedding.stats" --level 4.1 --bframes 3 --ref 4 --slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-bufsize 30000 --vbv-maxrate 40000 --weightp 0 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --output NUL "Z:\Encode\Wedding.avs"
--[Information] [10/23/2010 1:10:35 AM] Encoding started

--[Error] [10/23/2010 1:10:48 AM] Process exits with error code: -1073741819

--[Information] Standard output stream
--[Information] Standard error stream
--[Information] [10/23/2010 1:10:48 AM] Job completed


I just plugged the same .avs posted above into the development version.
Anything?

Zathor
23rd October 2010, 09:49
Try using a different indexer. To index it with FFMS you have to mux your 264 file in a mkv container.

If ffms does not solve the problem rename "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe" to another name and "C:\Program Files (x86)\MeGUI\tools\x264\x264_64.exe" to "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe".

Lyle_JP
25th October 2010, 08:33
0.3.5.22 now and It's just great cause can't even use It now after that patent law message I don't want to touch MeGui... Where do I go to check these laws and all that junk... more confused then before...

The patent laws in question affect the production version just as much as they do the development one. The Dev version is just explicit about it.

Tuik
25th October 2010, 12:22
Helllo,

Is there an option to enqueue a mux of two enqueued encodes? It's like:

1.Enqueue a XviD encoding of the video
2.Enqueue a AAC encoding for audio
3. Enqueue a mux of XviD + AAC output.

It's possible? I only know how to do 1. and 2.

Thanks for the help!

Sharktooth
25th October 2010, 14:09
@Tuik: not "manually" possible. i mean, you cant enqueue a mux if you didnt encode the files. however, AUTO-ENCODE does that since it prepares ALL jobs.
so, once you set up your video and audio inputs and desired encoding profiles, just click Auto-encode, select the filesize/bitrate/whatever, select the container, etc... end enqueue the jobs.

Tuik
25th October 2010, 18:08
@Tuik: not "manually" possible. i mean, you cant encode a mux if you didnt encode the files. however, AUTO-ENCODE does that since it prepares ALL jobs.
so, once you set up your video and audio inputs and desired encoding profiles, just click Auto-encode, select the filesize/bitrate/whatever, select the container, etc... end enqueue the jobs.

Ok, many thanks i didn't know that possibility ;)

disklib
26th October 2010, 05:23
0.3.5.20
- (zathor) [Muxer] added option to queue several jobs without closing the mux window. Feature request #2038358



Thank you Zathor. Much appreciated.

.

sinz718
26th October 2010, 05:29
Try using a different indexer. To index it with FFMS you have to mux your 264 file in a mkv container.

If ffms does not solve the problem rename "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe" to another name and "C:\Program Files (x86)\MeGUI\tools\x264\x264_64.exe" to "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe".

None of that worked.

How can I completely uninstall this app? I am wondering if there is something corrupt somewhere preventing me to encoding, as I have also tried a different source file .vob and I am still getting this error message so It's not my files, something isn't right somewhere how do I find out where the problem is? Before this I have uninstalled 3 times and just recently added the development version after those three times before posting any complications here.
I can't use megui at all, so what needs to be done to make this functional on my end, any ideas?

Once loaded/enqueue after pressing start 5 seconds later I get the same error, with edited aviscript, with generic script, both using all x264's, Xvid, profiles, mkv's, avi's, mp4's.

win7 64bit 6gb's.

The patent laws in question affect the production version just as much as they do the development one. The Dev version is just explicit about it.

Didn't know that thanks.

lych_necross
26th October 2010, 07:45
I just upgraded to version 0.3.5.23 and I am receiving an error message about Avisynth not being found. The problem is that I have Avisynth installed and it worked fine before I updated. Here is my log:

[Information] Log
-[Information] Versions
--[Information] MeGUI Version : 0.3.5.23
--[Information] OS : Windows Seven Ultimate Edition x64 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : not installed

BTW, I created a bug report on the sourceforge page.

Zathor
26th October 2010, 17:40
Do you have the old log files of 0.3.5.22 available? Please post the "--[Information] Avisynth Version :" from this build. If not replace your megui.exe with this one: http://megui.org/auto/megui-core_0_3_5_22.zip

Additionally please upload your file C:\Windows\SysWOW64\avisynth.dll because very likely the build number can not be verified.

eshtayafido
26th October 2010, 17:53
hi iam new in Go to first new post MeGUI i want tutorials to use it i hope anyone help me

Sharktooth
27th October 2010, 04:30
@eshtayafido: http://mewiki.project357.com/wiki/Main_Page

lych_necross
27th October 2010, 07:31
Here are the files you requested Zathor.

Meguifiles.zip (http://www.mediafire.com/?a498j9k4q2u2j5g).

Here is the log file from 0.3.5.22

[Information] Log
-[Information] Versions
--[Information] MeGUI Version : 0.3.5.22
--[Information] OS : Windows Seven Ultimate Edition x64 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)


My version of avisynth.dll is SEt's Avisynth 2.6. You can get it here (http://forum.doom9.org/showthread.php?p=1312666#post1312666)

Kurtnoise
27th October 2010, 12:57
where is located your avisynth.dll ?

Did you update your avisynth bundle ?

Sharktooth
27th October 2010, 14:14
do not use avisynth 2.6. it's unstable!
revert to 2.5.8.5.

Zathor
27th October 2010, 21:09
Here are the files you requested Zathor.

Meguifiles.zip (http://www.mediafire.com/?a498j9k4q2u2j5g).

Here is the log file from 0.3.5.22

[Information] Log
-[Information] Versions
--[Information] MeGUI Version : 0.3.5.22
--[Information] OS : Windows Seven Ultimate Edition x64 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)


My version of avisynth.dll is SEt's Avisynth 2.6. You can get it here (http://forum.doom9.org/showthread.php?p=1312666#post1312666)

Thanks. The problem is that these AviSynth builds do not provide a build number (and the real problem is that I have changed the detection logic in 0.3.5.23 because I assumed that every avisynth.dll has a build number - memo to myself: do not make assumptions).

0.3.5.24
- (zathor) removed "AviSynth is not installed" message if the avisynth.dll does not have a version number

mastrboy
27th October 2010, 23:51
anyone else that can adjust "Deadzones (Inter / Intra)" in MeGUI (0.3.5.24) under x264 configuration dialog? (Find it under Rate-control) It is greyed out/control disabled...

poisondeathray
28th October 2010, 00:03
anyone else that can adjust "Deadzones (Inter / Intra)" in MeGUI (0.3.5.24) under x264 configuration dialog? (Find it under Rate-control) It is greyed out/control disabled...

You probably have trellis enabled. Disable trellis and try again

mastrboy
28th October 2010, 00:09
You probably have trellis enabled. Disable trellis and try again

:scared: ... should not mess with x264 when tired.. I knew that deadzone was incompatible with trellis, it just didn't occurre to me that MeGUI also was aware of this, bedtime i guess..

lych_necross
28th October 2010, 02:23
@Kurtnoise
Its located in C:\windows\syswow64
I installed the official avisynth installer then replaced the avisynth.dll as instructed by SEt.

@Sharktooth
I've never really had any problems with it, but I am considering rolling back to the official version after this.

@Zathor
I was taught in college that assume means ass/u/me :p

Lighto
28th October 2010, 10:20
So I was trying to re-encode this youtube video with a resolution of 470 x 360.
http://www.youtube.com/watch?v=WJq4jWSQNd8

When "Suggest Resolution(mod16)" is checked, only the height is a mod16 resolution, the width isn't
When "Clever (TM) anamorphic encoding:" is checked and "Resize to mod16" is selected, it's the same thing, the width isn't a mod16 resolution.

Is it meant this way for the user to input their own mod16 width or is this something that was accidentally left out?

Rat Killer
29th October 2010, 15:02
Need a bit of help. I have run MeGUI for a long time but just installed a new file server and am installing on it. WindowsXP SP3. I followed the simple installation instructions in the first post of this thread. Launching MeGUI gives a windows error box that reads "The applicaton failed to initialize properly" a memory address and a ok box to terminate.

Tried several things but nothing seems to work. What have I missed in setting this up?

Sharktooth
29th October 2010, 15:51
So I was trying to re-encode this youtube video with a resolution of 470 x 360.
http://www.youtube.com/watch?v=WJq4jWSQNd8

When "Suggest Resolution(mod16)" is checked, only the height is a mod16 resolution, the width isn't
When "Clever (TM) anamorphic encoding:" is checked and "Resize to mod16" is selected, it's the same thing, the width isn't a mod16 resolution.

Is it meant this way for the user to input their own mod16 width or is this something that was accidentally left out?
i think only the height is checked.

Sharktooth
29th October 2010, 15:52
Need a bit of help. I have run MeGUI for a long time but just installed a new file server and am installing on it. WindowsXP SP3. I followed the simple installation instructions in the first post of this thread. Launching MeGUI gives a windows error box that reads "The applicaton failed to initialize properly" a memory address and a ok box to terminate.

Tried several things but nothing seems to work. What have I missed in setting this up?

install .net framework.

Lighto
29th October 2010, 18:03
i think only the height is checked.

Okay. Thanks for the confirmation.

I made a feature request at sourceforge.
https://sourceforge.net/tracker/?func=detail&aid=3098351&group_id=156112&atid=798479

guista
30th October 2010, 21:47
I recently fixed an audio/video sync issue thanks to MKVMerge GUI which allowed me to stretch the audio track.

1/ the "MKV merge" MeGUI feature invokes MKVMerge but the stretch feature is not available in MeGUI interface so why not adding it ?

2/ why not also adding an "auto-stretch" feature (as discussed with yetanotherid on another thread) so MeGUI auto-calculates the stretch ratio so the audio track length matches the video track length (and solves some potential audio sync issue) ?

tebasuna51
30th October 2010, 23:53
I recently fixed an audio/video sync issue thanks to MKVMerge GUI which allowed me to stretch the audio track.

1/ the "MKV merge" MeGUI feature invokes MKVMerge but the stretch feature is not available in MeGUI interface so why not adding it ?

2/ why not also adding an "auto-stretch" feature (as discussed with yetanotherid on another thread) so MeGUI auto-calculates the stretch ratio so the audio track length matches the video track length (and solves some potential audio sync issue) ?

My vote for not include such features in MeGUI.
The use of mkv audio stretch can be a source of problems.
You can always use MkvMergeGUI at your risk.

Rat Killer
31st October 2010, 15:58
install .net framework.

Thanks! that was it. Knew I was missing something obvious.

pokazene_maslo
5th November 2010, 01:34
Hello. I have one feature request. What about adding QTGMC deinterlacer into standard package?

Sharktooth
5th November 2010, 15:33
feature requests should be posted in the megui project feature request tracker on sourceforge

sinz718
8th November 2010, 01:41
Try using a different indexer. To index it with FFMS you have to mux your 264 file in a mkv container.

If ffms does not solve the problem rename "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe" to another name and "C:\Program Files (x86)\MeGUI\tools\x264\x264_64.exe" to "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe".

Fixed my issue.
The solution is here in case anyone runs into it:
Virtualdub + Megui error problems fix (http://forum.doom9.org/showpost.php?p=1454415&postcount=6)

:thanks: for the help!
To note I am also not using the development version, as I say in the thread post linked above It was a bad or corrupted avisynth filter, which is my best guess as nothing else worked until I removed them from the plugins folder.

guista
8th November 2010, 17:26
I recently decided to run the analysis before reencoding my big MKV files (the idea was to decrease the size of my MKVs by reencoding them).
I did the analysis on 3 files and each time the 'M-in-5 tri-decimate' requirement was detected by the analysis.
After hours of encoding, I got the all my MKV frame rate changed from 23.976 FPS to 19.181 FPS.
MeGUI HD stream extractor stopped and complained about the non-standard 19.181 FPS frame rate but MKVMerge GUI worked for muxing AC3 with x264.
The resulting video was so choppy that it was unwatchable.

I do not know if it can corrected but my advice would be to use the analysis with care if you do not want to lose hours of encoding.
As far as I am concerned, the best thing to do is watching the video myself (frame by frame) then manually deduce which filter is needed.

guista
8th November 2010, 17:31
If you forget changing the ouput video file name when performing some MKV to MKV reencoding : when the encoding will start (pass 2), the input source file will be overwritten by a zero length file.
You lose your original file (if unsaved) and this is unrecoverable because the data is overwritten.

This is due the fact MeGUI defaultly set an output file name identical to the input source file name.

My suggestion would be to auto-generate the output file name by concatenating the input file name to a prefix.

guista
8th November 2010, 17:37
Actually, when the main encoding task is started, you have to wait until it is finished before shutting down your computer (it can last hours : 3 to 20 hours for me).

I tried to enter hibernation but Windows complained telling there was not enough resources to perform the operation even when the encoding process was paused (this is very true for x264.exe which eat a lot of OS resources even when paused).

My idea is to use the Windows DbgHelp API and override a SEH (Structure Exception Handler) from which a full memory dump of the encoding process can be performed upon reception of a control-break signal sent by MeGUI.
The process can then be restarted from the saved memory dump at the next MeGUI start.

Sharktooth
8th November 2010, 18:08
all bug reports must be posted in the megui project bug tracker on sourceforge.

guista
8th November 2010, 20:37
all bug reports must be posted in the megui project bug tracker on sourceforge.

OK, I do it.
Thanks.

Sharktooth
8th November 2010, 21:31
thanks

Rat Killer
9th November 2010, 02:37
When attempting to enque the audio encode portion of a job, dts to ac3 using either ffmpeg or aften, click enque MeGUI errors with the message: 'Object reference not set to an instance of an object' Tried several different files and they all do this when trying to enque the audio job. Used to work fine so no sure what changed.

I can still convert the audio using eac3to via the stream extract tool but not from the input tab. Any ideas what's going on?


Problem 2, latest update of mp4box is giving the following odd error when trying to mux, previous version worked fine:

[Error] Log for job17 (mux, 00000.mp4 -> 00000-muxed.mp4)
-[Information] [11/9/2010 4:10:56 AM] Started handling job
-[Information] [11/9/2010 4:10:56 AM] Preprocessing
-[Information] Job commandline: "C:\Program Files\megui\tools\mp4box\mp4box.exe" -add "C:\Documents and Settings\My Documents\My Videos\00000.mp4#trackID=1:fps=23.976" -add "C:\Documents and Settings\My Documents\My Videos\F1_T3_Audio - English.ac3:lang=English" -isma -tmp "C:\Documents and Settings\My Documents\My Videos" -new "C:\Documents and Settings\My Documents\My Videos\00000-muxed.mp4"
-[Information] [11/9/2010 4:10:56 AM] Muxing started
-[Error] [11/9/2010 4:10:57 AM] Process exits with error code: 3
-[Information] Standard output stream: [iso file] Read Box ".1.i" failed (Out Of Memory)
-[Information] Standard error stream
--[NoImage] Assertion failed: gf_f64_tell(test) < 1<<31, file utils/xml_parser.c, line 1180
--[NoImage] This application has requested the Runtime to terminate it in an unusual way.
--[NoImage] Please contact the application's support team for more information.
-[Information] [11/9/2010 4:10:57 AM] Job completed

I am running under WinXP if it matters.

saint-francis
9th November 2010, 14:49
I'm trying to use the HD stream extractor and MeGUI is telling me that it can't write to a network location. My work station only has a small SSD. Is there anything I can do about this?

Sharktooth
9th November 2010, 15:01
When attempting to enque the audio encode portion of a job, dts to ac3 using either ffmpeg or aften, click enque MeGUI errors with the message: 'Object reference not set to an instance of an object' Tried several different files and they all do this when trying to enque the audio job. Used to work fine so no sure what changed.

I can still convert the audio using eac3to via the stream extract tool but not from the input tab. Any ideas what's going on?


Problem 2, latest update of mp4box is giving the following odd error when trying to mux, previous version worked fine:

[Error] Log for job17 (mux, 00000.mp4 -> 00000-muxed.mp4)
-[Information] [11/9/2010 4:10:56 AM] Started handling job
-[Information] [11/9/2010 4:10:56 AM] Preprocessing
-[Information] Job commandline: "C:\Program Files\megui\tools\mp4box\mp4box.exe" -add "C:\Documents and Settings\My Documents\My Videos\00000.mp4#trackID=1:fps=23.976" -add "C:\Documents and Settings\My Documents\My Videos\F1_T3_Audio - English.ac3:lang=English" -isma -tmp "C:\Documents and Settings\My Documents\My Videos" -new "C:\Documents and Settings\My Documents\My Videos\00000-muxed.mp4"
-[Information] [11/9/2010 4:10:56 AM] Muxing started
-[Error] [11/9/2010 4:10:57 AM] Process exits with error code: 3
-[Information] Standard output stream: [iso file] Read Box ".1.i" failed (Out Of Memory)
-[Information] Standard error stream
--[NoImage] Assertion failed: gf_f64_tell(test) < 1<<31, file utils/xml_parser.c, line 1180
--[NoImage] This application has requested the Runtime to terminate it in an unusual way.
--[NoImage] Please contact the application's support team for more information.
-[Information] [11/9/2010 4:10:57 AM] Job completed

I am running under WinXP if it matters.
what megui version are you using?

Sharktooth
9th November 2010, 15:02
I'm trying to use the HD stream extractor and MeGUI is telling me that it can't write to a network location. My work station only has a small SSD. Is there anything I can do about this?
did you run megui with administrative privileges?

saint-francis
9th November 2010, 15:08
did you run megui with administrative privileges?

No, but it looks like it doesn't matter since eac3to won't work over a network either. I posted about this in the eac3to thread. I'm surprised that this hasn't come up before. I just mapped the drive I'm working with.

Rat Killer
10th November 2010, 15:12
what megui version are you using?

0.3.5.24

Lyle_JP
13th November 2010, 11:03
Problem 2, latest update of mp4box is giving the following odd error when trying to mux, previous version worked fine:

[Error] Log for job17 (mux, 00000.mp4 -> 00000-muxed.mp4)
-[Information] [11/9/2010 4:10:56 AM] Started handling job
-[Information] [11/9/2010 4:10:56 AM] Preprocessing
-[Information] Job commandline: "C:\Program Files\megui\tools\mp4box\mp4box.exe" -add "C:\Documents and Settings\My Documents\My Videos\00000.mp4#trackID=1:fps=23.976" -add "C:\Documents and Settings\My Documents\My Videos\F1_T3_Audio - English.ac3:lang=English" -isma -tmp "C:\Documents and Settings\My Documents\My Videos" -new "C:\Documents and Settings\My Documents\My Videos\00000-muxed.mp4"
-[Information] [11/9/2010 4:10:56 AM] Muxing started
-[Error] [11/9/2010 4:10:57 AM] Process exits with error code: 3
-[Information] Standard output stream: [iso file] Read Box ".1.i" failed (Out Of Memory)
-[Information] Standard error stream
--[NoImage] Assertion failed: gf_f64_tell(test) < 1<<31, file utils/xml_parser.c, line 1180
--[NoImage] This application has requested the Runtime to terminate it in an unusual way.
--[NoImage] Please contact the application's support team for more information.
-[Information] [11/9/2010 4:10:57 AM] Job completed

I am running under WinXP if it matters.

I am getting the exact same error with the latest mp4box, running Windows 7 64-bit. It only happens to me when the final file-size is projected to be nearly (but not quite) 4 GB.

In addition to the error above, I also sometimes see this (very similar) error as well:

-[Error] Log for job11 (mux, Deliverance test2.264 -> Deliverance test2-muxed.mp4)
--[Information] [11/13/2010 1:50:06 AM] Started handling job
--[Information] [11/13/2010 1:50:06 AM] Preprocessing
--[Information] Job commandline: "C:\Program Files (x86)\MeGUI\tools\mp4box\mp4box.exe" -add "C:\MainMovie\58527487_DELIVERANCE\BDMV\STREAM\Deliverance test2.264:fps=23.976" -add "C:\MainMovie\58527487_DELIVERANCE\BDMV\STREAM\Deliverance PID 1100 3_2ch 48KHz 640Kbps DELAY 0ms.ac3" -tmp "C:\MainMovie\58527487_DELIVERANCE\BDMV\STREAM" -new "C:\MainMovie\58527487_DELIVERANCE\BDMV\STREAM\Deliverance test2-muxed.mp4"
--[Information] [11/13/2010 1:50:06 AM] Muxing started
--[Error] [11/13/2010 1:51:29 AM] Process exits with error code: 3
--[Information] Standard output stream: AVC-H264 import - frame size 640 x 480 at 23.976 FPS
--[Information] Standard error stream
---[NoImage] Assertion failed: nal_start, file media_tools/media_import.c, line 4244
---[NoImage] This application has requested the Runtime to terminate it in an unusual way.
---[NoImage] Please contact the application's support team for more information.
--[Information] [11/13/2010 1:51:29 AM] Job completed

I am running the latest everything from the dev server update.

Hotpocketdeath
13th November 2010, 17:47
Problem 2, latest update of mp4box is giving the following odd error when trying to mux, previous version worked fine:
I am getting the exact same error with the latest mp4box, running Windows 7 64-bit. It only happens to me when the final file-size is projected to be nearly (but not quite) 4 GB.

In addition to the error above, I also sometimes see this (very similar) error as well:

-[Error] Log for job11 (mux, Deliverance test2.264 -> Deliverance test2-muxed.mp4)
--[Information] [11/13/2010 1:50:06 AM] Started handling job
--[Information] [11/13/2010 1:50:06 AM] Preprocessing
--[Information] Job commandline: "C:\Program Files (x86)\MeGUI\tools\mp4box\mp4box.exe" -add "C:\MainMovie\58527487_DELIVERANCE\BDMV\STREAM\Deliverance test2.264:fps=23.976" -add "C:\MainMovie\58527487_DELIVERANCE\BDMV\STREAM\Deliverance PID 1100 3_2ch 48KHz 640Kbps DELAY 0ms.ac3" -tmp "C:\MainMovie\58527487_DELIVERANCE\BDMV\STREAM" -new "C:\MainMovie\58527487_DELIVERANCE\BDMV\STREAM\Deliverance test2-muxed.mp4"
--[Information] [11/13/2010 1:50:06 AM] Muxing started
--[Error] [11/13/2010 1:51:29 AM] Process exits with error code: 3
--[Information] Standard output stream: AVC-H264 import - frame size 640 x 480 at 23.976 FPS
--[Information] Standard error stream
---[NoImage] Assertion failed: nal_start, file media_tools/media_import.c, line 4244
---[NoImage] This application has requested the Runtime to terminate it in an unusual way.
---[NoImage] Please contact the application's support team for more information.
--[Information] [11/13/2010 1:51:29 AM] Job completed

I am running the latest everything from the dev server update.

I've hit the same error, same environment.

I've had several movies hit this error and I noticed the pattern.

Any time the video exceeds 2GB, the error occurs. All the isotmp files reach either a size of 2,097,128 KB or 2,097,109 KB and then crash MP4box like clockwork.

There is nothing wrong with the streams. Using a separate mp4box install, I was able to mux the streams and the result plays fine on my PS3.

Zathor
13th November 2010, 19:29
...Using a separate mp4box install... Which one?

Hotpocketdeath
13th November 2010, 19:33
Which one?

My MP4Box GUI

http://www.videohelp.com/tools/My_MP4Box_GUI

Edit: oh, and you can't replace MeGUI's mp4box.exe with the one installed with this other program. I tried and got an immediate error.

Also, I tried to revert back to a previous version of MP4box and it also errors out on me.

Lighto
14th November 2010, 05:07
My MP4Box GUI

http://www.videohelp.com/tools/My_MP4Box_GUI

Edit: oh, and you can't replace MeGUI's mp4box.exe with the one installed with this other program. I tried and got an immediate error.

Also, I tried to revert back to a previous version of MP4box and it also errors out on me.

I believe you need the whole mp4box folder.
I tried replacing the mp4box in MeGUI with RipBot264's by replacing the whole mp4box folder without getting an immediate error.
I didn't tried muxing file of size bigger than 2GB though.

Zathor
14th November 2010, 23:32
MP4Box build has been changed today. with this build I cannot reproduce anymore the problems mentioned above. But with all the GPAC problems in the last weeks I assume we will find new (or old) problems soon.

0.3.5.26
- [Audio Downmix] enhanced avisynth script in order to cover more input channel configurations. Patch by tebasuna51
0.3.5.25
- [MKVMuxer] changed log output language to English
- [x264] added option to disable the 64 bit mode of x264
- [x264] in case of a problem with the 64 bit mode of x264 it will be disabled (and not automatically enabled again)

Lighto
15th November 2010, 07:20
@Zathor
Thanks for the updates!:D

Rat Killer
16th November 2010, 12:52
Anyone have an idea on what is going on with the audio encode input tab? I posted this question a few days ago with no response so I assume its just me but could use some ideas. Now using MeGui 0.3.5.26 and still same problem.

When attempting to enque the audio encode portion of a job, dts or ac6 to ac3, 5.1, 448kbps using either ffmpeg or aften, when I click enque, MeGUI errors with the message: 'Object reference not set to an instance of an object' Tried several different files and they all do this when trying to enque the audio job. Used to work fine prior to 0.3.5.24 so not sure what changed.

I can still convert the audio using eac3to via the stream extract tool but not from the input tab. Any ideas what's going on?

Zathor
16th November 2010, 13:07
I posted this question a few days ago with no response Bug reports (and feature requests) may be overlooked here so if somebody really need/want the attention then the report has to be created in the SourceForge tracker.

When attempting to enque the audio encode portion of a job, dts or ac6 to ac3, 5.1, 448kbps using either ffmpeg or aften, when I click enque, MeGUI errors with the message: 'Object reference not set to an instance of an object' Tried several different files and they all do this when trying to enque the audio job. Used to work fine prior to 0.3.5.24 so not sure what changed.
Please post the log file. Also I assume that it has nothing to do with changes between 0.3.5.23 and 0.3.5.24 (please try it with extracting this file into your MeGUI directory http://megui.org/auto/megui-core_0_3_5_23.zip)

tebasuna51
16th November 2010, 14:35
Anyone have an idea on what is going on with the audio encode input tab?

When attempting to enque the audio encode portion of a job, dts or ac6 to ac3, 5.1, 448kbps using either ffmpeg or aften, when I click enque, MeGUI errors with the message: 'Object reference not set to an instance of an object' ...

I can still convert the audio using eac3to via the stream extract tool but not from the input tab. Any ideas what's going on?
The file in Input tab must be a standard DTS or AC3.

If you have the audio track inside a container (mkv, m2ts, ts) is always better use eac3to with the stream extractor tool.

Rat Killer
16th November 2010, 14:46
They are standard dts and ac3 files created by dgindexnv.

Zathor
16th November 2010, 15:43
Please post the log file :rolleyes:

Rat Killer
16th November 2010, 16:02
Here is log file:

[Information] Versions
-[Information] MeGUI Version : 0.3.5.26
-[Information] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
-[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
-[Information] Avisynth Version : 2.5.8.5 (12/21/2008 9:46:54 PM)
[Information] Log for job1 (idx, myvideo.mkv -> myvideo.dgi)
-[Information] [11/16/2010 8:52:34 AM] Started handling job
-[Information] [11/16/2010 8:52:34 AM] Preprocessing
-[Information] Job commandline: "C:\Program Files\megui\tools\dgindexnv\dgindexnv.exe" -i "C:\Documents and Settings\aaa\My Documents\My Videos\myvideo.mkv" -o "C:\Documents and Settings\aaa\My Documents\My Videos\myvideo.dgi" -e -h -a
-[Information] [11/16/2010 8:52:34 AM] Indexing started
-[Information] Standard output stream
-[Information] Standard error stream
-[Information] [11/16/2010 8:58:33 AM] Postprocessing
--[Information] Deleting intermediate files
---[Information] [11/16/2010 8:58:39 AM] Successfully deleted C:\Documents and Settings\aaa\My Documents\My Videos\myvideo.log
-[Information] [11/16/2010 8:58:39 AM] Job completed

[Error] Unhandled error
-[Information] Exception message: Object reference not set to an instance of an object.
-[Information] Stacktrace
--[NoImage] at MeGUI.core.gui.AudioEncodingTab.queueAudioButton_Click(Object sender, EventArgs e)
--[NoImage] at System.Windows.Forms.Control.OnClick(EventArgs e)
--[NoImage] at System.Windows.Forms.Button.OnClick(EventArgs e)
--[NoImage] at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
--[NoImage] at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
--[NoImage] at System.Windows.Forms.Control.WndProc(Message& m)
--[NoImage] at System.Windows.Forms.ButtonBase.WndProc(Message& m)
--[NoImage] at System.Windows.Forms.Button.WndProc(Message& m)
--[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
--[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
--[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
-[Information] Inner exception: null

Zathor
16th November 2010, 21:37
Thanks, the problem has been fixed.

Rat Killer
16th November 2010, 21:44
Too Cool, Thanks Zathor!

z0rc
17th November 2010, 00:21
Hi. Could you update oggenc2 in both x86 and x64 versions to this one (http://www.rarewares.org/ogg-oggenc.php)?

dtscript
18th November 2010, 22:22
I'm glad the "and close" check box was added to the muxer windows a couple versions back

However, when you uncheck it, queue a file to mux, and then start to select the next files to mux, the muxed output filename does not change

so for example I have 1.mp4 (vid), 1.m4a (audio), 2.mp4 (vid), 2.m4a (audio)
I use mp4 muxer
I select 1.mp4 for video and 1.m4a for audio
the muxed output will be something like 1-muxed.mp4
I uncheck "and close" then click queue, all is good
however, if I then select new video and audio inputs to be muxed, the output filename is still 1-muxed.mp4

I think the output filename needs to be updated based on the video input filename - this is how the indexer works

thanks for the great GUI and all the recent updates!

Sharktooth
22nd November 2010, 15:12
seems reasonable

Zathor
22nd November 2010, 16:24
Yes, and it has been implemented a few days ago. Forgot to mention it here. Sorry.

Knuffi
24th November 2010, 19:33
Edit: Error already fixed ... sorry!

Edit 2: I get the same error as Ratkiller, but there is no update on the server ...

Zathor
24th November 2010, 23:11
The fix is in the svn only. We need to wait for another fix and then a new build will be released. Revert to this http://megui.org/auto/megui-core_0_3_5_21.zip if you need the fix now.

mpioner
25th November 2010, 16:08
MeGUI would use avisynth.dll directly to open avisynth scripts.

rapscallion
25th November 2010, 19:41
@Zathor. I notice in the latest build (3.5.26) that the log file no longer shows "final statistics, video BR desired, Video br obtained".

Edit : Forgot to mention that this is X264 Blu-ray 2 pass mode

Is this intentional ?

CurrentPartial:
---[NoImage] encoded 209536 frames, 3.85 fps, 18595.08 kb/s
--[Information] [11/25/2010 5:42:01 AM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [11/25/2010 5:42:02 AM] Successfully deleted C:\br avs\eaprlo.stats
----[Information] [11/25/2010 5:42:02 AM] Successfully deleted C:\br avs\eaprlo.stats.mbtree
--[Information] [11/25/2010 5:42:02 AM] Job completed

Previous Partial:
--[Information] Final statistics
---[NoImage] Video Bitrate Desired: 25525 kbit/s
---[NoImage] Video Bitrate Obtained (approximate): 25510 kbit/s
--[Information] [5/18/2010 4:24:57 AM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [5/18/2010 4:24:58 AM] Successfully deleted D:\bd test\final cd\encoded\final_cd_bd.stats
----[Information] [5/18/2010 4:24:58 AM] Successfully deleted D:\bd test\final cd\encoded\final_cd_bd.stats.mbtree
--[Information] [5/18/2010 4:24:58 AM] Job completed
-[Information] [5/18/2010 4:25:35 AM] Shutdown initiated

Happy Thanksgiving everyone !!

Zathor
27th November 2010, 12:35
Thanks, will be added in the next build.

Zathor
27th November 2010, 19:10
0.3.5.27
- (zathor) [File Indexer] after "on completion load files" no audio encoding could be queued. Bug #3110119
- (zathor) [Muxer] if the mux window is not closed after queueing the output file name will be cleared
- (zathor) [x264] added missing "final statistics" log entry
- (zathor) [x264] extended quality mode to include 0 as a valid crf/qp GUI value
- (zathor) [x264] fixed command line generation for --rc-lookahead with ultrafast/superfast/veryfast presets
- (zathor) [x264] changed command line generation for --weightp with superfast/veryfast presets
- (zathor) [x264] changed default value of --qpmin to 0 (requires x264 rev 1795+)
- (zathor) [Audio Downmix] enhanced avisynth script. Patch by tebasuna51

rapscallion
27th November 2010, 19:25
Thanks Zathor! Great work, as usual.

One question: "[x264] changed default value of --qpmin to 0 (requires x264 rev 1795+)"
However, update server remains x264 rev 1766. After update, --qpmin remains at "10".

Will it only default to "0" when using/reaches rev 1795+?

sinz718
30th November 2010, 18:59
I had a suggestion for people like me who use megui a lot and hate having to redo the same process 100x times :).
I made a mock up so It would be easy to understand, here:
http://img220.imageshack.us/img220/5175/suggestion.th.jpg (http://img220.imageshack.us/img220/5175/suggestion.jpg)
If this was already mentioned excuse my post then but direct me to the installer.

mastrboy
30th November 2010, 21:12
I had a suggestion for people like me who use megui a lot and hate having to redo the same process 100x times :).
I made a mock up so It would be easy to understand, here:
http://img220.imageshack.us/img220/5175/suggestion.th.jpg (http://img220.imageshack.us/img220/5175/suggestion.jpg)
If this was already mentioned excuse my post then but direct me to the installer.

Selection of multiple source files is indeed a needed feature, i encode a lot of series and it's a hassle to add each avs file separately.

I suggest you add it to the feature request tracker: http://sourceforge.net/tracker/?group_id=156112&atid=798479

Zathor
30th November 2010, 23:22
One question: "[x264] changed default value of --qpmin to 0 (requires x264 rev 1795+)"
However, update server remains x264 rev 1766. After update, --qpmin remains at "10".

Will it only default to "0" when using/reaches rev 1795+?
The user profiles will not be updated. You have to reset the profile or change qpmin manually.

sinz718
1st December 2010, 04:03
Selection of multiple source files is indeed a needed feature, i encode a lot of series and it's a hassle to add each avs file separately.

I suggest you add it to the feature request tracker: http://sourceforge.net/tracker/?group_id=156112&atid=798479

Thanks for the interest I had a feeling I wasn't alone on this and posted at the above link, thanks.

Kaiketsu
1st December 2010, 10:25
ive had a serch around this fourm and cant find a solution to my problem, ive foud simular problems but there solution's didn't work, mainly as its not the exacrt error, so heres my problem:

im using a .ts vid file and aftyer index and resize i would like to scroll trough the vid to get the points i need to start to make my cuts, this is where i get my faital error.

[Information][Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.5.0
--[NoImage] OS : Windows Vista Enterprise Edition x86 SP1 (6.0.65536.6001)
--[NoImage] Latest .Net Framework installed : 3.5 (3.5.30729.01)
--[NoImage] Avisynth Version : 2.5.8.5
-[Error] Unhandled error
--[NoImage] Exception message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
--[NoImage] Stacktrace
---[NoImage] at MeGUI.AviSynthClip.dimzon_avs_getvframe(IntPtr avs, IntPtr buf, Int32 stride, Int32 frm)
---[NoImage] at MeGUI.AviSynthClip.ReadFrame(IntPtr addr, Int32 stride, Int32 frame)
---[NoImage] at MeGUI.AvsFile.AvsVideoReader.ReadFrameBitmap(Int32 position)
---[NoImage] at MeGUI.VideoPlayer.positionSlider_Scroll(Object sender, EventArgs e)
---[NoImage] at System.Windows.Forms.TrackBar.OnScroll(EventArgs e)
---[NoImage] at System.Windows.Forms.TrackBar.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[NoImage] Inner exception: null

things ive tryed are, reinstall of megui and avisynth, diffrent OS's (xp vista, and 7) and diffrent systems (x86 and x64) also i have tried on a fresh install of xp. i also am using full admin privaliges. there error is always the same and gives the same details in the log file (OS details change)

so if anyone kows how to fix this please help ^_^.

Zathor
1st December 2010, 11:27
Please post the avs file you are using (which have been created after the indexing of the file). Additionally you can try to update to the development build of MeGUI.

Kaiketsu
1st December 2010, 11:30
the avs is like the auto gen avs i havent applied any filters yet and only did a resize but it is still effected by the error without it and if i remove all the un-needed stuffs

LoadPlugin("C:\Program Files\MeGUI\tools\dgavcindex\DGAVCDecode.dll")
AVCSource("F:\mm 06\MM 06.dga")
#deinterlace
#crop
LanczosResize(704,400) # Lanczos (Sharp)
#denoise


Update:

upgraded to the developmet virsion but now it crashes out compleatly, but its smoother in the peview window.

Sharktooth
1st December 2010, 17:06
try using ffms2 instead of DGAVCDecode (that is no longer developed nor supported)

rapscallion
2nd December 2010, 00:15
The user profiles will not be updated. You have to reset the profile or change qpmin manually.

Thanks for latest build .28, which has x264 rev 1804.

What exactly does qpmin affect and what does changing from 10 to 0 accomplish?

Sharktooth
2nd December 2010, 04:20
it affects the ratecontrol decisions. basically it "unlocks" quants from 0 to 9 so the encoder can use them when ratecontrol "needs" them.
the immediate benefit is it will be much difficult to get undersized files. another benefit will be some frames with better quality when AQ is enabled AND quant 10 is not enough for some really flat areas (read as: less artifacts in flat areas and gradients).
btw the qpmin cap value (10) was arbitrary.

rapscallion
3rd December 2010, 16:50
Thanks for the explanation Sharktooth !

I changed the qpmin value, in the X264 Blu-Ray 2 pass preset, to "0" and
notice now that qpmin is no longer in the Megui config command line.

I assume this is normal?

Sharktooth
3rd December 2010, 18:54
yes coz 0 is the new default value.

Zathor
4th December 2010, 12:11
Changed qpmin in trhe default profiles to 0.

0.3.5.29
- [Audio Downmix] enhanced avisynth script part II. Patch by tebasuna51

rapscallion
6th December 2010, 23:14
@zathor, after updating to the new profiles, preset Blu-ray 1080p24 720p24 when loaded, Megui comes up with a message something like "convert to yv12 is missing from the script, do you want me to add it?"

I click yes, but don't see it anywhere in the command line(s)??

Zathor
6th December 2010, 23:23
The only change in the profiles has been to replace qpmin 10 with qpmin 0. The profiles are not related to your warning. The missing line will be addedto your avisynth script if needed.

rapscallion
6th December 2010, 23:36
Thanks...interesting that I never got that message before.
I should have realized that the "script" meant avisynth, NOT command line.
And, sure enough, it gets added with any profile that I load.

BTW, source was mpeg video, m2ts from Pearl Harbor. This was the actual message :
The colorspace of your clip is not in YV12...
Do you want me to add ConvertToYV12() to the end of your script ?

So, apparently it's particular/peculiar to this movie. And, it's great that Megui detects that !!

LDevil
7th December 2010, 19:28
Hi,

One-Click encode crash MeGUI. In directory with DVD files following files has been created before crash:
VTS_01 - Chapter Information - OGG.txt
VTS 01 1 T80 3_2ch 384Kbps DELAY 0ms.ac3
VTS 01 1.d2v
VTS_01_1.log
VTS 01 1.avs

I'm using mEGUI 0.3.5.29

emanresu
10th December 2010, 15:41
Name: megui.org
Address: 173.236.193.255

Might want to sort that out if you want the site to be accessible.

HeadlessCow
10th December 2010, 17:40
Name: megui.org
Address: 173.236.193.255

Might want to sort that out if you want the site to be accessible.

This has not mattered since 1993. (CIDR)

Zathor
11th December 2010, 11:10
Hi,

One-Click encode crash MeGUI. In directory with DVD files following files has been created before crash:
VTS_01 - Chapter Information - OGG.txt
VTS 01 1 T80 3_2ch 384Kbps DELAY 0ms.ac3
VTS 01 1.d2v
VTS_01_1.log
VTS 01 1.avs

I'm using mEGUI 0.3.5.29

Please post the source file or at least a part of it so that we can reproduce the error.

Zathor
11th December 2010, 14:02
I have updated several tools including tools which have been not updated quite a long time in MeGUI. As always I appreciate any bug report.

Lighto
11th December 2010, 14:40
I have updated several tools including tools which have been not updated quite a long time in MeGUI. As always I appreciate any bug report.

Having problems updating aften...
Trying server: http://megui.org/auto/
Retrieving update file from server...
File downloaded successfully...
Loading update data...
Update data loaded successfully...
Finished parsing update file...
There is 1 file that can be updated.
Updating aften. File 1/1.
Update completed.
0 file was completed successfully
1 file had problem.

rapscallion
11th December 2010, 14:57
Try the development server : http://megui.xvidvideo.ru/auto/

Lighto
11th December 2010, 15:00
Try the development server : http://megui.xvidvideo.ru/auto/

Trying server: http://megui.xvidvideo.ru/auto/
Retrieving update file from server...
File downloaded successfully...
Loading update data...
Update data loaded successfully...
Finished parsing update file...
There is 1 file that can be updated.
Updating aften. File 1/1.
Update completed.
0 file was completed successfully
1 file had problem.


I'll try deleting the content of my aften folder then update it, will report back later.

Update: Same problem occurs.

DVDBob
11th December 2010, 15:04
I have same problem as Lighto

Zathor
11th December 2010, 15:16
Having problems updating aften...
Thanks, should be fixed.

Zathor
11th December 2010, 15:50
0.3.5.30
- (zathor) [Update] enhanced update detection so that it is possible to downgrade a tool

DVDBob
11th December 2010, 16:03
Thanks Zathor for the quick update, now i have updated Aften successfully.

Lighto
12th December 2010, 06:57
When I try to manually create chapter, the first chapter can be created successfully from the preview window using the "Set Chapter" button without errors.

However, starting from the second chapter, an error pop-up appears.

The chapter is successfully created though and I don't see anything wrong with the time code.

Is this possibly a bug?
Or am I doing it wrong?:o
http://lulzimg.com/i0/410b342a.png
http://lulzimg.com/i0/2c3ee88a.png



Edit: So I figured out the problem was that one of the chapters must be selected if not I will get that error pop-up if I do anything.
It will be nice if MeGUI automatically select the last chapter if the user did not select any chapter.

In the event that I select a chapter out of 10 chapters, for example Chapter 05 before I click the add button in the Chapter Creator window. A new Chapter 05 is created with the same time code.

In the event that I click the Set Chapter button in the preview window with Chapter 05 selected of the 10 chapters in the list, a new Chapter 11 is created with the new time code. However the originally selected Chapter 05 is now Chapter 11 with the new time code as well.


Also if if I click the Clear button in the Chapter Creator window, then click Add or Set Chapter button, all the old chapters comes back.

Zathor
12th December 2010, 12:16
Another problem beside the message box is that if you select a chapter in the list and click then on "set chapter" this item will be replaced and a new item will be added. As a result you have two chapter items at the same position. If it's a bug or not does not matter - it does not work as intended as least as I think it should work. To be honest there are parts of MeGUI which I have never used before. The chapter creator is such a part.
Therefore I will remove the overwriting of an existing chapter item and hide the message box.
EDIT: Changed my mind because there are no up/down buttons in the list. If an item is selected then this item will be replaced and no second one will be added.

Lighto
12th December 2010, 12:33
Another problem beside the message box is that if you select a chapter in the list and click then on "set chapter" this item will be replaced and a new item will be added. As a result you have two chapter items at the same position. If it's a bug or not does not matter - it does not work as intended as least as I think it should work. To be honest there are parts of MeGUI which I have never used before. The chapter creator is such a part.
Therefore I will remove the overwriting of an existing chapter item and hide the message box.

We're on the same boat.:)
I am exploring the features and functions as well.
Anyways I've updated my previous post with more stuff I found.:p

Zathor
12th December 2010, 17:24
0.3.5.31
- (zathor) [ChapterCreator] removed error popup if more than one chapter is added within the preview window. Bug #3135824
- (zathor) [ChapterCreator] add only a new chapter item in preview mode if no chapter item is selected. fixed the chapter number for this item. Bug #3135824
- (zathor) [ChapterCreator] preview window will be closed together with the chapter creator window
- (zathor) [ChapterCreator] fixed clear button. Bug #3135824
- (zathor) [VideoPlayer] time code enabled by default
- (kurtnoise + zathor) added flac encoding

Lighto
13th December 2010, 05:39
0.3.5.31
- (zathor) [ChapterCreator] removed error popup if more than one chapter is added within the preview window. Bug #3135824
- (zathor) [ChapterCreator] add only a new chapter item in preview mode if no chapter item is selected. fixed the chapter number for this item. Bug #3135824
- (zathor) [ChapterCreator] preview window will be closed together with the chapter creator window
- (zathor) [ChapterCreator] fixed clear button. Bug #3135824
- (zathor) [VideoPlayer] time code enabled by default
- (kurtnoise + zathor) added flac encoding

Thanks for the fix!:thanks:

board123
13th December 2010, 15:55
Would it be possible to add a default FFMS2/FFVideoSource input option to the AVS script creator? Right now it's either DSS or DSS2, and since FFMS2 is included in the tools already, it would make sense to have that as a third input filter.

Lighto
14th December 2010, 10:44
Would it be possible to add a default FFMS2/FFVideoSource input option to the AVS script creator? Right now it's either DSS or DSS2, and since FFMS2 is included in the tools already, it would make sense to have that as a third input filter.

I would have to agree that it does make sense to add in FFVideoSource.

However, while I was messing around and it turns out that if you didn't index the file with FFMSIndex before and you have a script similar to this
LoadPlugin("C:\MeGUI_0.3.5_x86_WithoutInstaller_OfflinePackage\tools\ffms\ffms2.dll")
FFVideoSource("randomVideoFile.extension")
#deinterlace
#crop
#resize
#denoise

and you hit the preview or the save button, the process of indexing/creating of the .ffindex file is done in the background.

During this period of time, MeGUI isn't responsive.
Maybe it's just my Core2Duo laptop.:p

The current work flow is that one would have to use the File Indexer to index the file with FFMSIndex.
After the indexing is completed, MeGUI would then automatically open AVS Creator with the script using FFVideoSource.

No offense but I believe there is a need for the developers to come up with some sort of workaround or an alternative work flow if FFVideoSource were to be implemented in AVS Creator to address to the issue of MeGUI becoming non-responsive while indexing the file in the background.

Cheers!:)

rapscallion
14th December 2010, 15:00
@Zathor

Since updated to V.31, every time I open Megui it wants to update 6 files that are already current.

Lighto
14th December 2010, 15:09
@Zathor

Since updated to V.31, every time I open Megui it wants to update 6 files that are already current.

I experienced that as well after updating to v30.
I just let MeGUI update itself and it doesn't nag at me anymore.

rapscallion
14th December 2010, 15:29
Duh! Why didn't I think of that ? :D

Boo
14th December 2010, 18:09
There seems to be some problem with both MKV Muxer and MP4 Muxer.

If I encode a 5m53s long video (23.976fps) with --pulldown 32 to a raw .264
and then mux the file with the M2TS Muxer everything is fine (5m53s, 29.970fps).

If I do the same but mux with MKV Muxer or MP4 Muxer the video ends up being 4m42s long (29.970fps).

vergil666
14th December 2010, 20:23
Hello ,

i have a probleme with Megui since the last update.
When I encode a video xvid / mp3 with auto encode by choosing the size has 198mb, at the end I have a file AVI of 261Mb in places of 198Mb.

LDevil
14th December 2010, 22:46
Please post the source file or at least a part of it so that we can reproduce the error.

OK:
LoadPlugin("C:\Program Files (x86)\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("D:\DVD.ISO\PrzypadkowaNarzeczona\VIDEO_TS\VTS 01 1.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#Not doing anything because the source is progressive
crop( 4, 82, -2, -80)

Spline36Resize(640,336) # Spline36 (Neutral)
LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise

flebber
15th December 2010, 12:40
@Ldevil

Post the video file not the script - a section of the video source you are referring too.

LDevil
16th December 2010, 02:36
@Ldevil

Post the video file not the script - a section of the video source you are referring too.
It was hard for me to upload source video file - it's 4GB DVD rip. But when I was trying to extract a part of video file I realized that problem is connected to VTS_01_0.IFO file. If this file exists along with VOB files in one directory, MeGUI crash in the way I mentioned in previous post.
But if I remove this file from directory (so there are only VOB files) everything works!
I've attached mentioned VTS_01_0.IFO file, but this problem occured also with other DVDs.

flebber
16th December 2010, 11:54
It was hard for me to upload source video file - it's 4GB DVD rip. But when I was trying to extract a part of video file I realized that problem is connected to VTS_01_0.IFO file. If this file exists along with VOB files in one directory, MeGUI crash in the way I mentioned in previous post.
But if I remove this file from directory (so there are only VOB files) everything works!
I've attached mentioned VTS_01_0.IFO file, but this problem occured also with other DVDs.

you using dvddecrypter, dvdfab?

Lighto
16th December 2010, 15:56
There seems to be some problem with both MKV Muxer and MP4 Muxer.

If I encode a 5m53s long video (23.976fps) with --pulldown 32 to a raw .264
and then mux the file with the M2TS Muxer everything is fine (5m53s, 29.970fps).

If I do the same but mux with MKV Muxer or MP4 Muxer the video ends up being 4m42s long (29.970fps).

For MKV Muxer and MP4 Muxer, set the fps to 23.976.
It should fix the problem, I can't tell you why there isn't a need in the M2TS Muxer though.

:)


Hello ,

i have a probleme with Megui since the last update.
When I encode a video xvid / mp3 with auto encode by choosing the size has 198mb, at the end I have a file AVI of 261Mb in places of 198Mb.

Tested with big bucks bunny as my source file and encoded it to xvid/mp3 and couldn't replicate your problem.
Try providing a sample of your source file and MeGUI's logs so that others can help you regarding this issue.

LDevil
16th December 2010, 20:08
you using dvddecrypter, dvdfab?
DVDDecrypter

vergil666
16th December 2010, 20:26
Tested with big bucks bunny as my source file and encoded it to xvid/mp3 and couldn't replicate your problem.
Try providing a sample of your source file and MeGUI's logs so that others can help you regarding this issue.

ok thanks, i think its my source file because i tried with another source and there is no probleme.

flebber
17th December 2010, 00:10
DVDDecrypter

I can't see a particular problem. tried to replicate your problem couldn't

First update avisynth to latest version http://sourceforge.net/projects/avisynth2/files/AviSynth%202.5/AviSynth%202.5.8/

second your directory should contain vts_01_0 try loading that instead.

Zathor
18th December 2010, 11:22
It was hard for me to upload source video file - it's 4GB DVD rip. But when I was trying to extract a part of video file I realized that problem is connected to VTS_01_0.IFO file. If this file exists along with VOB files in one directory, MeGUI crash in the way I mentioned in previous post.
But if I remove this file from directory (so there are only VOB files) everything works!
I've attached mentioned VTS_01_0.IFO file, but this problem occured also with other DVDs.

Sorry, cannot reproduce the problem with your file only.

mpamphs70
19th December 2010, 13:25
I created an image of the movie "The expendables" on my hdd with anydvdhd.
I extracted all the necessary streams into the hdd but when I tried to index the mkv file, I found out that there wasn't any option to index the file. So I couldn't proceed with the queue option.
Any suggestions?

Sharktooth
19th December 2010, 15:28
your question is not clear. you said you have created an "image" of a movie with anydvdhd... then you want to "index the mkv".
i cant understand.

mpamphs70
19th December 2010, 18:17
your question is not clear. you said you have created an "image" of a movie with anydvdhd... then you want to "index the mkv".
i cant understand.

O.K. I'll be more specific:
I created an image of the movie "The expendables" with anydvdhd.
I mounted the image with virtual clone drive.
From the tools menu of the megui I selected the HD streams extractor option and I extracted the necessary streams into the hdd.
I extracted the video stream as an mkv file and from the tools menu again I selected the file indexer option.
In the input file I selected the mkv file I mentioned above, but to my surprise I can't select a file indexer, all the options (e.g. ffmsindex ) are grayed out.
I hope I was more helpful :)

Zathor
19th December 2010, 18:28
Which MeGUI build are you using? And please post the mediainfo of the mkv file.

mpamphs70
19th December 2010, 18:32
Megui build 0.3.5.31

media info:

General
Unique ID : 269633953295690861695923320702956546653 (0xCAD99C479A4005AEC3AFCAC04C192A5D)
Complete name : G:\THE_EXPENDABLES\New folder\F1_T2_Video - .mkv
Format : Matroska
File size : 20.0 GiB
Duration : 1h 39mn
Overall bit rate : 28.9 Mbps
Encoded date : UTC 2010-12-18 09:51:49
Writing application : eac3to
Writing library : Haali DirectShow Matroska Muxer 1.10.262.12

Video
ID : 1
Format : VC-1
Format profile : AP@L3
Codec ID : WVC1
Codec ID/Hint : Microsoft
Duration : 1h 39mn
Bit rate : 28.4 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.547
Stream size : 19.6 GiB (98%)

Zathor
19th December 2010, 18:55
The only included indexer which can index an mkv container with interlaced vc-1 is DGIndexNV and this one is only activated if you have a Nvidia card and a licence for it. So you have to use DiretShowSource (or DSS2) to open the file directly without indexing it.

Zathor
30th December 2010, 19:51
1883
- [MP4 Muxer] fixed tmp directory handling. Bug #3129545
- [Update] changed update detection. Some/all downloads may need to be reapplied once.
- [Update] added the update date to the update window
- [Log] added preliminary log file writing. the well formed file will be written during closing.
- fixed main window height saving
- [Update] added update log entries also to the main log
- [Audio Cutter] fixed problem with some non 7bit ASCII path/file names. Bug #3144278
- changed version numbers to the svn build number
- added besplit

1884 (zathor) [Update] fixed problem with applying core update

rapscallion
30th December 2010, 22:29
1884 (zathor) [Update] fixed problem with applying core update


Apparently not, 1884 keeps wanting to update the core...I stopped after 12 restarts.

Shevek
30th December 2010, 22:56
1884 (zathor) [Update] fixed problem with applying core update

Mine keeps offering 1884 as an update, even though it is already installed. :confused:

http://paje.ro/wp-content/uploads/2010/12/MeGUI-Updater_2010-12-30_21-57-04.png

Zathor
30th December 2010, 23:05
Mhm, it works for me. Please close MeGUI and post the first lines of the AutoUpdate.xml. There should be something like
<CurrentVersion>
<FileVersion>1884</FileVersion>
<UploadDate>2010-12-30T19:11:00Z</UploadDate>
</CurrentVersion>
<AvailableVersions>
<Version>
<FileVersion>1884</FileVersion>
<Url>megui-core_1884.zip</Url>
<UploadDate>2010-12-30T19:11:00</UploadDate>
</Version>
</AvailableVersions>
in line 7-17.

Shevek
30th December 2010, 23:12
Here's mine:

<CurrentVersion>
<FileVersion>1884</FileVersion>
<UploadDate>2010-12-30T20:11:00Z</UploadDate>
</CurrentVersion>
<AvailableVersions>
<Version>
<FileVersion>1884</FileVersion>
<Url>megui-core_1884.zip</Url>
<UploadDate>2010-12-30T19:11:00</UploadDate>
</Version>
</AvailableVersions>

I notice that the times are an hour apart. Something to do with time zones? I am in GMT.

palwan
30th December 2010, 23:16
And mine:

- <CurrentVersion>
<FileVersion>1884</FileVersion>
<UploadDate>2010-12-30T18:11:00Z</UploadDate>
</CurrentVersion>
- <AvailableVersions>
- <Version>
<FileVersion>1884</FileVersion>
<Url>megui-core_1884.zip</Url>
<UploadDate>2010-12-30T19:11:00</UploadDate>
</Version>
</AvailableVersions>

Zathor
30th December 2010, 23:20
It "should" not matter as the fix in 1884 was to use UTC. I am not in UTC, too. Which OS do you use?

Shevek
30th December 2010, 23:23
It "should" not matter as the fix in 1884 was to use UTC. I am not in UTC, too. Which OS do you use?

Win 7 x64

rapscallion
30th December 2010, 23:27
And mine (up to 20 restarts now !):
Win XP x32, SP3

<FileVersion>1884</FileVersion>
<UploadDate>2010-12-31T01:11:00Z</UploadDate>
</CurrentVersion>
<AvailableVersions>
<Version>
<FileVersion>1884</FileVersion>
<Url>megui-core_1884.zip</Url>
<UploadDate>2010-12-30T19:11:00</UploadDate>
</Version>
</AvailableVersions>
<AllowUpdate>true</AllowUpdate>

Zathor
30th December 2010, 23:36
1886 [Update] removed core file date check
1885 [HD Streams Extractor] added a warning if a gaps file is created

1886 should fix the problem finally. please report back if it is working now. if not then please post again the autoupdate.xml lines.

Shevek
30th December 2010, 23:40
1886 should fix the problem finally. please report back if it is working now. if not then please post again the autoupdate.xml lines.

Now updated to 1886 and no longer asks for updates

Thanks Zathor

rapscallion
31st December 2010, 01:11
+1, works fine now. Thanks Zathor for the quick fixes !!

tebasuna51
31st December 2010, 13:29
Thanks Zathor.

But, for what BeSplit v0.9b6?
There are:

BeSplit v0.9b7
- workaround for converting open-bitrate dtswavs..

And the latest I know:
BeSplit v0.9b8
- block_align fix in 6ch mode. See :
http://forum.doom9.org/showthread.php?p=609216#post609216

Zathor
31st December 2010, 13:34
Because I did not know that there is a newer build. I just wanted to add the last missing program (neroenc can not be added of course).
EDIT: Do you have a download link for v9b8?
EDIT2: Nevermind ... http://besweet.notrace.dk/BeSplitv0.9b8.zip

Zathor
31st December 2010, 14:02
1888 [AVS Cutter] fixed async audio with fades. Bug #2945637
1887 [Log] fixed missing log entries in the preliminary log file

Lighto
31st December 2010, 14:51
Thanks for the updates!

Also,

Happy New Year!

tebasuna51
31st December 2010, 19:06
Thanks for BeSplit and AVS Cutter changes.

Happy New Year to everybody!

nikusor665
1st January 2011, 11:00
I keep getting this kind of blocks in the video preview window http://img402.imageshack.us/img402/7571/87746699.jpg when trying to resize from 1080p to 720p , actually its happening even if I dont resize ...I updated everything in MeGui, installed the latest AViSynth 2.5.8 , added ConvertToYV12() to the avs script when resizing .... what do I need to do ?? The encodes are blocky too .

LE: I solved it. The problem was the original file I used. It was a split/cut with tsmuxer from a bigger m2ts file. And apparently avs didnt handle the split file well , although when playing mpc-hc didnt have a problem with it .

rapscallion
1st January 2011, 22:36
Happy New Year everyone !!

@Zathor, with the new version #'s, if you do 123 core updates, the version will be the same as this year. :D

GDAce
3rd January 2011, 14:53
i am getting an error when am trying to run pre-rendering job...

Process exits with error code: -529697949

any solutions please

Zathor
3rd January 2011, 18:33
Please post the log, the content of the generated avs file and the mediainfo of the source file.

GDAce
3rd January 2011, 18:56
[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 1888 (svn)
--[Information] OS : Windows Seven x64 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 3.5 SP1 (3.5.30729.4926)
--[Information] Avisynth Version : 2.5.8.5 (11/16/2009 6:25:55 AM)
-[Information] Update detection
--[Information] [1/3/2011 5:51:15 PM] Trying server: http://megui.org/auto/
--[Information] [1/3/2011 5:51:15 PM] Retrieving update file from server
--[Information] [1/3/2011 5:51:17 PM] File downloaded successfully
--[Information] [1/3/2011 5:51:17 PM] Loading update data
--[Information] [1/3/2011 5:51:17 PM] Update data loaded successfully
--[Information] [1/3/2011 5:51:17 PM] Finished parsing update file
--[Information] [1/3/2011 5:51:17 PM] There is 0 file that can be updated.
-[Information] Log for job9 (idx, VTS_06_1.VOB -> VTS_06_1.d2v)
--[Information] [1/3/2011 5:52:37 PM] Started handling job
--[Information] [1/3/2011 5:52:37 PM] Preprocessing
--[Information] Job commandline: "C:\Program Files (x86)\MeGUI\tools\dgindex\dgindex.exe" -SD=< -AIF=<G:\My\VTS_06_1.VOB< -OF=<G:\My\VTS_06_1< -FO=0 -exit -hide -OM=2
--[Information] [1/3/2011 5:52:37 PM] Indexing started
--[Information] Standard output stream
--[Information] Standard error stream
--[Information] [1/3/2011 5:56:55 PM] Running auto force film
---[Information] Film percentage: -1
--[Information] [1/3/2011 5:56:56 PM] Postprocessing
--[Information] [1/3/2011 6:04:13 PM] Job completed
-[Error] Log for job10 (video, VTS_06_1.avs -> hfyu_VTS_06_1.avi)
--[Information] [1/3/2011 7:38:59 PM] Started handling job
--[Information] [1/3/2011 7:38:59 PM] Preprocessing
--[Information] Job commandline: "C:\Program Files (x86)\MeGUI\tools\mencoder\mencoder.exe" "G:\My\VTS_06_1.avs" -o "G:\My\hfyu_VTS_06_1.avi" -of avi -forceidx -ovc lavc -nosound -lavcopts vcodec=ffvhuff:vstrict=-2:pred=2:context=1
--[Information] [1/3/2011 7:39:02 PM] Encoding started
--[Error] [1/3/2011 7:39:03 PM] Process exits with error code: -529697949
--[Information] Standard output stream
---[NoImage] MEncoder Sherpya-SVN-r32674-4.2.5 (C) 2000-2010 MPlayer Team
---[NoImage] 161 audio & 356 video codecs
---[NoImage] success: format: 0 data: 0x0 - 0x216
--[Information] Standard error stream
--[Information] [1/3/2011 7:39:03 PM] Job completed

AVS Content

LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("G:\My\VTS_06_1.d2v", cpu=4)
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\TIVTC.dll")
tfm(order=1).tdecimate(hybrid=3)

crop( 2, 44, -2, -48)
fastdegrain(degrain=1)
LanczosResize(720,320) # Lanczos (Sharp)

Source is d2v of vob file...here is mediainfo of vob

General
Complete name : G:\My\VTS_06_1.VOB
Format : MPEG-PS
File size : 1 024 MiB
Duration : 21mn 42s
Overall bit rate : 6 596 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=13
Duration : 21mn 42s
Bit rate mode : Variable
Bit rate : 6 016 Kbps
Nominal bit rate : 8 000 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 2.35:1
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.581
Stream size : 934 MiB (91%)

Audio
ID : 128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Duration : 21mn 42s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Video delay : -206ms
Stream size : 69.5 MiB (7%)

Menu

Boardlord
3rd January 2011, 20:27
Hi Zathor,

I seem to have run into the same, or similar update problem some users encountered. I updated from 0.3.5.31 to 1886 without a hitch a couple of days ago. I checked again for updates today saw that a lot of components were listed as outdated despite their being up-to-date. I de-selected them, leaving only the truly updateable ones and went ahead with the update to 1888, trusting that the problem will be fixed after the restart of MeGUI. After restart though this welcomed me:

http://img218.imageshack.us/img218/8307/scr1w.th.png (http://img218.imageshack.us/i/scr1w.png/)

My AutoUpdate.xml:

http://www.multiupload.com/P4P5ABJ4NB

The first few lines of it:

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfIUpgradeable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<iUpgradeable xsi:type="MeGUIFile">
<Reinstall>false</Reinstall>
<DownloadChecked>false</DownloadChecked>
<SaveFolder>D:\Mpeg\Video\Encode\MEGUI</SaveFolder>
<CurrentVersion>
<FileVersion>1888</FileVersion>
<UploadDate>2010-12-31T00:00:00</UploadDate>
</CurrentVersion>
<AvailableVersions>
<Version>
<FileVersion>1888</FileVersion>
<Url>megui-core_1888.zip</Url>
<UploadDate>2010-12-31T00:00:00</UploadDate>
</Version>
</AvailableVersions>

Thanks for the help!

edit: small additional info

Zathor
3rd January 2011, 22:09
I updated from 0.3.5.31 to 1886 without a hitch a couple of days ago. I checked again for updates today saw that a lot of components were listed as outdated despite their being up-to-date. I de-selected them, leaving only the truly updateable ones and went ahead with the update to 1888, trusting that the problem will be fixed after the restart of MeGUI.
Please click on update. This has been this change:
[Update] changed update detection. Some/all downloads may need to be reapplied once.
As the files should be in your update_cache folder no download will be necessary.

GDAce: Sorry, your information does not help - at least I have no idea why it is failing for you. In the next build there will be bigger changes to the pre-rendering job so I suggest to wait for that. It should be available in the next days.

Boardlord
3rd January 2011, 23:19
Please click on update. This has been this change:
[Update] changed update detection. Some/all downloads may need to be reapplied once.
As the files should be in your update_cache folder no download will be necessary.

All fixed, thanks!!

Zathor
5th January 2011, 12:29
1900 [Update] moved MediaInfoWrapper.dll from the MediaInfo package to a dedicated download package
1899 [Update] added 7-Zip support
[Update] enhanced log entries
1898 improved M2TS bitrate calculation. Patch by Selur
1897 [AutoEncode] cosmetic bitrate rounding
1896 removed mencoder
1895 [Snow] replaced mencoder with ffmpeg
1894 [pre-rendering job] replaced mencoder with ffmpeg for MeGUI x86
[pre-rendering job] fixed problem if the output file already exists. Bug #3018152
1893 [Job] improved deleting of files after a job has been aborted
1891 [pre-rendering job] added full status update to the progress window if using MeGUI x64. Bug #3018150
1890 [pre-rendering job] changed AVISource to FFVideoSource
[pre-rendering job] added the corresponding FFIndex job
1889 [OneClick] removed the blocking popup in case of an error during source type detection. instead the error message will be written into the log. Feature request #3148688

Lighto
5th January 2011, 13:08
Thanks for the updates!
:thanks:

Rat Killer
5th January 2011, 13:59
Most recent updates (Build 1902 and updated dgindexnv) result in invalid win32 application error.

[Error] Log for job8 (idx, 24 S5D4.Title5.DVDRip.vob -> 24 S5D4.Title5.DVDRip.dgi)
-[Information] [1/5/2011 6:54:32 AM] Started handling job
-[Information] [1/5/2011 6:54:32 AM] Preprocessing
-[Information] Job commandline: "C:\Program Files\megui\tools\dgindexnv\dgindexnv.exe" -i "C:\Documents and Settings\james.thorne\My Documents\My Videos\vob\24 S5D4\24 S5D4.Title5.DVDRip.vob" -o "C:\Documents and Settings\james.thorne\My Documents\My Videos\24 S5D4.Title5.DVDRip.dgi" -e -h -a
-[Error] Error starting job
--[Error] Exception message: starting encoder failed with error 'The specified executable is not a valid Win32 application.'
--[Error] Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
--[Error] Inner exception: null

Zathor
5th January 2011, 14:03
Please try a "Force (re)install" on the dgindexnv component.

Rat Killer
5th January 2011, 14:27
Thanks, that fixed it.

Zathor
5th January 2011, 18:40
Thanks for the report! I will have a fix/workaround for this kind of problem in the next release:
1903 [Job] if the executable cannot be started the file will be deleted and an update detection will be triggered

Rat Killer
8th January 2011, 13:38
I have what I hope is a minor GUI programming anomolie that can be fixed. Only recently ran into this when recoding some video from an anamorphic PAL dvd.

Anyway, the task at had requires me to recode with square pixels (PAR = 1:1) in a full frame 720p so effectivly upsizing slightly from the 720x576 pixel anamorphic input.

Load the vob source in the indexer and it loads to the aviSynth script creator. If I check the resize box and attempt to enter 1280, MeGUI changes it back to 720. Will not let me enter 1280. I then check the Nvidia Resizer box on the filters tab and then edit the script manually to 1280x720 resize. It then processes correctly so the manual edit workaroud is functional but takes time for each file.

Can you fix the AviSynth script creator GUI I/O tab to allow the 1280 horizontal resize (and then suggest the corresponding 720 vertical if possible)?

Thanks as usual for all your hard work on MeGUI.

Zathor
8th January 2011, 18:07
1905 [x264] fixed ref and bframes handling when using tunings (especially animation)
1904 [AVI Muxer] the script file will only be deleted if "delete intermediate files" is selected

@RatKiller: This is not a bug - it has been a design decision a long time ago because upsizing is usualy a waste of time/bitrate.

Dark Eiri
8th January 2011, 18:36
I really like this new SVN-number thing going on for the dev build!

Rat Killer
8th January 2011, 18:36
Mostly was interested in removing the anamorphic PAR without reducing resolution. Nearest supported res for the hardware chipset I was encoding for is 1280x720. Going down to 720x480 would be going to a lower res than the native file.

OK, thanks for the answer. I can still do what I need even if the GUI does not support it.

Zathor
8th January 2011, 18:43
I really like this new SVN-number thing going on for the dev build!

The stable will have the same "SVN-number thing" :) One of the ideas behind this is that any dev build can be declared as stable build and no rebuild is necessary.

Zathor
8th January 2011, 18:45
Mostly was interested in removing the anamorphic PAR without reducing resolution. Nearest supported res for the hardware chipset I was encoding for is 1280x720. Going down to 720x480 would be going to a lower res than the native file.

OK, thanks for the answer. I can still do what I need even if the GUI does not support it.

Maybe together with a warning it makes sense to allow upsizing. There should be already a feature request in the tracker.

AMED
10th January 2011, 20:37
it could also be a good idea to change the colour of the resolution numbers to red when upsizing.

Zathor
12th January 2011, 19:06
1908 [x264] improved preset and tuning handling
1907 [OneClick] + [Chapter Creator] replaced "I -1" in the saved qpfile for x264 with "K"
1906 [x264] fixed qpfile settings handling

Lighto
13th January 2011, 10:43
Thanks for the updates!
It would be nice if you could update x264 to the latest build as well.

Cheers!

cybersharky
14th January 2011, 16:09
Is it possible to add an option in the MKV muxer for the global file\segment title?

rapscallion
14th January 2011, 23:15
1905 [x264] fixed ref and bframes handling when using tunings (especially animation)


Wow, I didn't know there was a problem with tunings. I've been using "film" tune for awhile and didn't see any problems with the results. (Blu-ray 1080p/24 preset-BD-25)

Also haven't read any neg comments in this thread about it.
What exactly was the problem and result with the way ref and bframes were being handled, if I may ask?

Zathor
14th January 2011, 23:46
When changing the tuning setting while the preset was not medium the command line was sometimes wrong. e.g. in this example: http://forum.doom9.org/showpost.php?p=1468916&postcount=6007

rapscallion
14th January 2011, 23:57
Thanks for the reponse, I somehow missed that post or just glanced over it.

I've been using preset "medium" so I guess it didn't affect me.

Lighto
15th January 2011, 05:49
Not sure if this is a bug or just that my hardware is not up to the job.

My laptop supports a resolution of 1440 x 900.
In the event that I preview a AVS with a resolution that is close or bigger than the maximum resolution that my laptop supports( * x 800/ * x 1080), the controls of the preview window gets distorted.
The seek bar is gone and only the buttons are left align to the bottom left corner of the window.

I don't have access to a monitor that supports full HD resolution but I doubt that this problem will occur on a machine that supports the preview's resolution.

The only fix for this will be for me to manually resize the preview window to a smaller one by dragging the corner of the window.

Therefore I propose a feature that automatically resize the preview window to something smaller than the highest resolution while keeping the AR.
For example my machine supports only 1440 x 900, MeGUI will resize the preview window to 720p or less, if my machine support a resolution of less than 720p then the preview window will resize to 480p and so on.
I believe this is what StaxRip is using for their preview window as well.

Another option will be to somehow fix the missing controls when the preview content's resolution is higher than what the machine can support.

Cheerio~

Zathor
16th January 2011, 16:41
1911 [Changelog] updated changelog
1910 [Chapter Creator] + [MKV Muxer] cosmetics
1909 [Update] improved update detection

Also released this build as stable build... :eek:

Betsy25
16th January 2011, 17:07
It's alive !!! :eek:

rapscallion
16th January 2011, 19:42
Outstanding ! and only 100 more core updates to match this year :)

LDevil
17th January 2011, 19:35
One-Click encode crash MeGUI.
I had downloaded MeGUI sources and run it in debug mode. It seems that this error occured in JobUtil.cs:143.
When I choose AVI as my container method prov.GetMuxPath(container, splitSize.HasValue, allTypes.ToArray()); returns null. And this null caused application crash in line 143.
GetMuxPath returns null, probably because allTypes list contains ChapterType.OGG_TXT and AVIMuxGUIMuxerProvider doesn't support it.

Zathor
17th January 2011, 23:45
Thanks - fixed.

1913 [One-Click] chapters will not be added if output container is AVI
1912 [One-Click] fixed handling of video input files without audio track. Bug #3159523

Betsy25
18th January 2011, 03:16
Hello,

I have problems muxing raw AVC + AAC streams into .mp4 (mp4box). Audio is out-of-sync with variable framerate as Selur noted here (http://forum.doom9.org/showthread.php?p=1471913#post1471913).

Don't know if it's a bug in mp4box, user mistake, or incorrect usage of mp4box muxer.

Lighto
18th January 2011, 06:45
Is it just me or One-Click doesn't use the 64bit version of x264.....

Zathor
18th January 2011, 07:06
Is it just me or One-Click doesn't use the 64bit version of x264.....
One-Click and the other methods use the same way of starting x264. Please check in the settings that the 64bit mode for x264 is enabled.

Lighto
18th January 2011, 07:48
One-Click and the other methods use the same way of starting x264. Please check in the settings that the 64bit mode for x264 is enabled.

Made a mistake.
Anyway, if I named my .264 to 1.264 and feed it to the the One-Click, a fatal error window appears.

http://i.imgur.com/MPUl4.jpg

Edit:
It would seem that the error occurs with all source with numerical filename.

Log:
[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 1913 (svn)
--[Information] OS : Windows Seven x64 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.6.0.1 (27/9/2009 8:39:26 AM)
-[Information] Update detection
--[Information] [18/1/2011 5:56:00 PM] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [18/1/2011 5:56:02 PM] All files are up to date
-[Error] Unhandled error
--[Information] Exception message
---[NoImage] Index and length must refer to a location within the string.
---[NoImage] Parameter name: length
--[Information] Stacktrace
---[NoImage] at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
---[NoImage] at MeGUI.VideoUtil.getChapterFile(String fileName)
---[NoImage] at MeGUI.OneClickWindow.openInput(String fileName)
---[NoImage] at MeGUI.OneClickWindow.input_FileSelected(FileBar sender, FileBarEventArgs args)
---[NoImage] at MeGUI.FileBar.triggerEvent()
---[NoImage] at MeGUI.FileBar.setFilename(String filename)
---[NoImage] at MeGUI.FileBar.openButton_Click(Object sender, EventArgs e)
---[NoImage] at System.Windows.Forms.Control.OnClick(EventArgs e)
---[NoImage] at System.Windows.Forms.Button.OnClick(EventArgs e)
---[NoImage] at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
---[NoImage] at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
---[NoImage] at System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.ButtonBase.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Button.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] Inner exception: null

HowlerX
18th January 2011, 21:33
Hi. I dusted off my old iPod (5.5G) and encoded some TV shows I got for Xmas (Lucky Louie and Max Headroom... some fun stuff!!) I encoded the Max Headroom stuff with the previous stable build of MeGUI (3.5.0) and videos looked, encoded and played perfectly with the x264 version included in that version of MeGUI. I recently applied the new update (svn1911) and encoded some episodes of Lucky Louie and so far all the stuffed encoded with the version of x264 included with this version of MeGUI has contained corrupted video frames. I singled out that it was indeed x264 by going back and renaming the old .backup files in the MeGUI tools\x264 folders and using the older version of x264 to encode the same stuff over again. The older version of x264 worked great. The corrupted video frames looks similar to what happens when you seek video in VLC and you don't land on an I-frame. The video looks all pixelated until the next keyframe. Please look into it.
Thanks.

kws53
19th January 2011, 00:36
I've been doing a significant amount of re-encoding BluRays to 720P for streaming to my DLNA compliant BD player over the past week. I immediately noticed that after the 1911 upgrade, ALL of my re-encodes display higher average Bit Rates [double in many cases] DESPITE the encoding settings being identical. This, of course has resulted in larger files and longer encoding times.

These are x264 encodes and the only difference I see in the MediaInfo output is the Writing Library - originally "core 98" and now "core 112". I encode video only.

Here are my current pre-sets...

program --tune film --crf 16 --qpmin 10 --level 4.1 --bframes 3 --ref 4 --slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-bufsize 30000 --vbv-maxrate 40000 --weightp 0 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --output "output" "input"

Again, my average bitrate has risen from 4500 to 10000 despite identical crf settings. Ideas?

Kurt

Sharktooth
19th January 2011, 03:48
you're using CRF and complaining about the bitrate? rise it to get the expected results.
CRF behaviour may vary from (x264) builds to builds.

Lyle_JP
19th January 2011, 08:54
you're using CRF and complaining about the bitrate? rise it to get the expected results.
CRF behaviour may vary from (x264) builds to builds.

Including the latest build. As of r1867, x264 now takes frame-rate into account when calculating crf. Frame-rates higher than 25fps will now have slightly higher average quantization per frame than the immediate previous builds (and thus slightly smaller file sizes), while frame-rates below 25 fps will have the opposite behavior.

kieranrk
19th January 2011, 12:26
Could the Blu-ray presets have an input file straight to x264 with --force-cfr without the use of Avisynth? This is to take advantage of x264cli's 10-bit processing chain.

Sharktooth
19th January 2011, 14:40
kierank, actually it is not possible. however, make a feature request.

kws53
19th January 2011, 16:23
you're using CRF and complaining about the bitrate? rise it to get the expected results.
CRF behaviour may vary from (x264) builds to builds.

I'm not an expert by any means. I really don't understand what "core" represents [presumably the x264 build]. But I was happily doing 5-10 encodes a week and exhilarated with the results using crf as the "quality" parameter. I could count on the results being consistent from movie to movie and, most importantly, reproducible.

Suddenly I see a new writing library x264 core [changed from 98 to 112] and this changes the output bitrate [everything else equal] by a factor of 2 - yielding twice the filesize and twice the encoding time. Now my "library" of encodes is inconsistent.

Maybe I'm asking too much [considering the price of the software] - but I don't think that one should have to test each new release of MeGUI [or x264 build] to see whether the output bitrate is in line with previous releases WITH NO PARAMETER CHANGES. I don't think that one should have to vary crf or any other parameter to realize the same result. To me [as a developer], the purpose of parameters is to tweak or fine tune outputs while always maintaining consistency from build to build - not to correct for changes in the engine.

And wouldn't it have been prudent for the x264 developers to stipulate that core X produces a significantly different result than core Y?

Just my thoughts...

Kurt

Sharktooth
19th January 2011, 17:20
megui has nothing to do with your problem. the real problem is you cant count on CRF to be constant across x264 builds. also, if you're using CRF it means you dont care about the bitrate. if you do, then use a 2-pass bitrate mode or at least find the new CRF value that suits your needs. what you think is not relevant. Dark Shikari always said the CRF mean may change across builds so, either you bare with that or use a bitrate mode.

Zathor
19th January 2011, 17:36
And wouldn't it have been prudent for the x264 developers to stipulate that core X produces a significantly different result than core Y?

http://mirror01.x264.nl/x264/changelog.txt
WARNING: This change redefines x264's internal quality measurement.
x264 will now scale its quality based on the framerate of the video due to the aforementioned frame duration logic.
That is, --crf X will give lower quality per frame for a 60fps video than for a 30fps one.
This will make --crf closer to constant perceptual quality than previously.
The "center" for this change is 25fps: that is, videos lower than 25fps will go up in quality at the same CRF and videos above will go down.
This choice is completely arbitrary.

Maybe I'm asking too much [considering the price of the software] - but I don't think that one should have to test each new release of MeGUI [or x264 build] to see whether the output bitrate is in line with previous releases WITH NO PARAMETER CHANGES.
As you already noticed: nobody is paying for MeGUI and therefore nobody is being paid for quality assurance and as a result QA is not being done at all. Ok, the part that the developers are using themselves has of course some kind of QA and also no developer is implementing bugs willingly. The developers therefore rely on bug reports.

nurbs
19th January 2011, 17:58
The changelog doesn't list the core version unfortunately, but core 98 is somewhere around r1650, so there have been more than 200 new x264 versions in the meantime. Most of them don't influence the bitrate a CRF encode gives you a lot, if at all, but it adds up if you make a big jump like kws53 did.

HowlerX
20th January 2011, 00:42
I posted earlier this week regarding corrupted video frames on my iPod-sized mp4 encodes using the new x264 build (r1867) in the new MeGUI update (svn1911). Rather than going back and replacing the new x264 build with the old one I decided to investigate.
I downloaded various old revisions of x264 from the x264.nl mirrors and began doing some test encodes. After a few dozen encodes I pinpointed the last build that worked for me as r1790. Revision 1803 and above all produced corrupted video frames with my test clip. Looking through the x264 changelog, I noticed various optimization having to do with weighted P frames. So I tried turning off/on the various "--weightp" options with x264r1804. They had no effect.
The other notable change between r1790 and r1804 was setting qpmin default to "0." Sure enough that was the problem. Apparently the iPod 5.5G doesn't like qpmin values below six. Anything below --qpmin 6 would produce corrupt frames. My short clip includes a fade in and a fade out and the corruption would occur in the fade out portion of the video.
So my suggestion would be to enforce the old qpmin value of 10 ("--qpmin 10") for the iPod (5G, 5.5G) preset. No idea if this change in x264 affects the later model iPods (Classic/Touch.)

Hope I've been helpful. Thanks for reading.

Sharktooth
20th January 2011, 01:01
thanks for reporting. it's indeed very helpful for fixing the presets for the next version.

Zathor
23rd January 2011, 15:23
1920 [Log] the content of an avs input file will be added to the log
1919 [VideoPlayer] some sizing adjustments
1918 [One-Click] added the FFMSIndexer so that e.g. most AVI and MKV files are now supported.
if the FFMSIndexer is used the audio track must be encoded and cannot be muxed only.
1917 [FFMSIndexer] audio avs files will only be created if the indexing was successful
1916 [FileIndexer] added demux option to the audio tracks when using FFMSIndex
these audio tracks will be added to the main input tab if "on completion load files" is selected. Feature request #3158957
1915 [VideoPlayer] changed zoom and size behavior
fixed starting preview size so that it will always match the screen resolution. Bug #3159086
changed seek bar and buttons behavior. Feature request #3003726
try to ensure playback speed during playback
1914 [One-Click] fixed handling of video input files with short file names (less than 6 characters including extension). Bug #3160645

So my suggestion would be to enforce the old qpmin value of 10 ("--qpmin 10") for the iPod (5G, 5.5G) preset.
Thanks, added in profile 5.8

Lighto
23rd January 2011, 15:34
@Zathor
As usual, thanks for the updates and fixes!

Ice Dragon
23rd January 2011, 20:40
I am not able to encode audio with megui 1920 :(
The resulting audio is very low bitrate and doesn't have sound.
If i disable Normalize peaks to, i get sound but it plays too fast.

Os win 7 x86

Zathor
23rd January 2011, 20:43
Please post the log.

Ice Dragon
23rd January 2011, 20:53
Please post the log.
Here

[Information] Log
-[Information] Versions
--[Information] MeGUI Version : 1920 (svn)
--[Information] OS : Windows Seven Premium Edition x86 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.8.5 (21-Dec-08 9:46:54 PM)
-[Information] Update detection
--[Information] [24-Jan-11 1:19:22 AM] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [24-Jan-11 1:19:24 AM] All files are up to date
-[Information] Log for job1 (audio, sample.mkv -> sample.m4a)
--[Information] [24-Jan-11 1:20:07 AM] Started handling job
--[Information] [24-Jan-11 1:20:07 AM] Preprocessing
--[Information] Avisynth script
---[NoImage] DirectShowSource("D:\sample.mkv", video=false)
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] # detected channels: 2 channels
---[NoImage] # detected channel positions: 2/0/0
---[NoImage] 6<=Audiochannels(last)?c6_stereo(ConvertAudioToFloat(last)):last
---[NoImage] 5==Audiochannels(last)?c5_stereo(ConvertAudioToFloat(last)):last
---[NoImage] 4==Audiochannels(last)?c4_stereo(ConvertAudioToFloat(last)):last
---[NoImage] 3==Audiochannels(last)?c3_stereo(ConvertAudioToFloat(last)):last
---[NoImage] Normalize()
---[NoImage] return last
---[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> stereo + LFE
---[NoImage] function c6_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] lf = GetChannel(a, 4)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] fl_sl = MixAudio(fl, sl, 0.2929, 0.2929)
---[NoImage] fr_sr = MixAudio(fr, sr, 0.2929, 0.2929)
---[NoImage] fc_lf = MixAudio(fc, lf, 0.2071, 0.2071)
---[NoImage] l = MixAudio(fl_sl, fc_lf, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_sr, fc_lf, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,SL,SR or L,R,LFE,SL,SR-> Stereo
---[NoImage] function c5_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] fl_sl = MixAudio(fl, sl, 0.3694, 0.3694)
---[NoImage] fr_sr = MixAudio(fr, sr, 0.3694, 0.3694)
---[NoImage] l = MixAudio(fl_sl, fc, 1.0, 0.2612)
---[NoImage] r = MixAudio(fr_sr, fc, 1.0, 0.2612)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,LFE,S -> Stereo
---[NoImage] function c52_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] lf = GetChannel(a, 4)
---[NoImage] bc = GetChannel(a, 5)
---[NoImage] fl_bc = MixAudio(fl, bc, 0.3205, 0.2265)
---[NoImage] fr_bc = MixAudio(fr, bc, 0.3205, 0.2265)
---[NoImage] fc_lf = MixAudio(fc, lf, 0.2265, 0.2265)
---[NoImage] l = MixAudio(fl_bc, fc_lf, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_bc, fc_lf, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels Quadro L,R,SL,SR -> Stereo
---[NoImage] function c4_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = GetChannel(a, 4)
---[NoImage] l = MixAudio(fl, sl, 0.5, 0.5)
---[NoImage] r = MixAudio(fr, sr, 0.5, 0.5)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels L,R,C,LFE or L,R,S,LFE or L,R,C,S -> Stereo
---[NoImage] function c42_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] lf = GetChannel(a, 4)
---[NoImage] fc_lf = MixAudio(fc, lf, 0.2929, 0.2929)
---[NoImage] l = MixAudio(fl, fc_lf, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, fc_lf, 0.4142, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 3 Channels L,R,C or L,R,S or L,R,LFE -> Stereo
---[NoImage] function c3_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] l = MixAudio(fl, fc, 0.5858, 0.4142)
---[NoImage] r = MixAudio(fr, fc, 0.5858, 0.4142)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic
---[NoImage] function c6_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
---[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic
---[NoImage] function c5_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
---[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic
---[NoImage] function c52_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,LFE,S -> Dolby ProLogic
---[NoImage] function c53_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] bc = GetChannel(a, 5)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
---[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
---[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic
---[NoImage] function c4_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = GetChannel(a, 4)
---[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels L,R,LFE,S -> Dolby ProLogic
---[NoImage] function c42_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] bc = GetChannel(a, 4)
---[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
---[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels L,R,C,S -> Dolby ProLogic
---[NoImage] function c43_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] bc = GetChannel(a, 4)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
---[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
---[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 3 Channels L,R,S -> Dolby ProLogic
---[NoImage] function c3_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] bc = GetChannel(a, 3)
---[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
---[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic II
---[NoImage] function c6_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
---[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
---[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic II
---[NoImage] function c5_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
---[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
---[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic II
---[NoImage] function c52_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
---[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
---[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic II
---[NoImage] function c4_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = GetChannel(a, 4)
---[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
---[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
---[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
--[Information] Commandline used: -ignorelength -he -br 48000 -if - -of "{0}"
--[Information] [24-Jan-11 1:20:08 AM] Encoding started
--[Information] [24-Jan-11 1:20:08 AM] Encode thread started
--[Information] [24-Jan-11 1:20:08 AM] Avisynth script environment opened
--[Information] [24-Jan-11 1:20:09 AM] Script loaded
--[Information] Output Decoder
---[Information] Channels: 2
---[Information] Bits per sample: 32
---[Information] Sample rate: 48000
--[Information] Commandline: D:\Program Files\megui\tools\nero\neroAacEnc.exe -ignorelength -he -br 48000 -if - -of "D:\sample.m4a"
--[Information] [24-Jan-11 1:20:09 AM] Encoder process started
--[Information] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2009 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Feb 18 2010 *
---[NoImage] * Package version: 1.5.4.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] [24-Jan-11 1:20:11 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [24-Jan-11 1:20:11 AM] Job completed

Zathor
23rd January 2011, 23:41
The problem is this line:
DirectShowSource("D:\sample.mkv", video=false)
Please describe the steps for creating your audio file. Prefered way should be to demux the audio with the HD Stream Extractor (or DGindexNV if available) or to access it with FFAudioSource indexing with FFMSIndex.

flebber
24th January 2011, 04:55
1920 [Log] the content of an avs input file will be added to the log
1919 [VideoPlayer] some sizing adjustments
1918 [One-Click] added the FFMSIndexer so that e.g. most AVI and MKV files are now supported.
if the FFMSIndexer is used the audio track must be encoded and cannot be muxed only.
1917 [FFMSIndexer] audio avs files will only be created if the indexing was successful
1916 [FileIndexer] added demux option to the audio tracks when using FFMSIndex
these audio tracks will be added to the main input tab if "on completion load files" is selected. Feature request #3158957
1915 [VideoPlayer] changed zoom and size behavior
fixed starting preview size so that it will always match the screen resolution. Bug #3159086
changed seek bar and buttons behavior. Feature request #3003726
try to ensure playback speed during playback
1914 [One-Click] fixed handling of video input files with short file names (less than 6 characters including extension). Bug #3160645


Thanks, added in profile 5.8

Thank You - Awesome work :)

Ice Dragon
24th January 2011, 07:24
The problem is this line:
DirectShowSource("D:\sample.mkv", video=false)
Please describe the steps for creating your audio file. Prefered way should be to demux the audio with the HD Stream Extractor (or DGindexNV if available) or to access it with FFAudioSource indexing with FFMSIndex.

To create just an audio file i just drag the media to audio input tab, hit enqueue and press start in queue. This method was working about a month back. Tried force decoding via directshow, but didn't work.

Here is the method i use for encoding video

sample.mkv (http://www.mediafire.com/?eej8xau8ekd8y8h)

Create avs script
DirectShowSource("D:\sample.mkv", fps=29.038, audio=false, convertfps=true)
#deinterlace
#crop
#resize
#denoise

Add sample.mkv to audio input tab, hit autoencode select mkv container (no target size), hit queue. In queue click start. It will encode video & audio and mux the encoded files to the mkv container.

logfile-11-01-24_10-41-17.log (http://www.mediafire.com/download.php?v454jrjpk40gq8m)

sample-muxed.mkv (http://www.mediafire.com/?7yexg7bskd91797)

The output mkv file has proper video but no sound.


Now if use HD Stream Extractor on sample.mkv
Again following above method , it adds ConvertToYV12() to the avs file

DirectShowSource("D:\T1_Video - .mkv", fps=29.038, audio=false, convertfps=true)
#deinterlace
#crop
#resize
#denoise

ConvertToYV12()

The resulting mkv has proper audio but static image.

T1_Video - -muxed.mkv (http://www.mediafire.com/?qhoaddahx9437g4)

logfile-11-01-24_11-24-06.log (http://www.mediafire.com/?b7dbny342bn4vw5)

If possible i would like to use the the first method(without demuxing) as it was faster.
This method was working awhile back :(

Lighto
24th January 2011, 12:14
@Ice Dragon
Here's the output I got using your first method.

http://www.mediafire.com/file/n9rnabqn61ydbwb/sample-muxed_Lighto.mkv

Audio works fine.

Try using Win7DSTweaker to make sure you are decoding aac with ffdshow.

Ice Dragon
24th January 2011, 14:12
Try using Win7DSTweaker to make sure you are decoding aac with ffdshow.

Thanks it works now :D

Sharktooth
25th January 2011, 03:45
something crashed. post the logfile.

Lighto
25th January 2011, 06:10
To create just an audio file i just drag the media to audio input tab, hit enqueue and press start in queue. This method was working about a month back. Tried force decoding via directshow, but didn't work.

Here is the method i use for encoding video

sample.mkv (http://www.mediafire.com/?eej8xau8ekd8y8h)

Create avs script
DirectShowSource("D:\sample.mkv", fps=29.038, audio=false, convertfps=true)
#deinterlace
#crop
#resize
#denoise

Add sample.mkv to audio input tab, hit autoencode select mkv container (no target size), hit queue. In queue click start. It will encode video & audio and mux the encoded files to the mkv container.

logfile-11-01-24_10-41-17.log (http://www.mediafire.com/download.php?v454jrjpk40gq8m)

sample-muxed.mkv (http://www.mediafire.com/?7yexg7bskd91797)

The output mkv file has proper video but no sound.


Now if use HD Stream Extractor on sample.mkv
Again following above method , it adds ConvertToYV12() to the avs file

DirectShowSource("D:\T1_Video - .mkv", fps=29.038, audio=false, convertfps=true)
#deinterlace
#crop
#resize
#denoise

ConvertToYV12()

The resulting mkv has proper audio but static image.

T1_Video - -muxed.mkv (http://www.mediafire.com/?qhoaddahx9437g4)

logfile-11-01-24_11-24-06.log (http://www.mediafire.com/?b7dbny342bn4vw5)

If possible i would like to use the the first method(without demuxing) as it was faster.
This method was working awhile back :(

By the way, the second method doesn't work for me as well.
I wasn't even able to encode the audio.
[Error] Log for job6 (audio, sample.mkv_track_1_japanese.avs -> sample.mkv_track_1_japanese.mp4)
-[Information] [25/1/2011 1:06:49 PM] Started handling job
-[Information] [25/1/2011 1:06:49 PM] Preprocessing
-[Error] [25/1/2011 1:06:49 PM] no audio file detected: C:\Users\Lenovo\Desktop\sample.mkv_track_1_japanese.avs
-[Information] Avisynth script
--[NoImage] Import("C:\Users\Lenovo\Desktop\sample.mkv_track_1_japanese.avs")
--[NoImage] Normalize()
--[NoImage] return last
--[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> stereo + LFE
--[NoImage] function c6_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] lf = GetChannel(a, 4)
--[NoImage] sl = GetChannel(a, 5)
--[NoImage] sr = GetChannel(a, 6)
--[NoImage] fl_sl = MixAudio(fl, sl, 0.2929, 0.2929)
--[NoImage] fr_sr = MixAudio(fr, sr, 0.2929, 0.2929)
--[NoImage] fc_lf = MixAudio(fc, lf, 0.2071, 0.2071)
--[NoImage] l = MixAudio(fl_sl, fc_lf, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_sr, fc_lf, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,SL,SR or L,R,LFE,SL,SR-> Stereo
--[NoImage] function c5_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] fl_sl = MixAudio(fl, sl, 0.3694, 0.3694)
--[NoImage] fr_sr = MixAudio(fr, sr, 0.3694, 0.3694)
--[NoImage] l = MixAudio(fl_sl, fc, 1.0, 0.2612)
--[NoImage] r = MixAudio(fr_sr, fc, 1.0, 0.2612)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,LFE,S -> Stereo
--[NoImage] function c52_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] lf = GetChannel(a, 4)
--[NoImage] bc = GetChannel(a, 5)
--[NoImage] fl_bc = MixAudio(fl, bc, 0.3205, 0.2265)
--[NoImage] fr_bc = MixAudio(fr, bc, 0.3205, 0.2265)
--[NoImage] fc_lf = MixAudio(fc, lf, 0.2265, 0.2265)
--[NoImage] l = MixAudio(fl_bc, fc_lf, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_bc, fc_lf, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels Quadro L,R,SL,SR -> Stereo
--[NoImage] function c4_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 3)
--[NoImage] sr = GetChannel(a, 4)
--[NoImage] l = MixAudio(fl, sl, 0.5, 0.5)
--[NoImage] r = MixAudio(fr, sr, 0.5, 0.5)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels L,R,C,LFE or L,R,S,LFE or L,R,C,S -> Stereo
--[NoImage] function c42_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] lf = GetChannel(a, 4)
--[NoImage] fc_lf = MixAudio(fc, lf, 0.2929, 0.2929)
--[NoImage] l = MixAudio(fl, fc_lf, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, fc_lf, 0.4142, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 3 Channels L,R,C or L,R,S or L,R,LFE -> Stereo
--[NoImage] function c3_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] l = MixAudio(fl, fc, 0.5858, 0.4142)
--[NoImage] r = MixAudio(fr, fc, 0.5858, 0.4142)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic
--[NoImage] function c6_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 5)
--[NoImage] sr = GetChannel(a, 6)
--[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
--[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic
--[NoImage] function c5_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
--[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic
--[NoImage] function c52_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
--[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,LFE,S -> Dolby ProLogic
--[NoImage] function c53_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] bc = GetChannel(a, 5)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
--[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
--[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic
--[NoImage] function c4_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 3)
--[NoImage] sr = GetChannel(a, 4)
--[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
--[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels L,R,LFE,S -> Dolby ProLogic
--[NoImage] function c42_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] bc = GetChannel(a, 4)
--[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
--[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels L,R,C,S -> Dolby ProLogic
--[NoImage] function c43_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] bc = GetChannel(a, 4)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
--[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
--[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 3 Channels L,R,S -> Dolby ProLogic
--[NoImage] function c3_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] bc = GetChannel(a, 3)
--[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
--[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic II
--[NoImage] function c6_dpl2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 5)
--[NoImage] sr = GetChannel(a, 6)
--[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
--[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
--[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic II
--[NoImage] function c5_dpl2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
--[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
--[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic II
--[NoImage] function c52_dpl2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
--[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
--[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic II
--[NoImage] function c4_dpl2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 3)
--[NoImage] sr = GetChannel(a, 4)
--[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
--[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
--[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
-[Information] Commandline used: -ignorelength -lc -br 96000 -if - -of "{0}"
-[Information] [25/1/2011 1:06:49 PM] Encoding started
-[Information] [25/1/2011 1:06:49 PM] Encode thread started
-[Information] [25/1/2011 1:06:49 PM] Avisynth script environment opened
-[Error] An error occurred
--[Error] Exception message
---[NoImage] FFAudioSource: Not an audio track
---[NoImage] (C:\Users\Lenovo\Desktop\sample.mkv_track_1_japanese.avs, line 2)
--[Error] Stacktrace
---[NoImage] at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
---[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
--[Error] Inner exception: null
-[Information] [25/1/2011 1:06:49 PM] Job completed

Ice Dragon
25th January 2011, 07:01
By the way, the second method doesn't work for me as well.
I wasn't even able to encode the audio.

The second method is working for me now after setting both aac & h264 decoding to ffdshow via Win7DSTweaker.

Lighto
25th January 2011, 07:12
The second method is working for me now after setting both aac & h264 decoding to ffdshow via Win7DSTweaker.

Mind posting the log here?
Maybe it's because I am on Win7 64bit.

mpamphs70
25th January 2011, 07:29
I don't know if this has been asked before, but is there going to be support for blue ray 3ds?

Ice Dragon
25th January 2011, 08:37
Mind posting the log here?
Maybe it's because I am on Win7 64bit.
Here

logfile-11-01-25_12-52-04.log (http://www.mediafire.com/?i7az24l1riz5wlm)

logfile-11-01-25_12-54-53.log (http://www.mediafire.com/?7s2u54swnl372s6)

I have Win7DSFilterTweaker 4.0 here.

Lighto
25th January 2011, 09:07
Here

logfile-11-01-25_12-52-04.log (http://www.mediafire.com/?i7az24l1riz5wlm)

logfile-11-01-25_12-54-53.log (http://www.mediafire.com/?7s2u54swnl372s6)

I have Win7DSFilterTweaker 4.0 here.

Made a mistake, misread your second method as using File Indexer.

Do me a favor and try feed MeGUI with your .mkv file via Open > File Indexer.

Tell me your results.:)

Ice Dragon
25th January 2011, 10:23
Made a mistake, misread your second method as using File Indexer.

Do me a favor and try feed MeGUI with your .mkv file via Open > File Indexer.

Tell me your results.:)

Yep i am getting the same error

logfile-11-01-25_14-38-56.log (http://www.mediafire.com/?9z1945eebrfx4bw)

Lighto
25th January 2011, 10:30
Okay, I managed to get the audio encoded by modifying the AVS from

LoadPlugin("E:\Video Tools\MeGUI_1911_x86_WithoutInstaller\tools\ffms\ffms2.dll")
FFAudioSource("C:\Users\Lenovo\Desktop\sample.mkv", 1)


to

LoadPlugin("E:\Video Tools\MeGUI_1911_x86_WithoutInstaller\tools\ffms\ffms2.dll")
FFAudioSource("C:\Users\Lenovo\Desktop\sample.mkv")


MeGUI still contains error in the log though.

[Error] Log for job6 (audio, sample.mkv_track_1_japanese.avs -> sample.mkv_track_1_japanese.mp4)
-[Information] [25/1/2011 5:24:52 PM] Started handling job
-[Information] [25/1/2011 5:24:52 PM] Preprocessing
-[Error] [25/1/2011 5:24:52 PM] no audio file detected: C:\Users\Lenovo\Desktop\sample.mkv_track_1_japanese.avs
-[Information] Avisynth script
--[NoImage] Import("C:\Users\Lenovo\Desktop\sample.mkv_track_1_japanese.avs")
--[NoImage] Normalize()
--[NoImage] return last
--[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> stereo + LFE
--[NoImage] function c6_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] lf = GetChannel(a, 4)
--[NoImage] sl = GetChannel(a, 5)
--[NoImage] sr = GetChannel(a, 6)
--[NoImage] fl_sl = MixAudio(fl, sl, 0.2929, 0.2929)
--[NoImage] fr_sr = MixAudio(fr, sr, 0.2929, 0.2929)
--[NoImage] fc_lf = MixAudio(fc, lf, 0.2071, 0.2071)
--[NoImage] l = MixAudio(fl_sl, fc_lf, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_sr, fc_lf, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,SL,SR or L,R,LFE,SL,SR-> Stereo
--[NoImage] function c5_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] fl_sl = MixAudio(fl, sl, 0.3694, 0.3694)
--[NoImage] fr_sr = MixAudio(fr, sr, 0.3694, 0.3694)
--[NoImage] l = MixAudio(fl_sl, fc, 1.0, 0.2612)
--[NoImage] r = MixAudio(fr_sr, fc, 1.0, 0.2612)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,LFE,S -> Stereo
--[NoImage] function c52_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] lf = GetChannel(a, 4)
--[NoImage] bc = GetChannel(a, 5)
--[NoImage] fl_bc = MixAudio(fl, bc, 0.3205, 0.2265)
--[NoImage] fr_bc = MixAudio(fr, bc, 0.3205, 0.2265)
--[NoImage] fc_lf = MixAudio(fc, lf, 0.2265, 0.2265)
--[NoImage] l = MixAudio(fl_bc, fc_lf, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_bc, fc_lf, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels Quadro L,R,SL,SR -> Stereo
--[NoImage] function c4_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 3)
--[NoImage] sr = GetChannel(a, 4)
--[NoImage] l = MixAudio(fl, sl, 0.5, 0.5)
--[NoImage] r = MixAudio(fr, sr, 0.5, 0.5)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels L,R,C,LFE or L,R,S,LFE or L,R,C,S -> Stereo
--[NoImage] function c42_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] lf = GetChannel(a, 4)
--[NoImage] fc_lf = MixAudio(fc, lf, 0.2929, 0.2929)
--[NoImage] l = MixAudio(fl, fc_lf, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, fc_lf, 0.4142, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 3 Channels L,R,C or L,R,S or L,R,LFE -> Stereo
--[NoImage] function c3_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] l = MixAudio(fl, fc, 0.5858, 0.4142)
--[NoImage] r = MixAudio(fr, fc, 0.5858, 0.4142)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic
--[NoImage] function c6_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 5)
--[NoImage] sr = GetChannel(a, 6)
--[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
--[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic
--[NoImage] function c5_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
--[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic
--[NoImage] function c52_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
--[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,LFE,S -> Dolby ProLogic
--[NoImage] function c53_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] bc = GetChannel(a, 5)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
--[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
--[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic
--[NoImage] function c4_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 3)
--[NoImage] sr = GetChannel(a, 4)
--[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
--[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels L,R,LFE,S -> Dolby ProLogic
--[NoImage] function c42_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] bc = GetChannel(a, 4)
--[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
--[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels L,R,C,S -> Dolby ProLogic
--[NoImage] function c43_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] bc = GetChannel(a, 4)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
--[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
--[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 3 Channels L,R,S -> Dolby ProLogic
--[NoImage] function c3_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] bc = GetChannel(a, 3)
--[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
--[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic II
--[NoImage] function c6_dpl2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 5)
--[NoImage] sr = GetChannel(a, 6)
--[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
--[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
--[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic II
--[NoImage] function c5_dpl2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
--[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
--[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic II
--[NoImage] function c52_dpl2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
--[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
--[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic II
--[NoImage] function c4_dpl2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 3)
--[NoImage] sr = GetChannel(a, 4)
--[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
--[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
--[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
-[Information] Commandline used: -ignorelength -lc -br 96000 -if - -of "{0}"
-[Information] [25/1/2011 5:24:53 PM] Encoding started
-[Information] [25/1/2011 5:24:53 PM] Encode thread started
-[Information] [25/1/2011 5:24:53 PM] Avisynth script environment opened
-[Information] [25/1/2011 5:24:53 PM] Script loaded
-[Information] Output Decoder
--[Information] Channels: 2
--[Information] Bits per sample: 16
--[Information] Sample rate: 48000
-[Information] Commandline: E:\Video Tools\MeGUI_1911_x86_WithoutInstaller\neroAacEnc.exe -ignorelength -lc -br 96000 -if - -of "C:\Users\Lenovo\Desktop\sample.mkv_track_1_japanese.mp4"
-[Information] [25/1/2011 5:24:53 PM] Encoder process started
-[Information] Output from encoder via stderr
--[NoImage] *************************************************************
--[NoImage] * *
--[NoImage] * Nero AAC Encoder *
--[NoImage] * Copyright 2009 Nero AG *
--[NoImage] * All Rights Reserved Worldwide *
--[NoImage] * *
--[NoImage] * Package build date: Feb 18 2010 *
--[NoImage] * Package version: 1.5.4.0 *
--[NoImage] * *
--[NoImage] * See -help for a complete list of available parameters. *
--[NoImage] * *
--[NoImage] *************************************************************
-[Information] [25/1/2011 5:24:54 PM] Postprocessing
--[Information] Deleting intermediate files
-[Information] [25/1/2011 5:24:54 PM] Job completed

ZZZERO
25th January 2011, 16:02
Is there a way to set MEGUI to always look in the directory of the currently loaded VOBS when I select the audio track? It does that for the first movie I put in queue, but after that it always looks in the directory of the previously loaded movie vobs, not the current one. In other words, if I want to prepare movie1, movie2, and movie3 for ripping, movie1 is fine and it will look in movie1 directory, for movie2 it will look in movie1 directory for the audio track and I have to manually change it to movie2 directory to get the correct audio track. Similarly for movie3 it will look in movie2 directory for the audio track. Nothing worse than putting the wrong movie's audio track on a movie because you didn't manually fix the directory path every time.

me7
25th January 2011, 17:39
The behavior of MeGUI's avisynth script creator preview window has changed recently. Instead of offering me the original 1:1 pixel mapped view it downsizes the video.
It was very annoying at first since I'm afraid to miss black borders when cropping due to the downsizing. Now it turned into a mess because MeGUI doesn't show me the black border on the right side of the video when I open a PAL DVD MPEG2 file indexed by DGIndex. It is impossible to find out how much pixels I need to crop away.
Is there a way to fix this or can someone recommend me an avisynth GUI that offers an unaltered 1:1 preview?

Zathor
25th January 2011, 17:48
Please have a look there:
https://sourceforge.net/tracker/index.php?func=detail&aid=3164635&group_id=156112&atid=798476
https://sourceforge.net/tracker/?func=detail&aid=3164305&group_id=156112&atid=798479

Revert to the stable build if this is a problem for you.

Zathor
25th January 2011, 18:00
Is there a way to set MEGUI to always look in the directory of the currently loaded VOBS when I select the audio track?
Please create a feature request.

rapscallion
25th January 2011, 21:59
IGNORE THIS POST !

@zathor
There is a problem now with the bitrate calculator tool oversizing .

I don't know when exactly it started because I apply every update.
However, this from the changelog when going to the svn builds : " improved M2TS bitrate calculation. Patch by Selur"

Example: previously, when calculating a *.mt2s video , BD-25 (2h 4m 29s) with DTS audio ( 3840 bitrate) results were a video bitrate @ 20,889. (when encoded and muxed to bd structure, Imageburn showed 96% size-perfect)

Now, using the same figures, the calculator indicates a too high bitrate @ 21,530. No longer fits on a bd-25.
What files do I need to revert back to the previous ver of the tool ? Thanks

Zathor
25th January 2011, 22:09
You have to go back to core build 1897 or earlier. Btw the new formula is for other kind of streams better than before. You can follow the discussion here: http://forum.doom9.org/showthread.php?t=158828

rapscallion
25th January 2011, 22:41
Thanks Zathor, however, I screwed up in my example.

After looking further, the problem is with the movie that I'm trying to re encode.
For some reason, this particular film (T3) has the same BR as the calculator, for a file size 2gb larger.
I'll just have to use a lower br for this film.

Just one of those quirks. In any event, false alarm, the calculator works just fine when I compared to other encodes I had on hand.

Zathor
26th January 2011, 00:03
In all of my own tests the result was better with the new calculation - but of course I have tested only a few combinations. But as you can see in the other thread there are still some things to be sorted out.

yetanotherid
28th January 2011, 00:28
Well MeGUI is now my favourite encoder GUI, but one option would make my day....
Any chance of a future MeGUI version having an option to tell it to default to the appropriate non-ITU resize method rather than defaulting to the ITU resize method? I'm forever forgetting to change it.
Thanks.

Sharktooth
28th January 2011, 17:47
yes, it's possible. please make a feature request on the feature request tracker at the megui project page on sourceforge.
it requires a SF account but registering is easy.

Zathor
29th January 2011, 17:52
1927 [HD Streams Extractor] fixed processing of joined input files. Bug #3164153
1926 [FFMSIndexer] improved audio track number detection. Bug #3165894
1925 [Settings] added option to ensure correct playback speed while playing the video preview (defaults to disabled)
1924 [VideoPlayer] fixed invisible video pixels at the right (7) and bottom (1). Bug #3164635
added 1:1 video preview. Feature request #3164305
some adjustments
1923 [AVS Script Creator] new video player will be started with previewing the middle of the video
1922 [Update] deprecated update cache files will be deleted 60 days after they have been downloaded
1921 [pre-rendering job] fixed a problem introduced in 1916

Lighto
29th January 2011, 18:16
@Zathor
Thanks for the updates!:)


Anyways, AVS Script for audio generated after indexing using FFMSIndexer doesn't auto load into the audio input tab any more, is it meant to work this way?
Also FFMSIndexer doesn't index .avi anymore.

Zathor
29th January 2011, 18:21
AVS Script for audio generated after indexing using FFMSIndexer doesn't auto load into the audio input tab any more, is it meant to work this way?
Also FFMSIndexer doesn't index .avi anymore.
Both things work for me.

Lighto
29th January 2011, 18:33
Both things work for me.

I am having the auto load problem with the same sample I posted at SF.
http://www.mediafire.com/?eej8xau8ekd8y8h

The main problem is that the file name of the AVS generated is sample.mkv_track_0_japanese.avs and doesn't auto load I think.

The .avi problem only appears when indexing .avi with audio with 6 channels I believe.

I will post a log regarding the .avi issue soon.

Edit: It would seems that either my source or ffmsindex is the one with the problem.
Sorry for the false alarm, Zathor.

Edit 2: I think this is a insignificant GUI bug.
If I maximize MeGUI and exit it, then open it again, MeGUI starts up in restore down mode but in maximized screen size.

Edit 3: Ignore about the GUI part, I just remembered it was someone's feature request to remember the size when MeGUI exits.

P/S: Good job with the new video player!:thanks:

AMED
29th January 2011, 22:09
Is anybody else getting corruption when playing back encodes with the 1882 build of x264?
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("D:\Bluray Backup\MainMovie\BR - THE_WOLFMAN\THE_WOLFMAN.mkv")
#deinterlace
crop( 0, 20, 0, -20)

LanczosResize(1280,688) # Lanczos (Sharp)
super = MSuper(pel=2, sharp=1)
backward_vec1 = MAnalyse(super, isb = true, delta = 1, overlap=4)
forward_vec1 = MAnalyse(super, isb = false, delta = 1, overlap=4)
MDegrain1(super, backward_vec1,forward_vec1,thSAD=400)

http://piczasso.com/i/thumbs/tqueu.png (http://piczasso.com/i/tqueu.png)

program --level 4.1 --preset veryslow --crf 19.0 --tune film --output "output" "input"

I'm using MPC-HC v1.4.2800.0 and DXVA, my previous encodes with x264 build 1867 play fine with the same settings as above.

EDIT: A quick test with the same avs script and plugins and encoder settings with build 1867 shows no corruption.

http://piczasso.com/i/thumbs/uw7gc.png (http://piczasso.com/i/uw7gc.png)

EDIT2: HERE (http://www.mediafire.com/?puo86m70uw9lez5) is a link to a Wolfman sample that causes the corruption.

EDIT3:
Already found and fixed in r1884.

flebber
30th January 2011, 00:23
One Click encoder fails with mkv input and ffms. Its error says there aren't enough useful sections, there should be. This is a plain encode no filters just xbox360 prfile and nero lc selected.

This is the input.
General
Unique ID : 335696709110900084589759166846658070291 (0xFC8CD59D4355E0DB1CD59AF7ADE2C713)
Complete name : C:\Video\ROBIN_WILLIAMS\title00.mkv
Format : Matroska
File size : 3.67 GiB
Duration : 1h 22mn
Overall bit rate : 6 366 Kbps
Encoded date : UTC 2011-01-06 23:04:10
Writing application : MakeMKV v1.6.3 win(x86-release)
Writing library : libmakemkv v1.6.3 (0.7.7/0.8.1) win(x86-release)

Video
ID : 1
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : No
Format settings, Matrix : Default
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Duration : 1h 22mn
Bit rate mode : Variable
Bit rate : 6 047 Kbps
Nominal bit rate : 9 800 Kbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.583
Stream size : 3.48 GiB (95%)
Language : English

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 1h 22mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 113 MiB (3%)
Title : 2/0
Language : English

Menu
00:00:00.000 : en:Chapter 01
00:10:35.840 : en:Chapter 02
00:21:21.240 : en:Chapter 03
00:31:02.640 : en:Chapter 04
00:40:43.480 : en:Chapter 05
00:51:35.160 : en:Chapter 06
01:01:33.920 : en:Chapter 07
01:11:09.120 : en:Chapter 08
01:22:29.360 : en:Chapter 09



This is the encoder log.
[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 1927 (svn)
--[Information] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.8.5 (21/12/2008 9:46:54 PM)
-[Information] Update detection
--[Information] [30/01/2011 10:08:35 AM] Connecting to server: http://megui.org/auto/
--[Information] [30/01/2011 10:08:36 AM] There is 1 file that can be updated.
--[Information] [30/01/2011 10:08:40 AM] Updating dgindexnv. File 1/1.
--[Information] [30/01/2011 10:08:42 AM] Update completed
--[Information] [30/01/2011 10:08:42 AM] Files which have been sucessfully updated: 1
-[Error] Log for job2 (idx, title00.mkv -> title00.mkv.ffindex)
--[Information] [30/01/2011 10:12:26 AM] Started handling job
--[Information] [30/01/2011 10:12:26 AM] Preprocessing
--[Information] Job commandline: "C:\Rip\Megui\tools\ffms\ffmsindex.exe" -t -1 -f "C:\Video\ROBIN_WILLIAMS\title00.mkv"
--[Information] [30/01/2011 10:12:26 AM] Indexing started
--[Information] Standard output stream
--[Information] Standard error stream
--[Error] [30/01/2011 10:13:49 AM] Postprocessing
---[Error] OneClick postprocessor
----[Information] Desired size: null
----[Information] Split size: null
----[Information] Autocrop values
-----[Information] left: 2
-----[Information] top: 68
-----[Information] right: 0
-----[Information] bottom: 0
----[Information] Auto-detect aspect ratio now: True
----[Information] Aspect ratio: 1.25
----[Information] Output resolution: 720x512
----[Information] AVC level: Level 4.1
----[Information] Resolution adjusted for AVC Level: 720x512
----[Information] Automatic deinterlacing: True
----[Error] [30/01/2011 10:14:29 AM] Source detection failed: Could not find enough useful sections to determine source type for C:\Video\ROBIN_WILLIAMS\title00.mkv
----[Information] Deinterlacing used: #Not enough useful sections for source detection. Doing no processing
----[Information] Generated Avisynth script
-----[NoImage] LoadPlugin("C:\Rip\Megui\tools\ffms\ffms2.dll")
-----[NoImage] FFVideoSource("C:\Video\ROBIN_WILLIAMS\title00.mkv")
-----[NoImage] #Not enough useful sections for source detection. Doing no processing
-----[NoImage] crop( 2, 68, 0, 0)
-----[NoImage] LanczosResize(720,512) # Lanczos (Sharp)
-----[NoImage] #denoise
----[Information] Eliminating duplicate filenames
-----[Information] Video output file: C:\Video\ROBIN_WILLIAMS\title00.264
-----[Information] Muxed output file: C:\Video\ROBIN_WILLIAMS\title00.mkv
-----[Information] File already exists. New muxed output filename: C:\Video\ROBIN_WILLIAMS\title00_0.mkv
-----[Information] Encodable audio stream 0: C:\Video\ROBIN_WILLIAMS\title00.mkv_track_1_english_audio.m4a
---[Information] Deleting intermediate files
--[Information] [30/01/2011 10:14:34 AM] Job completed
-[Error] Log for job1 (audio, title00.mkv_track_1_english.avs -> title00.mkv_track_1_english_audio.m4a)
--[Information] [30/01/2011 10:14:35 AM] Started handling job
--[Information] [30/01/2011 10:14:35 AM] Preprocessing
--[Error] [30/01/2011 10:14:35 AM] no audio file detected: C:\Video\ROBIN_WILLIAMS\title00.mkv_track_1_english.avs
--[Error] Error starting job
---[Error] Exception message: Calling setup of processor failed with error 'Required file 'C:\Rip\Megui\neroAacEnc.exe' is missing.'
---[Error] Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
---[Error] Inner exception: null
--[Warning] [30/01/2011 10:14:35 AM] Start update detection in order to resolve the error.
-[Information] Update detection
--[Information] [30/01/2011 10:14:37 AM] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [30/01/2011 10:14:41 AM] All files are up to date

Sharktooth
30th January 2011, 02:43
--[Error] Error starting job
---[Error] Exception message: Calling setup of processor failed with error 'Required file 'C:\Rip\Megui\neroAacEnc.exe' is missing.'
---[Error] Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
---[Error] Inner exception: null
you have to download nero aac encoder from the nero website and extract it manually due to license restrictions. if you have already done that check the neroaacenc.exe path in megui settings.

Zathor
30th January 2011, 03:22
Is anybody else getting corruption when playing back encodes with the 1882 build of x264?

Yes: http://forum.doom9.org/showthread.php?t=159329
1884 uploaded :)

rapscallion
3rd February 2011, 23:04
@amed...

Was that corruption constant throughout the whole movie or just in spots ?
And is it avs script/plugin dependent?

I made one encode w/1882. A bd-25, preset x264 Bluray 1080p24.
I've only watched the first 3 or 4 min and everything seems fine.

Please clarify. Thanks

--[Information] Avisynth input script: DirectShowSource("eagle.m2ts",fps=23.9759856527702,audio=false)

--[Information] Job commandline: "Megui3.2\tools\x264\x264.exe" --tune film --pass 1
--bitrate 22500 --stats "stats" --open-gop bluray --level 4.1 --bframes 3 --ref 4 --slices 4
--aud --nal-hrd vbr --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-bufsize 30000
--vbv-maxrate 40000 --weightp 0 --colorprim "bt709"
--transfer "bt709" --colormatrix "bt709" --sar 1:1 --output NUL

AMED
4th February 2011, 08:33
@rapscallion,

No it wasn't consistent throughout the movie. With the sample i tested it with had that corruption at the start and then cleaned up a bit just getting random blocks here and there.

I would suggest you redo your encode again to be safe.

rapscallion
4th February 2011, 19:38
Thanks amed, you're probably right.

flebber
4th February 2011, 23:38
The oneclick encoder is working for me :) . Just an FYI though it still reports errors in the log regarding source detection "no useful source found" and for "audio file not found".

The errors maybe somewhat irrelevant as the output worked.
--[Information] [5/02/2011 9:07:00 AM] All files are up to date
-[Error] Log for job1 (idx, Nirvana - Dive - Live Tonight.mkv -> Nirvana - Dive - Live Tonight.mkv.ffindex)
--[Information] [5/02/2011 9:07:39 AM] Started handling job
--[Information] [5/02/2011 9:07:39 AM] Preprocessing
--[Information] Job commandline: "C:\Rip\Megui\tools\ffms\ffmsindex.exe" -t -1 -f "C:\Video\NIRVANA\Nirvana - Dive - Live Tonight.mkv"
--[Information] [5/02/2011 9:07:39 AM] Indexing started
--[Information] Standard output stream
--[Information] Standard error stream
--[Error] [5/02/2011 9:07:53 AM] Postprocessing
---[Error] OneClick postprocessor
----[Information] Desired size: null
----[Information] Split size: null
----[Information] Autocrop values
-----[Information] left: 4
-----[Information] top: 2
-----[Information] right: 6
-----[Information] bottom: 0
----[Information] Auto-detect aspect ratio now: True
----[Information] Aspect ratio: 1.5
----[Information] Output resolution: 720x480
----[Information] AVC level: Level 4.1
----[Information] Resolution adjusted for AVC Level: 720x480
----[Information] Automatic deinterlacing: True
----[Error] [5/02/2011 9:08:09 AM] Source detection failed: Could not find enough useful sections to determine source type for C:\Video\NIRVANA\Nirvana - Dive - Live Tonight.mkv
----[Information] Deinterlacing used: #Not enough useful sections for source detection. Doing no processing
----[Information] Generated Avisynth script
-----[NoImage] LoadPlugin("C:\Rip\Megui\tools\ffms\ffms2.dll")
-----[NoImage] FFVideoSource("C:\Video\NIRVANA\Nirvana - Dive - Live Tonight.mkv")
-----[NoImage] #Not enough useful sections for source detection. Doing no processing
-----[NoImage] crop( 4, 2, -6, 0)
-----[NoImage] LanczosResize(720,480) # Lanczos (Sharp)
-----[NoImage] #denoise
----[Information] Eliminating duplicate filenames
-----[Information] Video output file: C:\Video\NIRVANA\Nirvana - Dive - Live Tonight.264
-----[Information] Muxed output file: C:\Video\NIRVANA\Nirvana - Dive - Live Tonight.mkv
-----[Information] File already exists. New muxed output filename: C:\Video\NIRVANA\Nirvana - Dive - Live Tonight_0.mkv
-----[Information] Encodable audio stream 0: C:\Video\NIRVANA\Nirvana - Dive - Live Tonight.mkv_track_1_english_audio.m4a
---[Information] Deleting intermediate files
--[Information] [5/02/2011 9:08:14 AM] Job completed
-[Error] Log for job2 (audio, Nirvana - Dive - Live Tonight.mkv_track_1_english.avs -> Nirvana - Dive - Live Tonight.mkv_track_1_english_audio.m4a)

Zathor
5th February 2011, 11:27
The oneclick encoder is working for me :) . Just an FYI though it still reports errors in the log regarding source detection "no useful source found" and for "audio file not found".

Can you please post the full log? The audio error is missing in the log. Also I would like to know which build of MeGUI you are using.

flebber
5th February 2011, 13:49
Can you please post the full log? The audio error is missing in the log. Also I would like to know which build of MeGUI you are using.

I have attached it to post as log was too long to post. Also uploaded to mediafire if that is quicker. http://www.mediafire.com/file/vuv45qji4mf74fi/MeguiLog.txt

Lighto
6th February 2011, 14:47
Off topic:
The disabled viewvc on SF is pissing me off, I can see that changes are committed but I can't view what are they....:mad:

Zathor
6th February 2011, 15:34
The disabled viewvc on SF is pissing me off, I can see that changes are committed but I can't view what are they....:mad:
Here you go:

1933 [One-Click] enhanced automatic de-interlacing logging
1932 [FFMSIndexer] fixed ignoring audio downmix mode
1931 [One-Click] improved default language pre-selection
1930 [x264] changed default value of --qpmax to 69 (requires x264 rev 1881+)
1929 [AutoEncode] zone handling added so that Intro and Credit selection in the video preview window will be respected

Zathor
6th February 2011, 15:36
I have attached it to post as log was too long to post. Also uploaded to mediafire if that is quicker.

Thanks for the report. 1932 should fix the audio problem (you need to re-index the file!)
The failed source detection is a thing I do not want to mess with. Nevertheless I have added with 1933 enhanced logging of this part so please post your log again with 1933.

Zathor
6th February 2011, 16:46
A little bit sooner than expected:

1934 [HD Streams Extractor] the default tracks will be pre-selected based upon the selected languages in the settings
[Settings] added option to disable the pre-selecting of tracks in the HD Streams Extractor
[Settings] removed unnecessary OggEnc2 checkbox
[Settings] some cosmetics

Lighto
6th February 2011, 16:52
As usual, thank for the updates!:)

Edit:
Update's prompting me to downgrade.
[IMG]http://i.imgur.com/yQBlX.png[IMG]

Edit 2:
probably some network issue on my side, working fine now.:)

b66pak
6th February 2011, 20:04
@Zathor in order to avoid DSS (and DSS2 too) passing HUGE timescale/timebase values to x264 encoder i suggest this improvement:

DirectShowSource("some.source", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)


this will avoid timescale/timebase like this:

avs [info]: 1280x720p 1:1 @ 2500000/104271 fps (cfr)

and make it like this:

avs [info]: 1280x720p 1:1 @ 24000/1001 fps (cfr)

more info here (http://forum.doom9.org/showthread.php?t=159294)...
_

L.E. for fps=29.97 add AssumeFPS(30000,1001)
for fps=24 add AssumeFPS(24000,1000)
for fps=25 add AssumeFPS(25000,1000)
_

Zathor
6th February 2011, 23:08
As usual, thank for the updates!:)

Edit:
Update's prompting me to downgrade.
[IMG]http://i.imgur.com/yQBlX.png[IMG]

Edit 2:
probably some network issue on my side, working fine now.:)

The reason may be that the mirror was not up to date and therefore you have been prompted to update (which was a downgrade of course). The mirror syncs every few minutes which may lead to this problem. You have updated your build too fast :)

Zathor
6th February 2011, 23:11
@Zathor in order to avoid DSS (and DSS2 too) passing HUGE timescale/timebase values to x264 encoder i suggest this improvement:

DirectShowSource("some.source", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)


Thanks. I assume this is required for every kind of video input which includes FFMS2 and DGIndex*?

nurbs
6th February 2011, 23:46
DGIndex(NV) gives me correct FPS (e.g. 24000/1001). I haven't used FFMS2 in a while, but IIRC it also worked correctly.

tebasuna51
7th February 2011, 04:37
Thanks. I assume this is required for every kind of video input which includes FFMS2 and DGIndex*?
With FFVideoSource() I get unexact fps values and always use a AssumeFps() after FFVideoSource().

Lighto
7th February 2011, 11:15
Not sure if this is a bug or MeGUI is meant to work this way.
If I set my output directory to "Desktop" in settings, File>open >index the file>auto encode.
Only the output video file and the video avs file is at "Desktop", the ffindex file and audio avs file remains at the source file folder.

Edit: Tried out with DGIndex and the .d2v files goes to "Desktop".

Edit 2: It would be nice to have a "x" button to clear the "Default Output Directory" so that the user can change the output directory back to the source directory.:)

Sodgawd
7th February 2011, 16:07
Hi all,

With the latest updated version of MP4box (via the internal updater), the following weirdness ensues:

1.) if an .ac3 file is muxed in with a negative delay (e.g.- file DELAY -16ms.ac3 the video is doubled. Meaning, the video is layed down twice back to back. File size is correct. Timecode is showing double the length (e.g. - 4hrs 28min instead of 2hrs 14mins)

2.) if only a .aac file is muxed. no video doubling. Timecode length is good.

If I use Yamb (2.1.0.0 B2), the video doubling does not occur and the timecode is good.

If I use an older mp4box by kurtnoise (packaged back in Sept '10), I get no such doubling. The latest mp4box file size is 2.50MB whilest kurtnoise's is 265KB. :confused:

I even tried the latest version of mp4box listed on videohelp.com, it just gives an error message of error code 3..

I am very confused by this. Any possible insight would be hot!

TheFluff
9th February 2011, 15:52
With FFVideoSource() I get unexact fps values and always use a AssumeFps() after FFVideoSource().

FFVideoSource's ability to report a "correct" framerate depends a lot on what container format is used for input. The reported framerate is based on the average duration of all frames, and different containers store frame durations with different precisions, leading to some inaccuracies. It will try to "correct" the framerate to the nearest well-known fractional NTSC value (24000/1001, 30000/1001 etc) if it's close enough, though.

tebasuna51
9th February 2011, 20:54
The reported framerate is based on the average duration of all frames, and different containers store frame durations with different precisions, leading to some inaccuracies.
You are right, this is the problem.

It will try to "correct" the framerate to the nearest well-known fractional NTSC value (24000/1001, 30000/1001 etc) if it's close enough, though.
Thanks, but when we know the exact fps is always most sure put the AssumeFps().

DVDBob
11th February 2011, 19:15
x264 r1900 is buggy, x264 r1884 works fine.

r1900 get my PC to go a halt, and r1884 do not.

AMED
12th February 2011, 03:22
@DVDBob,

Are you saying that using r1900 your computer reboots or blue screens?

Zathor
12th February 2011, 12:13
1938 [One-Click] fixed language pre-selection if the default languages are not different. Bug #3178016
1937 [XviD] enhanced overflow handling in the settings dialogue
1936 audio encoding job can be added without existing input file
1935 AssumeFPS() will be added to DirectShow(), DSS2() and FFVideoSource() scripts

Lighto
12th February 2011, 14:21
@Zathor
Thanks for the updates!

DVDBob
12th February 2011, 14:50
@DVDBob,

Are you saying that using r1900 your computer reboots or blue screens?

No it was a bad formulation, r1900 gets my PC to go a standstill.

rapscallion
12th February 2011, 15:18
No it was a bad formulation, r1900 gets my PC to go a standstill.
Strange, no one else has reported this. I ran a test and no problems for me.

X264 1080p 24 preset, automated 2 pass. 1st pass @ ~20fps and the 2nd @ ~4.5fps which is just about where it always is.
Priority set to "low".

PC still responsive as always.

What kind of encode/preset setting are you using ?

DVDBob
12th February 2011, 16:53
If i encode 4:3 movies, i use this settings: program --pass 2 --bitrate 1500 --stats ".stats" --bframes 6 --b-adapt 2 --ref 5 --merange 24 --me umh --direct auto --subme 8 --partitions all --trellis 2 --no-dct-decimate --sar 12/11 --output "output" "input"

And i set Priority to Normal

Sharktooth
13th February 2011, 04:15
setting priority to normal wont speed up the encoding unless you have other running programs that eat CPU cycles. also, your settings are awkward, expecially when there are presets. plus, --no-dct-decimate is a placebo option...
try something like: --bitrate 1500 --preset slow --sar 12/11

Zathor
13th February 2011, 14:45
1946 [Audio Jobs] update elapsed time while preprocessing
1945 [VideoPlayer] while resizing/opening the window is moved to the visible area of the desktop
1944 [One-Click] audio language names added to the output file
1943 [AVS Script Creator] VideoPlayer preview starts in 1:1 mode
[AVS Script Creator] while cropping VideoPlayer preview moves to the cropping border
[VideoPlayer] fixed a sizing problem when window was minimized
[VideoPlayer] fixed appearing unnecessary scrollbars in 1:1 mode
[VideoPlayer] start window in top of other windows (excluding calling window)
[Chapter Creator] + [AVS Cutter] VideoPlayer preview respects the "always on top" setting
1942 [VideoPlayer] fixed invisible right border in some OS (at least XP). Bug #3177073
1941 [XviD] replaced -lumimasking with -masking (requires xvid 1.3). Feature request #3139141
[XviD] disabled direct mkv output
1940 [Log] changed version number syntax for MeGUI x64
1939 [Settings] added buttons to clear the default output directory and the path to neroaacenc. Feature request #3177293

Lighto
13th February 2011, 14:53
@Zathor
Thanks! Updating now.:)

DVDBob
13th February 2011, 18:33
setting priority to normal wont speed up the encoding unless you have other running programs that eat CPU cycles. also, your settings are awkward, expecially when there are presets. plus, --no-dct-decimate is a placebo option...
try something like: --bitrate 1500 --preset slow --sar 12/11

Ok but I can not understand why my settings working with r1884 and not with r1900

Edit: When I convert movies so does my PC not other things.

AMED
13th February 2011, 21:37
@DVDBob,

Are you sure your PC isn't over heating?

download CoreTemp (http://www.alcpu.com/CoreTemp/) and watch your temps as the encoding starts. Make sure you leave priority set to low.

EDIT: Also tell us what temps are reported when your PC is doing nothing.

DVDBob
13th February 2011, 23:58
Here is a screenshot:
http://i53.tinypic.com/15obguo.png

tebasuna51
14th February 2011, 14:01
I see some changes with ffms.
Now the update is from ffms 2.14 to 2.15mt.

There still are a readme.txt (megui\tools\ffms) than say:

"Vanilla ffmpeg compiled ffms2 in this directory.
ffmpeg-mt flavored ffms2 in the ffmpeg-mt directory."

But now the 2.15mt replace the Vanilla 2.14 and the ffmpeg-mt directory isn't updated.

Is a problem or the desired behaviour?

I don't want use the mt version:
- may be unstable
- old ffmpeg Dec. 15th update
- I only have 2 cores and want the second one for other tasks.

Sharktooth
14th February 2011, 14:05
ffms2-mt has replaced ffms2 coz most users want to encode as fast as possible. you can safely replace it with a non mt version.

Lighto
14th February 2011, 14:08
@tebasuna51
I do not have the readme.txt in my ffms folder.
Have you tried reinstalling the ffms update?

Zathor
15th February 2011, 00:08
But now the 2.15mt replace the Vanilla 2.14 and the ffmpeg-mt directory isn't updated.
...
Is a problem or the desired behaviour?

A tool update will only add files and never remove files. Therefore old files can be still available but they will not be used.

I don't want use the mt version:
- may be unstable
- old ffmpeg Dec. 15th update
- I only have 2 cores and want the second one for other tasks.
Please make a suggestion how to proceed. Use vanilla ones only, add both build in one package, add a second package with an option in the settings, ...

doc_dvxm
15th February 2011, 01:09
Hi there...

I have a problems with xvid-1.3.0-rc1 version after updating....

I can't open the encoded file with VDM & MPC. I can't render the file in AvsP via Directshowsource - only green screen.

Btw, the latest FFMS2 can open the encoded file.

Am I missing something? What's wrong?

Sharktooth
15th February 2011, 01:33
ok, i guess you're using the development version of megui.
have you set the threads option higher than "1"?

tebasuna51
15th February 2011, 04:10
...
Please make a suggestion how to proceed. Use vanilla ones only, add both build in one package, add a second package with an option in the settings, ...
No problem for me.
Like Sharktooth say I put the vanilla version at megui\tools\ffms folder.

JoeH
16th February 2011, 16:03
Please make a suggestion how to proceed. Use vanilla ones only, add both build in one package, add a second package with an option in the settings, ...

Zathor, I really prefer the MT version. I have never had any problems with it and the speed difference is substantial.

If there are still users who want to use the single thread version I suggest adding a checkbox to the options screen where you can choose which version to use.

Another option would be to simply add both FFMS and FFMS-MT to the file indexing window, so you can choose using the radio buttons which one to use in each case.

I actually put in a feature request about this a couple of months ago but just closed it when I saw that FFMS-MT was now the default.

Mtz
16th February 2011, 19:51
Croatian and serbian languages bug in MKV Muxer

This is from the log:
-[Error] An error occurred: Error: 'scr' is neither a valid ISO639-2 nor a valid ISO639-1 code. See 'mkvmerge --list-languages' for a list of all languages and their respective ISO639-2 codes.
-[Error] An error occurred: Error: 'scc' is neither a valid ISO639-2 nor a valid ISO639-1 code. See 'mkvmerge --list-languages' for a list of all languages and their respective ISO639-2 codes.

'hrv' (vrom hrvatski) is correct for Croatian (http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
'srp' is correct for Serbian
Also for romanian MKV Muxer is using 'ron' even more correct is 'rum', but this will not give an error.

enjoy,
Mtz

DVDBob
17th February 2011, 03:19
setting priority to normal wont speed up the encoding unless you have other running programs that eat CPU cycles. also, your settings are awkward, expecially when there are presets. plus, --no-dct-decimate is a placebo option...
try something like: --bitrate 1500 --preset slow --sar 12/11

Now have i changed my decoder to ffdshow and i set Priority to Low, and now it works fine.

Zathor
17th February 2011, 13:17
'hrv' (vrom hrvatski) is correct for Croatian (http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
'srp' is correct for Serbian
Also for romanian MKV Muxer is using 'ron' even more correct is 'rum', but this will not give an error.

Thanks - the language codes are fixed now and the changes will be in the next update.

Zathor
18th February 2011, 20:27
1958 [Audio Encoder] encoding job can be added regardless of the input file status
1957 [Update] added update check for the Nero AAC encoder part II
1956 [Update] added update check for the Nero AAC encoder
1955 [One-Click] added status of the source detection to the progress window
1954 [Audio Encoder] fixed audio detection crash
1953 [Job] enhanced message in case a job is already aborted
1952 [FFMSIndexer] enhanced progress window in case that the index file already exists
1951 [MKV Muxer] problem with chapter information in audio files fixed
1950 [One-Click] a new job will be added after the indexing job to show the progress of the preprocessing
1949 [Audio Encoder] if AAC is detected FFAudioSource() will be used
[Audio Encoder] downmix will be ignored if there are not more than 2 audio channels
1948 changed ISO 639-2 language codes for Croatian, Romanian and Serbian
1947 [File Indexer] fixed selecting of settings after initial opening. Bug #3182423

Zathor
19th February 2011, 18:12
1965 [Update] fixed a problem with the Nero AAC encoder update detection
[Update] fixed a crash
1964 [Update] default window size changed
1963 [Update] removed treeview on the left side so that the update data itself is better visible
1962 [Update] only the files which need an update are shown. if no file needs an update all files are shown.
[Update] added a checkbox to show all files
1961 [AVS Cutter] update start/end frame when a section is clicked. Feature request #1660341
1960 [Main Window] initial starting window opens in the visible area taking the taskbar into account. Feature request #2821392
[VideoPlayer] taking taskbar into account, too
1959 [Main Window] disabled maximize button. Feature request #2727670

Lighto
19th February 2011, 18:48
@Zathor
Thanks for the updates!
I like the behavior of only showing components with new updates in the new update window, looks neater.:)

Zathor
20th February 2011, 15:51
1969 [Main Window] if video input avs file has also audio included add this file as audio track, too. Feature request #2918470
1968 [MKV Muxer] added forced track flag for subtitles
1967 [Update] save/restore size, location and column locations. Feature request #3079391
1966 [Worker] corrected wiki link. Patch by XhmikosR (#3186982)

Tuik
21st February 2011, 02:26
I noticed that megui puts the line, on xvid encoding, "-par 1:1"
This is bad because causes a custom AR which can be a pain for some players although it is the same of square pixels. Could be that line changed to "-par 1" which sets the default (square pixels)?
For now i add "-par 1" to the custom command line parameter but that should come by default, i guess.

cybersharky
21st February 2011, 19:55
[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 1969 (svn)
--[Information] OS : Windows Seven Ultimate Edition x64 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
-[Error] Log for job247 (mux, VTS_01_1.mkv -> B5.S3.E11 - Ceremonies of Light and Dark.mkv)
--[Information] [2/21/2011 8:16:40 PM] Started handling job
--[Information] [2/21/2011 8:16:40 PM] Preprocessing
--[Information] Job commandline: "G:\megui\tools\mkvmerge\mkvmerge.exe" -o "F:\B5\S3\B5.S3.E11 - Ceremonies of Light and Dark.mkv" --engage keep_bitstream_ar_info --track-name "1:B5.S3.E11" --default-duration 1:25fps "--compression" "1:none" -d 1 -A -S "C:\Users\Gary\Documents\DVDFab\MainMovie\BABYLON5_SERIES3_DISC3_E11\VIDEO_TS\VTS_01_1.mkv" --language 0:eng --track-name "0:AC3" "--compression" "0:none" -a 0 --no-chapters -D -S "C:\Users\Gary\Documents\DVDFab\MainMovie\BABYLON5_SERIES3_DISC3_E11\VIDEO_TS\VTS_01_1 T80 3_2ch 384Kbps DELAY 0ms.ac3" --language 0:eng --track-name "0:Subs" --default-track 0:no -forced-track 0:no -s 0 -D -A "C:\Users\Gary\Documents\DVDFab\MainMovie\BABYLON5_SERIES3_DISC3_E11\VIDEO_TS\VTS_01_0.idx" --chapters "C:\Users\Gary\Documents\DVDFab\MainMovie\BABYLON5_SERIES3_DISC3_E11\VIDEO_TS\chapters.txt" --ui-language en
--[Information] [2/21/2011 8:16:41 PM] Muxing started
--[Error] An error occurred: Error: The source file '-forced-track' could not be opened successfully, or retrieving its size by seeking to the end did not work.
--[Error] [2/21/2011 8:16:43 PM] Process exits with error code: 2
--[Information] Standard output stream: mkvmerge v4.5.0 ('Speed of Light') built on Feb 1 2011 02:10:32
--[Information] Standard error stream
--[Information] [2/21/2011 8:16:43 PM] Job completed

I then muxed it in mkvmerge and it completed successfully without error.

Mtz
22nd February 2011, 03:18
When loading MKV file in File Indexer and keeping the option "Demux all track (btw: tracks, not track)", the result is an ffindex file which is correct, but NO audio file is demuxed, just an .avs file regarding audio.

Cosmetic: in MKV Muxer window, I think correct is "forced track".

Request: is possible to make some Blu-Ray > MKV "Remuxer"? Load Blu-Ray (like in HD Streams extractor), selecting the (HD and SD) audio tracks (also some encoding to be available for the HD audio track for the devices which can't play HD audio), subs, chapter and remux as MKV.

enjoy,
Mtz

Shadowdane
22nd February 2011, 04:54
I've found a bug in the latest MeGUI, while using the FRAPS codec. This might be an issue with other codecs that use the YUV colorspace though.
When I open the AVI in MeGUI, it indexes and creates an .avs file. The standard .avs script that is created, the video looks way too dark. I'm guessing the FFVideoSource might be using 16-255 rather than 0-255 for color values?

Using the FFVideoSource() the video looks too dark: http://shadowdane.shackspace.com/megui_wrong.jpg
Switching to AVISource() the video looks correct: http://shadowdane.shackspace.com/megui_correct.jpg

This only started happening recently with the switch to the FFVideoSource function in the .avs scripts. I've been just manually editing this myself, but it is a little bit of a pain. This didn't start happen until recently.

Lighto
22nd February 2011, 04:59
[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 1969 (svn)
--[Information] OS : Windows Seven Ultimate Edition x64 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
-[Error] Log for job247 (mux, VTS_01_1.mkv -> B5.S3.E11 - Ceremonies of Light and Dark.mkv)
--[Information] [2/21/2011 8:16:40 PM] Started handling job
--[Information] [2/21/2011 8:16:40 PM] Preprocessing
--[Information] Job commandline: "G:\megui\tools\mkvmerge\mkvmerge.exe" -o "F:\B5\S3\B5.S3.E11 - Ceremonies of Light and Dark.mkv" --engage keep_bitstream_ar_info --track-name "1:B5.S3.E11" --default-duration 1:25fps "--compression" "1:none" -d 1 -A -S "C:\Users\Gary\Documents\DVDFab\MainMovie\BABYLON5_SERIES3_DISC3_E11\VIDEO_TS\VTS_01_1.mkv" --language 0:eng --track-name "0:AC3" "--compression" "0:none" -a 0 --no-chapters -D -S "C:\Users\Gary\Documents\DVDFab\MainMovie\BABYLON5_SERIES3_DISC3_E11\VIDEO_TS\VTS_01_1 T80 3_2ch 384Kbps DELAY 0ms.ac3" --language 0:eng --track-name "0:Subs" --default-track 0:no -forced-track 0:no -s 0 -D -A "C:\Users\Gary\Documents\DVDFab\MainMovie\BABYLON5_SERIES3_DISC3_E11\VIDEO_TS\VTS_01_0.idx" --chapters "C:\Users\Gary\Documents\DVDFab\MainMovie\BABYLON5_SERIES3_DISC3_E11\VIDEO_TS\chapters.txt" --ui-language en
--[Information] [2/21/2011 8:16:41 PM] Muxing started
--[Error] An error occurred: Error: The source file '-forced-track' could not be opened successfully, or retrieving its size by seeking to the end did not work.
--[Error] [2/21/2011 8:16:43 PM] Process exits with error code: 2
--[Information] Standard output stream: mkvmerge v4.5.0 ('Speed of Light') built on Feb 1 2011 02:10:32
--[Information] Standard error stream
--[Information] [2/21/2011 8:16:43 PM] Job completed

I then muxed it in mkvmerge and it completed successfully without error.

Should be easily fixed by changing it to --forced.:)

Cosmetic: Under "Queue" tab fourth column, it should be "Encoder" instead of "Codec".
AFAIK x264 is an encoder and H264/AVC is the codec.

@Shadowdane
A faster way will be to open the .avi straight from the AVS Creator, it will skip the indexing process and use AVISource by default.

Zathor
22nd February 2011, 06:42
--[Error] An error occurred: Error: The source file '-forced-track' could not be opened successfully, or retrieving its size by seeking to the end did not work.

Thanks, fix will be in the next build.

When loading MKV file in File Indexer and keeping the option "Demux all track (btw: tracks, not track)", the result is an ffindex file which is correct, but NO audio file is demuxed, just an .avs file regarding audio.
That's the way it works at the moment. There is currently no mkv demuxer available. There may be one in the future. Until then you can use the avs file to reencode the audio.

Cosmetic: in MKV Muxer window, I think correct is "forced track".
Thanks, will be renamed.

tebasuna51
22nd February 2011, 11:30
...
When loading MKV file in File Indexer and keeping the option "Demux all track (btw: tracks, not track)", the result is an ffindex file which is correct, but NO audio file is demuxed, just an .avs file regarding audio.
That's the way it works at the moment. There is currently no mkv demuxer available. There may be one in the future. Until then you can use the avs file to reencode the audio.

To extract/convert audio from MKV you can use Tools -> HD Stream Extractor (eac3to).
Don't work for all audio MKV supported codecs (like ogg vorbis) but for the most typical ones.

Mtz
22nd February 2011, 13:09
Thanks for the suggestions, I know how to extract audio from MKV (also with MKVExtractGui2), but using the File Indexer, I hope to obtain both files (.ffindex + audio) same time, like using DGindex. ;)

enjoy,
Mtz

Tuik
22nd February 2011, 14:38
I noticed that megui puts the line, on xvid encoding, "-par 1:1"
This is bad because causes a custom PAR which can be a pain for some players although it is the same of square pixels. Could be that line changed to "-par 1" which sets the default (square pixels)?
For now i add "-par 1" to the custom command line parameter but that should come by default, i guess.

Can you have a look at this?

Lighto
22nd February 2011, 16:35
...
Cosmetic: Under "Queue" tab fourth column, it should be "Encoder" instead of "Codec".
AFAIK x264 is an encoder and H264/AVC is the codec.
...

Please take a look at this as well.:)

HeadlessCow
22nd February 2011, 18:38
Would it be possible to show the profile used for an encode in the queue? Sometimes I encode something and come back later and need to encode another episode with the same settings and I don't always remember what profile I used for the original encode.

Zathor
22nd February 2011, 23:01
I noticed that megui puts the line, on xvid encoding, "-par 1:1"
This is bad because causes a custom AR which can be a pain for some players although it is the same of square pixels. Could be that line changed to "-par 1" which sets the default (square pixels)?
For now i add "-par 1" to the custom command line parameter but that should come by default, i guess.
No idea what is correct as I am not using xvid - anyone else?

Zathor
22nd February 2011, 23:48
1974 [JobQueue] renamed column "codec" to "encoder"
1973 [Video Encoding] fixed not applying zones in first pass. Bug #3188275
1972 [MKV Muxer] fixed non-forced idx subtitle handling
[MKV Muxer] cosmetics
1971 [OneClick] corrected output width if autocrop is disabled
1970 [Update] some adjustements

Would it be possible to show the profile used for an encode in the queue? Sometimes I encode something and come back later and need to encode another episode with the same settings and I don't always remember what profile I used for the original encode.

Please create a feature request.

Tuik
23rd February 2011, 00:23
No idea what is correct as I am not using xvid - anyone else?

You just need to change the "-par 1:1" to "-par 1". It's the same thing but "-par 1:1" produces a custom pixel shape that some standalone players don't handle although it's the same of the default. "-par 1" creates the file with the default "square pixels" which is 1:1 but is not tagged as custom.

Zathor
23rd February 2011, 06:37
I've found a bug in the latest MeGUI, while using the FRAPS codec. This might be an issue with other codecs that use the YUV colorspace though.
When I open the AVI in MeGUI, it indexes and creates an .avs file. The standard .avs script that is created, the video looks way too dark. I'm guessing the FFVideoSource might be using 16-255 rather than 0-255 for color values?

http://forum.doom9.org/showthread.php?t=157941

lintran
23rd February 2011, 14:13
Dear Zathor!
Could you please add a column in queue tab that can showed preset name (will use) of jobs?
Thank you.

Zathor
23rd February 2011, 19:38
I would like to remove the snow encoder after the next stable release as it seems to be broken and nobody seems to use it. Is this correct?

Also I would like to streamline the audio encoders and remove redundant ones. At the moment I am thinking about removing Aud-X, Faac, FFmpeg AC3 and Winamp. Any objections? Am i going to remove the wrong ones?

Sharktooth
23rd February 2011, 19:50
Snow and Aud-X are discontinued anyways. winamp could be removed coz nero is better and way less compless to "install". not sure about ffmpeg ac3 and faac.
it could be worth supporting opensource aacplus encoder coz it's free and redestributable using the auto-update server.

HeadlessCow
23rd February 2011, 19:53
Dear Zathor!
Could you please add a column in queue tab that can showed preset name (will use) of jobs?
Thank you.

I just added a feature request for this:
https://sourceforge.net/tracker/?group_id=156112&atid=798479

tebasuna51
23rd February 2011, 20:52
I would like to remove the snow encoder after the next stable release as it seems to be broken and nobody seems to use it. Is this correct?

Also I would like to streamline the audio encoders and remove redundant ones. At the moment I am thinking about removing Aud-X, Faac, FFmpeg AC3 and Winamp. Any objections? Am i going to remove the wrong ones?

No problem for me. I never use these encoders.

...winamp could be removed...

it could be worth supporting opensource aacplus encoder coz it's free and redestributable using the auto-update server.
I don't understand your last phrase.

aacPlusCLI is only a command-line frontend for Coding Technologies aacPlus encoder enc_aacPlus.dll from WinAmp.
http://aacpluscli.codeplex.com/

b66pak
23rd February 2011, 21:06
@Zathor please update mp4box with the last kurtoise build (http://kurtnoise.free.fr/mp4tools/) (MP4Box-0.4.6-rev2698)...the present komisar build is buggy...
_

Zathor
23rd February 2011, 23:36
You just need to change the "-par 1:1" to "-par 1". It's the same thing but "-par 1:1" produces a custom pixel shape that some standalone players don't handle although it's the same of the default. "-par 1" creates the file with the default "square pixels" which is 1:1 but is not tagged as custom.

Ok, will be in the next update.

Zathor
23rd February 2011, 23:45
@Zathor please update mp4box with the last kurtoise build (http://kurtnoise.free.fr/mp4tools/) (MP4Box-0.4.6-rev2698)...the present komisar build is buggy...
_

Done. Hopefully this build has no new (or old) problems. As I have no time to test it, please check if it is possible to mux input files > 2GB, that the device compatibility for e.g. ipod/iphone is available, that audio is in sync, ... gpac :eek:
Edit: And thanks for bringing the update to my attention.

Lighto
24th February 2011, 02:38
I would like to remove the snow encoder after the next stable release as it seems to be broken and nobody seems to use it. Is this correct?

Also I would like to streamline the audio encoders and remove redundant ones. At the moment I am thinking about removing Aud-X, Faac, FFmpeg AC3 and Winamp. Any objections? Am i going to remove the wrong ones?

Never used most of them before.
Maybe only used FAAC/WinAMP AAC before when I didn't know how to get Nero AAC working.:p

I feel that either FAAC/WinAMP AAC should be kept.

I am more on the FAAC side though, since it can encode audio output straight from a video without extracting the audio stream. :)

Sharktooth
24th February 2011, 02:48
@tebasuna: im talking about the 3gpp aac plus reference encoder.

lintran
24th February 2011, 13:28
I just added a feature request for this:
https://sourceforge.net/tracker/?group_id=156112&atid=798479

I go to your link, but didnt find your topic, could you fix this link?

Lighto
24th February 2011, 13:38
@lintran
It's the first request of the page.
3190433 Add preset to Queue layout

lintran
24th February 2011, 15:11
@lintran
It's the first request of the page.

Oh, I see. Thank you.

Lighto
24th February 2011, 17:42
@Zathor
How does MeGUI check the local version of the tools?
I was having problems with the newer kurtnoise mp4box and therefore, deleted the mp4box.exe from the tools folder and rename the backup "mp4box.exe.backup" to "mp4box.exe".
When I open the updater, MeGUI still shows that my mp4box is the newer kurtnoise version.

Sharktooth
24th February 2011, 17:49
megui doesnt check the file itself. i dont know what zathor added to the auto-update but megui just saves it updated the file.
however, what kind of problems you had?

Lighto
24th February 2011, 18:16
@Sharktooth
I made a mistake regarding the mp4box error, it turns out that my source is where the problems lies, the audio is corrupted.

Sorry I made an assumption that the problem lies with mp4box.
I encountered the error after I saw a mp4box error report on SF (http://sourceforge.net/tracker/index.php?func=detail&aid=3191355&group_id=156112&atid=798476).

Zathor
25th February 2011, 00:00
How does MeGUI check the local version of the tools?

megui doesnt check the file itself. i dont know what zathor added to the auto-update but megui just saves it updated the file.
That's correct. Only neroaacenc will be checked directly for the file version.

Mermade
25th February 2011, 19:41
BUG: When larger XVIDs than 2gb (openDML) are created, they can't be played.
I have to rebuild the frames myself in other programs.

(Btw you should update to latest xvid library. Your library shows 61. Koepis Xvid v1.3.0 is 62.)

I use latest build cvn, 1974

Zathor
27th February 2011, 17:55
1981 changed ISO 639-2 language codes to ISO 639-2/T. Feature request #2811678
1980 [pre-rendering job] fixed a problem introduced in 1935
1979 [M2TS Muxer] added Blu-ray and AVCHD device output types. Feature request #1982670
[AVI Muxer] added PC device output type which is unrestricted and corresponds to the old standard setting.
the new standard output type is now enhanced for standalone devices so that e.g. opendml is disabled and splitting enforced. #1951705
[Muxer] + [OneClick] the default device type used also for autoencode will be preselected. Feature request #2812862
[AVI Muxer] + [M2TS Muxer] added mux script file content to the log
1978 [VideoEncoder] enhanced command line parser
1977 [XviD] added threads = 0 for automatic detection
1976 [XviD] custom commandline values have precedence
[XviD] if possible -par x:y will be replaced with -par z
1975 [OneClick] removed resolution adjustement for AVC level enforcement

Lighto
27th February 2011, 18:14
@Zathor
:thanks::)

Tuik
27th February 2011, 23:45
Thanks a lot Zathor ;)

Perhaps in the next update you could add the "-metric" option on XviD:)

MenotBumba
28th February 2011, 15:14
In 1981 version I get a mux error. It says :

Reason : Nullable object must have a value.

What do I have to do so that it works correctly ?

When I go to the MeGUI tools folder, and when I manually mux the video and audio file with the AVI-Mux GUI, everything is ok.

Renzz
28th February 2011, 15:23
In 1981 version I get a mux error. It says :

Reason : Nullable object must have a value.

What do I have to do so that it works correctly ?

When I go to the MeGUI tools folder, and when I manually mux the video and audio file with the AVI-Mux GUI, everything is ok.

Yes, I'm getting the same thing on build 1981. I'm doing an Autoencode producing a final .AVI. It fails when it tries to do the MUX. I've gone back to 1974 and all is working again.

MenotBumba
28th February 2011, 15:43
Yes, I'm getting the same thing on build 1981. I'm doing an Autoencode producing a final .AVI. It fails when it tries to do the MUX. I've gone back to 1974 and all is working again.

The same case is with me :(

Zathor
28th February 2011, 16:09
Please post the way to reproduce this e.g. the log file.

MenotBumba
28th February 2011, 18:58
[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 1981 (svn)
--[Information] OS : Windows Seven Ultimate Edition x64 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.8.5 (21.12.2008 21:46:54)
-[Information] Update detection
--[Information] [28.2.2011 18:53:42] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [28.2.2011 18:53:44] All files are up to date
-[Information] Log for job5 (mux, Ax Men S01 EP09.avi -> Ax Men S01 EP09-muxed.avi)
--[Information] [28.2.2011 18:55:13] Started handling job
--[Information] [28.2.2011 18:55:13] Preprocessing
-[Error] Unhandled error
--[Information] Exception message: Nullable object must have a value.
--[Information] Stacktrace
---[NoImage] at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
---[NoImage] at System.Nullable`1.get_Value()
---[NoImage] at MeGUI.AMGMuxer.writeScript(MuxJob job)
---[NoImage] at MeGUI.AMGMuxer.checkJobIO()
---[NoImage] at MeGUI.CommandlineJobProcessor`1.setup(Job job2, StatusUpdate su, LogItem log)
---[NoImage] at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
---[NoImage] at MeGUI.core.gui.JobWorker.startNextJobInQueue()
---[NoImage] at MeGUI.core.gui.JobWorker.StartEncoding(Boolean showMessageBoxes)
---[NoImage] at MeGUI.core.details.JobControl.StartAll(Boolean restartStopping)
---[NoImage] at MeGUI.core.details.JobControl.jobQueue_StartClicked(Object sender, EventArgs e)
---[NoImage] at MeGUI.core.gui.JobQueue.startStopButton_Click(Object sender, EventArgs e)
---[NoImage] at System.Windows.Forms.Control.OnClick(EventArgs e)
---[NoImage] at System.Windows.Forms.Button.OnClick(EventArgs e)
---[NoImage] at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
---[NoImage] at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
---[NoImage] at System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.ButtonBase.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Button.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] Inner exception: null

Lighto
28th February 2011, 20:26
I can only mux .avi only when "PC" is set as Device Type in svn 1981's avi muxer.
The "Standard" Device Type gave me the same error as the others have.

Zathor
28th February 2011, 23:46
Thanks & fixed.

Hiritsuki
1st March 2011, 02:49
SVN 1982
have a error bug
it's any audio's encode job

I show that I say

http://imagewtf.com/12213.png/images/12213.png
http://imagewtf.com/12214.png/images/12214.png
http://imagewtf.com/12215.png/images/12215.png

Zathor
1st March 2011, 06:45
Please post the avisynth script used (you have to expand the "Avisynth script" in the log viewer or post the log directly). Also please post your source file as I am not able to reproduce this. Have you tried it without cut list and delay in order to track down the error?

Hiritsuki
1st March 2011, 10:17
Please post the avisynth script used (you have to expand the "Avisynth script" in the log viewer or post the log directly). Also please post your source file as I am not able to reproduce this. Have you tried it without cut list and delay in order to track down the error?

No. I only use MeGUI's GUI to set Audio's job.

Hiritsuki
1st March 2011, 10:44
OK, if this is it.

http://imagewtf.com/12219.png/images/12219.png

Rat Killer
1st March 2011, 11:27
Since updating mp4box, I am now getting errors when muxing .264 and .ac3 into an mp4 file. Mp4box will not read the h264 video stream. Verified older version of mp4box in yamb works on same files. This is new error on same work process I have been using for some time.


[Error] Log for job9 (mux, T1_Video - .h264 -> T1_Video - -muxed.mp4)
-[Information] [3/1/2011 4:13:06 AM] Started handling job
-[Information] [3/1/2011 4:13:06 AM] Preprocessing
-[Information] Job commandline: "C:\Program Files\MeGUI\tools\mp4box\mp4box.exe" -add "D:\AA Working Files\T1_Video - .h264:fps=23.976" -add "D:\AA Working Files\T2_Audio - 5.1 channels.ac3:lang=English" -isma -tmp "D:\\AA Working Files" -new "D:\AA Working Files\T1_Video - -muxed.mp4"
-[Information] [3/1/2011 4:13:07 AM] Muxing started
-[Error] Error line: Error importing D:\AA Working Files\T1_Video - .h264:fps=23.976: BitStream Not Compliant
-[Error] [3/1/2011 4:13:07 AM] Process exits with error code: 1
-[Information] Standard output stream
--[NoImage] [avc-h264] invalid nal_size? Skipping 2896 bytes to reach next start code
--[NoImage] [avc-h264] error: no start code found (2903 bytes read out of 0) - leaving
--[NoImage] Import results: No SPS or PPS found in the bitstream ! Nothing imported
--[NoImage] Error importing D:\AA Working Files\T1_Video - .h264:fps=23.976: BitStream Not Compliant
-[Information] Standard error stream
-[Information] [3/1/2011 4:13:07 AM] Job completed


I can now confirm that reverting to Kurtnoise mp4box 0.45 resolves the problem and MeGUI goes back to working fine.

MenotBumba
1st March 2011, 15:29
I'm getting a error while encoding a .dts with AAC.

[Error] Exception message: The pipe has been ended.

[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 1982 (svn)
--[Information] OS : Windows Seven Ultimate Edition x64 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.8.5 (21.12.2008 21:46:54)
-[Information] Update detection
--[Information] [1.3.2011 15:15:01] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [1.3.2011 15:15:01] All files are up to date
-[Information] Log for job1 (idx, Hereafter.1080p.BluRay.x264-TWiZTED_Track1.h264 -> Hereafter.1080p.BluRay.x264-TWiZTED_Track1.dga)
--[Information] [1.3.2011 15:15:20] Started handling job
--[Information] [1.3.2011 15:15:20] Preprocessing
--[Information] Job commandline: "C:\Program Files (x86)\MeGUI\tools\dgavcindex\dgavcindex.exe" -i "E:\Filmovi\Hereafter.1080p.BluRay.x264-TWiZTED\Hereafter.1080p.BluRay.x264-TWiZTED_Track1.h264" -o "E:\Filmovi\Hereafter.1080p.BluRay.x264-TWiZTED\Hereafter.1080p.BluRay.x264-TWiZTED_Track1.dga" -e -h
--[Information] [1.3.2011 15:15:21] Indexing started
--[Information] Standard output stream
--[Information] Standard error stream
--[Information] [1.3.2011 15:17:51] Postprocessing
---[Information] Deleting intermediate files
----[Information] [1.3.2011 15:17:54] Successfully deleted E:\Filmovi\Hereafter.1080p.BluRay.x264-TWiZTED\Hereafter.1080p.BluRay.x264-TWiZTED_Track1.log
--[Information] [1.3.2011 15:17:54] Job completed
-[Information] AutoEncode job generation log
--[Information] Desired Size : 2,19 GB
--[Information] Split Size : null
--[Information] Eliminating duplicate filenames
---[Information] Video output file: E:\Filmovi\Hereafter.1080p.BluRay.x264-TWiZTED\Hereafter.1080p.BluRay.x264-TWiZTED_Track1.264
---[Information] Muxed output file: E:\Filmovi\Hereafter.1080p.BluRay.x264-TWiZTED\Hereafter.1080p.BluRay.x264-TWiZTED_Track1-muxed.mkv
---[Information] Encodable audio stream 0: E:\Filmovi\Hereafter.1080p.BluRay.x264-TWiZTED\Hereafter.1080p.BluRay.x264-TWiZTED_Track2.m4a
-[Error] Log for job2 (audio, Hereafter.1080p.BluRay.x264-TWiZTED_Track2.dts -> Hereafter.1080p.BluRay.x264-TWiZTED_Track2.m4a)
--[Information] [1.3.2011 15:22:07] Started handling job
--[Information] [1.3.2011 15:22:07] Preprocessing
--[Information] Avisynth script
---[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] NicDtsSource("E:\Filmovi\Hereafter.1080p.BluRay.x264-TWiZTED\Hereafter.1080p.BluRay.x264-TWiZTED_Track2.dts")
---[NoImage] return last
--[Information] Commandline used: -ignorelength -lc -br 384000 -if - -of "{0}"
--[Information] [1.3.2011 15:22:07] Encoding started
--[Information] [1.3.2011 15:22:07] Avisynth script environment opened
--[Information] [1.3.2011 15:22:07] Script loaded
--[Information] Output Decoder
---[Information] Channels: 6
---[Information] Bits per sample: 32
---[Information] Sample rate: 48000
--[Information] Commandline: C:\Users\Downloading\Desktop\Nero AAC\win32\neroAacEnc.exe -ignorelength -lc -br 384000 -if - -of "E:\Filmovi\Hereafter.1080p.BluRay.x264-TWiZTED\Hereafter.1080p.BluRay.x264-TWiZTED_Track2.m4a"
--[Information] [1.3.2011 15:22:07] Encoder process started
--[Error] An error occurred
---[Error] Exception message: The pipe has been ended.
---[Error] Stacktrace
----[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
----[NoImage] at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
----[NoImage] at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[Error] Inner exception: null
--[Information] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2009 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Feb 18 2010 *
---[NoImage] * Package version: 1.5.4.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] Output from encoder via stdout: ERROR: error while encoding frame
--[Information] [1.3.2011 15:25:08] Job completed

Zathor
1st March 2011, 22:05
I can now confirm that reverting to Kurtnoise mp4box 0.45 resolves the problem and MeGUI goes back to working fine.
Which one is this? Please post the link.
It seems that every recent mp4box build has at least one big bug. I recommend to use MKV whereever possible.

Zathor
1st March 2011, 22:06
I'm getting a error while encoding a .dts with AAC.
Please post the mediainfo of the dts file.

@Hiritsuki: Please post also the mediainfo of your aac file.

MenotBumba
2nd March 2011, 14:35
Please post the mediainfo of the dts file.

@Hiritsuki: Please post also the mediainfo of your aac file.

General
Complete name : Something.dts :D
Format : DTS
Format/Info : Digital Theater Systems
File size : 1.36 GiB
Duration : 2h 8mn
Overall bit rate : 1 510 Kbps

Audio
Format : DTS
Format/Info : Digital Theater Systems
Duration : 2h 8mn
Bit rate mode : Constant
Bit rate : 1 510 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.36 GiB

Tuik
2nd March 2011, 15:15
menotbumba, delete the first line of your log..just an advice

Kurtnoise
2nd March 2011, 21:35
Since updating mp4box, I am now getting errors when muxing .264 and .ac3 into an mp4 file. Mp4box will not read the h264 video stream.
*click me (http://kurtnoise.free.fr/mp4tools/MP4Box-0.4.6-rev2735.zip)*

Rat Killer
2nd March 2011, 23:08
Thanks for the update on mp4box. Unfortunatly the new version exits with an error that it cannot find msvcr100.dll which was not included in the zip file. Read a bit online about it and it seems to be some sort of VisualC redistributable file.

Should not MeGUI install this also if its needed for the update? Or can you point me where to get the correct version to install?

Rat Killer
2nd March 2011, 23:40
Which one is this? Please post the link.
It seems that every recent mp4box build has at least one big bug. I recommend to use MKV whereever possible.

Thanks but unfortunatly not possible for Tivo.

Hiritsuki
3rd March 2011, 01:07
Please post the mediainfo of the dts file.

@Hiritsuki: Please post also the mediainfo of your aac file.

一般
Complete name : G:\GOSICK\06\06 PID 110 DELAY -299ms.aac
Format : ADTS
Format/Info : Audio Data Transport Stream
File size : 39.7 MiB
Duration : 29分 29秒
Overall bit rate : 188 Kbps

音訊
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 2
Format profile : LC
Duration : 29分 29秒
Bit rate mode : 常數式
Bit rate : 188 Kbps
Channel(s) : 2 聲道
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Stream size : 39.7 MiB (100%)

Kurtnoise
3rd March 2011, 07:27
Should not MeGUI install this also if its needed for the update? Or can you point me where to get the correct version to install?
redownload it or install MSVC2010 runtime libraries (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84).

Kurtnoise
3rd March 2011, 07:28
一般
Complete name : G:\GOSICK\06\06 PID 110 DELAY -299ms.aac
Format : ADTS
Format/Info : Audio Data Transport Stream
File size : 39.7 MiB
Duration : 29分 29秒
Overall bit rate : 188 Kbps

音訊
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 2
Format profile : LC
Duration : 29分 29秒
Bit rate mode : 常數式
Bit rate : 188 Kbps
Channel(s) : 2 聲道
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Stream size : 39.7 MiB (100%)

you should keep your audio stream in a container (mp4 or mkv) to reencode your file...

Hiritsuki
3rd March 2011, 10:54
you should keep your audio stream in a container (mp4 or mkv) to reencode your file...

Wow , why can't I use previous method? :thanks:

Kurtnoise
3rd March 2011, 14:17
better support within internal megui tools...

Hiritsuki
3rd March 2011, 15:59
BTW, my origin container is MPEG2-TS
Can this container use in megui?

Kurtnoise
3rd March 2011, 17:46
yes, you can use it directly in the audio panel...but this requires to have only one audio track.

megui is not able to select audio tracks to reencode iirc...

Hiritsuki
3rd March 2011, 18:05
yes, you can use it directly in the audio panel...but this requires to have only one audio track.

megui is not able to select audio tracks to reencode iirc...

well, So...
that "File Indexer"'s Audio Track Demux is no effect now? :confused:

Rat Killer
4th March 2011, 00:14
redownload it or install MSVC2010 runtime libraries (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84).

Thanks! That got it fixed. Works a champ now.:thanks:

Zathor
4th March 2011, 07:06
that "File Indexer"'s Audio Track Demux is no effect now? :confused:
We will find a solution. I did not know that some AAC formats can not be played with FFAudioSource. If this is the case we can bypass FFAUdioSource for these formats and try to decode it with DirectShowSource. This is not the prefered way but if this is the only way...
EDIT: Can you please upload your audio file?

Zathor
4th March 2011, 07:09
Kurtnoise: Thank you very much for the updated mp4box. I will
make some tests at the weekend and upload it again to the update server.

Hiritsuki
4th March 2011, 09:43
OK,that's my aac file.

http://www.megaupload.com/?d=6ZY28IH2

Lighto
4th March 2011, 15:49
We will find a solution. I did not know that some AAC formats can not be played with FFAudioSource. If this is the case we can bypass FFAUdioSource for these formats and try to decode it with DirectShowSource. This is not the prefered way but if this is the only way...
EDIT: Can you please upload your audio file?

How about changing the default audio decoder back to DirectShowSource for .aac and make the File Indexer support indexing .aac using FFMSIndexer?

If the user want to use FFAudioSource, he/she will have to index it using the File Indexer first which will produce the .ffindex file and the .avs script that will be fed to the audio input tab.

How does that sounds?

I am not an expert in this so tell me your views.:)

Zathor
4th March 2011, 18:17
The problem is that DirectShowSource does not work "out of the box" for aac files. But a way could be to check if it can be decoded by FFMS and if not to revert to directshowsource.

Dean007
4th March 2011, 18:50
Hy! I want to convert some MKV files to AVI or MP4. I heard Megui is a good software for this. So I install, update, and when I try to encode audio first I always get this error message
[Error] An error occurred
-[Error] Exception message: Script error: there is no function named "DirectShowSource"
-[Error] Stacktrace
--[NoImage] at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
--[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
-[Error] Inner exception: null


What am I doing wrong?

Zathor
4th March 2011, 19:53
Please reinstall AviSynth and/or check that in the ..\AviSynth\plugins directory the file DirectShowSource.dll is available. And post your complete log - there is a line regarding AviSynth version.

Dean007
5th March 2011, 12:56
Thnx for replying!
This plugins directory, I have to manually add it, right? I don't have it after I install AviSynth.
Anyway when I extract all plugins and when I start Megui, File Indexer, I input my MKV file, put it in queue and start the job, I get this error message
http://www.shrani.si/f/3P/J3/2lXdYxZa/avisynth.png

Zathor
5th March 2011, 18:50
1986 [Audio Encoder] fall back to DirectShowSource() if FFAudioSource() cannot be used for AAC
1985 [XviD] reverted the changes in 1941 as XviD 1.3 cannot create AVI files > 2GB
1984 [AVI Muxer] changed default splitting size if opendml is disabled to 2000MB
1983 [Main Window] cosmetic adjustments

Vorkey
5th March 2011, 20:12
Sorry about posting the same thing is two threads but one says troubleshooting and the other says bug reports, so its hard to know where to post issues.

Anyway, just wanted to say I think the latest mediainfo update is bugged.

I just formated my computer and reinstalled everything and once I was done reinstalling and updating megui I got this error message everytime I tried to select an input file in File Indexer.

http://i54.tinypic.com/2jca5hx.jpg

Anyway, I reinstalled MeGUI again and went through the development server updates one by one and mediainfo is the one that caused the problem.

So anyone else get this problem after updating?

Boo
5th March 2011, 22:09
Yes, I get the same error.
For me it happens when trying to index .vob files with audio.
.vob files without audio is indexing just fine.

tebugg
6th March 2011, 00:38
i'm getting the same error as vorkey. i installed a new megui today. when i go to open up a vob file through the file indexer, i get that error. i have ms visual 2010 installed along with ffdshow tryouts, haali media splitter, divx, xvid. has anyone figured out what the issue is?

P.S. i uninstalled megui and reinstalled it without updating mediainfo from the 0.7.39 build and megui works fine. the 0.7.42 mediainfo build is whats causing the problem when trying to index vob files.

Zathor
6th March 2011, 02:18
Thanks for the reports. 0.7.41 is back in action.

Zathor
6th March 2011, 16:08
1989 [MP4 Muxer] a root folder cannot be selected/used as temp folder
1988 [x264] cosmetic adjustment. Bug #3201244
1987 [Queue] disabled job status changing while job is being processed. Feature request #3201255

anyone23
7th March 2011, 00:35
Hi,

yesterday I encoded some interlaced content with MeGui using x264.

I created a new profile with the preset "very slow" and activated the advanced options to enable "Encode Interlaced" in the Frame-Type-Tab.

However x264.exe encoded the file progressive (checked with Mediainfo).


Now I checked it again:

When setting "Interlaced Encoding" the string "--interlaced" is added to the commandline however according to this post (http://doom10.org/index.php?topic=1351.0) the --interlaced switch is depreciated and -tff/-bff should be used instead.

Is this a bug of Megui or did I miss something?

DVDBob
7th March 2011, 16:23
I hope that someone can tell me what went wrong:
[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 1989 (svn)
--[Information] OS : Windows Seven Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 19-09-2009 13:36:57
-[Information] Update detection
--[Information] [06-03-2011 19:33:33] Connecting to server: http://megui.org/auto/
--[Information] [06-03-2011 19:33:34] All files are up to date
-[Information] Log for job9 (video, Ingen.Tid.Til.Kaertegn.vob_ - 1 - MPEG2, 576i50.avs -> )
--[Information] [06-03-2011 19:33:38] Started handling job
--[Information] [06-03-2011 19:33:38] Preprocessing
--[Information] Avisynth input script
---[NoImage] Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
---[NoImage] MPEG2Source("Ingen.Tid.Til.Kaertegn.vob_ - 1 - MPEG2, 576i50.d2v",cpu=0)
---[NoImage] Yadif(order=-1)
---[NoImage] crop(14,4,-10,-4)
---[NoImage] MCTemporalDenoise(settings="medium")
--[Information] Job commandline: "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe" --pass 1 --bitrate 1500 --stats "D:\DVD2\Ingen.Tid.Til.Kaertegn.vob_ - 1 - MPEG2, 576i50.stats" --bframes 6 --b-adapt 2 --ref 5 --merange 24 --me umh --direct auto --subme 8 --partitions all --trellis 2 --no-dct-decimate --sar 12/11 --output NUL "D:\DVD2\Ingen.Tid.Til.Kaertegn.vob_ - 1 - MPEG2, 576i50.avs"
--[Information] [06-03-2011 19:33:48] Encoding started
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] raw [info]: 696x568p 12:11 @ 25/1 fps (cfr)
---[NoImage] x264 [info]: using SAR=12/11
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
---[NoImage] x264 [info]: profile Main, level 3.0
---[NoImage]
---[NoImage] x264 [info]: frame I:850 Avg QP:17.41 size: 39440
---[NoImage] x264 [info]: frame P:30921 Avg QP:20.27 size: 18362
---[NoImage] x264 [info]: frame B:111219 Avg QP:22.77 size: 4178
---[NoImage] x264 [info]: consecutive B-frames: 1.0% 0.8% 5.6% 34.7% 21.6% 31.7% 4.6%
---[NoImage] x264 [info]: mb I I16..4: 27.0% 0.0% 73.0%
---[NoImage] x264 [info]: mb P I16..4: 26.8% 0.0% 0.0% P16..4: 69.8% 0.0% 0.0% 0.0% 0.0% skip: 3.5%
---[NoImage] x264 [info]: mb B I16..4: 4.9% 0.0% 0.0% B16..8: 33.4% 0.0% 0.0% direct:16.7% skip:45.0% L0:32.6% L1:41.0% BI:26.4%
---[NoImage] x264 [info]: final ratefactor: 19.71
---[NoImage] x264 [info]: direct mvs spatial:100.0% temporal:0.0%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 49.4% 27.6% 2.6% inter: 25.3% 9.5% 0.4%
---[NoImage] x264 [info]: i16 v,h,dc,p: 46% 25% 20% 9%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 20% 13% 3% 8% 6% 6% 6% 8%
---[NoImage] x264 [info]: i8c dc,h,v,p: 66% 17% 16% 1%
---[NoImage] x264 [info]: Weighted P-Frames: Y:28.7% UV:13.7%
---[NoImage] x264 [info]: kb/s:1490.92
---[NoImage] encoded 142990 frames, 1.97 fps, 1490.92 kb/s
--[Information] [07-03-2011 15:41:05] Postprocessing
---[Information] Deleting intermediate files
--[Information] [07-03-2011 15:41:05] Job completed
-[Error] Log for job10 (video, Ingen.Tid.Til.Kaertegn.vob_ - 1 - MPEG2, 576i50.avs -> Ingen.Tid.Til.Kaertegn.vob_ - 1 - MPEG2, 576i50.mkv)
--[Information] [07-03-2011 15:41:06] Started handling job
--[Information] [07-03-2011 15:41:06] Preprocessing
--[Information] Avisynth input script
---[NoImage] Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
---[NoImage] MPEG2Source("Ingen.Tid.Til.Kaertegn.vob_ - 1 - MPEG2, 576i50.d2v",cpu=0)
---[NoImage] Yadif(order=-1)
---[NoImage] crop(14,4,-10,-4)
---[NoImage] MCTemporalDenoise(settings="medium")
--[Information] Job commandline: "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe" --pass 2 --bitrate 1500 --stats "D:\DVD2\Ingen.Tid.Til.Kaertegn.vob_ - 1 - MPEG2, 576i50.stats" --bframes 6 --b-adapt 2 --ref 5 --merange 24 --me umh --direct auto --subme 8 --partitions all --trellis 2 --no-dct-decimate --sar 12/11 --output "D:\DVD2\Ingen.Tid.Til.Kaertegn.vob_ - 1 - MPEG2, 576i50.mkv" "D:\DVD2\Ingen.Tid.Til.Kaertegn.vob_ - 1 - MPEG2, 576i50.avs"
--[Information] [07-03-2011 15:41:16] Encoding started
--[Error] An error occurred: x264 [error]: 2nd pass has more frames than 1st pass (142990 vs 14600)
--[Error] An error occurred: x264 [error]: x264_encoder_open failed
--[Error] An error occurred: avs [error]: Error occurred while writing frame 0
--[Error] [07-03-2011 15:41:27] Process exits with error code: -1
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] raw [info]: 696x568p 12:11 @ 25/1 fps (cfr)
---[NoImage] x264 [info]: using SAR=12/11
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
---[NoImage]
---[NoImage] (Maybe x264_64.exe closed)
--[Error] [07-03-2011 15:41:27] The 64 bit mode of x264 has been disabled
--[Information] [07-03-2011 15:41:27] Job completed

Valeron
8th March 2011, 03:07
I just download MeGUI r1911(certainly a x86 build, right?) from sf.
I found something weird when I run my encode.
My OS is XP x64. I installed solely x86 version avisynth.
I see the x264 in this version is too old, so I replace it with r1913 from x264.nl. I only replace the x86 build(found there's a x264_64.exe in the directory but I didn't touch it). When I run the encode, I found that it invoke the x264_64 but not the x86 version as expected.
And when I realized there's not a normal situation, I deleted the x86_64 and try run my encode again, the job simply done in a second, in other words, failed immediately.
How did it do that? Is this a feature or bug? I would like to utilize x264_x86 since my whole toolchain are x86. Thanks.

Lighto
8th March 2011, 03:40
@Valeron
You can use the 64bit x264 for your encoding,it is suppose to be 10% faster than the 32bit x264 on a 64bit machine even though your work flow uses 32bit filters/decoders.
Nonetheless, you can set MeGUI to not use 64bit by un-checking this.
http://i51.tinypic.com/2afbh5h.jpg

Valeron
8th March 2011, 03:57
How does MeGUI feed the x64 version while my avisynth is x86? Won't there be any bottleneck?

DVDBob
8th March 2011, 17:27
I got another error, see below:
[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 1989 (svn)
--[Information] OS : Windows Seven Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 19-09-2009 13:36:57
-[Information] Update detection
--[Information] [07-03-2011 18:34:13] Connecting to server: http://megui.org/auto/
--[Information] [07-03-2011 18:34:14] All files are up to date
-[Information] Log for job1 (video, Jetpiloter.vob_ - 1 - MPEG2, 576i50.avs -> )
--[Information] [07-03-2011 19:02:20] Started handling job
--[Information] [07-03-2011 19:02:20] Preprocessing
--[Information] Avisynth input script
---[NoImage] MPEG2Source("Jetpiloter.vob_ - 1 - MPEG2, 576i50.d2v",cpu=0)
---[NoImage] crop(2,2,-2,-2)
---[NoImage] MCTemporalDenoise(settings="medium")
--[Information] Job commandline: "C:\Program Files (x86)\MeGUI\tools\x264\x264.exe" --pass 1 --bitrate 1500 --stats "D:\DVD2\Jetpiloter.vob_ - 1 - MPEG2, 576i50.stats" --bframes 6 --b-adapt 2 --ref 5 --merange 24 --me umh --direct auto --subme 8 --partitions all --trellis 2 --no-dct-decimate --sar 16/11 --output NUL "D:\DVD2\Jetpiloter.vob_ - 1 - MPEG2, 576i50.avs"
--[Information] [07-03-2011 19:02:28] Encoding started
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] avs [info]: 716x572p 16:11 @ 25/1 fps (cfr)
---[NoImage] x264 [info]: using SAR=16/11
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
---[NoImage] x264 [info]: profile Main, level 3.0
---[NoImage]
---[NoImage] x264 [info]: frame I:687 Avg QP:12.95 size: 54941
---[NoImage] x264 [info]: frame P:27096 Avg QP:16.84 size: 17422
---[NoImage] x264 [info]: frame B:87631 Avg QP:18.33 size: 3774
---[NoImage] x264 [info]: consecutive B-frames: 4.2% 1.2% 7.4% 20.7% 22.5% 35.7% 8.3%
---[NoImage] x264 [info]: mb I I16..4: 29.9% 0.0% 70.1%
---[NoImage] x264 [info]: mb P I16..4: 23.1% 0.0% 0.0% P16..4: 60.2% 0.0% 0.0% 0.0% 0.0% skip:16.7%
---[NoImage] x264 [info]: mb B I16..4: 5.3% 0.0% 0.0% B16..8: 32.0% 0.0% 0.0% direct:16.4% skip:46.3% L0:33.1% L1:41.7% BI:25.2%
---[NoImage] x264 [info]: final ratefactor: 16.49
---[NoImage] x264 [info]: direct mvs spatial:100.0% temporal:0.0%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 45.7% 47.1% 17.8% inter: 20.7% 21.2% 4.0%
---[NoImage] x264 [info]: i16 v,h,dc,p: 40% 29% 22% 9%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 18% 17% 3% 9% 7% 6% 6% 8%
---[NoImage] x264 [info]: i8c dc,h,v,p: 55% 20% 22% 4%
---[NoImage] x264 [info]: Weighted P-Frames: Y:5.5% UV:2.6%
---[NoImage] x264 [info]: kb/s:1456.46
---[NoImage] encoded 115414 frames, 1.91 fps, 1456.46 kb/s
--[Information] [08-03-2011 11:50:40] Postprocessing
---[Information] Deleting intermediate files
--[Information] [08-03-2011 11:50:40] Job completed
-[Error] Log for job2 (video, Jetpiloter.vob_ - 1 - MPEG2, 576i50.avs -> Jetpiloter.vob_ - 1 - MPEG2, 576i50.mkv)
--[Information] [08-03-2011 11:50:41] Started handling job
--[Information] [08-03-2011 11:50:41] Preprocessing
--[Information] Avisynth input script
---[NoImage] MPEG2Source("Jetpiloter.vob_ - 1 - MPEG2, 576i50.d2v",cpu=0)
---[NoImage] crop(2,2,-2,-2)
---[NoImage] MCTemporalDenoise(settings="medium")
--[Information] Job commandline: "C:\Program Files (x86)\MeGUI\tools\x264\x264.exe" --pass 2 --bitrate 1500 --stats "D:\DVD2\Jetpiloter.vob_ - 1 - MPEG2, 576i50.stats" --bframes 6 --b-adapt 2 --ref 5 --merange 24 --me umh --direct auto --subme 8 --partitions all --trellis 2 --no-dct-decimate --sar 16/11 --output "D:\DVD2\Jetpiloter.vob_ - 1 - MPEG2, 576i50.mkv" "D:\DVD2\Jetpiloter.vob_ - 1 - MPEG2, 576i50.avs"
--[Information] [08-03-2011 11:50:49] Encoding started
--[Error] An error occurred: x264 [error]: MB-tree frametype 189 doesn't match actual frametype 1.
--[Error] An error occurred: x264 [error]: x264_encoder_encode failed
--[Error] [08-03-2011 15:58:40] Process exits with error code: -1
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] avs [info]: 716x572p 16:11 @ 25/1 fps (cfr)
---[NoImage] x264 [info]: using SAR=16/11
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
---[NoImage] x264 [info]: profile High, level 3.0
---[NoImage]
---[NoImage] x264 [info]: frame I:159 Avg QP:13.10 size: 51381
---[NoImage] x264 [info]: frame P:6186 Avg QP:16.02 size: 19117
---[NoImage] x264 [info]: frame B:21661 Avg QP:17.72 size: 4088
---[NoImage] x264 [info]: consecutive B-frames: 2.5% 1.4% 7.0% 21.0% 21.8% 37.1% 9.2%
---[NoImage] x264 [info]: mb I I16..4: 10.1% 70.4% 19.4%
---[NoImage] x264 [info]: mb P I16..4: 3.4% 6.7% 1.2% P16..4: 48.1% 23.9% 6.0% 0.7% 0.4% skip: 9.6%
---[NoImage] x264 [info]: mb B I16..4: 0.2% 0.3% 0.1% B16..8: 42.1% 9.0% 1.7% direct: 9.8% skip:36.9% L0:40.7% L1:45.8% BI:13.5%
---[NoImage] x264 [info]: 8x8 transform intra:61.0% inter:54.7%
---[NoImage] x264 [info]: direct mvs spatial:98.3% temporal:1.7%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 62.9% 61.3% 34.8% inter: 20.1% 30.6% 6.7%
---[NoImage] x264 [info]: i16 v,h,dc,p: 48% 15% 12% 24%
---[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 9% 11% 9% 12% 12% 11% 11% 13%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 7% 9% 10% 14% 13% 11% 11% 12%
---[NoImage] x264 [info]: i8c dc,h,v,p: 41% 29% 21% 8%
---[NoImage] x264 [info]: Weighted P-Frames: Y:10.1% UV:4.7%
---[NoImage] x264 [info]: ref P L0: 46.6% 9.4% 21.9% 10.1% 10.0% 1.9% 0.1%
---[NoImage] x264 [info]: ref B L0: 79.9% 14.9% 3.9% 1.4%
---[NoImage] x264 [info]: ref B L1: 93.5% 6.5%
---[NoImage] x264 [info]: kb/s:1535.13
---[NoImage] aborted at input frame 28015, output frame 28006
---[NoImage] encoded 28006 frames, 1.89 fps, 1535.19 kb/s
--[Information] [08-03-2011 15:58:40] Job completed
-[Information] Update detection
--[Information] [08-03-2011 15:13:40] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [08-03-2011 15:13:41] All files are up to date
-[Information] Log for job3 (video, Komtessen.Paa.Steenholt.vob_ - 1 - MPEG2, 576i50.avs -> )
--[Information] [08-03-2011 15:58:40] Started handling job
--[Information] [08-03-2011 15:58:40] Preprocessing
--[Information] Avisynth input script
---[NoImage] MPEG2Source("Komtessen.Paa.Steenholt.vob_ - 1 - MPEG2, 576i50.d2v",cpu=0)
---[NoImage] crop(26,6,-6,-6)
---[NoImage] MCTemporalDenoise(settings="medium")
--[Information] Job commandline: "C:\Program Files (x86)\MeGUI\tools\x264\x264.exe" --pass 1 --bitrate 1500 --stats "D:\DVD2\Komtessen.Paa.Steenholt.vob_ - 1 - MPEG2, 576i50.stats" --bframes 6 --b-adapt 2 --ref 5 --merange 24 --me umh --direct auto --subme 8 --partitions all --trellis 2 --no-dct-decimate --sar 16/15 --output NUL "D:\DVD2\Komtessen.Paa.Steenholt.vob_ - 1 - MPEG2, 576i50.avs"
--[Information] [08-03-2011 15:58:48] Encoding started
--[Information] [08-03-2011 16:10:13] Process exits with error code: -1
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] avs [info]: 688x564p 16:15 @ 25/1 fps (cfr)
---[NoImage] x264 [info]: using SAR=16/15
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
---[NoImage] x264 [info]: profile Main, level 3.0
--[Information] Deleting aborted output
---[Information] Delete aborted ouptut set: True
---[Information] File to delete
---[Information] [08-03-2011 16:10:13] File deleted
--[Information] [08-03-2011 16:10:13] Job completed
--[Information] [08-03-2011 16:10:13] Current job was aborted

Lighto
11th March 2011, 06:14
Cosmetic: Invisible separator in Input tab.
http://i.imgur.com/Mzb0o.png

Zathor
13th March 2011, 13:11
Released 1989 also as stable build :rolleyes:

lintran
15th March 2011, 11:23
I'm using megui 1989, and use mkv muxer to mux .h264 and raw .acc to MKV, but after process, status is error. And here is the log:
-[Information] Versions
--[Information] MeGUI Version : 1989 (svn)
--[Information] OS : Windows Seven Ultimate Edition x86 (6.1.0.7600)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.8.5 (21-Dec-08 9:46:54 PM)
-[Information] Log for job314 (mux, Unstoppable.264 -> Unstoppable-muxed.mkv)
--[Information] [15-Mar-11 5:06:17 PM] Started handling job
--[Information] [15-Mar-11 5:06:17 PM] Preprocessing
--[Information] Job commandline: "D:\MultiMedia\MeGUI 1911\tools\mkvmerge\mkvmerge.exe" -o "E:\Working\zTrailers Muxed Offline\Unstoppable-muxed.mkv" --engage keep_bitstream_ar_info --track-name "0:Pub.vn Vietnamese" --default-duration 0:24000/1001fps "--compression" "0:none" -d 0 -A -S "E:\Working\zTrailers Encoded\Unstoppable.264" --language 0:eng --track-name "0:Pub.vn English 2.0" "--compression" "0:none" -a 0 --no-chapters -D -S "D:\Video\zDone\zSynced\Unstopable - Hiem Nguy Di Dong\Unstoppable 2 192K.aac" --ui-language en
--[Information] [15-Mar-11 5:06:18 PM] Muxing started
--[Warning] A warning occurred: Warning: AAC files may contain HE-AAC / AAC+ / SBR AAC audio. This can NOT be detected automatically. Therefore you have to specifiy '--aac-is-sbr 0' manually for this input file if the file actually contains SBR AAC. The file will be muxed in the WRONG way otherwise. Also read mkvmerge's documentation.
--[Error] [15-Mar-11 5:06:28 PM] Process exits with error code: 1
-[NoImage] mkvmerge v4.5.0 ('Speed of Light') built on Feb 1 2011 02:10:32
-[NoImage] 'E:\Working\zTrailers Encoded\Unstoppable.264': Using the AVC/h.264 ES demultiplexer.
-[NoImage] 'D:\Video\zDone\zSynced\Unstopable - Hiem Nguy Di Dong\Unstoppable 2 192K.aac': Using the AAC demultiplexer.
-[NoImage] 'E:\Working\zTrailers Encoded\Unstoppable.264' track 0: Using the MPEG-4 part 10 ES video output module.
-[NoImage] 'D:\Video\zDone\zSynced\Unstopable - Hiem Nguy Di Dong\Unstoppable 2 192K.aac' track 0: Using the AAC output module.
-[NoImage] The file 'E:\Working\zTrailers Muxed Offline\Unstoppable-muxed.mkv' has been opened for writing.
-[NoImage] 'E:\Working\zTrailers Encoded\Unstoppable.264' track 0: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 1920/800.
-[NoImage] The cue entries (the index) are being written...
-[NoImage] Muxing took 9 seconds.
--[Information] Standard output stream
--[Information] Standard error stream
--[Information] [15-Mar-11 5:06:28 PM] Job completed
But the mkv output file seem fine, everything is ok, no problem. So anyone please tell me what happen? What i have to do?
Thank you so much.
P/S: mkvmerge (come with megui) 4.5 or 4.6 still got this problem :(

unknownsoldierX
20th March 2011, 15:51
With the new version, all my muxed files have a (1) at the end of the filename. i.e., "movie(1).avi"

Zathor
20th March 2011, 16:59
I'm using megui 1989, and use mkv muxer to mux .h264 and raw .acc to MKV, but after process, status is error. But the mkv output file seem fine, everything is ok, no problem. P/S: mkvmerge (come with megui) 4.5 or 4.6 still got this problem :(
Thanks for the report. It will be changed in the next build.

With the new version, all my muxed files have a (1) at the end of the filename. i.e., "movie(1).avi"
The default output device type splits files at 2GB and therefore a (1) will be appended for the first file. You can revert to the old behavior (no split, less compatible with SAP) by switching to PC device type.

unknownsoldierX
20th March 2011, 17:46
I don't use AVIs over 2GB, so I don't need split files. It is annoying to remove the (1) from each file. I do use stand-alone players, so I can't use the PC device type.

Would it be possible to not append the (1) to jobs under 2GB?

Zathor
20th March 2011, 18:29
If you did not had problems with the created AVI files and your SAP with MeGUI < 1979 you can switch to PC without problems as this was the default before 1979.

unknownsoldierX
20th March 2011, 18:43
Oh, ok. I misread that the first time. Hadn't had my coffee yet. Thanks.

EDIT: When I go to change the auto-encode defaults, under Device there are two PC options.

DVDBob
21st March 2011, 02:07
Hello.

Why writes MeGUI "Error: No data available" when I hover the mouse over the "Credits Quantizer" setting

Zathor
21st March 2011, 15:31
When I go to change the auto-encode defaults, under Device there are two PC options.
Thanks, will be fixed. It is only a cosmetic issue.

Why writes MeGUI "Error: No data available" when I hover the mouse over the "Credits Quantizer" setting
Because in the help no data is available or the data is not correctly mapped. I will check this later.

DVDBob
21st March 2011, 15:57
Ok...

Lighto
21st March 2011, 16:50
@Zathor
Any comments on the incorrect/outdated interlaced encoding x264 command line issue?

Zathor
21st March 2011, 23:01
Yes, it will be changed. Until it has been changed you can add the tff/bff values in the custom command line.

Zathor
21st March 2011, 23:04
Why writes MeGUI "Error: No data available" when I hover the mouse over the "Credits Quantizer" settingBecause in the help no data is available or the data is not correctly mapped. I will check this later.
Thanks, new help file is online.

DVDBob
21st March 2011, 23:28
Thanks ;)

beto
23rd March 2011, 02:29
I am trying to encode a video to x264 but megui keeps throwing me this error in the middle of the second pass. Can anyone please assist?

Thank you very much.

MeGui Error Log
[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 1989 (svn)
--[Information] OS : Windows Seven Ultimate Edition x86 SP1 (6.1.65536.7601)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.8.5 (12/21/2008 9:46:54 PM)
-[Information] Update detection
--[Information] [03/21/2011 8:29:05 PM] Connecting to server: http://megui.xvidvideo.ru/auto/stable/
--[Information] [03/21/2011 8:29:07 PM] There is 1 file which can be updated.
-[Information] Log for job8 (video, dvd_zeca_3.avs -> )
--[Information] [03/21/2011 8:32:13 PM] Started handling job
--[Information] [03/21/2011 8:32:14 PM] Preprocessing
--[Information] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\VTS_02_1.d2v", info=3)
---[NoImage] LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] ColorMatrix(hints=true, threads=0)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] #resize
---[NoImage] #denoise
--[Information] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 1871 --stats "C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\dvd_zeca_3.stats" --b-pyramid none --qpmin 10 --qpmax 51 --trellis 0 --profile high --level 4.2 --vbv-bufsize 31250 --vbv-maxrate 31250 --aud --sar 1:1 --output NUL "C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\dvd_zeca_3.avs"
--[Information] [03/21/2011 8:32:14 PM] Encoding started
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] avs [info]: 720x480p 1:1 @ 30000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] x264 [info]: profile Main, level 4.2
---[NoImage]
---[NoImage] x264 [info]: frame I:2253 Avg QP:20.20 size: 44893
---[NoImage] x264 [info]: frame P:76528 Avg QP:23.44 size: 12046
---[NoImage] x264 [info]: frame B:82707 Avg QP:26.06 size: 2623
---[NoImage] x264 [info]: consecutive B-frames: 9.4% 59.2% 23.1% 8.3%
---[NoImage] x264 [info]: mb I I16..4: 24.4% 0.0% 75.6%
---[NoImage] x264 [info]: mb P I16..4: 13.5% 0.0% 0.0% P16..4: 68.4% 0.0% 0.0% 0.0% 0.0% skip:18.1%
---[NoImage] x264 [info]: mb B I16..4: 1.9% 0.0% 0.0% B16..8: 23.4% 0.0% 0.0% direct:12.5% skip:62.3% L0:24.8% L1:44.0% BI:31.1%
---[NoImage] x264 [info]: final ratefactor: 21.23
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 41.8% 62.8% 25.9% inter: 22.3% 22.0% 4.0%
---[NoImage] x264 [info]: i16 v,h,dc,p: 43% 21% 27% 9%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 17% 18% 4% 9% 7% 6% 6% 7%
---[NoImage] x264 [info]: i8c dc,h,v,p: 49% 17% 28% 6%
---[NoImage] x264 [info]: Weighted P-Frames: Y:9.8% UV:6.8%
---[NoImage] x264 [info]: kb/s:1840.96
---[NoImage] encoded 161488 frames, 61.42 fps, 1840.96 kb/s
--[Information] [03/21/2011 9:16:05 PM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [03/21/2011 9:16:05 PM] Job completed
-[Error] Log for job9 (video, dvd_zeca_3.avs -> dvd_zeca_3.264)
--[Information] [03/21/2011 9:16:05 PM] Started handling job
--[Information] [03/21/2011 9:16:05 PM] Preprocessing
--[Information] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\VTS_02_1.d2v", info=3)
---[NoImage] LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] ColorMatrix(hints=true, threads=0)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] #resize
---[NoImage] #denoise
--[Information] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 2 --bitrate 1871 --stats "C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\dvd_zeca_3.stats" --b-pyramid none --qpmin 10 --qpmax 51 --trellis 0 --profile high --level 4.2 --vbv-bufsize 31250 --vbv-maxrate 31250 --aud --sar 1:1 --output "C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\dvd_zeca_3.264" "C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\dvd_zeca_3.avs"
--[Information] [03/21/2011 9:16:05 PM] Encoding started
--[Error] [03/21/2011 10:32:58 PM] Process exits with error code: -1073741819
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] avs [info]: 720x480p 1:1 @ 30000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] x264 [info]: profile High, level 4.2
--[Information] [03/21/2011 10:32:59 PM] Job completed

AVISynth Script
LoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\VTS_02_1.d2v", info=3)
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
#resize
#denoise

Lighto
23rd March 2011, 11:36
Bug:
"Zones" button isn't enabled when the .avs is loaded into MeGUI automatically after saving script from AVS Creator.
It is only enabled when the user manually load the .avs into MeGUI.

Zathor
23rd March 2011, 14:14
I am trying to encode a video to x264 but megui keeps throwing me this error in the middle of the second pass.

MeGui Error Log

--[Information] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 2 --bitrate 1871 --stats "C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\dvd_zeca_3.stats" --b-pyramid none --qpmin 10 --qpmax 51 --trellis 0 --profile high --level 4.2 --vbv-bufsize 31250 --vbv-maxrate 31250 --aud --sar 1:1 --output "C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\dvd_zeca_3.264" "C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\dvd_zeca_3.avs"
--[Information] [03/21/2011 9:16:05 PM] Encoding started
--[Error] [03/21/2011 10:32:58 PM] Process exits with error code: -1073741819

Please try to execute the above mentioned command line manually (without MeGUI in a command prompt).

beto
23rd March 2011, 21:39
I'll try that when I get home and post the results back. Thanks.

Tuik
24th March 2011, 03:07
Are you planning to update again to XviD 1.3.0 again? Thanks

Zathor
24th March 2011, 06:13
As soon as there is an xvid encraw available which is able to create AVI/MKV files > 2GB.

AMED
24th March 2011, 07:53
is it possible for the AviSynth creator to open FFMS indexed blurays at there native resolution and not maximised?

e.g.

When i open a 1920x1080 bluray in AviSynth creator on my monitor, it opens at 2560x1440 when it should open at 1920x1080.

currently
http://img718.imageshack.us/img718/479/openingwithavisynthcrea.th.jpg (http://img718.imageshack.us/i/openingwithavisynthcrea.jpg/)

should be like this
http://img64.imageshack.us/img64/479/openingwithavisynthcrea.th.jpg (http://img64.imageshack.us/i/openingwithavisynthcrea.jpg/)

EDIT: I can work around this by clicking the Re-open original video player button, once it has initially loaded the video input.

Lighto
25th March 2011, 10:21
Yes, it will be changed. Until it has been changed you can add the tff/bff values in the custom command line.

Thanks for the confirmation, I was afraid that it got missed out since there was no reply or svn changes regarding that on SF.:p

Zathor
25th March 2011, 12:47
You have created a SF tracker item and that way it won't get lost. Thanks :)

Knuffi
26th March 2011, 21:30
I have problems in encoding HD Streams that were recorded by me with my Technotrend HD TV-Card. I have no problems encoding SD stuff from it.
The Streams are MPEG-TS with AVC encoding, 1280x720 px, Bitrate 2700 Kbps, 50 fps, ColorSpace YuV.

I use the File Indexer that gives me a dga-file. After that I create an AVS file and try to start encoding.

After a short period of time (depending on the stream), the video encoding stops and the log says:

[Error] Log
-[Information] Versions
--[Information] MeGUI Version : 1989 (svn)
--[Information] OS : Windows Seven x64 SP1 (6.1.65536.7601)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.8.5 (21.12.2008 21:46:54)
-[Information] Update detection
--[Information] [26.03.2011 21:16:05] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [26.03.2011 21:16:06] All files are up to date
-[Information] Log for job1 (idx, 02 ZDF HD20110326-21_11_02.ts -> 02 ZDF HD20110326-21_11_02.dga)
--[Information] [26.03.2011 21:16:20] Started handling job
--[Information] [26.03.2011 21:16:20] Preprocessing
--[Information] Job commandline: "C:\Program Files (x86)\megui\tools\dgavcindex\dgavcindex.exe" -i "E:\capture\02 ZDF HD20110326-21_11_02.ts" -o "E:\capture\02 ZDF HD20110326-21_11_02.dga" -e -h -a
--[Information] [26.03.2011 21:16:20] Indexing started
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
---[NoImage] Warning: no active SPS, timing SEI cannot be parsed
--[Information] [26.03.2011 21:16:23] Postprocessing
---[Information] Deleting intermediate files
----[Information] [26.03.2011 21:16:23] Successfully deleted E:\capture\02 ZDF HD20110326-21_11_02.log
--[Information] [26.03.2011 21:16:23] Job completed
-[Error] Log for job1 (video, 02 ZDF HD20110326-21_11_02.avs -> 02 ZDF HD20110326-21_11_02.mp4)
--[Information] [26.03.2011 21:16:58] Started handling job
--[Information] [26.03.2011 21:16:58] Preprocessing
--[Information] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files (x86)\megui\tools\dgavcindex\DGAVCDecode.dll")
---[NoImage] AVCSource("E:\capture\02 ZDF HD20110326-21_11_02.dga")
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] #resize
---[NoImage] #denoise
--[Information] Job commandline: "C:\Program Files (x86)\megui\tools\x264\x264.exe" --crf 20.0 --qpmin 10 --qpmax 51 --trellis 0 --profile high --level 4.1 --bframes 3 --ref 4 --slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-maxrate 14000 --vbv-bufsize 14500 --sar 1:1 --output "E:\capture\02 ZDF HD20110326-21_11_02.mp4" "E:\capture\02 ZDF HD20110326-21_11_02.avs"
--[Information] [26.03.2011 21:16:59] Encoding started
--[Error] [26.03.2011 21:17:24] Process exits with error code: 3
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] avs [info]: 1280x720p 1:1 @ 50/1 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
---[NoImage] x264 [info]: profile High, level 4.1
---[NoImage] This application has requested the Runtime to terminate it in an unusual way.
---[NoImage] Please contact the application's support team for more information.
--[Information] [26.03.2011 21:17:24] Job completed
-[Information] Log for job2 (audio, 02 ZDF HD20110326-21_11_02.dga PID 17e8 L2 2ch 48 256 DELAY -1436ms.mp2 -> 02 ZDF HD20110326-21_11_02.dga PID 17e8 L2 2ch 48 256 DELAY 0ms.m4a)
--[Information] [26.03.2011 21:17:00] Started handling job
--[Information] [26.03.2011 21:17:00] Preprocessing
--[Information] Avisynth script
---[NoImage] LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] NicMPG123Source("E:\capture\02 ZDF HD20110326-21_11_02.dga PID 17e8 L2 2ch 48 256 DELAY -1436ms.mp2")
---[NoImage] DelayAudio(-1436.0/1000.0)
---[NoImage] Normalize()
---[NoImage] return last
--[Information] Commandline used: -ignorelength -q 0.5 -if - -of "{0}"
--[Information] [26.03.2011 21:17:00] Encoding started
--[Information] [26.03.2011 21:17:00] Avisynth script environment opened
--[Information] [26.03.2011 21:17:01] Script loaded
--[Information] Output Decoder
---[Information] Channels: 2
---[Information] Bits per sample: 32
---[Information] Sample rate: 48000
--[Information] Commandline: C:\Program Files (x86)\megui\tools\NeroAAC\neroAacEnc.exe -ignorelength -q 0.5 -if - -of "E:\capture\02 ZDF HD20110326-21_11_02.dga PID 17e8 L2 2ch 48 256 DELAY 0ms.m4a"
--[Information] [26.03.2011 21:17:01] Encoder process started
--[Information] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2009 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Feb 18 2010 *
---[NoImage] * Package version: 1.5.4.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] [26.03.2011 21:17:05] Postprocessing
---[Information] Deleting intermediate files
----[Information] [26.03.2011 21:17:05] Successfully deleted E:\capture\02 ZDF HD20110326-21_11_02.dga PID 17e8 L2 2ch 48 256 DELAY -1436ms.mp2.d2a
--[Information] [26.03.2011 21:17:05] Job completed


As already mentioned, I have no problems with SD streams. With them I use ProjectX to demux, Cuttermaran to cut and MeGUI to encode.
What did I do wrong?

Zathor
27th March 2011, 16:15
2000 [One-Click] if the source is a MKV file and target container is MKV the subtitles will be copied
[One-Click] if the source is a MKV file and target container is MKV the video track can be copied
added therefore a "Keep original track" checkbox for the video in the settings
1999 [profiles] during startup deprecated profiles will be removed
1998 [x264] invalid zones will be ignored. Bug #3233068
[Main Window] zones button is always enabled. Bug #3243634
1997 [AutoEncode] fixed duplicate device type entries
1996 [MKV Demuxer] added mkvextract as mkv demuxer
[Update] added mkvextract.exe and mkvinfo.exe to the file checks
[One-Click] if the source is a MKV file the chapters will be extracted and reapplied to the output
[One-Click] enhanced chapter and qpf file handling
[One-Click] if the source is a MKV file the audio files can be demuxed if using FFMS indexer
1995 [MKV Muxer] added --aac-is-sbr in any case for AAC files in order to avoid a warning message
1994 [Log] added timestamp to some log items
1993 [Winamp] removed winamp encoder
1992 [AudX] removed audx encoder
1991 [Snow] removed snow encoder
1990 [MainForm] cosmetic change

Because of the rather heavy changes in One-Click there may be bugs. Please test and report back.

Zathor
27th March 2011, 16:32
is it possible for the AviSynth creator to open FFMS indexed blurays at there native resolution and not maximised?

e.g.

When i open a 1920x1080 bluray in AviSynth creator on my monitor, it opens at 2560x1440 when it should open at 1920x1080.

The video player cannot be maximized and therfore the player should never be bigger than the original size. Sadly I cannot reproduce your problem. As my monitor is only a 1080p one I cannot test with 1080p input files but 720p ones are working without problems.

Lighto
27th March 2011, 16:48
2000 [One-Click] if the source is a MKV file and target container is MKV the subtitles will be copied
[One-Click] if the source is a MKV file and target container is MKV the video track can be copied
added therefore a "Keep original track" checkbox for the video in the settings
1999 [profiles] during startup deprecated profiles will be removed
1998 [x264] invalid zones will be ignored. Bug #3233068
[Main Window] zones button is always enabled. Bug #3243634
1997 [AutoEncode] fixed duplicate device type entries
1996 [MKV Demuxer] added mkvextract as mkv demuxer
[Update] added mkvextract.exe and mkvinfo.exe to the file checks
[One-Click] if the source is a MKV file the chapters will be extracted and reapplied to the output
[One-Click] enhanced chapter and qpf file handling
[One-Click] if the source is a MKV file the audio files can be demuxed if using FFMS indexer
1995 [MKV Muxer] added --aac-is-sbr in any case for AAC files in order to avoid a warning message
1994 [Log] added timestamp to some log items
1993 [Winamp] removed winamp encoder
1992 [AudX] removed audx encoder
1991 [Snow] removed snow encoder
1990 [MainForm] cosmetic change

Because of the rather heavy changes in One-Click there may be bugs. Please test and report back.

Thanks for the updates!!!:D
Have been waiting for it.
Would have been perfect for me if the x264 interlaced encoding config has been updated as well.

Anyway, good job and thanks!:thanks:
The new one click makes remuxing .mkv a lot easier!

Zathor
27th March 2011, 17:57
Would have been perfect for me if the x264 interlaced encoding config has been updated as well.

Beside bugfixing One-Click (found already one bug) the next things on my to do list are some changes to the x264 handling (including the interlaced thing, but this is a minor one).

Amateur
27th March 2011, 20:48
not sure if this thread (http://forum.doom9.org/showthread.php?t=160007) should be here instead. is this error a megui problem or something else?

powerfool19
28th March 2011, 09:38
Helllo Guys, I always got an audio error problem while converting .mov files, I use all the audio presets but still not working, anyone knows how to fixed this one, thanks in advanced!

Lighto
28th March 2011, 09:43
@powerfool19
Have you tried indexing the .mov using the File Indexer?

rapscallion
29th March 2011, 22:50
@zathor

Changes in 2002 svn ?

SacredCultivator
29th March 2011, 22:52
2002 [Update] added build number check so that profiles can only be installed using the correct build
2001 [MKV Demuxer] added status information to progress window
[One-Click] fixed handling of PGS subtitles

Hope that helps.

rapscallion
30th March 2011, 00:02
Yes, thanks...still hoping for Bitrate Calculator and interlace fix.

Zathor
30th March 2011, 06:00
Yes, thanks...still hoping for Bitrate Calculator and interlace fix.

With "interlace fix" you are refering to replacing --interlaced in x264 mode with --tff or --bff? This will be implemented soon. Bitrate calculator is the problem with M2TS and non AC3 audio tracks, correct?

AMED
30th March 2011, 09:49
The video player cannot be maximized and therfore the player should never be bigger than the original size. Sadly I cannot reproduce your problem. As my monitor is only a 1080p one I cannot test with 1080p input files but 720p ones are working without problems.Hi Zathor,

I have figured out how to reproduce this bug, you need to increase the windows font size to 125% or higher and then you should see it.

100%
http://s3.postimage.org/101pxbbus/100_Font_Size.jpg (http://postimage.org/image/101pxbbus/)

125%
http://s3.postimage.org/zz6yr8p0/125_Font_Size.jpg (http://postimage.org/image/zz6yr8p0/)

150%
http://s3.postimage.org/zzluld50/150_Font_Size.jpg (http://postimage.org/image/zzluld50/)

EDIT: It seems that all video preview windows get stretched

rapscallion
2nd April 2011, 00:55
With "interlace fix" you are refering to replacing --interlaced in x264 mode with --tff or --bff? This will be implemented soon. Bitrate calculator is the problem with M2TS and non AC3 audio tracks, correct?
Yes, to both. (calc oversizes by ~4%). I run 1888 svn separately just for the calculator. That ver is pretty spot on.

In the meantime, I have a tff video that I want to encode smaller, so do I just add --tff to the command line with no other value ?

And, adding nothing will encode as progressive and is there any advantage to doing that, quality wise ?

Lighto
3rd April 2011, 08:08
Feature request: Support for .wav in MKV Muxer and Adaptive Muxer. (https://sourceforge.net/tracker/?func=detail&aid=3253221&group_id=156112&atid=798479)
Would appreciate this feature very much as it makes my job of ripping my DVD to .mkv while copying the source audio which is .wav a lot easier compared to going to mkvmerge GUI to mux it manually. :)

Anyway I see that changes have been made for the x264 interlaced encoding command line on SF, thanks Zathor!:p

TSoft
3rd April 2011, 18:59
[Error] Log
-[Information] Versions
--[Information] [02/04/2011 17.19.23] MeGUI Version : 2002 (svn)
--[Information] [02/04/2011 17.19.23] OS : Windows Server 2008 x86 SP2 (6.0.131072.6002)
--[Information] [02/04/2011 17.19.23] Latest .Net Framework installed : 2.0 SP2 (2.0.50727.4016)
--[Information] [02/04/2011 17.19.23] Avisynth Version : 2.5.8.5 (21/12/2008 21.46.54)
-[Information] Update detection
--[Information] [02/04/2011 17.19.23] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [02/04/2011 17.19.24] All files are up to date
-[Information] Log for job1 (video, La.Banda.Dei.Babbi.Natale.2010.ITA.DTS.AC3.720p.Bluray.x264-TSR.avs -> )
--[Information] [02/04/2011 17.25.52] Started handling job
--[Information] [02/04/2011 17.25.52] Preprocessing
--[Information] [02/04/2011 17.25.52] Avisynth input script
---[NoImage] # Set DAR in encoder to 47 : 20. The following line is for automatic signalling
---[NoImage] global MeGUI_darx = 47
---[NoImage] global MeGUI_dary = 20
---[NoImage] LoadPlugin("C:\Program Files\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\VSFilter.dll")
---[NoImage] DirectShowSource("D:\Torrent-COMPLETI\La.Banda.Dei.Babbi.Natale.2010.ITA.DTS.AC3.720p.Bluray.x264-TSR\La.Banda.Dei.Babbi.Natale.2010.ITA.DTS.AC3.720p.Bluray.x264-TSR.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] Spline16Resize(672,288) # Spline16 (Neutral)
---[NoImage] #denoise
--[Information] [02/04/2011 17.25.52] Job commandline: "C:\Program Files\MeGUI\tools\xvid_encraw\xvid_encraw.exe" -i "D:\Xvid\La.Banda.Dei.Babbi.Natale.2010.ITA.DTS.AC3.720p.Bluray.x264-TSR.avs" -pass1 "D:\Xvid\La.Banda.Dei.Babbi.Natale.2010.ITA.DTS.AC3.720p.Bluray.x264-TSR.stats" -bitrate 1678 -ostrength 14 -oimprove 14 -odegrade 14 -turbo -max_key_interval 250 -nopacked -qmatrix "C:\Users\root\Desktop\Matrix\HVS Best Picture.cqm" -imin 1 -imax 3 -pmin 1 -pmax 3 -noclosed_gop -max_bframes 1 -bvhq -bquant_ratio 91 -bmin 1 -bmax 3 -par 141:140
--[Information] [02/04/2011 17.25.52] Encoding started
--[Information] [02/04/2011 18.18.23] Standard output stream
---[NoImage] xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
---[NoImage] Tot: enctime(ms) =3147767.00, length(bytes) = 2133807231
---[NoImage] Avg: enctime(ms) = 21.76, fps = 45.95, length(bytes) = 14751
---[NoImage] I frames: 1572 frames, size = 44035/ 69224479, quants = 2 / 2.00 / 2
---[NoImage] P frames: 71701 frames, size = 18460/ 1323656400, quants = 2 / 2.00 / 2
---[NoImage] B frames: 71118 frames, size = 10418/ 740924512, quants = 2 / 2.00 / 2
---[NoImage] N frames: 256 frames, size = 7/ 1840
--[Information] [02/04/2011 18.18.23] Standard error stream
---[NoImage] Trying to retrieve width and height from input header
---[NoImage] xvid [info]: Avisynth detected
---[NoImage] xvid [info]: Input colorspace is YV12
---[NoImage] xvid [info]: Input is 672 x 288, 23.976fps (24000/1001), starting from frame 0
---[NoImage] xvid [info]: Number of frames to encode: 144647, Bitrate = 1678kbps
---[NoImage] xvid [info]: xvidcore build version: xvid-1.2.2
---[NoImage] xvid [info]: Bitstream version: 1.2.2
---[NoImage] xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC
---[NoImage] xvid [info]: Detected cpus = 8, threads requested = 7, threads in use = 7
---[NoImage] xvid [info]: Threaded input reading active
--[Information] [02/04/2011 18.18.23] Postprocessing
---[Information] Deleting intermediate files
--[Information] [02/04/2011 18.18.23] Job completed
-[Error] Log for job3 (video, La.Banda.Dei.Babbi.Natale.2010.ITA.DTS.AC3.720p.Bluray.x264-TSR.avs -> La.Banda.Dei.Babbi.Natale.2010.ITA.DTS.AC3.720p.Bluray.x264-TSR.avi)
--[Information] [02/04/2011 18.18.23] Started handling job
--[Information] [02/04/2011 18.18.23] Preprocessing
--[Information] [02/04/2011 18.18.23] Avisynth input script
---[NoImage] # Set DAR in encoder to 47 : 20. The following line is for automatic signalling
---[NoImage] global MeGUI_darx = 47
---[NoImage] global MeGUI_dary = 20
---[NoImage] LoadPlugin("C:\Program Files\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\VSFilter.dll")
---[NoImage] DirectShowSource("D:\Torrent-COMPLETI\La.Banda.Dei.Babbi.Natale.2010.ITA.DTS.AC3.720p.Bluray.x264-TSR\La.Banda.Dei.Babbi.Natale.2010.ITA.DTS.AC3.720p.Bluray.x264-TSR.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] Spline16Resize(672,288) # Spline16 (Neutral)
---[NoImage] #denoise
--[Information] [02/04/2011 18.18.23] Job commandline: "C:\Program Files\MeGUI\tools\xvid_encraw\xvid_encraw.exe" -i "D:\Xvid\La.Banda.Dei.Babbi.Natale.2010.ITA.DTS.AC3.720p.Bluray.x264-TSR.avs" -pass2 "D:\Xvid\La.Banda.Dei.Babbi.Natale.2010.ITA.DTS.AC3.720p.Bluray.x264-TSR.stats" -bitrate 1678 -ostrength 14 -oimprove 14 -odegrade 14 -turbo -max_key_interval 250 -nopacked -qmatrix "C:\Users\root\Desktop\Matrix\HVS Best Picture.cqm" -imin 1 -imax 3 -pmin 1 -pmax 3 -noclosed_gop -max_bframes 1 -bvhq -bquant_ratio 91 -bmin 1 -bmax 3 -par 141:140 -avi "D:\Xvid\La.Banda.Dei.Babbi.Natale.2010.ITA.DTS.AC3.720p.Bluray.x264-TSR.avi"
--[Information] [02/04/2011 18.18.23] Encoding started
--[Error] [02/04/2011 18.18.51] Process exits with error code: -1073741819
--[Information] [02/04/2011 18.18.51] Standard output stream
--[Information] [02/04/2011 18.18.51] Standard error stream
--[Information] [02/04/2011 18.18.51] Job completed


This is the first time this has happened

Taurus
3rd April 2011, 20:07
D:\Torrent-COMPLETI\La.Banda.Dei.Babbi.Natale....
Maybe because of this?
And please stop crossposting.
http://forum.doom9.org/showthread.php?p=1489383#post1489383

Lighto
5th April 2011, 12:45
Can any of the devs update the VSFilter with the updated ones found here (http://www.free-codecs.com/download_soft.php?d=4942&s=379) as it fixes some subtitle issues (http://sourceforge.net/tracker/?func=detail&aid=3160068&group_id=156112&atid=798476).
:thanks:

Zathor
5th April 2011, 17:23
Can you please post a direct link to your mentioned build? I cannot find a recent one (seems to be from 2008/2009). Maybe you can try other filters from here as well: https://sourceforge.net/projects/mpc-hc/files/Standalone%20Filters%20-%20Win32/

Lighto
5th April 2011, 17:43
Apologies for the link.
http://www.free-codecs.com/directvobsub_download.htm
Click "Download [ DirectVobSub 2.39 [2009-06-24] without installer - for Windows 2k/2k3/XP/Vista ]"
Couldn't find a direct link but this link should work.
The build is 2.39.5.2.
The VSFilter in the SF link is 1.5.*.* and has been reported by some of the users on SF that it doesn't work that well for them
Details and samples are in the SF bug tracker link in my previous post.

Zathor
5th April 2011, 18:16
The VSFilter in the SF link is 1.5.*.* and has been reported by some of the users on SF that it doesn't work that well for them
Yes, I am aware of that. But my link pointed also to other (older) builds of vsfilter which are newer than the version you provided. But we can try the old one.

Lighto
5th April 2011, 18:37
Yes, I am aware of that. But my link pointed also to other (older) builds of vsfilter which are newer than the version you provided. But we can try the old one.

I think I have made a mistake by comparing the version number, just realize the 1.5.*.* is meant for the MPC version number.

I shall try to do a test with the sample files provided on SF with the newer VSFilter provided in MPC and report back.

Edit: Did a test with the sample files provided on SF using the current VSFilter in MeGUI which uses the latest VSFilter from MPC.
Hardsubbing works fine for me.

I guess it is okay to leave the more recent build of VSFilter in MeGUI.

TSoft
6th April 2011, 13:57
D:\Torrent-COMPLETI\La.Banda.Dei.Babbi.Natale....
Maybe because of this?
And please stop crossposting.
http://forum.doom9.org/showthread.php?p=1489383#post1489383

Of this what ?

Sharktooth
6th April 2011, 20:32
please read the forum rules expecially the number 6.
if your content isnt an illegal download please make it clear to the moderators coz we cant help with illegal stuff.

Dean007
9th April 2011, 11:56
Hey! I just wanna ask one thing. I successfully converted MKV file into MP4, but when I added subtitles the result was that they were extra, extra small. You can barely see them. Is there any way to fix this?

Lighto
10th April 2011, 11:11
Hey! I just wanna ask one thing. I successfully converted MKV file into MP4, but when I added subtitles the result was that they were extra, extra small. You can barely see them. Is there any way to fix this?

If you are using .ass, you can modify the font size by opening the subtitle in notepad and edit it yourself.

Mizra
10th April 2011, 20:22
Before posting some stupid feature requests I'd like to ask some questions to see which of them are reasonable and which not.

1) In the scrip creator: Why is resizing limited to 720 in the width? Shouldn't it allow for full HD resolution?

2) When processing anamorphic cinema-scope input (e.g. 720x576 video, with 70 pixel top and bottom border, identified as ITU 16:9 PAL): After auto-cropping and checking the anamorphic encoding box, the resulting video turned out to have 720x304 resolution.
Why isn't it possible to get the original height (minus cropping), thus keeping all the original lines but only stretching them in the width at playback (since that is what gets done anyway). I was kinda expecting a resulting video with 436 height and whatever width matching to it.
Would this be possible? Maybe with a simple check box? Or are there good reasons for not allowing this?

3) Would it be possible to add options for keeping the original video and audio data but still allowing for trimming? Or does that require external tools?

4) Currently the whole vob file gets analyzed and with this settings the encoding gets started. Would it be possible to first trim the video in the avs cutter and then analyze it? Thus getting the best default settings for the intended video part?
I'm asking this because recently I had two music videos, both anamorphic, interlaced (hard telecined) and 720x480 NTSC data at 29,79. The first resulted in a 29,79 fps and the other in a 23,79 fps video. The reason is probably that in both vob files were more than just those clips. In the one however all video was interlaced and at 29,79 and in the other the second part of that file was progressive, thus the analyzer said 'partly film', whereas the the interesting part of it would have been completely interlaced.

5) I just toyed with VirtualDubMod and found the filter preview window that is showing the original video as well quite nice. Would something similar be possible?

5b) Adding filters by clicking (and previewing the result) would also be nice. But I guess I'm dreaming here. ^_-

6) Also I still have trouble understanding the result of cropping on the resulting video size / aspect ratio:
I have a video (720x480 anamorphic) where I crop 4 pixels left and two right. I would have expected the resulting video to be just about 6-8 pixel smaller in width than the original, but the result turned out to be wider than that (about the size of the height of the window title bar more in width).
Still being a noob I was expecting that if I start playing the original file and the encoded file in 1:1 with MPC that if I move the windows to match the pixels should about exactly map 1:1 as well, thus keeping the aspect ratio perfectly fine without any distortion.
Unfortunately that isn't the case, ans so far I could not get the expected result even when setting the DAR in the script manually.
Is this a bug? Or am I mistaken and the expected result can not be achieved? If not, what is the best that can be achieved?
BTW: where can I read about the math involved that MeGUI/AviSynth needs to do to create the script. I like to understand what is going on here.


That's it. I'm sorry that it got this long.

nurbs
10th April 2011, 20:57
1) Resizing is limited so you can't resize to a higher resolution than the source. Except in some cases it wouldn't make sense to do so. In short it's there to prevent inexperienced users from doing something stupid.

2) What it should do if you checked the anamorphic encoding box and didn't touch anything else is resize to 720*432 and set the appropriate flags. It's then the players responsibility to stretch the video correctly. I haven't used the feature in a while though. If you didn't check the box 720*304 would be the expected resolution. Are you sure you checked the box. Also how did you determine the resolution. Maybe your player scales the video down instead of up when it corrects the aspect ratio.

3) Not with Avisynth and generally you can't trim a file on an arbitrary location without reencoding at least parts of it. I think Avidemux supports that.

5a) I think AVSPMod supports this feature if you need it now. You can find it on the Avisynth forum. I haven't tried it, but maybe you can just edit the script to stack the two videos.

5b) You can comment out commands with a # and hit F5 to refresh the preview.

6) By default the anamorphic encoding is followed by a resize to mod16. This would also explain why the videos don't look the same. You can select other options in the dropdown.

Avisynth documentation can be found at avisynth.org, which currently doesn't work for me :p
If you want to use some of the more complicated stuff you find on the Avisynth forum here there is usually plenty of documentation in the corresponding thread. Usually there is also a manual included when you download new filters.

Mizra
10th April 2011, 22:12
1) Resizing is limited so you can't resize to a higher resolution than the source. Except in some cases it wouldn't make sense to do so. In short it's there to prevent inexperienced users from doing something stupid.


Ok, that's nice to know. So far I have only a DVD drive and was wondering what would happen with BluRay discs.

2) What it should do if you checked the anamorphic encoding box and didn't touch anything else is resize to 720*432 and set the appropriate flags. It's then the players responsibility to stretch the video correctly. I haven't used the feature in a while though. If you didn't check the box 720*304 would be the expected resolution. Are you sure you checked the box. Also how did you determine the resolution. Maybe your player scales the video down instead of up when it corrects the aspect ratio.


Hmm... MPC and VLC player both show it as 720x304. I only checked the anamorphic box and then hit auto-crop as well.

3) Not with Avisynth and generally you can't trim a file on an arbitrary location without reencoding at least parts of it. I think Avidemux supports that.


Is there loss implied? In that case I would encode in x264 right away with MeGUI. ^_-

5a) I think AVSPMod supports this feature if you need it now. You can find it on the Avisynth forum. I haven't tried it, but maybe you can just edit the script to stack the two videos.


Currently I'm still troubled with even more basic issues. It was only a very convenient way to actually see what a specific filter does. Once you know that there probably isn't much use to it anymore.

5b) You can comment out commands with a # and hit F5 to refresh the preview.


Nice to know. But I think there was one problem: AFAIR when you refresh the preview (not reload the video) the position in the playback window is also changed back to its initial position. It would be nice if the position would not change at all.
Another idea would be to add a horizontal slider that separates the window in a left and right part, one showing the original video and the other the resulting one. I saw something like that somewhere and it was the most convenient idea I've seen to handle those type of preview problems.

6) By default the anamorphic encoding is followed by a resize to mod16. This would also explain why the videos don't look the same. You can select other options in the dropdown.


Yes, it allows for mod 4 on the lower end.
(BTW: resize in the sense of cropping or scaling?)
But I was believing that providing DAR in the script could be used to correct the effect completely (by telling the player how it should be). Am I mistaken here?

Avisynth documentation can be found at avisynth.org, which currently doesn't work for me :p
If you want to use some of the more complicated stuff you find on the Avisynth forum here there is usually plenty of documentation in the corresponding thread. Usually there is also a manual included when you download new filters.

Thanks for your time and the very quick reply!