View Full Version : MeGUI Bug-Report Thread
max-holz
3rd February 2006, 11:30
I don't see what your problem is:
-you are targetting 1400MBs
-you are 1/4 of the way through your encode, and you have roughly 1/4 of 1400MBs already (1400 / 4 = 350MB = 358400KB).
What's the problem?
Yes but without count the audio file size that's 98465 KB
berrinam
3rd February 2006, 11:35
Yes but without count the audio file size that's 98465 KB
So, assuming audio and overhead mean that you can only have about 1300MB of video, then 1300MB / 4 = 325MB = 332800 KB
The difference between that and your actual value for 24% of the film is only about 7% of the current filesize.... I think you are forgetting to take into account that this is variable bitrate, so perhaps the first quarter of the film is on average less compressible than the last three quarters.
I think making this claim before you've even finished encoding and found out whether it was correct is a bit premature....
Doom9
3rd February 2006, 11:52
And while we're at it, be careful with the estimated size and remaining encoding time.. those are linear approximation. But video encoding is never really linear, speed varies in function of complexity of a scene, and so does bitrate.. so these values will fluctuate somewhat until the end. Those that have been staring at the VDub's (that's where I got the idea from) progress dialog know that these values tend to change until the end.. and up until the very last few seconds, your predicted size can actually be too small or too large. So you can make a call once encoding has been completed.
cmw
3rd February 2006, 13:21
Ok, about the NAAC problem.
I did some thourough testing. NAAC + BeSweet does work, but the resulting mp4 file will force Haali to claim "first byte is not EBML". The file plays fine in VLC though... A FAAC + AviSynth file does not produce this error, but FAAC + BeSweet will also cause teh "first byte is not EBML message" *gets confused*. I also tried to use the CLI Program, it gives me a similar error as the MeGUI log.
C:\Dokumente und Einstellungen\Chaos Raven>C:\Programme\Rippen\neroraw\neroraw.e
xe -i josef.ac3 -o josef.aac
System.ApplicationException: Error configuring bsn 1
at MeGUI.NeroRawAacEncoder.Main(String[] args)
For files:
I have a folder neroraw, with
neroraw.exe, 7kb, 0.0.2.1, 26.01.06
aac.dll, 840kb, 2.5.9.994, 25.09.05
aacenc32.dll, 4.2.0.27, 25.09.05
bsn.dll, no version, 05.07.04 Note: It is the bsn.dll from the same zip as neroraw as pointed to in the Guide.
MFC71.dll, 1.036 kb, 7.10.3077.0, 25.09.2005
NeroIPP.dll, 1.528 kb, 4.2.0.27, 25.09.2005
I also copied the NicAudio.dll and mpasource.dll to the AviSynth Plugin folder as mentioned.
My AviSynth version is 2.56
I copied MFC77.dll and NeroIPP.dll to system32 folder. The MFC71.dll was already there, but it was a version from 2003, i decided to overwrite it with the new version.
About the source detection problem:
Ah yeah sorry, I mixed that up. d2v interlace detection works, it just won't work for my DV input. I think it has something to do with a problem that maybe MeGui cannot decode the DV stream correctly (allthough i get a good preview).
dimzon
3rd February 2006, 13:38
@cmw
please, compess your neroraw folder and place it @ mytempdir.com
STOP!
Seems like i found a problem!
Try to use mp4 or m4a output file extension when you encoding via FAAC or NAAC (both via BeSweet and AviSynth)
cmw
3rd February 2006, 14:05
Umm, FAAC + AviSynth produces mp4 file (as mentioned, this works perfectly fine).
FAAC + BeSweet and NAAC + BeSweet produce mp4 files aswell. I've found out something new:
FAAC + BeSweet actually works. I forgot to check "source is multichannel", because if it is, and i do not check it, i will get the above mentioned error "first byte is not ebml" (but file plays in VLC). It works perfectly fine for stereo sources aswell
NAAC + BeSweet works with stereo sources. It will also output a file, when the input is multichannel and i do not check "source is multichannel". The result will be the known "first byte is not ebml". If I check it however, BeSweet will crash with "error configuring bsn".
So to summarize this confusion:
FAAC + AviSynth = works
NAAC + AviSynth = error
FAAC + BeSweet = works, when "Source is Multichannel" is properly checked if needed
NAAC + BeSweet = works, but not with multichannel
I have uploaded my compressed neroraw folder to:
http://cmw.cybton.com/neroraw.rar
Note: I've noticed that dooms Nero 7 dll versions are different than mine. I don't know what's going on, this version came with my Laptop and it's supposed to be Deluxe Version or sth, i don't know exactly. I didn't want to install it, so I just ran setup routine and copied the needed dll's from temp files and then cancelled setup. But it still should work without nero being installed.
Btw: I just noticed, d2v interlace analysis does work (sorry, I'm stupid). Leaves just the problem that it won't work with DV Video...
best regards, gmw
dimzon
3rd February 2006, 14:33
@cmw
Your bug is reproduced ;) You are using buggy aacenc32.dll version (from very early Nero7 release).
Try fresh Nero7 - it will work.
cmw
3rd February 2006, 15:08
Ok thank you, I'll see what I can do with my license.
Remains just the deinterlace problem.
I've tested now with interlaced files. With interlaced xvid, mpeg and d2v source, the analysis will work.. So there must be a SPECIFIC problem with DV Video (at least with PAL DV Video). As mentioned above, my best guess would be that there some DV-Codec related problem. Maybe similar to the cause why VirtualDub cannot open DV Video....
best regards, cmw
dimzon
3rd February 2006, 15:17
Ok thank you, I'll see what I can do with my license.
Check this: http://www.hydrogenaudio.org/forums/lofiversion/index.php/t39689.html http://www.hydrogenaudio.org/forums/index.php?showtopic=39673
This encoder is published by Nero itself for listening tests ;)
cmw
3rd February 2006, 15:27
It works now! Thank you very much!
Umm, lil sidenote, although I'm going to use AviSynth transcode, I tested it with BeSweet again and BeSweet will still crash with a multichannel source if "Source is Multichannel" is checked (with NAAC). But this is most probably not aacenc's fault...
dimzon
3rd February 2006, 15:29
It works now! Thank you very much!
berrinam, please note @ your guide that aacenc32.dll, v4.2.0.27 is not supported version.
Doom9
3rd February 2006, 15:40
I tested it with BeSweet again and BeSweet will still crash with a multichannel source if "Source is Multichannel" is checkedMake sure you only select that option if your source is really multichannel. Then run the besweet commandline from a command prompt to see if you can get any more crash details.. it sounds doubtful though. You realize you also need another bsn.dll for besweet.. the default one doesn't work with Nero6 afaik (you can find all the dirty details on the different Nero versions in the audio forum).
Maybe similar to the cause why VirtualDub cannot open DV Video....Hmm.. so you can't open these AVIs in VDub either? How does your script look in this case? And what DV codec are you using and could you post a sample of your AVI?
dimzon
3rd February 2006, 16:00
the default one doesn't work with Nero6 afaik
Wrong. Default bsn does work with both Nero7/Nero6. Just one exception - you will get improper channel mapping using bsn.dll for Nero7. In this case I wrote special workaround - bse_nero7wa.dll to be used via -dimzon besweet switch. Get this dll @ BeLight package if you need it
cmw
3rd February 2006, 16:28
Ah i have to correct this, I just downloaded the most recent version and the Video will load into Virtual Dub because either of ffdshow which can decode DV Video and even if i disable it, The "FourCC" will be "Internal DV Decoder" (must be new to VirtualDub because it was never able to load a DV Video unless you installed some DV Decoder (preferably Panasonic DV because it was the only freeware).
This seems messed up though, because ffdshow CAN handle DV (and therefore should MeGUI) and it also does load into the preview, it just can't handle the Deinterlace analasys and i don't see why.
You'll find uploaded piece of video at: http://cmw.cybton.com/test.rar This is just a 4 sec sample but it's 14MB, sorry for inconvenience.
Hmm, BeSweet will also crash on CLI of course, it just says error configuring bsn, but then I guess it's the problem you mentioned with the different versions, and since i'm not gonna use it and as I heard you will purge BeSweet support anyway, i don't really care now that NAAC works^^
Doom9
3rd February 2006, 17:30
@cmw: I'm just running an encoding session with NAAC via Besweet and "source is multichannel" checked.. it seems to be working out just fine.
cmw
3rd February 2006, 18:28
It works now for me aswell, I had to copy all the files (including MFC71 and NeroIPP, not just the encoder dll's) to BeSweet directory xD.
However, NAAC + BeSweet messes up channel mapping as dimzon said. (NAAC + AviSynth channel mapping is right).
Any luck with the interlaced DV?
FooFighter007
3rd February 2006, 18:45
Hi, I really love MeGUI!
I came accross some problems with the crop dialog in AviSynnth script generator. If someone has already posted this, simply ignore my posting :)
If I missunderstood the workflow, please point me in the right direction!
Plattform:
Windows XP Pro SP2 (German)
MeGUI 0.2.3.2062 -> compile.bat full
DGIndex 1.4.5
My workflow in AviSynth script generator
- open the d2v and get a Video Preview
- press Crop Dialog and get an additional Video Preview with cropping capabilities and ok and cancel button.
- press Auto Crop and the crop markers are set quite well
- press ok -> nothing happens
- press cancel -> nothing happens
- close the windows by top right X - crop settings get lost
I thought pressing ok would close the windows and put the values into the fittings fields in the Resolution Crop area.
Regards,
Foo
dimzon
3rd February 2006, 18:49
- open the d2v and get a Video Preview
- press Crop Dialog and get an additional Video Preview with cropping capabilities and ok and cancel button.
- press Auto Crop and the crop markers are set quite well
- press ok -> nothing happens
- press cancel -> nothing happens
- close the windows by top right X - crop settings get lost
:D
Crop Dialog is incomplete (i still waiting desicion from Doom9).
Right actions are to use crop controls placed on Script Generator window (near Crop Dialog button) instead of using Crop Dialog
By the way - what does you think is more comfortable for you - to use crop dialog or to use crop cpntrols placed on Script generator window
FooFighter007
3rd February 2006, 19:01
Thank you for the info! :)
I always use the controls placed on the Script Generator window and they have fullfilled my needs completely.
The crop dialog might help if the borders are not detected properly what actually has never happend to me during the last 10 DVDs.
I just pressed the Crop Dialog button as it was there :)
Regards,
Foo
P.S. Haveing two video previews open might be a bit irritating. If Crop Dialog is pressed the other windows should be closed.
foxyshadis
3rd February 2006, 21:27
ps, since it's the topic, horizontal cropping should use horizontal spinners. (Haven't seen the latest, maybe they do.) Vertical spinners make little sense in this instance.
Doom9
3rd February 2006, 21:40
The crop dialog might help if the borders are not detected properly what actually has never happend to me during the last 10 DVDs.Not really.. it's much easier to see what you get if the parts that are cropped effectively disappear from the screen.. if you feel auto-crop goes wrong you can always reduce the amount of cropping.
ps, since it's the topic, horizontal cropping should use horizontal spinners.not really bug, is it? I think the placement is enough.. I don't really see an advantage to making any changes in that department.
FooFighter007
3rd February 2006, 22:11
so are there any needs to stick to the Crop Dialog button then?
as value changes take immediate effect on the preview window fine tuning can be done in the standard AviSynth script generator.
Regards,
Foo
max-holz
5th February 2006, 08:56
I have done my first try to encode audio via avisynth this is result:
Starting job job1 at 8.51.13
Job is an audio job. Commandline:
-core( -input "C:\Scambio\Elaborazione Video\Nulla\VTS_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 8ms.AC3" -output "C:\Scambio\Elaborazione Video\Nulla\VTS_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 8ms.mp4" -logfile "C:\Scambio\Elaborazione Video\Nulla\VTS_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 8ms.besweet.log" ) -azid( -s stereo -c normal -L -3db ) -bsn( -2ch -vbr_transcoding -codecquality_high -aacprofile_he ) -ota( -d 8 -g max )
successfully started encoding
Processing ended at 8.51.16
----------------------------------------------------------------------------------------------------------
Log for job job1
Error:
MeGUI.AviSynthException: Script error: there is no function named "NicAc3Source"
at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
at MeGUI.AviSynthAudioEncoder.encode()
this is result trying with force via direct show option
The current job contains errors. Skipping chained jobs
Starting job job1 at 8.56.31
Job is an audio job. Commandline:
-core( -input "C:\Scambio\Elaborazione Video\Nulla\VTS_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 8ms.AC3" -output "C:\Scambio\Elaborazione Video\Nulla\VTS_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 8ms.mp4" -logfile "C:\Scambio\Elaborazione Video\Nulla\VTS_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 8ms.besweet.log" ) -azid( -s stereo -c normal -L -3db ) -bsn( -2ch -vbr_transcoding -codecquality_high -aacprofile_he ) -ota( -d 8 -g max )
successfully started encoding
Processing ended at 8.59.14
----------------------------------------------------------------------------------------------------------
Log for job job1
Channels=2, BitsPerSample=16, SampleRate=48000Hz
C:\Programmi\x264\neroraw.exe -o "C:\Scambio\Elaborazione Video\Nulla\VTS_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 8ms.mp4" -rr 48000 -rb 16 -rc 2 -vbr_transcoding -codecquality_high -aacprofile_he Error:
System.ApplicationException: Abnormal encoder termination -1
at MeGUI.AviSynthAudioEncoder.encode()System.DllNotFoundException: Unable to load DLL 'bsn.dll': Impossibile trovare il modulo specificato. (Exception from HRESULT: 0x8007007E)
at MeGUI.NeroRawAacEncoder.BSN_Init(Int32& nSampleRate, Int32 nChannelsCount, String sOutFileName, Int32 nBitsPerSample, Int32 nShowDialog, String path, String[] argv, Int32 argc)
at MeGUI.NeroRawAacEncoder.Main(String[] args) in C:\MeGUI\Source-Cvs\MeGUI-src.CVS\neroraw\neroraw.cs:line 111
Version is 2063.
berrinam
5th February 2006, 09:09
I have done my first try to encode audio via avisynth this is result:C'mon, remember rule 1: read before posting.
You clearly haven't read the MeGUI guide, which is a sticky in this forum. It lists all the dlls that are needed for AviSynth encoding, it tells you where to put them, and it links to them, so you should have no problem finding them. Obviously from your two error messages, it is clear that you haven't set up bsn.dll in the right place, and you haven't put nicaudio.dll in your avisynth plugins folder.
berrinam
5th February 2006, 09:19
So as you said no PAR support in the CVS based compile, and -closed_gop is available, so this one should work well with MeGUI if I understood right.
If it's ok with you, I'm linking the MeGUI guide to your attachment, assuming that it works in my test. Thanks for posting it, and please tell me if you want me to remove my link.
max-holz
5th February 2006, 09:48
C'mon, remember rule 1: read before posting.
You clearly haven't read the MeGUI guide, which is a sticky in this forum. It lists all the dlls that are needed for AviSynth encoding, it tells you where to put them, and it links to them, so you should have no problem finding them. Obviously from your two error messages, it is clear that you haven't set up bsn.dll in the right place, and you haven't put nicaudio.dll in your avisynth plugins folder.
Yes I correct my error. Berriman is there any known bug using NAAC with a 2 channels source?
berrinam
5th February 2006, 11:30
Not that I'm aware of. I try to keep the known bugs list at the beginning of this thread up-to-date, but I miss out on some things. However, I haven't seen anything about NAAC+2channels.
nurbs
5th February 2006, 12:46
Yes I correct my error. Berriman is there any known bug using NAAC with a 2 channels source?
There is a bug if you encode LC with less than 128 kbps. The bug has nothing to do with MeGUI.
http://www.hydrogenaudio.org/forums/index.php?showtopic=40974
Turd_Ferguson
5th February 2006, 12:47
ok, in the D2V Creator of MeGUI, i select a .vob file to create the .d2v file, and i check "on completion load file" box. I hit the Queue button, go to the Queue tab of MeGUI, and there is my job waiting. there i hit start, and after a minute, the Avisynth script generator window opens with a video preview window next to it. the video input file path is already completed for me, so i only adjust the resolution to 320x240, and check "on save close and load to be encoded" box. i then click save. next i have the MeGUI Input tab selected and have the fields for video already filled in. if i check "add pre-rendering job", i get errors about my avisynth script, so i leave it unchecked. i click Autoencode, and the Automatic Encoding window opens, where i leave muxed output alone, and select the "no target size" button, and click Queue. i then click on the queue tab and see my jobs waiting. i click start, and instantly, the video encoding is shown as done, and i am left with a .mp4 file that is 0kB in size. i can repeat this process with another, much smaller .vob file from the same DVD, and everything works. i can not get the video encoding to work on any other .vob file so far.
i have attached both the working and failing MeGUI logs.
i am using sharktooth's PD-iPod profile, in MeGUI 0.2.3.2063. this is the script for both projects:
LoadPlugin("C:\ipod\dgmpgdec146\dgdecode.dll")
mpeg2source("C:\THE_OFFICE\VIDEO_TS\New Folder\VTS_03_1.d2v")
#blank deinterlace line
#crop
LanczosResize(320,240)
#denoise
please help!
Doom9
5th February 2006, 13:15
i have attached both the working and failing MeGUI logs.Please run the failing commandline manually.
Before you ask how to do that, read the reporting guidelines again.. I just put the instructions there.
cmw
5th February 2006, 16:23
Hi there, new problem ;)
I've set up the One Click Encoder according to the Guide. When I click go I get the error Message:
"The following error occured when parsing the info file: Empty path name is not legal".
However I can't figure out where I would have an "emtpy" path, except for chapter file selection oO
Edit: The Job gets listed in the Queue though and umm.. it works... but why the error?
best regards, cmw
Doom9
5th February 2006, 16:28
@cmw: ask yourself, with the info given, can anybody reproduce this?
To those that have reported shutdown not working: have a look at your logs.. megui will write a message to the log if it tries to shut down but it doesn't work out.
cmw
5th February 2006, 16:36
No, I don't mean shutdown. It's just the One Click Encoder. I set up a One Click Encoder Profile, then start the one click Encoder, Load a .vob file, it complains it has no DVDDecryptor info, so I select Track 1 and 2, set filesize, check all settings (everythings fine) and then click "Go". At this moment, the error messagea appears: "The following error occured when parsing the info file: Empty path name is not legal".
I can close the window then and go to the Queue tab, where the job is listed (idx). I can click encode and EVERYTHING works.
It's just why does this error occur?
MeGUI Version is 0.2.3.2062 1 Feb 2006
There is no log entry, since it's just about adding a job to the queue.
pcaca
5th February 2006, 21:23
I have Windows XP x64 (I compiled MeGUI by myself for x86 platform) and everyrhing works except Nero encoding via AviSynth. FAAC and Lame encoding via AviSynth works as it should but NAAC doesn't work. The log file is:
Starting job job1 at 21:02:17
Job is an audio job. Commandline:
-core( -input "D:\My Documents\Sat Recordings\20060201_2340 MTV 5.mp2" -output "D:\My Documents\Sat Recordings\20060201_2340 MTV 5.mp4" -logfile "D:\My Documents\Sat Recordings\20060201_2340 MTV 5.besweet.log" ) -bsn( -2ch -cbr 128 ) -ota( -g max )
successfully started encoding
Processing ended at 21:02:20
----------------------------------------------------------------------------------------------------------
Log for job job1
Channels=2, BitsPerSample=16, SampleRate=48000Hz
D:\Program Files\MeGUI\neroraw.exe -o "D:\My Documents\Sat Recordings\20060201_2340 MTV 5.mp4" -rr 48000 -rb 16 -rc 2 -cbr 128 Error:
System.IO.IOException: The pipe has been ended.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
at MeGUI.AviSynthAudioEncoder.encode()System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at MeGUI.NeroRawAacEncoder.BSN_Init(Int32& nSampleRate, Int32 nChannelsCount, String sOutFileName, Int32 nBitsPerSample, Int32 nShowDialog, String path, String[] argv, Int32 argc)
at MeGUI.NeroRawAacEncoder.Main(String[] args)
----------------------------------------------------------------------------------------------------------
The current job contains errors. Skipping chained jobs
I have all files as mentioned in MeGUI guide. I have tried with diferent versions of Nero AAC (Nero 7 oficial and experimental version from rarewares) but it doesn't work.
EDIT: Problem solved the error was in neroraw.exe i recompiled it with included bat file and /platform:x86 argument and it works. I don't know why it didn't work when i compiled it with VS and platform x86 option.
Turd_Ferguson
5th February 2006, 21:55
@Doom9
your instructions on my last post were very clear. i will run the command line and give the results as soon as i can.
ok, i just did an entire DVD sucsessfully, using One Click Encoder. it was a disk of episodes that were in 4:3 format, and they all playback in ipod fine. i have yet to get the x264 compression to work on a 16:9 DVD. has anyone else had these issues with the PD-iPod profile?
berrinam
5th February 2006, 22:00
It's just why does this error occur?
Yep, I confirm that it happens to me as well. It occurs because it is a remnant from a long time ago, when One Click Encoding was managed differently, and since most people probably either use DVDDecrypter or don't use One Click Encoding, it hasn't been reported yet. I've added it to the bug list.
ChronoCross
6th February 2006, 05:04
AviSynth Script creator is broken in 2064. It cannot be loaded from the gui.
AviSynthProfile prof = this.mainForm.Profiles.AvsProfiles[this.avsProfile.SelectedText]; ;
Visual Studio Reports it as a Key not found in dictionary error.
cmw
6th February 2006, 05:45
Ok, another report here. I'm sorry I haven't had the time to go though the entire thread and this might have been discussed before.
I also not consider it really a bug (indeed, this turned out EXTREMELY helpful today).
I haven't tried with different source types, but what I can say is that if I load a vob file into the OneClickEncoder, which has a Framerate of 29.xxxx (standard NTSC) and encode it with AVC (CE-Quicktime Profile) (I think XVID behaves the same, but I'm not sure, have to check when I have time), the resulting mp4 will have a framerate of 25fps. I have no clue how the transcoder does this, but it must be similar to Virtual Dub's "Convert to Framerate" (because the resulting Movie won't be longer than the original one, and Audio will be in Synch).
However, If i encode to raw stream, something ugly happens: The Framerate still turns out as 25 fps, but there are no frames dropped, resulting that a 37sec video will be 45sec afterwards (which of course leads to *some* issues ;) ).
This behaviour is also reproducable when doing a normal encode (not OneClick, just load d2v with 29fps into avs generator and convert to mp4 and then raw to see what happens).
Note (might be relevant or not, don't know): The vob's I used are the Dolby Cinematic Trailers (eg. Dolby Aurora, or Dolby Canyon). I downloaded them from CineLine or some similar site, so I didn't use DvdDecryptor, the files are just there on my HD.
As I mentionend, I've had no time to investigate this further, but ask me for any information you might need.
berrinam
6th February 2006, 05:56
I haven't tried with different source types, but what I can say is that if I load a vob file into the OneClickEncoder, which has a Framerate of 29.xxxx (standard NTSC) and encode it with AVC (CE-Quicktime Profile) (I think XVID behaves the same, but I'm not sure, have to check when I have time), the resulting mp4 will have a framerate of 25fps. I have no clue how the transcoder does this, but it must be similar to Virtual Dub's "Convert to Framerate" (because the resulting Movie won't be longer than the original one, and Audio will be in Synch).The One Click Encoder should do no such thing. The only conversion of framerate that I can imagine would happen is one of the two following:
You have a telecined film (29.97fps), which MeGUI IVTCs or Force Films, which results in a downconversion of the framerate to 23.976fps
There is a bug in MeGUI which causes it not to signal the framerate to the muxer. This would result in an audio desynch.
However, If i encode to raw stream, something ugly happens: The Framerate still turns out as 25 fps, but there are no frames dropped, resulting that a 37sec video will be 45sec afterwards (which of course leads to *some* issues ;) ). Not a MeGUI bug. I presume you don't mean the One Click Encoder, because I didn't think that you could encode to raw with it (it doesn't make sense having raw output in what is supposed to be a complete system). Obviously, if you have a raw file, it doesn't signal the fps, so the muxer doesn't know what it is. You must set the fps manually in the muxer (MeGUI gives a fps checkbox which must be filled in for raw video).
Avish
6th February 2006, 08:21
When i tried to open Avisynth Script Creater from tools menu, its giving me error...see the attached image.
Doom9
6th February 2006, 09:30
(CE-Quicktime Profile)I presume that means MP4 output (those details are important darnit).. the log would tell us more (once again it's missing.. I think I need an additional keyboard button that writes "post the log"). it's the mp4box commandline and especially the fps flag that would be important.. or lack thereof and seeing which encoder was used.. if input is mp4, mp4box should take the input fps so that would indicate a problem in x264's mp4 output (they are numberous I'm afraid and always keep on creeping up.. though it's not really x264's problem but gpac's), or combine that with an improper mux commandline.
@Avish: chronocross already reported that. However, perhaps I should've written in the notes that the build you're using is not meant for non developers.. it contains major internal changes and while I did try every form (at least I think I did), I don't have all kinds of profiles to test out.
ChronoCross
6th February 2006, 17:13
As a precaution until the refactoring is done, I will be marking my builds as stable or dev. Hopefully this will prevent some confusion onto whether or not people should use it as you have stated that they should be more for internal testing than full use.
netchris
6th February 2006, 19:26
Hi all.
I have this small prob. i couldnt find a solution for.
When i create a d2v file, and try to open it in Megui's avisynth script generator i get this error "DGindex reported 0 frames in this file. This is a fatal error. Please recreate the DGindex project". Creating new d2v files with options correct field order and force open gops in d2v file,(in DGindex) doesnt help either.
I think i have my system setup just fine (with DGDecode.dll @ avisynths plugin folder). So im clueless how to fix it.
Any help appreciated.
Im using DGIndex 1.4.6.
berrinam
7th February 2006, 12:26
When i create a d2v file, and try to open it in Megui's avisynth script generator i get this error "DGindex reported 0 frames in this file. This is a fatal error. Please recreate the DGindex project".This could be caused by quite a number of reasons... possibly a version mismatch between DGIndex.exe and DGDecode.dll?
@devs: I think that we could perhaps get more descriptive error messages for that situation if we used dimzon's Avisynthwrapper .... new DGDecode.dll's return very descriptive AviSynth error messages, and they could be much more useful to debug than the current one (as netchris quoted).
My own bug report: MeGUI 0.2.3.2066 flags jobs as done instead of error when there is an error. However, the job quere still stops.
cmw
7th February 2006, 12:48
I'm going to test out before-mentioned stuff now, but for starters:
You can not crop more than 200 pixels from each direction. Although this may not be necessary often, I don't see why. When using manual crop it won't let you enter a value above 200 and with Auto Crop there will come an error message that the Value xxx (something above 200) is supposed to be between Min and Max value.
Doom9
7th February 2006, 13:01
@cmw: what kind of content requires more than 200 pixels be cropped from one side?
cmw
7th February 2006, 13:27
Domm 9: The sample I was going to test.
Ok, here are the results. I have to explain a bit. I use a capured Video (AVI, Zipped Motion Block Codec) from DosBox as source. This file has 70 FPS! Although this has nothing to do with MeGui, this is a major problem, because apparently VMR7 Playback AND Overlay Playback are not able to render more fps than the vertical synch of the display is. This results in extreme dumb behaviour that from an 70fps movie, only 60 are rendered in one second and the remaining 10 are not dropped but appended to the nex second! This results that the movie plays slower than it should, but the sound does not adapt, so we have extreme audio/video desynch.
However, if I use Virtual Dub's "Convert to Framerate" --> Someting below 60, Playback will be in synch.
For more information on this topic, see:
http://vogons.zetafleet.com/viewtopic.php?t=11168
Well now for the bug reporting stuff: I loaded this 70 fps movie in the avisynchscript, cropped it, it's not interlaced.
For the cropping question: This is the Phantasmagoria Intro, the resolution of the games is 640x480, but when I set the videos to "Half", then they will only consume about 320x180 or sth like that and i would need to crop more than 200px to get rid of black borders, but that's not that important.
As encoding settings, I chose CE-Quicktime and as container .mp4.
Here is the log:
Starting job job1-1 at 12:49:41
Job is a video job. encoder commandline:
--pass 1 --bitrate 1000 --stats "C:\Programme\DOSBox-0.63\capture\test.stats" --no-cabac --subme 1 --analyse none --me dia --progress --no-psnr --output NUL "C:\Programme\DOSBox-0.63\capture\test.avs"
successfully started encoding
Processing ended at 12:54:01
----------------------------------------------------------------------------------------------------------
Log for job job1-1
avis [info]: 320x240 @ 70.01 fps (10828 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [info]: slice I:46 Avg QP:18.83 size: 16516
x264 [info]: slice P:10782 Avg QP:21.52 size: 1719
x264 [info]: mb I I16..4: 31.4% 0.0% 68.6%
x264 [info]: mb P I16..4: 2.5% 0.0% 0.0% P16..4: 48.2% 0.0% 0.0% 0.0% 0.0% skip:49.3%
x264 [info]: final ratefactor: 27.39
x264 [info]: kb/s:997.7
Actual bitrate after encoding without container overhead: 997.82
----------------------------------------------------------------------------------------------------------
job job1-1 has been processed. This job is linked to the next job: job1-2
Starting job job1-2 at 12:54:01
Job is a video job. encoder commandline:
--pass 2 --bitrate 1000 --stats "C:\Programme\DOSBox-0.63\capture\test.stats" --no-cabac --subme 6 --analyse p8x8,b8x8,i4x4,p4x4 --progress --no-psnr --output "C:\Programme\DOSBox-0.63\capture\test.mp4" "C:\Programme\DOSBox-0.63\capture\test.avs"
successfully started encoding
Processing ended at 12:59:03
----------------------------------------------------------------------------------------------------------
Log for job job1-2
avis [info]: 320x240 @ 70.01 fps (10828 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
mp4 [info]: initial delay 0 (scale 10000000)
x264 [info]: slice I:46 Avg QP:14.17 size: 23415
x264 [info]: slice P:10782 Avg QP:16.54 size: 1702
x264 [info]: mb I I16..4: 23.7% 0.0% 76.3%
x264 [info]: mb P I16..4: 0.3% 0.0% 1.5% P16..4: 17.6% 1.1% 2.1% 1.2% 1.5% skip:74.7%
x264 [info]: kb/s:1004.9
Actual bitrate after encoding without container overhead: 1005.04
desired video bitrate of this job: 1000 kbit/s - obtained video bitrate: 1007,47829964239 kbit/s
----------------------------------------------------------------------------------------------------------
Although it is multiple times mentioned that the file is 70fps, the resulting file WILL BE at least *declared* 25 fps. However, when I check with Windows Media Player (6.4, not Classic!), and press statistics, it states that the FPS is 25, but that the actual FPS are around 60! The Audio/Video will still be out of synch, exactly as in the original Capture File (so my former assumption that it does sth like Virtual Dub's Convert to FPS is not accurate, indeed, it seems to do nothing at all except declaring the file as 25fps).
Since the FPS of the file seem not to be really altered, the only bug in this case would be that e.g. a 35fps source will be declared as 25fps in the resulting output, but will still play back with 35 fps.
Here is a screenshot of the MP Statistics:
http://cmw.cybton.com/statsmp4.png
For XVID: I couldn't reproduce the behaviour. I set xvid to 1700 CBR and as Container AVI. The resulting output will have 70fps and playback with 60 (as ususal).
So in XVID a 35fps video would be declared as 35fps and would playback with 35fps.
Screenshot:
http://cmw.cybton.com/statsxvid.png
I hope this lifts the confusion a bit.
Edit: To clarify more, i made additional screenshots:
This is the stats from the Dolby Canyon Cinemeatik Trailer. It has 29 FPS (standard) NTSC.
When converted to AVC, it will be declared as 25fps but will still playback with 29.
http://cmw.cybton.com/dolbyavc.png
When converted to XVID, it will be correctly declared as 29 FPS and will playback with 29.
http://cmw.cybton.com/dolbyxvid.png
Edit 2: I also wonder what has happened to my interlacing problem with DV. Have you checked with the sample I provided? =)
Edit 3: Ah yeah, in case of question, my x264 version is Sharktooth's 408M.
mfg gmw
netchris
7th February 2006, 17:13
Thank you for your response berrinam.
I found the solution, for some reason the program paths were reset and had to realocate them.
Somebody please post a newer binary @ sourceforge :)
Doom9
7th February 2006, 18:43
Although it is multiple times mentioned that the file is 70fps, the resulting file WILL BE at least *declared* 25 fps.I see that you're using direct mp4 output. Your log shows no muxing, so am I correct in assuming that your experiments were done with a video-only mp4? (if not.. that's something you should not forget to mention). And if that assumption does not hold, then it's important to know that if fed with video containing mp4's, mp4box will use the input fps as its output fps.. so unless there's a muxjob with a wrong forced framerate, the problem seems to be located somewhere in gpac (be it x264's mp4 output or mp4box).
@devs: I think that we could perhaps get more descriptive error messages for that situation if we used dimzon's Avisynthwrapper Didn't one of dimzon's latest commits already take care of that (redirect calls to avswrapper instead of using interop via dgdecode to access the video). In fact, looking at the dev thread, he did: - Simplified d2vReader code (now it just forwards it's calls to AvsReader executed on Mpeg2Source(fileName) script)
ChronoCross
7th February 2006, 19:26
seems the Pre Render Checkbox does nothing. Not that it currently works(I'm almost positive now that it's a minGW problem). Just thought I'd let you know for future purposes.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.