PDA

View Full Version : MeGUI: General Questions and Troubleshooting Thread


Pages : 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 21

rishid
13th December 2007, 02:45
I am trying to convert an h264 Elementary stream to Xvid using megui. It has worked many times, but for some reason on this one file it keeps crashing at 2.3%. It gives an error about xvid_encraw.exe.

Using the DGAVCDecode.dll filter.

Running the latest updates on Windows XP.

Here is my Avi Synth script that I used to import into megui.

LoadPlugin("DGAVCDecode.dll")

AVCSource("s-tbu_Track1.dga")

mroz
13th December 2007, 03:09
An obvious 1st question is what's the full error?

rishid
13th December 2007, 06:11
MeGUI just crashes with a standard Microsoft looking error on xvid_encraw.exe stopped working. I may have fixed it, I went to an older version ( beta 12) of DGAVC and it seems to be working past 2.3%. If I run into any more problems I will post some more details, but it seems related to DGAVC and not MeGui.

Sharktooth
13th December 2007, 13:44
ok, thanx. please also inform neuron2 of your findings about dgavcdec

Penecho
13th December 2007, 14:44
Hi, i demuxed my HDDVD, and got a *.mpv file which i used in my *.avs file.

When i watch the *.mpv with powerdvd i can watch the whole movie. But when i load the avs into Megui, only about 1h06 are diplayed instead of the whole 1h49min !?


Some1 knows where this error comes from, or what i made wrong?



Cu

Sharktooth
13th December 2007, 16:50
play the .avs thru a directshow media player (WMP, MPC, whatever...) and see if the duration is right.
if it isnt, the problem is in the avisynth script.

Penecho
13th December 2007, 16:59
Ok, it is also too short when i play the *.avs into MPC!

My avs file looks like this:


directshowsource("D:\feature1.mpv",fps=23.976,audio=false,seekzero=false,seek=true)
Converttoyv12()
Spline36Resize(1920,1080)
crop(0,144,1920,802)



I also tried

directshowsource("Z:\feature_MERGED.VC-1.stream.0.mpv",fps=23.976,audio=false,seekzero=false,seek=true).trim(0, 171955)
Converttoyv12()
Spline36Resize(1920,1080)
crop(0,144,1920,802)

Cu

Carpo
13th December 2007, 18:55
what does M-in-5 decimation mean in the source type - in all the backups i have done i have never see this source type before

TDecimate(cycleR=1) - is what it says in the avs - theres no problem with the back up - im just curious :)

fleon
13th December 2007, 19:49
Hi, I managed to extract the video of an flv file, you know the ones that you get fron youtube, using the avisynth script editor I extracted the video but I dont know how can i extract the audio, can someone please help me out with these?

Thanks in advance

saint-francis
13th December 2007, 19:59
Hi, I managed to extract the video of an flv file, you know the ones that you get fron youtube, using the avisynth script editor I extracted the video but I dont know how can i extract the audio, can someone please help me out with these?

Thanks in advance

Make a separate .avs for the audio which is the same as the one for the video except with audio=true, video=false and use it in place of your original audio material.

Penecho
14th December 2007, 12:58
play the .avs thru a directshow media player (WMP, MPC, whatever...) and see if the duration is right.
if it isnt, the problem is in the avisynth script.

Now i made a graph file first and than loaded iht graph file into the avs. And i used the .trim(0, frames) option.

In the MeGui preview window i only see a short part from the movie, but when i start bitratecalculator, he has the right time in it. So i guess its correct now?

Or should the preview window show the complete movie!?


Cu

Sharktooth
14th December 2007, 15:56
the megui preview window shows what avisynth sends to megui.
PLAY THE .AVS THRU A DIRECTSHOW MEDIA PLAYER... and check if it is ok.

Penecho
14th December 2007, 17:13
Ok, still does not work :(


directshowsource("C:\graphfile.grf",fps=23.976,audio=false,seekzero=false,seek=true)
Converttoyv12()
Spline36Resize(1280,720)
crop(0,10,1280,694)


when i use that, the complete movie is in, but after the end credits there is about 1/3 of the runtime, additional grey video...

When i use:


directshowsource("C:\graphfile.grf",fps=23.976,audio=false,seekzero=false,seek=true).trim(0, 157181)
Converttoyv12()
Spline36Resize(1280,720)
crop(0,10,1280,694)


runtime is correct but only about 10mins of the movie wich repeat themselves over and over agasin, the whole runtime...

In the grf i connected the output pin from my *.mpv file to the input pin of the Elecard MPEG Demultiplexer and the output pin from that to the input pin of Sonic Cinemaster Video Decoder...

Any1 seeing what i di wrong?



Cu

Warpman
15th December 2007, 01:10
try this

directshowsource("C:\graphfile.grf",fps=23.976,audio=false,seekzero=true,seek=false).trim(0, 157181)
Converttoyv12()
Spline36Resize(1280,720)
crop(0,10,1280,694)

and make sure you have the lastest avisynth installed and you should crop before you resize...

Carpo
15th December 2007, 18:21
i know this has prob been asked before and i did do a search but it brought up a long list of threads with many many pages on them, and reading through them al would have taken an age, but here goes

does an anti virus tool like est nod32 (for example) which uses real time scanning affect encoding in any way? also would it affect burning discs

if so would it be wise to disable the av protection only when doing such tasks

mroz
15th December 2007, 19:18
Virus scanning shouldn't hurt encoding other than slowing it slightly - unless something is seriously broken.

Same answer for burning, unless your hardware is only borderline capable of writing the disks anyway. Suck it & see.

Treat video encoding as for any cpu intensive task.

Carpo
16th December 2007, 07:46
i ran a test encode over night - didnt seem to affect it in anyway have NOD3 on :) , pc is an amd64 x2 so im guessing after the encode i should be ok on the burning side :)

St Devious
17th December 2007, 19:28
can encoding be paused in Megui ?

rack04
18th December 2007, 03:22
Are there any plans to add E-AC3 support using ffmpeg?

Kurtnoise
18th December 2007, 08:19
If there is a plan for E-AC3 support, it won't be with FFmpeg but more with avisynth filters...

Kurtnoise
18th December 2007, 08:21
can encoding be paused in Megui ?
it has been disabled but I might be wrong...

gino25
19th December 2007, 13:43
is it possible (with medui) to demuxe video and audio?

Ex: if i have an avi file (DIVX + MP3), is it possible to extract mp3 sound?

If no, do wxist some program that do this?

Sorry for my bad english

Sharktooth
19th December 2007, 16:11
no, megui does not have a demux function.
to demux avi files you can use avidemux or virtualdub
next time :search:

Atak_Snajpera
19th December 2007, 17:00
Demuxing can be done via h264tsto + registered dump.ax
eg: h264tsto input.avi -demux -audioonly

It would be peace of cake to implement it in MeGUI.

rack04
19th December 2007, 17:11
When I try to load the following AVS file into the "AviSynth script creator" I get an Directshow error message saying "Unable to render file. You probably don't have the correct filters installed". I'm trying to use the crop and resise function so I can add this information to the AVS file.

DirectShowSource("C:\Personal\Videos\Matrix.grf", fps=23.976, framecount=115796, audio=false)

Matrix.grf consists of the following graph:

http://i11.photobucket.com/albums/a199/rack04/filter.jpg

The AVS file will play using Media Player Classic:

http://i11.photobucket.com/albums/a199/rack04/mpc.jpg

Any idea what going wrong?

Sharktooth
20th December 2007, 04:09
try setting FFDShow to decode WMV

rack04
20th December 2007, 04:27
try setting FFDShow to decode WMV

libavcodec or wmv9?

Sharktooth
20th December 2007, 04:44
libavcodec

rack04
20th December 2007, 05:04
The results are the same.

usmando
20th December 2007, 10:38
I have a question,

Do the "Turbo" setting in MeGUI x264 options have a significant impact on the quality of the output file?

I'm talking about a 720p encode @ 4400 kBps. I noticed that on my snail(system) the first as well as second pass take 36 hours each without the turbo option enabled.

On the other hand if i enable the turbo option, the first pass get over in less than 4 hours. I'm using HQ insane profile with custom quantization matrix.

So does the turbo first pass really reduce quality of second pass output at 4400kBps?

Kurtnoise
20th December 2007, 11:14
I have a question,

Do the "Turbo" setting in MeGUI x264 options have a significant impact on the quality of the output file?

So does the turbo first pass really reduce quality of second pass output at 4400kBps?
this setting is to optimize the speed. So, there is none impact on the quality.

check
20th December 2007, 12:26
compare the output log details, and perform your own visual inspection. The change depends on the input reasonably highly in my experience.

delxd
22nd December 2007, 15:42
id like to know how i can cut a part of a mp4? like the last 10 seconds of a video , using mEGUI .. thanks in advance.

mroz
22nd December 2007, 16:28
id like to know how i can cut a part of a mp4? like the last 10 seconds of a video , using mEGUI .. thanks in advance.

Assuming you mean without reencoding, MeGUI doesn't provide that functionality. Try Yamb (http://yamb.unite-video.com/index.html).

Sharktooth
22nd December 2007, 16:36
or avidemux

mroz
22nd December 2007, 16:44
/Googles

Oh yeah - silly me thinking avidemux would only cut avis. Will have to have a closer look too; cheers.

fleon
22nd December 2007, 20:00
Hi people please help me out with three questions, I dont know how can I cut the audio already extracted from a video file to match the video(wich I can cut it easily with the AVS cutter) I imagine that I can use the audio cutter but I put the input file and then it ask me for a cut file and i dont know how I can generate that cut file,

and the other questions or more like an explanation is that I have noticed that there are several resizers in the avisynth script editor on the part of filters and I dont know what to use, I just use Bicubic neutral but I wanna know each one so I can take advantage of the other ones.

And last one is there some kind of rule of bitrate for types of movies, and types of videos, types of anime , etc, for the PD-PSP profile that I can use? because I most of the time use 450, and I think is too much but as i dont know so i use that, the last movie that i encoded was Final Fantasy VII advent children and I used 450.

Thanks

Willows_Thoughts
23rd December 2007, 01:06
Ok... I feel like and idiot for asking but I am having such a dumb problem with MeGUI and I can't figure it out!

Anytime I try to open a file in the AviSynth Script Creator whether is be .AVI or MPEG2 files it always gives me the error "Unable to render file. You probably don't have the correct filters installed.

I have downloaded and installed CCCP but still no luck with opening any files. I uninstalled it but will reinstall if there is something I missed.

I already had FFDshow installed, XVID, a h.264 decoder but I just am not able to open anything...

Any help would be appreciated.

EDIT:
I do try to create a D2V file for MPEG2

When I try to creat a D2V Project I load the VOB but there is never and option "enqueue" it always say "queue"

check
23rd December 2007, 01:25
and the other questions or more like an explanation is that I have noticed that there are several resizers in the avisynth script editor on the part of filters and I dont know what to use, I just use Bicubic neutral but I wanna know each one so I can take advantage of the other ones.
Test test test!
And last one is there some kind of rule of bitrate for types of movies, and types of videos, types of anime , etc, for the PD-PSP profile that I can use? because I most of the time use 450, and I think is too much but as i dont know so i use that, the last movie that i encoded was Final Fantasy VII advent children and I used 450.No, it depends on the resolution, complexity of the video, etc etc



Anytime I try to open a file in the AviSynth Script Creator whether is be .AVI or MPEG2 files it always gives me the error "Unable to render file. You probably don't have the correct filters installed.Make a text file and put inside it directshowsource("path\to\one\of\the\nonloading\files.avi"). Save it as an avs. Does it open with WMP? If not, what is the error message?

Willows_Thoughts
23rd December 2007, 02:57
I have spent almost two days trying to figure out what was wrong.

The problem was that I did not run MeGUI as an administrator... I was unaware you actually had to do it manually. After I ran it as one it allowed me to update everything and allowed me to input all of the files that would not previously load.

Carpo
23rd December 2007, 19:25
do i need .net 3.5 if im using megui on XP SP2 or is it just required if your using vista ?

Ravenlord
23rd December 2007, 22:15
Hey, i have a problem with megui, i get an error

video returned: directshowsource: renderfile, the filter graph manager wont talk to me

audio returned: directshowsource: timeout waiting for graph to start


oh and... Its important..

fleon
24th December 2007, 00:31
Hi i have a problem with megui, I wanna convert a personal own movie to x264 on the PD-PSP profile, megui(the avisynth script editor) and gspot detects that the movie is 29.970 FPS, but the problem is when I use the avs cutter that it changes the fps to 23.976 and I dont want that because then when I try tu cut the audio with staxrip it detects the 29.970 FPS of the movie so it is a big problem until I sync the video and the audio to fit perfectly, i do that because I dont know how to use the audio cutter, and still it will be great if you guys help me out with for keeping the original FPS not the one that the avs cutter use.

I think this happens because on gspot it also detects that the Pic/s is 23.976 and the Frame/s is 29.970 so maybe the avs cutter picks the Pic/s inestead of the Frame/s

airedale
24th December 2007, 04:34
I am running into an issue with a conversion to an XviD file.

The error I get is:

Error message for your reference: AVISource: couldn't locate a decompressor for fourcc FFVH

I went into the AVS file and changed it from AVISource to directshowSource. This seems to have gotten me further. The encode isn't completely finished though.

So my question is, why am I getting this error and what is the big difference between avisource and directshowsource?

Thanks!

check
24th December 2007, 04:40
ravenlord, what happens if you open the avs in WiMP?

fleon, most likely the video is telecined. That means your original file is 29.970 interlaced, but you should encode it as 23.976 progressive.

airedale, It means the AVI decoder couldn't find a vfw decoder for that codec. Enable it in ffdshow vfw config -> decoder -> codecs -> set the FFVH entry to 'libavcodec'

airedale
24th December 2007, 05:01
@check -

Thanks so much! I am suprised more people haven't run into this problem. I search and searched before posting.

fleon
24th December 2007, 16:07
fleon, most likely the video is telecined. That means your original file is 29.970 interlaced, but you should encode it as 23.976 progressive.

Thanks, but how can I cut the audio in megui to match the video that i can easily cut in the avs cutter?, or in staxrip how can I change the fps of a movie?

mroz
24th December 2007, 18:37
fleon: in avscutter after writing the cuts into the avs script, also click on 'save cuts to file'. Within Megui's main window where you specify the audio input, load up the saved cuts file.

Unrealbr
26th December 2007, 00:05
Oh well, today i had my first issue with megui and aint beeing able to solve it. Its the folowing: Today i started megui to encode another file and setup it correctly, checked everything and queued, then when i pressed start windows vista came with an magical x264.exe has stopped working window and closed the program. I got my hands on windows log and here is the log:

Problem signature:
Problem Event Name: APPCRASH
Application Name: x264.exe
Application Version: 0.0.0.0
Application Timestamp: 475811dd
Fault Module Name: StackHash_5339
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c0000005
Exception Offset: 00000004
OS Version: 6.0.6000.2.0.0.256.1
Locale ID: 1046
Additional Information 1: 5339
Additional Information 2: 7aa1a26c0fb7339e1f194bf8d39130ad
Additional Information 3: b9b1
Additional Information 4: 54b9e8c56d2c877aca8c17f64f327dd3


I really dont know what to do, i've already reinstalled my codecs and megui from scratch and keep getting this error.

PS: error c0000005 as far as i've googled turns back as memory error but i ran memtest on all my 4gb of ram and got 0 problems. What could the problem be? HEEEEEEEELP!!!


PS2: Updated x264.exe to build 714 and suddenly it started working again. For those who might have crashes on vista with x264, update to the latest build o/

PS3: Video encoded, black screen with an BIG ACCESS VIOLATION ERROR on it >_<
Problem still goes on

check
26th December 2007, 02:25
what is your input file?

Unrealbr
26th December 2007, 10:35
what is your input file?

Its an AVI with these streams in it
Video: DivX 5 1280x720 119.88fps [Stream 00]
Audio: MPEG Audio Layer 3 48000Hz stereo 224Kbps [Stream 01]

A couple of weeks ago i had encoded it with no problems at all but now it simply doesnt work :(

delxd
26th December 2007, 18:18
hello ive been re encoding my .avi videos to mp4 and ive been noted that when i mux my audio file and my video the audio file bitrate decrease to it half.. why is that?

Audio: AAC 48000Hz stereo 1536Kbps [Audio] after muxing i get the following : Audio AAC 24000 stereo 768Kbps.

check
27th December 2007, 02:36
0.0 that's a very high bitrate. Are you encoding it as AAC-HE? In any case, you will neverevereverever need to go above 320kbits per channel, and I dont think you'll need to go over 160 (which = 320kbits for stereo).

As to the problem, it's the sampling rate which is decreasing by half, and this is just due to a measurement error with the tool you've used.

squid_80
27th December 2007, 04:41
1536Kbps is uncompressed 48000Hz 16-bit stereo. Never rely on explorer to tell you the bitrate of a file.

fleon
27th December 2007, 16:37
Hi I have a problem I can convert a video into a compatible one for the psp but i want to add subtitles to the video, i did by extracting the subtitles with vobsubber on the megui tools menu, and the I muxed them with the movie and the audio on the pc it worked but on my psp I cant see the subtitles, so what I am doing wrong?

Warpman
27th December 2007, 19:16
Hi I have a problem I can convert a video into a compatible one for the psp but i want to add subtitles to the video, i did by extracting the subtitles with vobsubber on the megui tools menu, and the I muxed them with the movie and the audio on the pc it worked but on my psp I cant see the subtitles, so what I am doing wrong?

the psp can't render the subtitles while displaying a video... u need to "burn" the subtitles into the video.

vsfilter.dll & avisynth can help you...

fleon
27th December 2007, 20:13
the psp can't render the subtitles while displaying a video... u need to "burn" the subtitles into the video.

vsfilter.dll & avisynth can help you...
Ok but I am not too familiar with that process but I bet is not hard so could teach me how I can do that?

Xodarap
28th December 2007, 03:14
Okay, I'm having a few problems with MeGUI. It's been awhile since I used it and I vaguely remember finding some fix for the audio problem I'm having, but can't figure it out (again :P).

Problem 1: I cannot encode AC3 audio. I've tried with every kind of encoder, starting from a valid .ac3 file. I have AC3Filter as well as ffdshow, and can play the .ac3 file with no problems in media player classic and winamp. The log reports nothing of use, and in fact looks as though the encoding went well, other than the lack of any reported output or processing data (other than start and end time). The job queue simply reports "error," and the error happens directly after preprocessing (which "appears" to work, though it happens *very* quickly). When I uncheck "force directshow decoding," the error doesn't happen, the audio encodes quickly (about 30x realtime), but the resulting file is silent (despite being the right filesize).

Problem 2: When attempting to use the one-click-encoder (which is my main reason for using MeGUI, as I am proficient with GK, VDub, and Mencoder), I get a fatal error: object reference not set to an instance of an object; source of exception: megui stacktrace: at MeGUI.core.util.PrettyFormatting.ExtractWorkingName(String fileName)... This is after attempting to load one of five VOBs loaded onto my HDD by DVD Decrypter.

EDIT: For information, one-click-encoding is working for me if I (a) check "don't encode audio" and (b) use an m2v file as my input. Also, the d2v creator is handling the same VOB just fine. And I would rather encode the audio, of course.

In the meantime, I can obviously make some d2vs, besweet my own audio (besweet still works, btw), write up individual avs, etc., but for converting my extensive home library of DVDs, I was quite excited to have a very quick setup (since I use the same avisynth filters for each anyways).

mroz
28th December 2007, 03:39
@fleon: I've not used it, but from a quick google it might be as simple as install vsfilter.dll in plugins & to the end of the avisynth script you create in Megui, before saving it, add the line:
TextSub("C:\temp\yoursubs.srt") with a correct path & filename of course. Docs should be here (http://avisynth.org.ru/docs/english/externalfilters/vsfilter.htm) but the site seems to be down atm.

@Xodarap: ac3 issue - with force directshow unchecked, the NicAudio.dll is used to decode ac3; currently it spits out silent frames when it sees something it doesn't like. I had this problem (http://forum.doom9.org/showthread.php?t=132324) with a clip which, iirc, changed dolby surround mode a few seconds in. Your issue might be similar. You could take the issue up with Nic if you can find him. As a workaround you could always try a separate audio encoder such as Belight (http://kurtnoise.free.fr/index.php?dir=BeLight/).

Ifo loading - it'd be nice but aiui MeGUI currently doesn't contain an Ifo parser. As to loading Vobs, what are you loading them into? If you're using d2v creator, which does a good job of handling mpeg2, just give it the first vob of the vts you want & it will open the rest as well; just test it & you'll see.

Xodarap
28th December 2007, 04:19
@Xodarap: ac3 issue - with force directshow unchecked, the NicAudio.dll is used to decode ac3; currently it spits out silent frames when it sees something it doesn't like. I had this problem (http://forum.doom9.org/showthread.php?t=132324) with a clip which, iirc, changed dolby surround mode a few seconds in. Your issue might be similar. You could take the issue up with Nic if you can find him. As a workaround you could always try a separate audio encoder such as Belight (http://kurtnoise.free.fr/index.php?dir=BeLight/).

Ifo loading - it'd be nice but aiui MeGUI currently doesn't contain an Ifo parser. As to loading Vobs, what are you loading them into? If you're using d2v creator, which does a good job of handling mpeg2, just give it the first vob of the vts you want & it will open the rest as well; just test it & you'll see.

AC3: I think you're right, as the output file appears (on visual inspection; can't hear anything) to have a frame or two of sound at the beginning, then silence. Why won't it work with force DShow enabled? Any idea what it doesn't like?

IFO/VOB: meh, I don't care about the IFO loading as long as it loads all the VOBs -- which, on inspection with the d2v creator, it does. The problem is the fatal error. I can't load the vob at all in the one-click-encoder, though I can make an m2v and load IT.

So my main two problems: I can't force DShow filtering for audio encoding (and without it, I get silence); and, worse, I can't load VOBs with one-click-encoder, though they load just fine into the d2v creator.

EDIT: Tried the audio encoding with a fresh AC3 file from a different source. WITHOUT directshow filtering enabled, this one is "working." However, it's VERY (veryveryvery) quiet, so apparently the automatic volume normalization is not working. That said, I could, of course, re-normalize and re-mux the mp3 myself, but, again, I'm moving farther and farther away from my goal of one-click bliss ;)

Oh, and WOW, thanks for the quick response :D

Xodarap
28th December 2007, 04:32
small side question: I have telecide (Telecide(guide=1).Decimate()) set in my avs script, but in "Preview AVS Script," the preview still appears telecined. Does IVTC not appear in the AVS Preview? All of my other filters appear to be loaded.

EDIT: Figured out and fixed. Apparently <input> in the script creator doesn't set interlace=true for me. I added ColorMatrix(hints=true,interlaced=true) and now it's IVTCing beautifully :)

mroz
28th December 2007, 04:34
The script is previewed as written, so something must be wrong with the IVTC process &/or source. As to the rest, soz, can't help atm.

Hopefully someone with a clue will be along shortly^W, erm, sometime next year maybe? ;)

Akatsuker
28th December 2007, 05:56
I've updated my meGUI, and now i can't open my d2v files on the avisynth script creator.

The following image was posted by mdchaser, and i have now the very same problem.

http://rscpro.com/borlatips/capture.jpg

Tried replacing the file mediainfowrapper.dll by a previous version of that one - that solved the problem for mdchaser, but not for me.

What should I do?

check
28th December 2007, 11:22
try a full reinstall

fleon
28th December 2007, 14:12
@fleon: I've not used it, but from a quick google it might be as simple as install vsfilter.dll in plugins & to the end of the avisynth script you create in Megui, before saving it, add the line:
TextSub("C:\temp\yoursubs.srt") with a correct path & filename of course. Docs should be here (http://avisynth.org.ru/docs/english/externalfilters/vsfilter.htm) but the site seems to be down atm.
So I have to re encode de video? or I can put the already encoded video with the subtitles and like paint it on the video?, also why do you put the extension .srt on megui it seems that I can only use .sub and .idx, and please explain it better since i only need this step to have the video ready for my psp
On the site that you gave this I found:
This contains the AviSynth TextSub function, which basically takes a textfile as input and paints the subtitles from this textfile on the video clip. It has the following quite simple syntax:
TextSub ("path\filename.ext" [, charset [, fps]])
So typically you only write
TextSub ("your_file.ssa")

Besides SSA (Sub Station Alpha) TextSub can deal with SRT (SubRip), SUB (MicroDVD), PSB (PowerDivx), SMI (SAMI), ASS (Advanced Substation Alpha).

To override the default style you can use a second file named e.g. "your_file.ssa.style" (the first file + ".style") which must be in SSA or ASS syntax an contains only formatting information (makes only sense when NOT using SSA/ASS).

Most SSA commands are ignored, as they are not really useful here.
but i still dont understand how to do it and if I have to reencode my video, well If it needed this is the script the video
DGDecode_mpeg2source("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_1.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
tfm(order=1).tdecimate()
#crop
Spline36Resize(480,272) # Spline36 (Neutral)
#denoise
__film = last
__t0 = __film.trim(1, 130004)
__t1 = __film.trim(144862, 145135)
FadeOut(__t0, 23) ++ FadeIn(__t1, 23)

check
28th December 2007, 15:40
You need to re-encode the video. Using the .sub file instead of a .srt is fine.

You want your script to look like this (make sure you put in the right path to the .sub):
DGDecode_mpeg2source("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_1.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
textsub("subs.sub")
tfm(order=1).tdecimate()
#crop
Spline36Resize(480,272) # Spline36 (Neutral)
#denoise
__film = last
__t0 = __film.trim(1, 130004)
__t1 = __film.trim(144862, 145135)
FadeOut(__t0, 23) ++ FadeIn(__t1, 23)

Xodarap
29th December 2007, 02:17
Well, I "figured out" the audio problem. Actually, I downloaded Nero Digital and it's amazing and works great! (Though I'm slightly upset that I can't use the AVI container with it...)

Still having the VOB problem, though. To recap:

When attempting to use the one-click-encoder (which is my main reason for using MeGUI,), I get a fatal error: object reference not set to an instance of an object; source of exception: megui stacktrace: at MeGUI.core.util.PrettyFormatting.ExtractWorkingName(String fileName)... This is after attempting to load one of five VOBs loaded onto my HDD by DVD Decrypter. Also, the d2v creator is handling the same VOB just fine. In fact, it appears that everything (including GK, etc.) handles the VOBs except the MeGUI one-click encoder.

EDIT: I *believe* that I may have found the problem. I tried a DRM-free region-free DVD and its VOBs worked fine. I think that DVD Decrypter may be too old :( -- Any advice for an equally-good, yet up-to-date DVD Decryption program? Stupid EU Copyright laws... I'm using my OWN DVDs! :P

~bT~
29th December 2007, 13:04
^ google: RipIt4Me

Xodarap
29th December 2007, 13:26
^ google: RipIt4Me

*Sigh* I feel guilty, as I hate it when others don't google first. However, after trying several google searches, I mostly came up with crappy trial-version stuff and loads and loads of subpar freeware. I was wondering if there was an accepted "standard" like there was with DVD Decrypter, but now that I think of it, anything that gives me decrypted ifos/vobs should be the same! :p


Yet I have *another* problem... It seems that whenever I solve one thing, another pops up. The solution to my AC3 audio problem above was in switching to Nero Digital. (Previously, I got an error when encoding mp3s using DShow, and silence when not using DShow.) However, despite the beautiful (and small!) .m4a and .mp4 files that I get with NeroD, they come out silent after muxing. I mux them into MKVs with x264 avis and the resulting file is dead silent. This is with either the MKV muxer or the one-click auto-option. The intermediate m4a/mp4 file sounds great on the *same* media player that I use to play the MKV afterwards. I don't think the muxing is happening at all (as opposed to nulling the volume on the audio or other problem), as the file-size change is negligible and consistent with changing to the MKV container...

In the meantime, I will be using the "without DShow" audio encoding for ABR MP3, which, I believe, is Nic's encoder. Is there any way to change the DLL that MeGUI uses for that encoding? The response I got above indicates that my problem with Nic's spitting out silence only *some* of the time is due to Nic's finding something it "doesn't like" in the input stream. So, as far as I can guess: Lame w/DShow gives an error, Nic's "doesn't like" something in the input stream and gives silence, NDAAC refuses to mux correctly, and AC3 is a waste of space (and four channels). Any suggestions? At this point, I was *very* impresssed with Nero's quality and compression, and would be happy to mux it, but I would also be happy to encode to MP3 since I could keep my pretty AVI containers...

check
29th December 2007, 13:34
try loading audio files with manually created avs files containing:
directshowsource("path\to\file.mp3")

~bT~
29th December 2007, 13:37
@ Xodarap

http://www.videohelp.com/tools/RipIt4Me
http://forums.afterdawn.com/thread_view.cfm/422740

Xodarap
29th December 2007, 15:44
Update: I was wrong about Nero Digital. NOTHING is working. With DShow enabled, I get an error; without, I get silence. The AC3 file plays just fine in winamp or media player classic; besweet encodes it beautifully. In fact, now I'm wondering why besweet handles it, using LAME, and MeGUI can't handle it using LAME.

I love BeSweet (BeLight), so I'm using it for now, but, again, that kills the one-click beauty...

EDIT: Does MeGUI need other files, like dlls or something? The more I think about it, the less sense my audio problems make to me... I *know* I have directshow filters, I know that MPC opens and plays the AC3 file just fine, I know that lame (via besweet/belight) encodes the same AC3 just fine... and yet I get nothing but error/silence with MeGUI, using ANY audio encoder, format, options, etc. :(

fleon
29th December 2007, 16:59
You need to re-encode the video. Using the .sub file instead of a .srt is fine.

You want your script to look like this (make sure you put in the right path to the .sub)

DGDecode_mpeg2source("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_1.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
textsub("subs.sub")
tfm(order=1).tdecimate()
#crop
Spline36Resize(480,272) # Spline36 (Neutral)
#denoise
__film = last
__t0 = __film.trim(1, 130004)
__t1 = __film.trim(144862, 145135)
FadeOut(__t0, 23) ++ FadeIn(__t1, 23):
I did what you told me but I still can convert the movie with subtitles burned in it, I got this error:
[img=http://img246.imageshack.us/img246/9333/45018994el8.th.jpg] (http://img246.imageshack.us/my.php?image=45018994el8.jpg)

I tried fix it by downloading vsfilter.dll again and put it on the plugins folder but nothing
this how my script looks with everything in it
DGDecode_mpeg2source("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_1.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
TextSub("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_0.sub")
tfm(order=1).tdecimate()
#crop
Spline36Resize(480,272) # Spline36 (Neutral)
#denoise
__film = last
__t0 = __film.trim(1, 130004)
__t1 = __film.trim(144862, 145135)
FadeOut(__t0, 23) ++ FadeIn(__t1, 23)

Xodarap
1st January 2008, 18:09
No one has a clue about my audio issues? ^^^?

Is there any way to get MeGUI to use BeSweet (command-line version)? Like I said, MeGUI and BeSweet use the same Lame.exe/lame_enc.dll, right? (Sorry if I'm being annoying, I'm just pulling out my hair over here :P)

hanti
1st January 2008, 21:00
why when im trying to open any media file i must wait for preview window like 10mins to 1h or more
only what i can see is ffdshow trying to decode second half of movie to the end , and after that when its done (rendering half of movie) i can see preview popup
any help ? or its normal..

check
1st January 2008, 21:29
hanti, sounds unusual. is this any file, miscellaneous avis included?

xodarap, I suggested an avs with directshowsource() before, did you try this?

hanti
1st January 2008, 21:48
any - mkv, avi, grf etc.
i tryed avisynth 257, and that new alpha one
clean megui install etc
now im waiting for resident evil preview :/
some screens -->
http://xs123.xs.to/xs123/08012/ripproblem.jpg.xs.jpg (http://xs.to/xs.php?h=xs123&d=08012&f=ripproblem.jpg)

check
2nd January 2008, 09:41
do the videos take this long to open in other media players? If not, try a full reinstall of MeGUI, and update to the latest development version.

hanti
2nd January 2008, 12:53
in others media players everything works fine
ive done full reinstall i mean uninstall.exe from megui folder then remove that folder, download 2.6.1041 from sourceforge and then update to 3.0 its still not workin
that problem started few months ago on winxp and even now on windows vista x64 problem still exist hm maybe i have some weird plugins in avisynth because i do not deleted that folder.. lets see
sry my english sux ;)

check
2nd January 2008, 13:57
yes, take one of the generated avs files and see, do they also take ages to open in WMP or other players?

hanti
2nd January 2008, 16:27
problem solved after deleting plugin folder and install avisynth 257 version its working again ;)
thx for help

fleon
2nd January 2008, 16:48
I did what you told me but I still can convert the movie with subtitles burned in it, I got this error:
[img=http://img246.imageshack.us/img246/9333/45018994el8.th.jpg] (http://img246.imageshack.us/my.php?image=45018994el8.jpg)

I tried fix it by downloading vsfilter.dll again and put it on the plugins folder but nothing
this how my script looks with everything in it
DGDecode_mpeg2source("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_1.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
TextSub("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_0.sub")
tfm(order=1).tdecimate()
#crop
Spline36Resize(480,272) # Spline36 (Neutral)
#denoise
__film = last
__t0 = __film.trim(1, 130004)
__t1 = __film.trim(144862, 145135)
FadeOut(__t0, 23) ++ FadeIn(__t1, 23)

Please help me out with my subtitle problem

Kurtnoise
2nd January 2008, 20:34
your subtitle file is a text file (MicroDVD) or a VobSub pictures file ?

fleon
2nd January 2008, 21:09
your subtitle file is a text file (MicroDVD) or a VobSub pictures file ?

I'm pretty sure is a VobSub picture file because subtitle workshop cant open it, also I extracted it with the VobSubber tool of megui

Kurtnoise
3rd January 2008, 13:46
so, if you have installed the vobsub package correctly, you need to fix your avs script like this:

DGDecode_mpeg2source("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_1.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
VobSub("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_0.idx")
tfm(order=1).tdecimate()
#crop
Spline36Resize(480,272) # Spline36 (Neutral)
#denoise
__film = last
__t0 = __film.trim(1, 130004)
__t1 = __film.trim(144862, 145135)
FadeOut(__t0, 23) ++ FadeIn(__t1, 23)

because this sub file is not a text file. The idx one (formely index) must be in the same .sub file folder.

Xodarap
4th January 2008, 02:46
hanti, sounds unusual. is this any file, miscellaneous avis included?

xodarap, I suggested an avs with directshowsource() before, did you try this?

To my extreme frustration, I got this error message when attempting to load up the avs:

----------------
DirectShowSource: Could not open as video or audio.

Video returned: "DirectShowSource: the filter graph manager won't talk to me"

Audio returned: "DirectShowSource: the filter graph manager won't talk to me"

(*Pathname here*)
-----------------

I say extreme frustration because, many months ago (actually, probably over a year ago) I was using MeGUI and *it* was giving me that error message (now no message in the log). Before even setting out to get this (what I thought was) "new" problem fixed on the forums, I read through my old posts, where I had said that I solved the problem. I already tried my previous solution, which was to install Aud-X. But I have AC3Filter and ffdshow (as well as still Aud-X) installed; it really shouldn't be a problem of a missing codec or dshow filter. If I recall correctly (and I may not!), the previous "solution" ONLY got FAAC working. *insert pic of smiley scratching its head until it bleeds*

EDIT: FYI, uninstalling and reinstalling ffdshow, aud-x, and AC3Filter did not help...

Sharktooth
4th January 2008, 03:06
get graphedit and d&d the source into it. look at the filters used to build the graph.
you probably have some other filter that overrides (has a higher merit) ffdshow and/or ac3filter.
try giving ffdshow and ac3filter a even higher merit or remove those interfering filters.

Xodarap
4th January 2008, 03:22
EDIT4: Problem solved! By lowering the merit of ffdshow audio. Why? I have no clue. MPC, which is what I'm playing my avs's with for checking, was self-reporting playing the AC3s with AC3Filter originally. However, graphedit showed the AC3 file as passing through (only) ffdshow. AC3filter also reported filtering the file when it was going through MPC. However, now that graphedit shows the AC3 going through (only) AC3filter, everything's peachy. FFDshow was the culprit...

Nope, nothing but ffdshow. Like I said before, double-clicking the AC3 itself, it plays just fine. And I know it's going through ffdshow, because the pretty blue ffdshow audio box pops into my tray (and I can watch it process in the ffdshow audio process window). Still, I get the same error when trying to play the avs:

DirectShowSource(filename.ac3)

Dropping the avs into the graphedit just shows it going to a color converter...

BTW -- thanks for the quick response! :)

EDIT: I'm a filthy liar! :P Dropping it into graphedit shows it just going through ffdshow audio. Playing it through graphedit just plays it through ffdshow audio. However, double-clicking it plays it through Media Player Classic, which, looking at ITS filters, takes me to AC3filter. When I open AC3Filter while playing the file in MPC, it is clear that AC3filter is playing it.

EDIT2: Uninstalled AC3Filter because I like ffdshow (I like the interface). Double-clicking the file now plays it in MPC with ffdshow audio filtering. Graphedit JUST shows ffdshow audio and when playing, plays it through ffdshow. The avs still doesn't work ("filter graph won't talk to me)...

EDIT3: WTF! Now graphedit shows Filename.ac3 -> AC3 Parser Filter -> ffdshow -> output. Before, the parser was NOT in there...

((( atom )))
4th January 2008, 17:48
I got a problem with the "adaptive muxer" window using autoencode. I will try and post it here and not noise the forum with a new topic..

I am quite sure there was an option for at least two audio tracks, also the wiki tells me so, but I can only find "audio 1" to input a file. The wiki talks about "radio buttons" wich I seem to lack. I reinstalled megui after long time of not using it, because it crashed on startup right after an update. Can anybody help out? Would make me happy saving the time to set up muxing by hand..

Xodarap
4th January 2008, 18:25
@atom: right click the tab itself -- where it says "audio one." Go to "add track" Voila! :)

Xodarap
4th January 2008, 18:31
Well, now my problem has spawned a new buddy. While I solved the "filter graph won't talk to me" nonsense (by uninstalling ffdshow and forcing AC3Filter), NOW I get "unable to determine the duration of the audio."

I did a google search of my problem, and to my lovely surprise, one (yes, an entire ONE) result came up: MYSELF in February making the same complaint. On these forums, no less. The irony is that I read through the thread and I had the exact same SERIES of problems, with different solutions (before the first culprit was "automatic deinterlacing"). The previous solution -- uninstalling all other dshow codecs and using Aud-X (why Aud-X, I have no clue...) instead. Unfortunately, that is not working now. I'm stuck with "unable to determine the duration of the audio." I've tried every major DShow codec I can think of, watching graphedit to try and make sure they're each taking...

Sharktooth
4th January 2008, 19:08
have you already thought to format and re-install windows? (joking)
however, try this one: use ds source for video (ensure you specify audio=false) and use nic ac3 source filter (it comes with megui) for the audio (the .ac3 file)

((( atom )))
4th January 2008, 20:11
@ Xodarap: I see! ... now tell me if I was only to stupid to figure that or should one request a obvious button for adding a tab?

((( atom )))
4th January 2008, 20:19
Very nice, that works now and puts me right to the next unclear thing:

When I add a subtitle stream, I browse for my .idx file, which might contain one or many subtitles. Since I can choose a language for the subtitle, I am confused: Is only the language that I select picked out of the contents of the .idx file or will all subtitles found in the .idx be muxed? If the latter is true, I don't understand the option to actually choose a language..

Kurtnoise
4th January 2008, 20:45
there is nothing to understand unfortunately here...

If your idx file contains several languages references then all of them will be muxed in your output file whatever you choose in the language list.

The muxing features are very basic in MeGUI. You can use Yamb if you want to do that more correctly...;)

((( atom )))
4th January 2008, 21:24
Well, as long as it does the job, I am glad if it is kept simple.. :) Thx for the hints...

alexVS
5th January 2008, 13:45
There's a problem with megui (may be with x264.exe). I'm not sure. All updated. I'm choosing ABR 1300 Kb/s.

Output video has bitrate 1530 Kb/s (The length of video is 9 min, so the difference is very big)

Why can it be?

Atak_Snajpera
5th January 2008, 14:31
ABR stands for Average Bit-Rate. It doesn't mean you always get specified bitrate.

mroz
5th January 2008, 14:50
It should still get closer than that. My guess would be it's misconfigured.

alexVS: what profile did you use? Perhaps the minimum quantiser specified prevented the bitrate going low enough. What happens if you specify a much lower bitrate? Do you still get stuck at 1530kb/s?

fleon
5th January 2008, 15:57
so, if you have installed the vobsub package correctly, you need to fix your avs script like this:

DGDecode_mpeg2source("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_1.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
VobSub("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_0.idx")
tfm(order=1).tdecimate()
#crop
Spline36Resize(480,272) # Spline36 (Neutral)
#denoise
__film = last
__t0 = __film.trim(1, 130004)
__t1 = __film.trim(144862, 145135)
FadeOut(__t0, 23) ++ FadeIn(__t1, 23)

because this sub file is not a text file. The idx one (formely index) must be in the same .sub file folder.

Well, after encoding the video with that script and puting the muxed video(audio+video) on my psp I still cant see the subtitle, so what could be the problem? I wanna like burn them on the video, because I know that the psp cant render subtitles

Kurtnoise
5th January 2008, 21:05
you should try to play your file with a decent player first and see if the subtitles are there.

check
6th January 2008, 07:51
FFDshow was the culprit...Would just like to add here that the culprit is most likely the configuration, rather than the tool -- unless you have an ancient version.

Well, now my problem has spawned a new buddy. While I solved the "filter graph won't talk to me" nonsense (by uninstalling ffdshow and forcing AC3Filter), NOW I get "unable to determine the duration of the audio."Can you please summarise your current setup which causes this issue again?

Output video has bitrate 1530 Kb/s (The length of video is 9 min, so the difference is very big)

Why can it be?I am guessing because you used 1pass ABR, and your video is a somewhat pathological case which screws up ratecontrol. I will delay judgement until I see the logfile though: Post the logfile output from MeGUI for this job. You can find it in the MeGUI\logs folder if you've closed the program since.

ABR stands for Average Bit-Rate. It doesn't mean you always get specified bitrate.The MeGUI default will only let this be 1% off. (http://mewiki.project357.com/wiki/X264_Settings#ratetol)

mutha88
7th January 2008, 00:34
Does MeGUI include the new experimental adaptive quantizer ? :)

One more question.. what does a "noise filter" mean? I am downscaling 1280x544 (720p) to 800x336 with MeGUI... do i need to add a noise filter? Is Lancsoz(Sharp) the most appropriate filter for me? Thank you for answering my question (in advance)!

Atak_Snajpera
7th January 2008, 00:47
Does MeGUI include the new experimental adaptive quantizer ?
Yes if you download special x264 build and add necesary commands

Xodarap
9th January 2008, 06:13
Would just like to add here that the culprit is most likely the configuration, rather than the tool -- unless you have an ancient version.

Can you please summarise your current setup which causes this issue again?


FFDshow went through several uninstalls / fresh reinstalls. That's including my watchful eye on the registry for leftovers. Newest version. I just hadn't tried it WHILE it was uninstalled (because I was thinking the problem was with something ELSE). Now, with the merit slider all the way down, things are working out. Honestly, AC3Filter has proven to be a much better normalizer, anyways...

As far as I know (using graphedit) EVERY dshow filter on my system underwent similar treatment. So I don't know what the setup was doing.


have you already thought to format and re-install windows? (joking)
however, try this one: use ds source for video (ensure you specify audio=false) and use nic ac3 source filter (it comes with megui) for the audio (the .ac3 file)

The nic filter thing -- tried that FIRST.

You THOUGHT you were joking. And guess what worked? A reformat! :P Really, I did it before reading it from you, and needed to anyways. God knows what was clogging everything up, but it all works beautifully now.


Except now I can't get subs on MPC, and it plays multiple audio tracks concurrently -- has me using WMP11 *shudder*... (Or MPlayer, I just like my ffdshow settings...) Sorry, that's for another thread.

I wish I knew what was causing the issues before...

Xodarap
9th January 2008, 06:24
Does MeGUI include the new experimental adaptive quantizer ? :)

One more question.. what does a "noise filter" mean? I am downscaling 1280x544 (720p) to 800x336 with MeGUI... do i need to add a noise filter? Is Lancsoz(Sharp) the most appropriate filter for me? Thank you for answering my question (in advance)!

Is your source noisy? IE: is it "grainy" or "flickery" or otherwise of a poor quality that moves around? A noise filter, to put it very simply, blurs the image to cover up defects. That includes blurring across time (to hold things still, like flickering or dustiness). However, your source may be "clean," in which case, you only might need a noise filter to provide additional encoding efficiency. I always throw in a temporalsoften(3,2,2,6,2) or (2,3,3,6,2) for good measure, even on a clean source...

fleon
9th January 2008, 15:54
so, if you have installed the vobsub package correctly, you need to fix your avs script like this:

DGDecode_mpeg2source("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_1.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
VobSub("C:\FINAL_FANTASY_7\VIDEO_TS\New Folder\VTS_02_0.idx")
tfm(order=1).tdecimate()
#crop
Spline36Resize(480,272) # Spline36 (Neutral)
#denoise
__film = last
__t0 = __film.trim(1, 130004)
__t1 = __film.trim(144862, 145135)
FadeOut(__t0, 23) ++ FadeIn(__t1, 23)

because this sub file is not a text file. The idx one (formely index) must be in the same .sub file folder.

Well, after encoding the video with that script and puting the muxed video(audio+video) on my psp I still cant see the subtitle, so what could be the problem? I wanna like burn them on the video, because I know that the psp cant render subtitles

you should try to play your file with a decent player first and see if the subtitles are there.
Well, in bsplayer I can see the video with the subtitles, on vlc player I cant, and on windows media player I get a black screen and the program starts to freeze up

TheResidentEvil
9th January 2008, 17:04
I tried to use Handbrake to make an .MKV file of a .mpg i have (I didn't know about MeGUI) and the file locks up in VLC. I want to create an H.264 mp4 of an .mpg .

I keep finding info that is more related to ripping from a DVD but I didn't have a DVD to start with. I am a avid AutoGK user so I don't know everything. The file I have is a 720p capture via OTA. Is there any guide for what I am looking to do or how to re-encode any file to H.264 ?

Sharktooth
9th January 2008, 17:31
there are plenty just :search:

meatwad666
13th January 2008, 22:18
i'm having a bit of a mysterious problem that i'm hoping someone can lend some insight. I recently upgraded my motherboard and videocard. The old motherboard was an agp model (biostar k8m800) with a 5700U agp card. the new board is pcie (pchips A33G) with a HD2600xt. the cpu, ram, and HD are all the same, although i recently got rid of running a seperate OS drive (on an old 9gig drive) from my capture drive, but I think the issue arose before I went to 1 HD.

Although i did forget to copy over my profiles, i'm pretty sure they're unchanged as I just use the ce-* profiles but running in ABR.

my issue is that my encoding speed seems to be roughly 1/2 of what it was on the old board; is there anything immediately obvious to people as to what could be causing the problem? prior to this I was using megui with tools current to about sept 07, now i am using the most recent updates.

the source material is HD captures in 1080i or 720p. I used to be able to convert 720p at 350meg/40 min in just about realtime (probably becuase i was just dumping frames to get 30fps with selecteven() ) and 1080 would take about 2.5-3hrs.

mitsubishi
14th January 2008, 01:10
Meatwad, the HD probably isn't the problem, it can affect speeds if being starved for bandwidth. Are your captures in lossless format? Is the source and destination on a different partition. Might be worth a defrag and checking for DMA (you installed the mobo drivers right?) anyway though.

But for such a speed drop, maybe somehow you are now only using one core (if you have a dual). Check your CPU usage.

meatwad666
14th January 2008, 02:17
Meatwad, the HD probably isn't the problem, it can affect speeds if being starved for bandwidth. Are your captures in lossless format? Is the source and destination on a different partition. Might be worth a defrag and checking for DMA (you installed the mobo drivers right?) anyway though.

But for such a speed drop, maybe somehow you are now only using one core (if you have a dual). Check your CPU usage.

cpu is a athlon 64 3500+ (one core), CPU usage is pegged, the captures are the raw transport streams, source and destination are always the same partition (and physical drive), IDE channel is uDMA-5. mobo drivers were installed, but this board is garbage, so maybe that can affect it. I just didnt expect it to affect it by 2x. (i also dont use a page file, so i dont think its the drive being hammered for page requests, and I have enough ram anyway)

thanks for the help

audioffile
15th January 2008, 03:00
I'm trying to encode the ac3 track from my DVD into aac with ndaac. The problem is that the output file is essentially empty (727 bytes). I noticed below that the there is no input file being passed to neroaacenc. Am I doing something wrong to cause this?

Input: Channels=6, BitsPerSample=16, SampleRate=48000Hz
Command line used: D:\Program Files\megui\tools\neroaacenc\win32\neroAacEnc.exe -ignorelength -q 0.5 -if - -of "L:\DVDs\FRIDAY_AFTER_NEXT\VIDEO_TS\English.mp4"

I also tried running the file through neroaacenc myself but i discovered that it wants wav input. So I guess MeGUI actually takes care of that for me... it converts my ac3 into wav and then feeds it into neroaacenc. Is that correct? If so, there appears to have a breakdown somewhere along the line. Any suggestions appreciated. Thanks.

mroz
15th January 2008, 03:37
Don't worry about the command line - the audio is processed by Megui internally using an AviSynth script (see the log if you're interested) and the output from that fed directly to the encoder (the equivalent of piping it, I imagine).

Try forcing Megui to use directshow to decode your audio source, rather than the NicAudio avs plugin it uses by default - click on the Config button in the audio input panel of the main megui window & check 'Force decoding via direct show'.

That's assuming you can play the ac3 track using a direct show based player.

The problem is almost certainly on the decoding side, so the above has a good chance of helping.

audioffile
15th January 2008, 03:51
audio is processed by Megui internally using an AviSynth script (see the log if you're interested)

I didn't see anything in my logs that showed how the piping would occur, but I did notice that even on successful encodes the -if parameter remains blank in the logs.

Try forcing Megui to use directshow to decode your audio source

That didn't seem to make any difference either.

Here's the log again:

Input: Channels=6, BitsPerSample=16, SampleRate=48000Hz
Command line used: D:\Program Files\megui\tools\neroaacenc\win32\neroAacEnc.exe
-ignorelength -q 0.5 -if - -of "L:\DVDs\FRIDAY_AFTER_NEXT\VIDEO_TS\English.m4a"

Error:
*************************************************************
* *
* Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder *
* Copyright 2007 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: Aug 6 2007 *
* Package version: 1.1.34.2 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************


ERROR: Could not open file

duckdown
15th January 2008, 04:20
Hello , no matter what I do this program still is creating incorrectly sized XviD segments for me.

I tell it to do a 4 minute segment around 750kbps, it was supposed to make a file sized 27.5 but instead just freely creates its own sized clip of a massive 40mb and a bitrate of like 1050

What is going on here? I have tried applying ALL of the proper settings found in the sticky regarding oversize/undersize yet this bloody program is still doing it.

If I use StaxRip it makes the properly sized segment so why is this so different?

I am extremely irritated with the unpredictable output of this program and its failure to achieve the specified bitrate/filesize.

What are my choices here?

Log for job job48

Job commandline: "C:\Program Files\megui\tools\xvid_encraw\xvid_encraw.exe" -i "C:\files\int16.avs" -pass2 "C:\files\int16.stats" -bitrate 744 -kboost 100 -ostrength 10 -oimprove 10 -odegrade 10 -overhead 0 -nopacked -vhqmode 4 -closed_gop -imin 1 -imax 3 -pmin 1 -pmax 3 -bquant_ratio 100 -par 1:1 -threads 0 -avi "C:\files\int16.avi"
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

Trying to retrieve width and height from input header
xvid [info]: Avisynth detected
xvid [info]: Input colorspace is YV12
xvid [info]: Input is 512 x 384, 29.970fps (30000/1001), starting from frame 0
xvid [info]: Number of frames to encode: 9211, Bitrate = 744kbps
xvid [info]: xvidcore build version: xvid-1.2.0-dev
xvid [info]: Bitstream version: 1.2.-127
xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC
xvid [info]: Detected cpus = 4, threads requested = 3, threads in use = 3
xvid [info]: Threaded input reading active

Tot: enctime(ms) =189265.00, length(bytes) = 41045501
Avg: enctime(ms) = 20.54, fps = 48.68, length(bytes) = 4455
I frames: 83 frames, size = 23585/ 1957611, quants = 2 / 2.66 / 3
P frames: 3270 frames, size = 8757/ 28637795, quants = 3 / 3.00 / 3
B frames: 5858 frames, size = 1783/ 10450095, quants = 5 / 5.89 / 6
desired video bitrate of this job: 744 kbit/s - obtained video bitrate (approximate): 1074 kbit/s


Wow. This one is even friggin worse..


Log for job job52

Job commandline: "C:\Program Files\megui\tools\xvid_encraw\xvid_encraw.exe" -i "C:\files\para01.avs" -pass2 "C:\files\para01.stats" -bitrate 900 -kboost 100 -ostrength 10 -oimprove 10 -odegrade 10 -overhead 0 -nopacked -vhqmode 4 -closed_gop -imin 1 -imax 3 -pmin 1 -pmax 3 -bquant_ratio 100 -par 1:1 -threads 0 -avi "C:\files\para01.avi"
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

Trying to retrieve width and height from input header
xvid [info]: Avisynth detected
xvid [info]: Input colorspace is YV12
xvid [info]: Input is 624 x 352, 29.970fps (30000/1001), starting from frame 0
xvid [info]: Number of frames to encode: 5926, Bitrate = 900kbps
xvid [info]: xvidcore build version: xvid-1.2.0-dev
xvid [info]: Bitstream version: 1.2.-127
xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC
xvid [info]: Detected cpus = 4, threads requested = 3, threads in use = 3
xvid [info]: Threaded input reading active

Tot: enctime(ms) =187904.00, length(bytes) = 35870179
Avg: enctime(ms) = 31.70, fps = 31.55, length(bytes) = 6050
I frames: 145 frames, size = 24749/ 3588606, quants = 2 / 2.49 / 3
P frames: 2382 frames, size = 11223/ 26734765, quants = 2 / 2.99 / 3
B frames: 3399 frames, size = 1631/ 5546808, quants = 3 / 5.75 / 6
desired video bitrate of this job: 900 kbit/s - obtained video bitrate (approximate): 1457 kbit/s <--- WTF?

check
15th January 2008, 04:56
duckdown, your profile limits the min/max quantizers too much. Either change these by hand or use a more relaxed profile.

mutha88
16th January 2008, 00:12
1.Is spline36 the best downmixing (from 720p to 800x336 res.) filter? Or is spline64 better?!

2. When i see some blocks, should i use for "Deblocking Strenght" -2 (minus 2) and for "Deblocking Treshold" -1 (minus 1) ?

3. For this downmixing/downscaling encoding should i use "HQ-Slow/Slower" profile? I am downscaling with "CE-High Profile" now :).

:thanks: for all of your answers!

fleon
16th January 2008, 01:28
hi, I have a problem with megui that i have never had before, you see I have encoded some videos to be compatible with my psp with the PD-psp profile and until now they have work, but recently I have encoded one I tried some things like encoding the audio on differents bitrates and also on a bitrate that have worked with other videos but nothing, the video before converted was a xvid/mp3 file, and i used this script:

AviSource("C:\Documents and Settings\Leon\Desktop\Nuevo para pasar al disco duro\abc.avi")
TextSub("C:\abc.srt")
#deinterlace
#crop
Spline36Resize(480,272) # Spline36 (Neutral)
#denoise
and this is what gspot tells me about the muxed video
http://img293.imageshack.us/img293/1017/abcdb9.th.jpg (http://img293.imageshack.us/my.php?image=abcdb9.jpg)

Ranguvar
16th January 2008, 23:46
@fleon: Make sure you place the videos in ms0:\VIDEO\, where ms0 is your PSP drive letter, and your firmware is >= 3.30. You probably have those, but I'm not sure... is the video black, does it say Unsupported, or what?

@mutha88:
1.) Technically Spline64 is better. But the difference is nigh-impossible to see. Even me, a quality freak, only uses 36.

2.) No. Negative values will decrease deblocking, so for cases in which you have a lot of bitrate/options on and you want sharper, more detailed video. You'd use positive values for less blocks, but you'll get 'softer' video, and slightly less details.

3.) Downscaling doesn't make a difference in that regard.

:)

saint-francis
17th January 2008, 01:11
If I am wanting to queue up two movies to encode using 2 passes for each using the same x264 profile can I set a different bitrate for the second one while it's still on it's first pass or will the new modified profile change the settings for the second pass of the first encoding? I know that the command gets sent to x264.exe only at the beginning but since both passes are queued up as individual jobs I don't know if the new profile will be applied.

mitsubishi
17th January 2008, 01:22
Saint-Francis.

Yeah that's fine, the jobs are stored as jobs. once set they do not look at the profiles.

There does seem to be a bug I noticed though, that if you are encoded the same source twice it can go awry since it uses the source filename for the stats file rather than the output, but two different movies, no problem.

saint-francis
17th January 2008, 01:39
Thanks for the speedy reply mitsubishi.

:thanks:

mutha88
17th January 2008, 12:00
Thank you Ranguvar! Didn't know the stuff you've wrote here :)

blazo
17th January 2008, 13:30
Don't know if this has been answered yet...
I'm trying to convert my DVD to MP4 (AVC/AAC) using MeGUI and sticking with anamorphic setting (CleverTM anamorphic encoding). AVS file has proper AR, but resulting MP4 file plays at 720x576 (1:1 DAR). I use RAWAVC for video (x264 encode) and MP4Box for muxing. Any ideas how to get proper (16:9) DAR?

mroz
17th January 2008, 19:14
If you let Megui invoke mp4box to do the muxing it should have the correct aspect. If you generate raw avc with Megui & mux externally, you'll have to explicitly tell mp4box the correct PAR, since the PAR info isn't embedded in the raw avc data afaik.

blazo
18th January 2008, 13:32
I let MeGUI invoke MP4Box and the result was not anamorphic. Nevertheless I have figured out where the problem was.
http://forum.doom9.org/showthread.php?t=133124

It's in RAWAVC (.264) which I was using. Now I switched to MP4 and everything is OK.

dolphinjet
18th January 2008, 18:45
hi, please allow me to ask a newbie question
Does AutoEncode use the profile I chose in the Input > Video interface? I'm in doubt as the Autoencode window did not show up what profile.

Ranguvar
19th January 2008, 00:04
@dolphinjet: I think so. Try and see :)

@blazo: Yeah, if you encode as raw AVC stream, it won't even know the framerate, let alone the anamorphic settings :p

@mutha88: Welcome :) What do you mean?

Zergrinch
19th January 2008, 06:19
Am I doing something wrong? Any attempt to click AutoEncode with meGUI 3 produces this error window:

http://upload.jetsam.org/meguierror.jpg

Carpo
19th January 2008, 13:04
heres a strange one for you.

I have a film Abyss Special Edition, which on the back of the box says 2:35:1 and widescreen 4:3, there are two different versions on the same disc, Theactrical and Extended.

In the ifo it shows

VTS overview:

Menu attributes:
Video: MPEG-2 720x576 (PAL) (PAL 625/50) (16:9) (pan-scan)
Audio 1: Not Specified (Dolby AC-3) 2ch 48Kbps DRC
SubPicture 1: Not Specified (2-bit rle )

Title Set (Movie) attributes:
Video: MPEG-2 720x576 (PAL) (PAL 625/50) (4:3) (not specified perm.display)
Audio 1: English (Dolby AC-3) 6ch 48Kbps DRC (ID: 0x80)
SubPicture 1: English (2-bit rle ) (ID: 0x20)
SubPicture 2: English (2-bit rle ) (ID: 0x21,0x20)

dvd2avi picks it up as 4:3, question i have is do i encode it as 4:3 then tell the mux tools its 16:9, or do i tell megui to override dvd2avi and select 16:9 there ?

mroz
19th January 2008, 14:09
Firstly, are you having any problems selecting the version of the film which you want? If they're in distinct VTS it isn't a problem with D2V Creator, however sometimes distinct PGCs exist in one VTS & you need an extra step to pull out the one you want as Megui doesn't currently parse IFOs itself.

In this case I use DVD Decrypter from the original dvd, or if I only have a VIDEO_TS folder by that point, PGCDemux (http://download.videohelp.com/jsoto/dvdtools.htm).

Let's assume you have the version you want.

Assuming it's letterboxed 4:3, accept the above & when you crop the letterboxing off, Megui will get the aspect correct.

Or are you saying the aspect info above is wrong? In that case just override the DAR setting within the AVISynth Script Creator window.

Carpo
19th January 2008, 14:54
i have ripped the extended version i can tell that as its longer, and i have got the info in my post above from the ripped ifo, when i play it in a dvd player it comes up as 16:9

edit: when i play the vobs i ripped to disc it plays as letterboxed 4:3

edit: little Q about audio, i am backing up a lot of dvds i have to x264, i would like to use ac3 but some of the ac3 files are 300meg plus, which if i want to keep them to a 2 disc backup the picture quality suffers, i have seen that it is best to use 128 abr aac, and anything above 160 is a waste, if that is so why does megui have 192 and 256 options, and which should i use HC or LC, seeing as i want to keep the best audio i can?

Should i go with 128 even on something like lord of the rings, which is near 3 hours ?

audioffile
19th January 2008, 21:31
edit: little Q about audio, i am backing up a lot of dvds i have to x264, i would like to use ac3 but some of the ac3 files are 300meg plus, which if i want to keep them to a 2 disc backup the picture quality suffers
Assume that you mean two CDs, 1400MB.
i have seen that it is best to use 128 abr aac, and anything above 160 is a waste, if that is so why does megui have 192 and 256 options, and which should i use HC or LC, seeing as i want to keep the best audio i can?

Should i go with 128 even on something like lord of the rings, which is near 3 hours ?
If I run the audio as VBR q=.31 I typically get my audio file to be about 65-70% or the size of the AC3. Obviously it's not always going to be perfectly predictable. I have never noticed any degradation in the audio with the above settings. I would recommend cutting the audio down the q=.25 or even lower to see what kind of AAC file size you get. Anyway, the final answer with audio is always your ears, cut it down until you notice the difference.

Strangely, using q=.5 has given me AAC files that were larger than the original AC3, which didn't make a lot of sense to me.

Another thought, since LOTR is a very long movie (twice as long as average) you might just bit the bullet and split it across 3 CDs. Good luck.

Carpo
19th January 2008, 22:06
i have decided to go with 50% of the original ac3 - i cant really notice a difference in quality, i went with LC 192k, yes for lotr discs i was going down the 3cd route (2100M), although after reading what you have put i will give q.3(1) i go on a few tests :) thanks

delxd
20th January 2008, 05:01
im trying to convert a .mkv file to .mp4 and i cant sucess either converting the audio or the video.. thats what i get in my log :

MeGUI Version: 0.2.6.1040
OS used: Microsoft Windows XP Professional Service Pack 2
.Net Framework installed: 2.0.50727.42

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

Looking for job processor for job...

Processor found!



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


Starting job job4 at 04:55:25

Starting preprocessing of job...

Preprocessing finished!

successfully started encoding

Processing ended at 04:55:27

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

Log for job job4



Error:

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

End of log for job4
------------------------------------------------------


And when i try to load the avisynth script i get a window saying :
Avisynth script error : DirectShowSource: Couldn't Open the file
C:/.............. mkv
Wasnt possible to find a combination of filters to the flux (?)
something like that.. sorry for my bad english.. but thats the first time i get this error working with a .mkv file..

my avisynth script : for audio [ DirectShowSource("C:\Lorhan\[ZetSub] Lupin III - S01E02 [AD9B51F0].mkv", fps=23.976, convertfps=true)
DelayAudio(+0.0)

ConvertToYV12() ]

Video : DirectShowSource("C:\Lorhan\[ZetSub] Lupin III - S01E02 [AD9B51F0].mkv", fps=23.976, convertfps=true, audio=false)
ConvertToYV12
DeGrainMedian(limitY=2,limitUV=3,mode=1)

Hope that can help solve my prob

check
20th January 2008, 05:22
delxd: can you play the video in windows media player?

delxd
20th January 2008, 12:26
delxd: can you play the video in windows media player?

Actually i cant... i can play it just in the other players such as Media Player Classic,BsPlayer..

check
20th January 2008, 14:00
sounds like you need to clean up your directshow environment before you can use directshowsource() then.

delxd
20th January 2008, 14:32
sounds like you need to clean up your directshow environment before you can use directshowsource() then.

and how i do that exactly? uninstalling all my codecs or something like that? i got only CCCP installed on my system..

weaver4
20th January 2008, 15:19
Most of the time I want to take one of my new movies and make a backup for my Media Player (Popcornhour) and make a copy for my iPod. I use one-click profiles. But when my queue is running I get a File-Already-Exist error dialog after it runs DGIndex on the first copy and starts the second copy. Any way to fix this? I like to start this process off before I go to bed and have it done in the morning.

pak_sunny
22nd January 2008, 00:09
Hi,
I hope i find a solution to my problem here i am using a amd turion 64 laptop with vista premium . the thing is that after installing megui it wont install al thee updates ( Codecs, eg. MP4Box ) I mean non of them and says error installing them,????

Selur
22nd January 2008, 08:46
the thing is that after installing megui it wont install al thee updates ( Codecs, eg. MP4Box ) I mean non of them and says error installing them,????
running megui as administrator should help there;)

check
22nd January 2008, 11:46
and how i do that exactly? uninstalling all my codecs or something like that? i got only CCCP installed on my system..
Grab the CCCP Insurgent and post a test render on the non working file.

MKVCrazy
23rd January 2008, 06:12
Hi, I have been on the board for quite long and when I tried to encode my new videos, it still has a bug or I don't know but it crashes every time when I try to open something in AviSynth Script Creator.

I read a few threads about this before I post and someone said it has been solved! but I couldn't understand/see the final answer.

here is what I get when I load a file:
http://i28.tinypic.com/suym2h.png



What I have:

-MeGUI 2.6xxx (Stable Version)
-AviSynth 2.5.7 (Stable Version)
-K-Lite Codec Pack (Full Version)
-.NET Framework 3.0 Installed


What else might be causing the problem?

MKVCz.

mroz
23rd January 2008, 06:33
Is Megui's aviscript preview sufficiently accurate?

I'll explain what I mean. I'm currently having a problem & I'm not sure if the issue is down to how Megui renders, or rather lets Windows render, the script, or if it's the result of a filter problem on my machine.

I have a source mpg that's far too bright. When I transcode it using Megui the resulting mp4 is faithful & so equally too bright. However, the preview window shows the video with desirable brightness.

There seem to be two issues here. One is with my source & concerns the question of how I modify the levels to get the output I want - that isn't a matter for this thread.

The other however might be. It being, why doesn't the preview window show my overly bright video?

I've had a play with graphedit & it seems the avs is rendered with the chain:
SummerCollection.avs
AVI Decompressor
Color Space Converter
Video Renderer

And it is the Color Space Converter that's correcting the brightness. I can confirm this by removing it from the chain & replacing it with an ffdshow raw video filter which I can easily configure to leave the colour levels & space alone.

This automatic conversion might well be desirable for general playback, but clearly not when one is trying to preview the direct output of the script.

If I render the source mpg, the converter isn't involved, which explains why it displays faithfully. Similarly, when the script is passed as input to x264, the converter mustn't be involved (thankfully, as this isn't easily within the user's control), resulting in a faithful but overly bright output mp4. Finally, playback of the mp4 is faithful & the converter is once more not involved (as checked with graphedit).

Does this indicate a problem with Megui's preview rendering? Could it be made more faithful by controlling the graph used to render the script? I guess this must be possible as x264 gets to see the faithful unmodified video.

Or is there some problem unique to my setup that I need to correct?

For now I'm having to resort to previewing my avs in graphedit, manually removing the converter for each test, which is really annoying.

Lastly, if anyone wants to take pity on me, any clues as to how I perform an accurate conversion to fix the brightness issue with my source? I was going to just tweak gamma until I realised there must be a colourspace issue. It's embarrassing when Windows can do a better job of rendering the video than I can with avisynth.

Edit: Ok, now I'm more confused, but am inclined to think this isn't in any way a Megui issue, so if you agree & wish, please delete or move this post.

For the record, I think I was seeing different behaviour in Megui's preview window purely as by chance it involved a different sequence of colourspace conversions; specifically the filters in the chain on that occassion performed a converstion to rgb32, but didn't when feeding x264 for example. I can mimic the former by adding a ConvertToRGB32() to the end of the script, whenceforth I get the darker more appropriate rendering.

Of course colourspace conversions shouldn't produce significant changes in the video (certainly not when converting to a more accuate space), unless the assumed colour coefficients are wrong at any step. However, the script looks correct. If I read the hint info from mpeg2source via info=1, I see the expected Rec.709 (my source is from a dvd originally), thus the ColorMatrix call should be converting Rec709 to Rec601, which is as expected. Furthermore, the ConvertToRGB32 should work correctly as that assumes an input using Rec601. So, I shouldn't be seeing any problems...

Unless the Rec.709 info concerning the source material is itself wrong. In which case the source is at fault & it's no wonder something like this is going wrong somewhere. In other words, the inconsistent behaviour isn't Megui's fault.

Does that make any sense? Or am I on the wrong track or indeed completely off the rails? I considered deleting this post, but would rather not until someone confirms this has nothing to do with Megui & I should remove it. Thanks for the patience ;)

check
23rd January 2008, 12:00
Is Megui's aviscript preview sufficiently accurate?
Yes. Inaccuracies will arise due to the video renderer in use in other places, but MeGUI and VirtualDub should basically be considered authoritive.

mroz
23rd January 2008, 18:29
Thanks. I've since found The bright cases were seemingly the deviant renderings, as they only occurred in Zoomplayer, which I had been trusting to be accurate, as it has always proved most reliable & I've never seen this issue before despite years of use.

Switching the renderer away from overlay mixer to /any/ other option cured it.

Still seems strange I've never seen this issue before. It was roughly equivalent to a gamma correction by 0.69, which is huge.

saint-francis
24th January 2008, 01:01
Could someone please explain to me what exactly clever anamorphic encoding does? Does it keep the original aspect ratio and signal x264 to resize? All I know is that when it's used avisynth doesn't resize and there are some commands which I don't understand that somehow signal resizing later on.

mroz
24th January 2008, 01:19
The original pixel aspect ratio is left unaltered. Resizing might not be necessary at all, typically. The commands you're referring to are just Megui setting a couple of variables so it can later keep track of what the display aspect ratio is; these are used subsequently to embed the aspect ratio information into the video stream (rather than to resize it).

saint-francis
24th January 2008, 01:41
So it is like setting the aspect ratio when muxing but instead it sets it in the h.264 stream? Is this done by x264? I wasn't aware that there was such an option in x264 (granted you could fit all I know about x264 on the back of a postage stamp).

weaver4
27th January 2008, 14:44
Is there anyway to get the audio louder? I already have "Increase Volume Automatically" selected in the NDACC-LC-96kbps profile.

The audio is much lower than the volume in StaxRip. Audio is too low to watch a video on my iPod while on a plane.

mroz
27th January 2008, 15:30
So it is like setting the aspect ratio when muxing but instead it sets it in the h.264 stream? Is this done by x264? I wasn't aware that there was such an option in x264 (granted you could fit all I know about x264 on the back of a postage stamp).

I don't know if the data is stored in the stream or the headers, but it is written there by the x264 encoder itself.

Take a look at Megui's logs. You'll see the commandline that x264 is invoked with. For example:

--[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 2 --bitrate 897 --stats "E:\Work\HA02-Cruise.stats" --ref 5 --mixed-refs --bframes 16 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -2,-1 --subme 6 --trellis 1 --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 279:250 --progress --no-psnr --no-ssim --output "E:\Work\HA02-Cruise.mp4" "E:\Work\HA02-Cruise.avs"

The relevant option is --sar a:b which sets the sample aspect ratio. In this context that refers to the aspect ratio of a single pixel in the output.

Sharktooth
27th January 2008, 15:57
Is there anyway to get the audio louder? I already have "Increase Volume Automatically" selected in the NDACC-LC-96kbps profile.

The audio is much lower than the volume in StaxRip. Audio is too low to watch a video on my iPod while on a plane.
if you used the "Force Decoding via DirectShow" option in the audio profile, you can tell FFDShow to decode "RAW" audio and set the Volume Normalization filter in FFDShow.
That filter has a "max. amplification" option. Set it to something higher than 100% and it will boost the volume during the audio encoding.
Another way is to create an avisynth script for the audio track using the AmplifyDB() filter and load the .avs script in place of the audio track.

Mr. Mojo
29th January 2008, 11:51
Hello all,

Here we go for 2 newbie questions :
- I don't see any update in MeGUI since mid-december (here (http://megui.org/auto/stable/)), when there was at least an update per week before that. Is there a problem/change I'm not aware of ? Or is it just normal ?
- On x264.nl (http://x264.nl/) I see a 0.3.0.0 version of MeGUI, when on SourceForge (http://sourceforge.net/project/showfiles.php?group_id=156112) the last version is 0.2.6.1041. Should I pick the x264.nl version, or just wait for this version to appear on SourceForge ?

:)

Carpo
29th January 2008, 12:40
get 0.2.6.1041 - update it to 0.2.6.1043 - leave 0.3.0.0 alone, think that's a dev version :p

check
29th January 2008, 13:48
the default of MeGUI is to use the stable versions. You can change to development versions in the advanced settings for autoupdate servers.

grennis
29th January 2008, 19:18
Question

How does MeGUI feed the audio into the audio encoder? (In my case, Nero - but they all work the same way).

The command line shows input file "-". This means the audio comes from stdin. OK, so MeGUI is feeding the audio to it through stdin. And how is it doing that from the .AVS file that I give to it?

I am trying to reproduce what MeGUI does with a .bat file and I'm stuck on this problem. Right now I'm using virtualdub script to save out a .wav file but that seems like a hack.

Sharktooth
29th January 2008, 19:21
try with avs2wav or bepipe. There's no other way to feed the .avs out to an encoder that doesnt support .avs input unless you create a "pipe" (that's what megui does).

@Mr. Mojo: i still hadnt time to update megui since i had some problems (a new job, a new home, etc...) that left me without any free time. ill do it ASAP though.

Reuf Toc
29th January 2008, 20:02
You can also use the avisynth plugin "soundout" to pipe your avs to an external encoder. It works fine with nero aac.

grennis
29th January 2008, 20:48
try with avs2wav or bepipe. There's no other way to feed the .avs out to an encoder that doesnt support .avs input unless you create a "pipe" (that's what megui does).

Looks like avs2wav and bepipe are both offline/AWOL/dead projects. BeHappy is still going strong but bepipe was a spinoff or fork that has disappeared (looks like to me). And avs2wav is a completely MIA.

There is a avisynth plugin called soundout that might be promising. Otherwise I guess I will stick with the vdub script to extract the WAV.

grennis
29th January 2008, 21:18
You can also use the avisynth plugin "soundout" to pipe your avs to an external encoder. It works fine with nero aac.

Heh, I saw your message after I wrote mine. The soundout filter is confusing to me. Why is it implemented as a filter? I want to extract the audio from an AVS using command line applications. Hmmm, an avs filter requires some type of application to load the AVS. It also requires I muck up my AVS to include something that exports audio, which I dont want to do every time I open it. OK, so maybe I could write another AVS script that AviSources the 1st AVS and includes the soundout filter to only export the audio when I need it. But that seems like pain to manage. I have hundreds of AVS's and run them through batch conversions to encode them.

Strange, very strange.

grennis
29th January 2008, 21:21
try with avs2wav or bepipe. There's no other way to feed the .avs out to an encoder that doesnt support .avs input unless you create a "pipe" (that's what megui does).

Back on topic, I follow you that MeGUI opens a pipe and sends the audio through it to the encoder. But, how is it doing that? What mechanism is it using to extract the audio byte stream from the AVS? I took a look at the source code but I don't see anything obvious in just quick once-over (I'm a developer myself)

Kurtnoise
29th January 2008, 21:37
I don't see any update in MeGUI since mid-december (here (http://megui.org/auto/stable/)), when there was at least an update per week before that. Is there a problem/change I'm not aware of ? Or is it just normal ?
There is an incoming dev build which has some bugfixes in this thread (http://www.unite-video.com/phpbb/viewtopic.php?p=85659#85659)...

Kurtnoise
29th January 2008, 21:40
Back on topic, I follow you that MeGUI opens a pipe and sends the audio through it to the encoder. But, how is it doing that? What mechanism is it using to extract the audio byte stream from the AVS? I took a look at the source code but I don't see anything obvious in just quick once-over (I'm a developer myself)
the audio avs filters used are able to decode to wav and then the stream is feeded to the pipeline...

grennis
29th January 2008, 22:11
the audio avs filters used are able to decode to wav and then the stream is feeded to the pipeline...

Doesn't this cause 2 recompressions of the audio instead of just 1?

Kurtnoise
30th January 2008, 09:49
nope...

rebkell
30th January 2008, 22:42
get 0.2.6.1041 - update it to 0.2.6.1043 - leave 0.3.0.0 alone, think that's a dev version :p

Is there any feedback/discussion about the 0.3.0.0 version anywhere? I downloaded it(I didn't even realize it was a beta version when I did), and have been using it for a couple of months, just wondering if there is anywhere it is discussed on the web?

Can both versions(stable and the beta)be installed on the same system or would they cause conflicts with each other?

Kurtnoise
31st January 2008, 11:05
Sure, both versions can be installed on the same OS without conflicts each others...


You can post also some feedbacks about 0.3.xx in this thread.

Carpo
3rd February 2008, 10:04
i am trying to backup lord of the rings the fellowship of the ring, but for some reason when ever i do this film when there is a lot of movement eg a person moving their head or walking, it looks like the the picture is stuttering, i have tried this with a high bitrate encode, a low encode, and it always comes out the same, and so far this is the only film its doing it on.

The other 2 lord of the ring dvds came out fine

Sharktooth
3rd February 2008, 18:07
i would wait building a new 0.3.x revision since the profiles refactoring is not complete.
however i'll build a new 0.2.x version today or tomorrow.

bob0r
4th February 2008, 00:39
Sharktooh

http://forum.doom9.org/showthread.php?p=1095743#post1095743

rebkell
4th February 2008, 00:59
The only thing that bothers me in 0.3.0.x is the Bitrate calculator window, there are two buttons that are obscured in the audio section, I don't know what they buttons are:

Sharktooth
4th February 2008, 05:00
Sharktooh

http://forum.doom9.org/showthread.php?p=1095743#post1095743
fixed.

Knuffi
4th February 2008, 10:13
shit...install the last one (http://www.microsoft.com/downloads/details.aspx?familyid=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en) then.

erff, I need to update the link now.

I installed .Net 3.5, but the update-message still appears while starting MeGUI

Kurtnoise
4th February 2008, 10:37
Sharktooth has updated some packages...Is this message ?

bob0r
4th February 2008, 15:12
Maybe useful to know, Sharktooth included this x264.exe for megui:

x264.736.modified.02.exe (http://files.x264.nl/x264.736.modified.02.exe)

General thread:
http://forum.doom9.org/showthread.php?t=130364

x264_aq_var.48.diff
http://forum.doom9.org/showthread.php?t=132760
x264.gaussian.cplxblur.01.diff
Dark Shikari: - gaussian cplxblur: gives a tiny improvement in 2pass ratecontrol
x264_me-prepass_DeathTheSheep.01.diff
http://forum.doom9.org/showthread.php?p=1093523
x264_2pass_vbv.4.MatMaul.diff
http://mailman.videolan.org/pipermail/x264-devel/2008-January/004015.html
x264_hrd_pulldown.04_interlace.diff
- HRD and pulldown for HD compatibility, updated patch for interlacing
http://forum.doom9.org/showthread.php?p=1047919#post1047919

bob0r
4th February 2008, 21:33
Bug report:

When you select 1st pass and then select turbo, the option --me gets greyed out, but when you switch to 2nd pass, its still greyed out and you can not change --me (M.E. algorithm)

MoUCLAs
5th February 2008, 09:24
hello everyone.. i have the latest megui 0.3.0.0 and i cannot see the output quants of x264.exe encoder in the logs? Can i do sth about it?

dolphinjet
5th February 2008, 18:34
@dolphinjet: I think so. Try and see :)

Thanks, probably true, the reason I asked is because the container settings is not carried to the autoencode window. And the bitrates from log is slightly different from what I chose too.

And there is another question,

What's the reason that transcoding using a lower bitrate will give rise to even bigger file?

The source is in h.264 3GPP with 1448Kbps; audio AAC LC; file size is ~270mb (mp4)
I try to down size it with megui using 720kbps h.264 with Nero AAC. Dimension and FPS were left unchanged. The file size estimated is ~120mb but the resultant size is actually jumping up to above 500mb

(I'm still encoding in 2nd pass, but it probably won't go back to 120mb , as currently at 6000/34000 frames; the file size is already 74mb)

TwoToad
6th February 2008, 14:20
MeGUI just updated itself to 0.2.6.1044 and it also came with a new x264 version "736-2 - Jarod's patched build". MeGUI won't run a 2nd pass now. I fixed the problem by deleting this newest x264 update and used the x264.exe.backup instead. Still using 0.2.6.1044. Everything appears to be working ok now.

Not sure if anyone else has run into this, but it might be something to look into for the next update.

Knuffi
6th February 2008, 17:53
I installed .Net 3.5, but the update-message still appears while starting MeGUI

That's weird! Windows Vista says, I have installed 3.5, MeGUI insists that it is 2.0 ... without SP1 ... who's fault is it? :confused:

Sharktooth
6th February 2008, 19:28
MeGUI just updated itself to 0.2.6.1044 and it also came with a new x264 version "736-2 - Jarod's patched build". MeGUI won't run a 2nd pass now. I fixed the problem by deleting this newest x264 update and used the x264.exe.backup instead. Still using 0.2.6.1044. Everything appears to be working ok now.

Not sure if anyone else has run into this, but it might be something to look into for the next update.
the new x264 works perfectly here.
That's weird! Windows Vista says, I have installed 3.5, MeGUI insists that it is 2.0 ... without SP1 ... who's fault is it? :confused:
yours.
i have ALL .NET frameworks... so what?
MeGUI needs 2.0 SP1. you have 2.0 (and 3.5 and maybe even some other versions), so go to windows update and install the .NET 2.0 SP1.

daWsOn_s
6th February 2008, 19:51
How can I revert "automatically overwrite existing files"? I have set that before but now I can't find the setting to unset that.

Thanks :)

TwoToad
7th February 2008, 04:54
the new x264 works perfectly here.

Hmm, it ran the 1st pass just fine and on the 2nd pass the status wasn't updating. I was showing 100% CPU usage and in task manager x264 was using most of the CPU. I left it running for hours without any status update and it never completed.

Knuffi
7th February 2008, 10:27
I downloaded the file "NetFx20SP1_x86.exe", but when I try to install it, it says, that it does not support Vista. I neither can find a Vista-version of the SP1 ... can anyone, who is not as blind as me give me a link?
I also thought, that in 3.5 there is already 2.0 SP1 included ...

APC2006
7th February 2008, 16:05
MeGUI just updated itself to 0.2.6.1044 and it also came with a new x264 version "736-2 - Jarod's patched build". MeGUI won't run a 2nd pass now. I fixed the problem by deleting this newest x264 update and used the x264.exe.backup instead. Still using 0.2.6.1044. Everything appears to be working ok now.

Not sure if anyone else has run into this, but it might be something to look into for the next update.

Not the same problem, but since the update, file sizes seem 30-40 % larger than before.
I've been using CRF 18 (1 pass), and lately encoding a TV series in 80's (from DVD). Some episodes were larger than 800 MB, so I increased noise filter, and encoded them again expecting smaller files. Before the 2nd encoding, MeGUI updated, and the results were 30-40 % bigger files. Any idea or suggestion?

Sharktooth
7th February 2008, 19:11
with the new x264 version, adaptive quantization is enabled by default and may intefere with final filesize (it should look much better though!) in CQ or CRF modes.
set --aq-strenght 0 in custom commandline options, repeat the encoding and see if the filesize is similar to the one produced by the previous x264 versions.
another solution is to keep AQ and rise the CRF value until you approximately reach your desired filesize.

@knuffi: try reinstalling .net 3.5 (yes, the vista version includes the 2.0 SP1)

pelle412
7th February 2008, 22:52
I'm having a problem with MeGui on one of my computers with passing the SAR information to x264 properly. One my desktop it does it just right every time, but on my laptop is never passes that information on to the encoder. I follow the exact same steps on both machines (use clever anamorphic encoding).

Example log from my desktop:

Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 1173 --stats "D:\Movie\a\megui.stats" --level 4.1 --bframes 16 --b-pyramid --direct auto --subme 1 --analyse none --me dia --threads auto --thread-input --sar 243:200 --progress --no-psnr --no-ssim --output NUL "D:\Movie\a\megui.avs"
avis [info]: 720x480 @ 29.97 fps (149668 frames)
x264 [info]: using SAR=243/200
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64

On the laptop all I get is this:

Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 983 --stats "C:\Movie\a\megui.stats" --level 4.1 --bframes 16 --b-pyramid --direct auto --subme 1 --analyse none --me dia --threads auto --thread-input --progress --no-psnr --no-ssim --output NUL "C:\Movie\a\megui.avs"
avis [info]: 720x480 @ 23.98 fps (142920 frames)
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 Cache64


Has anyone seen this and know how to rectify it?

In the jobs XML file all I see is this on the machine that has the problem:

<DAR xsi:nil="true" />

But where it is working I get this:

<DAR>
<ar>1.8226</ar>
</DAR>

Sharktooth
8th February 2008, 14:10
are you using the same megui version on both?

Carpo
8th February 2008, 18:59
MeGUI needs 2.0 SP1. you have 2.0 (and 3.5 and maybe even some other versions), so go to windows update and install the .NET 2.0 SP1.

if you download the full 3.5 redist it will install sp1 for .net 2.0, also if you go to windows update it will install it - under optional extras, maybe you could place this little info in the read me file so people know :)

edit: if you have a quad core pc should you still use the neroaacenc.exe or move onto the sse version ?

showergel
9th February 2008, 00:23
I'm having a problem with MeGui on one of my computers with passing the SAR information to x264 properly.

On megui 2.6.1041 & x264 v709 (before today's update), I had the same problem, x264 kept assuming sar was 1:1 so as I workaround I resized the video accordingly.

Will have to try again and see what happens- but I wanted to confirm I had that problem as well.

pelle412
9th February 2008, 02:57
@Sharktooth: Yes

I resolved it. After I uninstalled MeGUI and reinstalled it, it started to work again.

Thanks.

delxd
9th February 2008, 03:18
I have had problem to encode a movie for MP4 format. the log is that:
Log for job job5

Job commandline: "C:\Arquivos de programas\megui\tools\x264\x264.exe" --pass 1 --bitrate 352 --stats "F:\scripts\SV_RKMOVIE.stats" --keyint 480 --min-keyint 24 --bframes 16 --b-pyramid --direct auto --filter 1,1 --subme 1 --analyse none --qpmin 18 --vbv-maxrate 25000 --ratetol 6.0 --me dia --threads auto --thread-input --sar 1:1 --progress --no-dct-decimate --no-psnr --no-ssim --output NUL "F:\scripts\SV_RKMOVIE.avs"
avis [error]: unsupported input format (DIB )
x264 [error]: could not open input file 'F:\scripts\SV_RKMOVIE.avs'

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

End of log for job5

Someone can help me?
thanks

Sharktooth
9th February 2008, 05:09
add ConvertToYV12() at the end of the avs script.

APC2006
9th February 2008, 07:06
with the new x264 version, adaptive quantization is enabled by default and may intefere with final filesize (it should look much better though!) in CQ or CRF modes.
set --aq-strenght 0 in custom commandline options, repeat the encoding and see if the filesize is similar to the one produced by the previous x264 versions.
another solution is to keep AQ and rise the CRF value until you approximately reach your desired filesize.

Thank you.
I'll play around a little and decide what to do.

saint-francis
9th February 2008, 22:06
with the new x264 version, adaptive quantization is enabled by default and may intefere with final filesize (it should look much better though!) in CQ or CRF modes.
set --aq-strenght 0 in custom commandline options, repeat the encoding and see if the filesize is similar to the one produced by the previous x264 versions.
another solution is to keep AQ and rise the CRF value until you approximately reach your desired file size.


Correct me if I'm wrong but isn't there a way to use the new AQ and limit the way it tends to increase the size of a crf encoding? I remember reading something about this in the AQ mega thread. If so shouldn't the MeGUI encoder configuration dialog be modified to use such parameters automatically if crf is selected?

Sharktooth
9th February 2008, 22:31
megui should not be modified until AQ becomes official.
you can use the "Custom commandline options" (Zones tab) to tune AQ.

weaver4
10th February 2008, 23:16
with the new x264 version, adaptive quantization is enabled by default and may intefere with final filesize (it should look much better though!) in CQ or CRF modes.
set --aq-strenght 0 in custom commandline options, repeat the encoding and see if the filesize is similar to the one produced by the previous x264 versions.
another solution is to keep AQ and rise the CRF value until you approximately reach your desired filesize.

@knuffi: try reinstalling .net 3.5 (yes, the vista version includes the 2.0 SP1)

I have noticed the same problem.

Doesn't adaptive quantization only improve the quality in dark scenes? 40% bigger filesize is a big price to pay for a little better dark scenes. Plus, I think is should be --aq-strength 0.

Atak_Snajpera
11th February 2008, 00:54
@weaver4
Therefore You need to raise CRF. 1280x720 with CRF22+AQ will give you something around 6Mbps (12Mbps for FullHD) In my opinion result is better than 20 without AQ. You may also try AQ with automatic sensitivity and your file size will be even smaller than without AQ :) --aq-strength 1 --aq-sensitivity 0 (0=auto)

Sharktooth
11th February 2008, 14:16
I have noticed the same problem.

Doesn't adaptive quantization only improve the quality in dark scenes? 40% bigger filesize is a big price to pay for a little better dark scenes. Plus, I think is should be --aq-strength 0.
no. the new AQ (Variance AQ) improves quality of almost every frame.

weaver4
11th February 2008, 17:14
@weaver4
Therefore You need to raise CRF. 1280x720 with CRF22+AQ will give you something around 6Mbps (12Mbps for FullHD) In my opinion result is better than 20 without AQ. You may also try AQ with automatic sensitivity and your file size will be even smaller than without AQ :) --aq-strength 1 --aq-sensitivity 0 (0=auto)

I did not see anyplace in RipBot's codec's settings to set --aq-sensitivity to 0.

Atak_Snajpera
11th February 2008, 17:44
I did not see anyplace in RipBot's codec's settings to set --aq-sensitivity to 0.

But this is MeGUI thread :)

montyny
11th February 2008, 20:23
Hello,
I made one conversion using megui without any problems (a DV .avi file). However, trying to convert an avi from a VHS capture is a different story.

I realise now that the avi file has about 6 seconds of blank input at the start. The video conversion ignores this 6 seconds and avisynth starts at the first real video frame. However, the audio starts and has the 6 second delay.

With the given input file, how can I get the video and audio to be in sync?

Thanks - Bryan.

((( atom )))
12th February 2008, 00:06
Hi montyny,

I am afraid, this might be the very wrong thread for that, but anyway, I would open up the dv.avi in virtualdubmod and simply mark and cut out the 6 seconds of nothing before I'd go on searching for reasons for the strangeness.. Simplay Save your now trimmed file and you should be set. Good luck!

delxd
12th February 2008, 18:08
Oh well... i re encoded an .mkv video file to h264 .mp4 using Megui.. but the problem is that the video came without the subtitles that were in the original file , the .mkv.. im wondering how do i get to convert the video with the subtitles? o_o

Sharktooth
12th February 2008, 18:15
extract the subs from the .mkv with mkvextract, convert the subs into .srt or TTxt format and mux them with your encoding using mp4box (or megui muxer, or YAMB...)

Knuffi
12th February 2008, 21:49
if you download the full 3.5 redist it will install sp1 for .net 2.0, also if you go to windows update it will install it - under optional extras, maybe you could place this little info in the read me file so people know :)

edit: if you have a quad core pc should you still use the neroaacenc.exe or move onto the sse version ?

There went something wrong with my .NET 3.5 Installation, I deinstalled and reinstalled and ... voila ... there was 2.0 SP1 :)

alfixdvd
13th February 2008, 12:44
When I press the Autocrop button with the movie The Outlaw Josey Wales (PAL Version), all crop values they remain to 0

With autocrop() I get 2,72,716,432, -> L:2 R:2 T:72 B:72

With War movie (actor: Jet Li) all's right.

¿ What's wrong ?

Sharktooth
13th February 2008, 15:08
some manual job is required when megui's autocrop fails.
yes... it may fail... nothing is perfect.

alfixdvd
13th February 2008, 16:36
some manual job is required when megui's autocrop fails.
yes... it may fail... nothing is perfect.

yes... but autocrop() don't fail.

Why not to use it ?
Why to reinvent the wheel ?

dolphinjet
13th February 2008, 17:19
just to report my previous question:
Updated to newer version of x264 but still got no clue on why the output file is bigger than the original, mp4 to mp4; using lower bitrate (audio/video) with same resolution & fps.
But I tried mediacoder and shrinked the file successfully.
It's just a few unusual cases anyway.

Sharktooth
13th February 2008, 17:36
yes... but autocrop() don't fail.

Why not to use it ?
Why to reinvent the wheel ?
autocrop() (at default settings) may fail in other circumstancies.
we prefer it doesnt crop than that it crops too much.
however we included the possibility to do a visual manual crop... so i cant understand what you want more than that.

bokonon
13th February 2008, 18:28
has anyone managed to work out what the equivelant of CQ 18 for the new AQ build? Even --CRF 22 gives out a pretty high bitrate

Sharktooth
13th February 2008, 18:39
it's source dependant.
however you can disble aq by adding --aq-strenght 0

or

you can tweak the strength and/or sensitivity

Carpo
13th February 2008, 20:33
is anyone else getting the error - you seem to be running vista can i ask you to update your .net - after installing vista sp1 ?

and its not from an illegal source, i got it from connect :)

AB3M@n
14th February 2008, 01:48
Hello.

I have been using MEgui fro x264 conversions for atleast a month now and everything has been perfect untill one time the AVS creator couldn't analyse an avi I had. So I manually put in the settings and it converted. SO I think ok it must of been ion error in the AVI. Now today when I want to convert something the analyse button makes megui completly hang and megui hangs when importing an AVS. I have reinstalled megui, AVS and CCCP. ANy help here please?

Sharktooth
14th February 2008, 13:51
@carpo: uninstall .net 3.5 and reinstall it.
crappy Vista SP1 is screwing a lot of stuff, even drivers...

I have been using MEgui fro x264 conversions for atleast a month now and everything has been perfect untill one time the AVS creator couldn't analyse an avi I had. So I manually put in the settings and it converted. SO I think ok it must of been ion error in the AVI. Now today when I want to convert something the analyse button makes megui completly hang and megui hangs when importing an AVS. I have reinstalled megui, AVS and CCCP. ANy help here please?
more details are welcome...

Carpo
14th February 2008, 20:07
it only did it twice and now its not doing it :) cant say i have been having any issues with it, in fact the system seems faster - was hitting 99fps last night on an encode - so im happy

AB3M@n
15th February 2008, 15:31
@carpo: uninstall .net 3.5 and reinstall it.
crappy Vista SP1 is screwing a lot of stuff, even drivers...


more details are welcome...

Nvm...I solved my problem. The Avi I created had errors in it (Computer problems...:()

vassie
17th February 2008, 18:51
I have uninstalled and reinstalled .net 3.5 about 10 times now, and I am still being prompted to upgrade .net on my Vista SP1 machine.

Knuffi
17th February 2008, 18:59
Just a guess ... look at the "ProgramData" folder on your system HD (it's a hidden folder by default). Check the rights to it by right clicking it an choosing the properties. Under security there should be some entries about who has which rights to access the folder. In my case there were no entries. I put some in (Admin, system, ...) and the next time I tried to install, it worked. I found that problem in connection to another tool (nhancer).
Please ask someone (here on the forum or elsewhere), which groups should have which rights on that folder (I did just a guess ...)!

vassie
17th February 2008, 19:43
Just a guess ... look at the "ProgramData" folder on your system HD (it's a hidden folder by default). Check the rights to it by right clicking it an choosing the properties. Under security there should be some entries about who has which rights to access the folder. In my case there were no entries. I put some in (Admin, system, ...) and the next time I tried to install, it worked. I found that problem in connection to another tool (nhancer).
Please ask someone (here on the forum or elsewhere), which groups should have which rights on that folder (I did just a guess ...)!

I have checked the permissions on that folder and they are fine, I guess this is a bug in MeGUI?

rebkell
17th February 2008, 20:46
I have checked the permissions on that folder and they are fine, I guess this is a bug in MeGUI?

I haven't read all of this conversation, but are you running megui as Administrator? I got the same prompts over and over until I always started megui as Administrator.

Carpo
18th February 2008, 10:07
@carpo: uninstall .net 3.5 and reinstall it.
crappy Vista SP1 is screwing a lot of stuff, even drivers...


more details are welcome...

did that still asking me to update .net

rack04
20th February 2008, 05:39
This is going to be a terrible explanation but I'm going to try my best. I'm unable to encode using X264 or XVID. I get an error immediately when the encode starts but there is not an error output in the log. SNOW and LMP4 both work, not that I use them but for testing purposes they both work. Here is the script I'm trying to encode:

# Set DAR in encoder to 12187 : 5000. The following line is for automatic signalling
global MeGUI_darx = 12187
global MeGUI_dary = 5000
DGDecode_mpeg2source("E:\Harry Potter\VTS_01_1.d2v",info=3)
ColorMatrix(hints=true)
#deinterlace
crop( 2, 58, 0, -64)
Spline36Resize(720,352)
RemoveGrain(mode=2)

Script plays fine in MPC HC. It's not just this script its any script will crash X264 and XVID. I just don't understand what could be causing this problem. I have completely uninstalled and reinstalled MeGUI and AviSynth.

I am using the following:

[Information] Version information
-[NoImage] MeGUI Version : 0.3.0.1004
-[NoImage] OS : Microsoft Windows XP Professional Service Pack 2
-[NoImage] Framework used : 2.0 SP1

rack04
20th February 2008, 13:32
This is going to be a terrible explanation but I'm going to try my best. I'm unable to encode using X264 or XVID. I get an error immediately when the encode starts but there is not an error output in the log. SNOW and LMP4 both work, not that I use them but for testing purposes they both work. Here is the script I'm trying to encode:

I am using the following:

[Information] Version information
-[NoImage] MeGUI Version : 0.3.0.1004
-[NoImage] OS : Microsoft Windows XP Professional Service Pack 2
-[NoImage] Framework used : 2.0 SP1

Well I think I have this solved. I deleted all plugins in the plugin directory and it works. I think it was a conflict with AviSynth.dll in the plugin folder.

Carpo
20th February 2008, 14:14
is a 64bit OS an option now with megui and all associated tools or is it still very much 32bit, i would like to go 64bit but need to know if all the programs i will use will work on there

rebkell
20th February 2008, 14:52
Well I think I have this solved. I deleted all plugins in the plugin directory and it works. I think it was a conflict with AviSynth.dll in the plugin folder.

You deleted all the .dll files in the Avisynth 2.5/plugins folder? Surely, that's not what you're saying, but I'm not understanding what you deleted.

rack04
20th February 2008, 14:59
You deleted all the .dll files in the Avisynth 2.5/plugins folder? Surely, that's not what you're saying, but I'm not understanding what you deleted.

That is correct. I deleted the .dll's and downloaded them using the MeGUI auto update.

rebkell
20th February 2008, 15:06
That is correct. I deleted the .dll's and downloaded them using the MeGUI auto update.

OK, I didn't realize that megui would update all the avisynth dlls on it's own.

I can't get DirectShowSource to work with mkv/mp4/x264 source files to encode to xvid, I wonder if that might work for me.

rack04
20th February 2008, 15:14
OK, I didn't realize that megui would update all the avisynth dlls on it's own.

It won't. I modified the autoupdate.xml to force the update.

rack04
22nd February 2008, 13:21
I have two OTA HD recordings that I wish to encode using MeGUI but for some reason the source can not be detected using the analyze in the AviSynth Script Creator. What can I post so that someone can help me figure out what deinterlace settings to use?

EDIT: Forgot to mention that these files are 720p @ 59.94fps.

mroz
22nd February 2008, 14:59
Assuming it isn't mixed, just find a clip with lots of motion & step through it using something like VDub (anything that will show the content of each frame without applying lots of processing to it first), a frame at a time. Look for frames which have combing around movement & for 20 or so consecutive frames post whether they show any significant interlacing or seem to be progressive.

The resulting pattern tells you all you need to know in most cases (excluding rare horrid messes).

For example, if every frame is interlaced, you need to deinterlace; yadif is nice imho.

OTOH if you had a pattern of iipppiippp... this would be typical for film that had been hard telecined to ntsc frame rates & so would need ivtc

I'm not sure what patterns are typical for 720p, as it's been a while since I touched any. Iirc I think I've seen iiiipppppp, where every other frame is a duplicate, so keep an eye out for duplicate frames too & report on that.

Or just put a short clip up on some file sharing site.

rack04
22nd February 2008, 15:10
Assuming it isn't mixed, just find a clip with lots of motion & step through it using something like VDub (anything that will show the content of each frame without applying lots of processing to it first), a frame at a time. Look for frames which have combing around movement & for 20 or so consecutive frames post whether they show any significant interlacing or seem to be progressive.

The resulting pattern tells you all you need to know in most cases (excluding rare horrid messes).

For example, if every frame is interlaced, you need to deinterlace; yadif is nice imho.

OTOH if you had a pattern of iiippiiipp... this would be typical for film that had been hard telecined to ntsc frame rates & so would need ivtc

I'm not sure what patterns are typical for 720p, as it's been a while since I touched any. Iirc I think I've seen iiiiiipppp, where every other frame is a duplicate, so keep an eye out for duplicate frames too & report on that.

Or just put a short clip up on some file sharing site.

How much of a clip do you need and where is a good place to host the file?

mroz
22nd February 2008, 15:26
How much of a clip do you need and where is a good place to host the file?

See http://forum.doom9.org/showthread.php?t=130290

A few suitable seconds would do, but 10 to 30s would be nice. Just make sure it's from a well lit section with lots of motion - not inside a dungeon with the lights out.

rack04
22nd February 2008, 15:44
See http://forum.doom9.org/showthread.php?t=130290

A few suitable seconds would do, but 10 to 30s would be nice. Just make sure it's from a well lit section with lots of motion - not inside a dungeon with the lights out.

I'll post something when I get off of work. Since the files in question are Lost and Eli Stone I doubt there will be alot of motion. :)

rack04
22nd February 2008, 19:11
Here (http://www.mediafire.com/?2eiozmlx8xy) is a sample 720p OTA HD MPEG2 clip. Using the analyze function of MeGUI's AviSynth Creator I get source not detected. Could someone analyze the source and tell me how to convert the 59.94 framerate to 23.976? Thanks.

mroz
22nd February 2008, 20:32
rack4: no interlacing, just lots of duplicated frames. The source you want to recover is the sequence abcdef... The material you have presents as aabbbccdddeefff...

So, the pattern repeats with a length of five. From each such block of five frames you want to throw three away.

In Megui>AVISynthScriptCreator>Filters, set source as M-in-5 Decimation Required & set M as 3. You can now set the 'deinterlace option' to Tritical Decimate.

If you look at the resulting AVISynthScript you should see the line:
TDecimate(cycleR=3)
Just before any cropping or resizing is done. That's doing the job for you. Preview the script to make sure before encoding.

rebkell
22nd February 2008, 20:47
rack4: no interlacing, just lots of duplicated frames. The source you want to recover is the sequence abcdef... The material you have presents as aabbbccdddeefff...

So, the pattern repeats with a length of five. From each such block of five frames you want to throw three away.

In Megui>AVISynthScriptCreator>Filters, set source as M-in-5 Decimation Required & set M as 3. You can now set the 'deinterlace option' to Tritical Decimate.

If you look at the resulting AVISynthScript you should see the line:
TDecimate(cycleR=3)
Just before any cropping or resizing is done. That's doing the job for you. Preview the script to make sure before encoding.

there is one weird stretch in the clip, from frames 396-408, it's typical LOST, they always seem to have some weird stretches that just don't make any sense. I've been using TDecimate(CycleR=3) for all the new episodes this year and for the most part they have looked pretty good, we've (Plugh and I) discussed these weird cadences before.

mroz
22nd February 2008, 21:12
/gets files back out of bin

Oh yes, so there is. Ignorable I assume, but still, it would be interesting to know what processing led to that.

shadesters
24th February 2008, 03:27
Hi all, I recently got a movie in MKV and I am trying to re-encode it in divx format... I start the encode and everything is running fine... I have a quad core, and I set it to 3 threads but it only uses 50% CPU... anyways, thats not my problem... 20 mins into an encode my monitor goes blank and I cant restore it... I tried turning screensaver off, and nothing works... computer is still on, I think it may have crashed or something... tried multiple times, still nothing... No overheating, so I doubt its any hardware problems... This is since the newest version... any help would be appreciated

tomos
25th February 2008, 00:34
did that still asking me to update .net

same here. on 2 diff pc;s running vista 64. 1 with and 1 without SP1

Bitowzky
26th February 2008, 19:43
nvm delete this post

ricardo.santos
26th February 2008, 22:30
Hi everyone, im trying to convert some videos with Megui but it doesnt convert the audio when nero audio codec is selected, says "error".

I remember that nero audio encoder doesnt get downloaded in the updates, ive instaled nero on:

C:\Programas\megui\tools\ndaac

can anyone help?
Thanks

rack04
26th February 2008, 22:31
Hi everyone, im trying to convert some videos with Megui but it doesnt convert the audio when nero audio codec is selected, says "error".

I remember that nero audio encoder doesnt get downloaded in the updates, ive instaled nero on:

C:\Programas\megui\tools\ndaac

can anyone help?
Thanks

Do you have the path set in MeGUI setting?

ricardo.santos
27th February 2008, 00:33
still not working...
C:\Programas\megui\tools\ndaac\neroAacEnc_SSE

http://img84.imageshack.us/img84/1215/megui01zs8.jpg (http://imageshack.us)

http://img292.imageshack.us/img292/4789/megui02qy6.jpg (http://imageshack.us)

http://img292.imageshack.us/img292/1593/megui03wu6.jpg (http://imageshack.us)

rack04
27th February 2008, 00:36
still not working...
C:\Programas\megui\tools\ndaac\neroAacEnc_SSE

Try using the non SSE version. Also look at the log and see what the error is.

ricardo.santos
27th February 2008, 00:41
MeGUI Version: 0.2.6.1044
OS used: Microsoft Windows XP Professional Service Pack 2
Framework used: 2.0 SP1
------------------------------------------------------

Generating jobs. Desired size: 2 MB

Desired size of this job series: 2 MB
Split size of this job series: N/A

Looking for job processor for job...

Processor found!



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


Starting job job5 at 23:59:34

Starting preprocessing of job...

Preprocessing finished!

successfully started encoding

Processing ended at 23:59:34

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

Log for job job5



Error:

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

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

using the normal nero version returns the same error

Ranguvar
27th February 2008, 00:53
Yeah, I noticed this bug a while back. MeGUI does not work with the optimized NeroAacEnc, for some odd reason. Just forgot to report :p