PDA

View Full Version : Lost a few seconds


TorrentGuy
19th August 2007, 02:37
Hey,
I was trying to rip on a sample using MeGUI. When the video is completed, it is 0:02:48 whereas the audio and the .vob is 0:02:55 therefore the audio is out of sync. I am using MeGUI.
Please help as I want to do the full rip ASAP!!

TorrentGuy
19th August 2007, 21:16
~~BumP~~

Didée
19th August 2007, 22:38
02:55 @ 24 fps ~~ 02:48 @ 25 fps

YouDontKnowMe
22nd August 2007, 13:34
yeah man I dont know why but if I am encoding a 23,976fps file it always gets out with 25fps then I have to change it manually to 23,976 with avifps-changer but why is this so? why does megui force 25fps?..... anyways I have a problem aswell with meGUI it does not properly encode xvid I mean it just stops encoding I really dont know why.. but from time to time it just stops to encode... does anyone know why this is and how I do fix this? thanks in advance

I attached aviframeratechanger just try it... it works fine... but you have to change framerate first and then mux it together... have fun dude...

squid_80
22nd August 2007, 14:59
MeGUI has been using a dud version of xvid_encraw that always used 25fps for the output file. Sharktooth corrected this yesterday/today.

Sharktooth
22nd August 2007, 15:01
yeah, sorry for the delay. im quite busy.

YouDontKnowMe
22nd August 2007, 15:11
yeah thanks but my problen hasn't been corrected... I mean it does not stop always on the same frame... sometimes it works sometimes it stops @ 10% sometimes @ 50%... can anybody fix this plz?

Sharktooth
22nd August 2007, 15:35
it's quite weird. is your CPU overclocked and did you ever run memtest86 and prime95 for some hours?

YouDontKnowMe
22nd August 2007, 15:42
well my cpu is overlocked but the problem is on the xvid_encraw encoder because all other encoders does work #1 and when I encode xvid with vfw it does work smoothly aswell... and the problem is not on meGUI because x264 works fine (I dont use meGUI for x264, just batch, but it works fine) its just the xvid_encraw.exe ^^

Sharktooth
22nd August 2007, 15:44
uhm... i would do the tests...
would also suggest some stress tests like http://users.bigpond.net.au/cpuburn/

YouDontKnowMe
22nd August 2007, 16:05
I did run it for 15mins.... nothing everything works smooth :confused:

squid_80
22nd August 2007, 18:57
That cpuburn util's a bit weak - only single threaded so there's no way it's going to hit max temp on a dual or quad core. Better off running distributed.net or a BOINC project.

(BOINC cooks my Q6600 with an aftermarket heatsink like nothing else - temperature goes over 63 C after 2 minutes, and it's winter here!)

YouDontKnowMe
23rd August 2007, 01:50
I've got an singlecore so its okay for me what I need is a working build of xvid_encraw and not a cpu test tool.... my cpu is fine and works good any other tool and codec but not with xvid_encraw.. plz help meeee

[P]ako
23rd August 2007, 02:32
MeGUI has been using a dud version of xvid_encraw that always used 25fps for the output file. Sharktooth corrected this yesterday/today.

Weird. When I use xvid_encraw I get what I want. Then again, I use an avisynth script as an input.

As for the folks here that want to encode to xvid, there is always koepi's VFW Xvid and virtualdub(mod).

YouDontKnowMe
23rd August 2007, 16:18
I have an 4gb file (lossless>) which I open with avisource and encode first to x264 and then xvid because I like booth versions xvid for compatilty for hardware dvd players and x264 because of the good quallity and small filesize now everything runs smooth when I encode to x264 but If I start to encode with xvid_encraw (everything is the same. source, avs) then it stops in the first pass @ ~50%

Sharktooth
23rd August 2007, 16:47
something weird's happening.
did you update xvid_encraw with the latest auto-update?
if you did, please try to replace the xvidcore.dll in the megui\tools\xvid_encraw folder with the one in this archive: http://ffdshow.faireal.net/mirror/XviD/XviD-1.1.3.7z and then try encoding again

YouDontKnowMe
23rd August 2007, 22:43
dont work either... It stops encoding aswell...

woah!
23rd August 2007, 23:53
do a search for OCCT and run that for the default 30mins and see if your system is stable. i use this alot for testing my setups.

actually heres the link: http://www.ocbase.com/perestroika_en/

mitsubishi
24th August 2007, 15:19
I did run it for 15mins.... nothing everything works smooth :confused:

Your CPU may not be the problem here, but 15mins!?! What stress testing did you run when you were overclocking?

You should at some point run Prime95 (http://www.mersenne.org/freesoft.htm) torture test on blend for at least 12 hours before you can consider your system stable.

YouDontKnowMe
24th August 2007, 23:21
dont you understand or may I'm not capable to explain the problem ist JUST with meGUI when I encode xvid with it... the rest works fine... x264 should do at least the same stress to my CPU as xvid and I use the Insane Settings so one encode takes about 8,5h...

Warpman
25th August 2007, 00:17
could you try with this encraw and xvidcore.dll and see if the problem persists?
http://rapidshare.com/files/51089065/xvid_encraw_fullpack.rar.html

YouDontKnowMe
25th August 2007, 16:14
could you try with this encraw and xvidcore.dll and see if the problem persists?
http://rapidshare.com/files/51089065/xvid_encraw_fullpack.rar.html

problem persists :(

Warpman
25th August 2007, 20:51
you are feeding megui with an avs file right?
are u using directshowsource? what fps does info() display if u insert it at the end of your script?

YouDontKnowMe
25th August 2007, 22:29
its a 4,5gb big lossless file (704x464, avi, lagarith, 23.976fps no audio) I open it with avisource and lanczos4resize (downsize to 704,396) and the very same (just without the lanczos4resize) I encoded with x264 in insane profile and everything run smooth... so I the only thing that can be the problem is the xvid codec... and a few weeks ago I had no problems with it but after the update xvid does not work... -.-

Warpman
26th August 2007, 12:16
are you using one of meguis muxing features?
or encraw output to avi and add the audio with vdm or something?

YouDontKnowMe
26th August 2007, 17:24
yes I mux it myself with virtual dub mod...

squid_80
28th August 2007, 15:26
Without any logs it's a bit hard to tell, but you said you've only got a single core machine so I'm going to speculate that for some reason xvid is attempting to encode using multiple threads and somewhere along the line one of the threads is getting blocked (probably by a higher priority process). Make sure MeGUI is set to use 1 thread.

If you have really downgraded to 1.1.3 this won't be happening since it's not multithreaded, the logs would say if encraw is using xvidcore 1.1.3 or 1.2.0.

YouDontKnowMe
28th August 2007, 20:16
well here is my log... the problem is like this, I start the encode it encodes like the first 3000frames or something like that, then it stops and the encoding fps sinks until it reaches 0fps...

Looking for job processor for job...
Processor found!
Starting job job1-1 at 20:08:20
Starting preprocessing of job...
Preprocessing finished!
encoder commandline:
-i "C:\Dokumente und Einstellungen\XXX\Desktop\xvid.avs" -pass1 "C:\Dokumente und Einstellungen\XXX\Desktop\xvid.stats" -bitrate 1150 -kboost 100 -ostrength 7 -oimprove 7 -odegrade 7 -overhead 0 -max_key_interval 240 -nopacked -vhqmode 2 -closed_gop -imin 1 -pmin 1 -max_bframes 3 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -threads 1
successfully started encoding
Job aborted, deleting output file...Deletion failed.
Processing ended at 20:12:40
----------------------------------------------------------------------------------------------------------

Log for job job1-1

xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003


----------------------------------------------------------------------------------------------------------
The current job was aborted. Stopping queue mode
The current job contains errors. Skipping chained jobs

YouDontKnowMe
1st September 2007, 19:05
hey guys please help me... I dont know what to do... the 4gb lossless file is on my HDD and I cant delete it because I dont want to encode it one more time... please help me I would really aprecciate it..

[P]ako
1st September 2007, 20:46
Uninstall megui/Xvid with an application like Your Uninstaller! 2006, clean the register (there are several tools out there for this alone), reboot, install megui/Xvid and then try again. You may want to uninstall .NET 2.0 and reinstall it again, as well.

YouDontKnowMe
2nd September 2007, 11:21
hmm.... but you know that xvid_encraw is cli and megui is just a GUI which transformes the settings into the code and send this code to the codec which does the encoding... so I thing there shouldn't be a problem with it... or may I am wrong?

[P]ako
2nd September 2007, 15:44
A friend of mine couldn't encode when he updated MeGUI. Now, you don't necesarily have to encode with xvid_encraw, right? You can still use the VFW compiles by Koepi and encode with Virtualdub(mod).

Sharktooth
2nd September 2007, 16:03
encoder commandline:
-i "C:\Dokumente und Einstellungen\XXX\Desktop\xvid.avs" -pass1 "C:\Dokumente und Einstellungen\XXX\Desktop\xvid.stats" -bitrate 1150 -kboost 100 -ostrength 7 -oimprove 7 -odegrade 7 -overhead 0 -max_key_interval 240 -nopacked -vhqmode 2 -closed_gop -imin 1 -pmin 1 -max_bframes 3 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -threads 1
successfully started encoding
are you sure you have specified the path to xvid_encraw in the settings?

YouDontKnowMe
2nd September 2007, 22:34
well the encode does start and goes until 1st pass 50% (+/- 20%) and then it stops.... so yes the xvid_encraw path is in the settings elseway it wouldn't start encoding at all would it?

ako;1040024']A friend of mine couldn't encode when he updated MeGUI. Now, you don't necesarily have to encode with xvid_encraw, right? You can still use the VFW compiles by Koepi and encode with Virtualdub(mod).

yes I have to because its the only way to encode per cli... I hate vfw...

YouDontKnowMe
9th September 2007, 09:08
could anybody help me to "translate" my xvid_encraw settings in MeGUI to an CLI-batch so I can encode with Mencoder with nearly the same settings? Would

<?xml version="1.0"?>
<GenericProfileOfVideoCodecSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>My-Settings</Name>
<Settings xsi:type="xvidSettings">
<EncodingMode>4</EncodingMode>
<BitrateQuantizer>1150</BitrateQuantizer>
<KeyframeInterval>240</KeyframeInterval>
<NbBframes>3</NbBframes>
<MinQuantizer>1</MinQuantizer>
<MaxQuantizer>31</MaxQuantizer>
<Turbo>false</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>true</Trellis>
<CreditsQuantizer>12</CreditsQuantizer>
<FourCCs>
<string>XVID</string>
<string>DIVX</string>
<string>DX50</string>
<string>MP4V</string>
</FourCCs>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>0</FourCC>
<Zones />
<MaxNumberOfPasses>2</MaxNumberOfPasses>
<NbThreads>1</NbThreads>
<Quantizer>1150</Quantizer>
<MotionSearchPrecision>6</MotionSearchPrecision>
<VHQMode>2</VHQMode>
<QuantType>0</QuantType>
<MinPQuant>1</MinPQuant>
<MaxPQuant>31</MaxPQuant>
<MinBQuant>1</MinBQuant>
<MaxBQuant>31</MaxBQuant>
<BQuantRatio>162</BQuantRatio>
<BQuantOffset>0</BQuantOffset>
<KeyFrameBoost>100</KeyFrameBoost>
<KeyframeThreshold>1</KeyframeThreshold>
<KeyframeReduction>20</KeyframeReduction>
<OverflowControlStrength>7</OverflowControlStrength>
<MaxOverflowImprovement>7</MaxOverflowImprovement>
<MaxOverflowDegradation>7</MaxOverflowDegradation>
<HighBitrateDegradation>0</HighBitrateDegradation>
<LowBitrateImprovement>0</LowBitrateImprovement>
<ReactionDelayFactor>16</ReactionDelayFactor>
<AveragingPeriod>100</AveragingPeriod>
<FrameDropRatio>0</FrameDropRatio>
<RateControlBuffer>0</RateControlBuffer>
<VbvPeakRate>0</VbvPeakRate>
<VbvMaxRate>0</VbvMaxRate>
<VbvBuffer>0</VbvBuffer>
<PackedBitstream>false</PackedBitstream>
<GMC>false</GMC>
<ChromaMotion>true</ChromaMotion>
<ClosedGOP>true</ClosedGOP>
<VHQForBframes>true</VHQForBframes>
<AdaptiveQuant>false</AdaptiveQuant>
<Greyscale>false</Greyscale>
<Interlaced>false</Interlaced>
<BottomFieldFirst>true</BottomFieldFirst>
<LumiMasking>false</LumiMasking>
<BframeThreshold>0</BframeThreshold>
<CustomQuantizerMatrix>C:\Programme\megui\extra\eqm_v3ulr_rev3.xcm</CustomQuantizerMatrix>
</Settings>
</GenericProfileOfVideoCodecSettings>

thanks in advance....

foxyshadis
9th September 2007, 09:57
Open the config in megui, look at the bottom of the window, the full commandline will show up there. Your batch file just has to add the path to xvid_encraw and the input/output. Remember to run it twice, once for pass 1 and once for pass 2.

YouDontKnowMe
9th September 2007, 13:24
well you dont understand, right? my problem IS xvid_encraw because MeGUI works fine with the other codecs but it does not with xvid_encraw... so I think it's a bug or something like that in xvid_encraw... so I want to use mencoder... If I could get it to work again I would use it you know because its just easy and very cool... vfw sucks... but as long as this problem resists I want to use mencoder because it works fine :P

foxyshadis
9th September 2007, 16:39
Ah, I did misread. You should find it very simple to translate encraw options to mencoder, they mostly have the same or similar names, for specifics here's a good overview (http://forums.gentoo.org/viewtopic-p-1985055.html#1985055), for anything that isn't covered there, check the man page (http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html#GENERAL%20ENCODING%20OPTIONS%20(MENCODER%20ONLY)).