View Full Version : MeGUI: General Questions and Troubleshooting Thread
check
23rd October 2006, 13:36
from the wiki, description of both constant quality modes in x264: http://mewiki.project357.com/wiki/MeGUI_FAQ#What.27s_the_difference_between_Constant_Quantizer_and_Constant_Quality
As you can see - MeGUI supports crf :)
LiFe
23rd October 2006, 14:49
@check: Sorry, it doesn't say anything about 2 pass crf there.
gino25
23rd October 2006, 19:22
i have a problem with megui. I use latest build, and i use autoupdate function, so all programs are up-to-date.
I want to use x264, and with others program all was fine. I used avs creator to create an avs as input (and i can view perfectly that avs, with a direct-show player like media player classic).
But when i compress it using megui i obtain always this result
http://www.megaupload.com/?d=8S3IWI77
I changed bitrate, resolution, and settings, but always i have videos similar to that (even if i change source file).
What is wrong?
Sharktooth
23rd October 2006, 20:09
@check: Sorry, it doesn't say anything about 2 pass crf there.
2pass CRF? CRF doesnt need 2 passes... it's like CQ... single pass.
Sharktooth
23rd October 2006, 20:12
i have a problem with megui. I use latest build, and i use autoupdate function, so all programs are up-to-date.
I want to use x264, and with others program all was fine. I used avs creator to create an avs as input (and i can view perfectly that avs, with a direct-show player like media player classic).
But when i compress it using megui i obtain always this result
http://www.megaupload.com/?d=8S3IWI77
I changed bitrate, resolution, and settings, but always i have videos similar to that (even if i change source file).
What is wrong?
Something's really screwed i your encode.
Do you select or create a video profile before encoding?
Can you please describe what you exactly do?
Also, reading the guide wont be a bad idea.
simonhowson
24th October 2006, 07:27
I'm wondering if it is possible to burn in subtitles using MeGui?
I'm creating MP4 files to use on my iPod video, and I do not think the iPod can play subtitles. Hence I want to just extract the subtitle file, and burn it into the image. Is there any easy way to do this in MeGui? I've done it in StaxRip but don't know exactly how StaxRip performs the task. Is it an AvSynth filter added before resizing?
LiFe
24th October 2006, 10:58
@Sharktooth: x264 [error]: constant rate-factor is incompatible with 2pass.
Yes, I do see now : )
Unfortunately x264 just crashes after this error, rather than exiting nicely, if anyone wants to point this out to x264 devs.
It's a shame, 2 pass is a bit of a waste of time, but would mean more intelligent I frames and Auto B Frame Mode.
check
24th October 2006, 11:32
@simon: there is no method to do this automatically, but manually is easy. Download vsfilter 2.37 from somewhere (I think it's on free-codecs), and copy the vsfilter.dll into your avisynth plugins directory (you don't need to run any installer that comes with it). Then add textsub("path\to\subs.ass") at the bottom of your avisynth script and encode as normal :)
simonhowson
24th October 2006, 13:35
@simon: there is no method to do this automatically, but manually is easy. Download vsfilter 2.37 from somewhere (I think it's on free-codecs), and copy the vsfilter.dll into your avisynth plugins directory (you don't need to run any installer that comes with it). Then add textsub("path\to\subs.ass") at the bottom of your avisynth script and encode as normal :) Thanks for your help, but now I'm wondering how I create a text based subtitle file? I've only ever delt with idx subtitle indexes. What tool do I use?
Sharktooth
24th October 2006, 13:39
@Sharktooth: x264 [error]: constant rate-factor is incompatible with 2pass.
Yes, I do see now : )
Unfortunately x264 just crashes after this error, rather than exiting nicely, if anyone wants to point this out to x264 devs.
It's a shame, 2 pass is a bit of a waste of time, but would mean more intelligent I frames and Auto B Frame Mode.
Uhm, no... I and B-frames placement is decided during the 1st pass. So nothing will change.
2Pass CRF is like doing 2Pass CQ... It's useless.
check
24th October 2006, 13:44
well, vsfilter will work with idx files also, but if you want to convert them to text, ... ask elsewhere, that's out of my field of experience sorry :p
Carpo
25th October 2006, 21:02
first off sorry if this has been asked and asnwered - i did use search but when you have one thread at 74 pagaes and another at near 40 its a lot to read to see if your question has been asked and asnwered ;)
i have a bit of time on my hands now so have been messing about with x264, i ripped a 7 min extra from a r1 dvd and ran it thru megui, video is 29.97, yet when i run it thru megui selecting it to encode raw it changes the frame rate to 23fps - which i only found out to to video/audio sync issue ;) - does it do this by default - if so its ok and i will know for future reference - or is there some thing going wrong somewhere
check
26th October 2006, 10:22
this is expected behavior, it's called inverse telecine (or ivtc). There are plenty of docs and writeups on it around so I won't repeat any of it here.
Carpo
26th October 2006, 16:41
thanks check - least now i know what i'm looking for :) - norm its just pal 25fps i backup, no messing about with them - but i have a few imports so have started to mess about with them :p
rack04
27th October 2006, 13:54
How do I use delay
If the file has a delay value in its filename (Delay __ms), or you otherwise know you need a delay, you will have to compensate for this in one of two places in MeGUI. The first is to write the delay value as is into the muxer config when you mux your final file. The second, alternate (ie only use one of these methods), is to add a delay when you reencode the audio in the audio config, again entering the delay as is.
I understand that when dealing with audio delay you have two choices:
1.) Write the delay value into the muxer config
2.) Write the delay when reencoding the audio
If this is the case then why is the value of the audio delay automatically entered during the mux even though the delay was already accounted for in the reencoding? Should I zero this out and continue with the mux? Thanks.
simonhowson
27th October 2006, 14:18
I've been using Sharktooth's MeGUI iPod 5.5 profile successfully. However, I have just encoded a film where there is a lot of blocky artifacts during dark scenes (e.g. night-time exteriors). I am wondering what setting in MeGUI I should customise so that the bitrate doesn't drop so low during dark scenes?
I'm sorry if this is more a generic x264 question, but I didn't know where exactly this post should go.
check
27th October 2006, 15:17
@rack: probably because you left the "DELAY __ms" in the filename :)
@simon: there's little you can do beyond increasing the bitrate. There are two advanced solutions however:
o use zones. iirc, there's a writeup on this in the x264 codec config section in the mewiki
o use adaptive quantization. You need to add it as a custom commandline option, there's info on how to use it in the AVC forum (search should turn up the threads pretty easily).
Dayvon
27th October 2006, 15:48
What specifically does MeGUI need so that I can actually process DTS files? I can input a DTS file into the Audio Input and even queue the whole encode up. But the audio encode errors out immediately when I hit "start" saying something about the AVIsynth file. Any ideas what is going on? Or should I try encoding via DirectShow?
check
27th October 2006, 16:21
Just make an avs file:
directshowsource("path\to\file.dts") and load that instead :)
Carpo
27th October 2006, 18:02
more of a heads up than anything thing else but new RC7 of tivtc will not bee seen by megui - well it never when i went to use it - megui kept saying there was an error in interlace.log and to make sure tivtc.dll was in avisynth plugins dir - going back to RC6 and it works fine again, saves a few posts about why wont megui work ;p
Dayvon
27th October 2006, 19:38
Just make an avs file:
directshowsource("path\to\file.dts") and load that instead :)
Thanks :D :goodpost:
sno0py
27th October 2006, 21:23
I've got an encode that i'm trying to run using MeGUI, but it keeps hitting an error... Not right away either... it can run for an hour or more before it stops... it chugs along at like ~3fps until it stops. When it does, the queue line tells me there is an error... but when I look to the log to tell me what happend... it tells me nothing about any "error"...
Log contents:
Starting job job1-1 at 5:56:27 AM
encoder commandline:
--pass 1 --bitrate 1476 --stats "I:\vid.stats" --ref 16 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -2,-1 --subme 7 --trellis 2 --analyse all --8x8dct --me esa --threads 2 --thread-input --progress --no-dct-decimate --output NUL "I:\vid.avs"
successfully started encoding
Processing ended at 6:44:59 AM
-------------------------------------------------------------
Log for job job1-1
avis [info]: 736x384 @ 29.97 fps (148949 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2 3DNow!
-------------------------------------------------------------
Any ideas? (btw: i've been a vdubmod guy till now, so megui is new to me)
check
28th October 2006, 03:12
snoopy: that error is a problem with x264 (or the stability of your system), so I can't help sorry.
I'd recommend you reduce those settings though. Exhaustive search compared to Uneven multi-hex has pretty much no difference, and going over 10 refs is usually uneccessary. Other than that, subme 6 and trellis 1 will give you major speedups for little quality loss as well.
spunch
28th October 2006, 14:11
I created a little script that suspends and resumes all megui processes based on my idle time. Suppose it suspends and resumes megui 60 times during a job, can it hurt the quality of my encoding?
check
28th October 2006, 14:18
no :) On a semi related note however, more threads will reduce quality.
spunch
28th October 2006, 14:35
What do you mean by that? megui threads? (And how and why?)
check
28th October 2006, 14:56
more threads in the x264 codec config I mean. The reason why is because x264 simply splits the video spatially into n different parts (where n in the number of threads you set) and encodes those parts concurrently.
Carpo
28th October 2006, 19:03
this is a strange thing in the x264 slow codec conf its set to use 1 thread - default/recommended - yet in the log i can see --threads 2, so would this cause quality issues as you say above check ?
sno0py
28th October 2006, 19:16
Check: Thx man, for the heads up.. i actualy do have some stability issues that I'm currently dealing with.. one of my ram sticks has gone south, and corrupted a bunch of data.. i've since removed it and am getting it replaced, but I'm betting i'll be needing a clean start after that... I'll also try out your setting changes when i get everything set.
Thx again!! :D
nurbs
28th October 2006, 20:00
this is a strange thing in the x264 slow codec conf its set to use 1 thread - default/recommended - yet in the log i can see --threads 2, so would this cause quality issues as you say above check ?
If it is set in the MeGUI options the number of threads will be autodetected regardless of what you set in the profile.
2 threads doesn't have any quality "issues", it just slightly reduces the quality. The quality gain from 1 thread is certainly not worth twice the encoding time. If you want accurate information you have to search for akupenguins post, but IIRC the only drawback of slices is that motion vectors can't cross their borders.
anne_so78
28th October 2006, 20:08
Hi!, I've got about a hundred similar VOBs I'd like to encode to x264+AAC with the same bitrate, resolution, codec configurations and other settings. So, is there a way to easily batch encode these files with MeGUI? i.e- Can I set up the properties, load up the hundred VOBs, hit encode and sit back and relax for a few days until it encodes all my files?
Thanks.
DigitalDivide
29th October 2006, 04:27
I'm getting a strange error when MeGui goes from the 1st pass and starts the 2nd pass. I get an error pop up on screen stating that Haali Media Splitter could not Open. I've never seen this happen before. Not sure why it would try to open up Haali Splitter. THis happens each time.
DigitalDivide
29th October 2006, 04:46
On the main window of MeGui, there are two options, one for Pre-Rendering Job and the other for Queue Analysis. I have no idea what these are for and when I would use them. I read the Guide but it doesn't help much...well except for the "if you don't know what it does...you don't need it"
I always do two pass encoding using HQ Slower. Most movies at an average bitrate of 2000. Would using an Analysis pass be beneficial?
Sharktooth
29th October 2006, 04:52
As the guide says... if you dont know what it does... you dont need it...
DigitalDivide
29th October 2006, 05:01
As the guide says... if you dont know what it does... you dont need it...
Everyone is a smartass! :sly:
How about the error in the post above? Any thoughts on that?
check
29th October 2006, 05:15
@anne: if you want to use the same settings, yes :)
@dd: are you loadinga video through directshowsource? Does said video open ok normally?
Those two options are explained in the mewiki, in the glossary
DigitalDivide
29th October 2006, 05:33
@dd: are you loadinga video through directshowsource? Does said video open ok normally?
Not really sure what you mean? I open up my project file in the AVISynth Script Creator. Select the project file. Create my script and save it. Very basic script(included below). Then select the script, set the average bit rate, audio, subs (but also happens if I don't set subs).
First pass completes. As soon as the second pass starts the error pops up. The error doesn't stop the second pass from continuing and cmpleting.
AVI Script
# Set DAR in encoder to 87 : 35. The following line is for automatic signalling
global MeGUI_darx = 87
global MeGUI_dary = 35
DGDecode_mpeg2source("G:\projects\Star Trek\Star Trek.d2v",info=3)
ColorMatrix(hints=true)
crop( 0, 60, 0, -68)
Undot() # Minimal Noise
jellysandwich
29th October 2006, 05:56
Hi!, I've got about a hundred similar VOBs I'd like to encode to x264+AAC with the same bitrate, resolution, codec configurations and other settings. So, is there a way to easily batch encode these files with MeGUI? i.e- Can I set up the properties, load up the hundred VOBs, hit encode and sit back and relax for a few days until it encodes all my files?
Thanks.
Have you tried the one click encoder?
js
anne_so78
29th October 2006, 15:48
Have you tried the one click encoder?
Yes, I've tried the one-click-encoder. But this is far from batch encoding. You see, I have 250 VOBs. After I set up profiles for video, audio and the one-click-encoder, I have to manually drag and drop EACH VOB file, select the one-click profile and click 'GO', which is about 4 clicks. So, in my case the one-click encoder is more like a one-thousand-click encoder. Isn't there more easier and practical way to do the job?
p.s- meGUI doesn't accept VOBs without a "VTS" prefix, what up with that?
spunch
29th October 2006, 22:00
I for one use this batch oneclickencoder-job-creator for my hundreds of VOBs:
(Drag and drop your VOBs into the .bat file and job.xml files will magically appear (you can't drop too many VOBs at once though :( (windows limitation)))
@echo off
cd /d %~d0%~p0%
:getfile
shift
if "%0"=="" goto end
set /a jobcount+=1
echo ^<?xml version="1.0"?^>> job%jobcount%.xml
echo ^<Job xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="IndexJob"^>>> job%jobcount%.xml
echo ^<FilesToDelete /^>>> job%jobcount%.xml
echo ^<Input^>%~d0%~p0%~n0.VOB^</Input^>>> job%jobcount%.xml
echo ^<Output^>%~d0%~p0%~n0.d2v^</Output^>>> job%jobcount%.xml
echo ^<Name^>job%jobcount%^</Name^>>> job%jobcount%.xml
echo ^<Priority^>IDLE^</Priority^>>> job%jobcount%.xml
echo ^<Status^>WAITING^</Status^>>> job%jobcount%.xml
echo ^<Position^>%jobcount%^</Position^>>> job%jobcount%.xml
echo ^<Start^>0001-01-01T00:00:00^</Start^>>> job%jobcount%.xml
echo ^<End^>0001-01-01T00:00:00^</End^>>> job%jobcount%.xml
echo ^<FPS^>0^</FPS^>>> job%jobcount%.xml
echo ^<Commandline^>-IF=[%~d0%~p0%~n0.VOB] -OF=[%~d0%~p0%~n0] -exit -minimize -OM=1 -TN=1^</Commandline^>>> job%jobcount%.xml
echo ^<AutoForceFilm^>true^</AutoForceFilm^>>> job%jobcount%.xml
echo ^<LoadSources^>false^</LoadSources^>>> job%jobcount%.xml
echo ^<AudioTrackID1^>0^</AudioTrackID1^>>> job%jobcount%.xml
echo ^<AudioTrackID2^>-1^</AudioTrackID2^>>> job%jobcount%.xml
echo ^<DemuxMode^>1^</DemuxMode^>>> job%jobcount%.xml
echo ^<ForceFilmThreshold^>95^</ForceFilmThreshold^>>> job%jobcount%.xml
echo ^<PostprocessingProperties^>>> job%jobcount%.xml
echo ^<AudioStreams^>>> job%jobcount%.xml
echo ^<PartialAudioStream^>>> job%jobcount%.xml
echo ^<input^>Track 1^</input^>>> job%jobcount%.xml
echo ^<language /^>>> job%jobcount%.xml
echo ^<useExternalInput^>false^</useExternalInput^>>> job%jobcount%.xml
echo ^<dontEncode^>false^</dontEncode^>>> job%jobcount%.xml
echo ^<trackNumber^>0^</trackNumber^>>> job%jobcount%.xml
echo ^<profileItem xsi:type="xsd:string"^>Nero AAC 1^</profileItem^>>> job%jobcount%.xml
echo ^<settings xsi:type="NeroAACSettings"^>>> job%jobcount%.xml
echo ^<ImproveAccuracy^>true^</ImproveAccuracy^>>> job%jobcount%.xml
echo ^<ForceDecodingViaDirectShow^>false^</ForceDecodingViaDirectShow^>>> job%jobcount%.xml
echo ^<DownmixMode^>StereoDownmix^</DownmixMode^>>> job%jobcount%.xml
echo ^<BitrateMode^>VBR^</BitrateMode^>>> job%jobcount%.xml
echo ^<Bitrate^>128^</Bitrate^>>> job%jobcount%.xml
echo ^<Delay^>0^</Delay^>>> job%jobcount%.xml
echo ^<DelayEnabled^>false^</DelayEnabled^>>> job%jobcount%.xml
echo ^<AutoGain^>true^</AutoGain^>>> job%jobcount%.xml
echo ^<Profile^>Auto^</Profile^>>> job%jobcount%.xml
echo ^<Quality^>0.5^</Quality^>>> job%jobcount%.xml
echo ^<CreateHintTrack^>false^</CreateHintTrack^>>> job%jobcount%.xml
echo ^</settings^>>> job%jobcount%.xml
echo ^</PartialAudioStream^>>> job%jobcount%.xml
echo ^<PartialAudioStream^>>> job%jobcount%.xml
echo ^<input /^>>> job%jobcount%.xml
echo ^<useExternalInput^>false^</useExternalInput^>>> job%jobcount%.xml
echo ^<dontEncode^>false^</dontEncode^>>> job%jobcount%.xml
echo ^<trackNumber^>0^</trackNumber^>>> job%jobcount%.xml
echo ^</PartialAudioStream^>>> job%jobcount%.xml
echo ^</AudioStreams^>>> job%jobcount%.xml
echo ^<AutoDeinterlace^>true^</AutoDeinterlace^>>> job%jobcount%.xml
echo ^<AutoDeriveAR^>false^</AutoDeriveAR^>>> job%jobcount%.xml
echo ^<SignalAR^>false^</SignalAR^>>> job%jobcount%.xml
echo ^<HorizontalOutputResolution^>640^</HorizontalOutputResolution^>>> job%jobcount%.xml
echo ^<ContainerType^>MP4^</ContainerType^>>> job%jobcount%.xml
echo ^<OutputSize^>-1024^</OutputSize^>>> job%jobcount%.xml
echo ^<SplitSize^>0^</SplitSize^>>> job%jobcount%.xml
echo ^<AR^>ITU4x3^</AR^>>> job%jobcount%.xml
echo ^<AvsSettings^>>> job%jobcount%.xml
echo ^<Mod16Method^>none^</Mod16Method^>>> job%jobcount%.xml
echo ^<Resize^>true^</Resize^>>> job%jobcount%.xml
echo ^<Template^>^<input^>>> job%jobcount%.xml
echo ^<deinterlace^>>> job%jobcount%.xml
echo ^<crop^>>> job%jobcount%.xml
echo ^<resize^>>> job%jobcount%.xml
echo ^<denoise^>>> job%jobcount%.xml
echo ^</Template^>>> job%jobcount%.xml
echo ^<ResizeMethod^>Lanczos^</ResizeMethod^>>> job%jobcount%.xml
echo ^<DenoiseMethod^>MinimalNoise^</DenoiseMethod^>>> job%jobcount%.xml
echo ^<Deinterlace^>false^</Deinterlace^>>> job%jobcount%.xml
echo ^<Denoise^>false^</Denoise^>>> job%jobcount%.xml
echo ^<IVTC^>false^</IVTC^>>> job%jobcount%.xml
echo ^<MPEG2Deblock^>false^</MPEG2Deblock^>>> job%jobcount%.xml
echo ^<ColourCorrect^>true^</ColourCorrect^>>> job%jobcount%.xml
echo ^</AvsSettings^>>> job%jobcount%.xml
echo ^<VideoSettings xsi:type="x264Settings"^>>> job%jobcount%.xml
echo ^<EncodingMode^>4^</EncodingMode^>>> job%jobcount%.xml
echo ^<BitrateQuantizer^>1500^</BitrateQuantizer^>>> job%jobcount%.xml
echo ^<KeyframeInterval^>250^</KeyframeInterval^>>> job%jobcount%.xml
echo ^<NbBframes^>3^</NbBframes^>>> job%jobcount%.xml
echo ^<MinQuantizer^>10^</MinQuantizer^>>> job%jobcount%.xml
echo ^<MaxQuantizer^>51^</MaxQuantizer^>>> job%jobcount%.xml
echo ^<Turbo^>true^</Turbo^>>> job%jobcount%.xml
echo ^<V4MV^>false^</V4MV^>>> job%jobcount%.xml
echo ^<QPel^>false^</QPel^>>> job%jobcount%.xml
echo ^<Trellis^>false^</Trellis^>>> job%jobcount%.xml
echo ^<CreditsQuantizer^>40^</CreditsQuantizer^>>> job%jobcount%.xml
echo ^<Logfile^>.stats^</Logfile^>>> job%jobcount%.xml
echo ^<CustomEncoderOptions /^>>> job%jobcount%.xml
echo ^<FourCC^>1^</FourCC^>>> job%jobcount%.xml
echo ^<Zones /^>>> job%jobcount%.xml
echo ^<MaxNumberOfPasses^>3^</MaxNumberOfPasses^>>> job%jobcount%.xml
echo ^<NbThreads^>1^</NbThreads^>>> job%jobcount%.xml
echo ^<NoDCTDecimate^>false^</NoDCTDecimate^>>> job%jobcount%.xml
echo ^<PSNRCalculation^>false^</PSNRCalculation^>>> job%jobcount%.xml
echo ^<noFastPSkip^>true^</noFastPSkip^>>> job%jobcount%.xml
echo ^<NoiseReduction^>0^</NoiseReduction^>>> job%jobcount%.xml
echo ^<MixedRefs^>true^</MixedRefs^>>> job%jobcount%.xml
echo ^<X264Trellis^>2^</X264Trellis^>>> job%jobcount%.xml
echo ^<NbRefFrames^>10^</NbRefFrames^>>> job%jobcount%.xml
echo ^<AlphaDeblock^>-2^</AlphaDeblock^>>> job%jobcount%.xml
echo ^<BetaDeblock^>-1^</BetaDeblock^>>> job%jobcount%.xml
echo ^<SubPelRefinement^>5^</SubPelRefinement^>>> job%jobcount%.xml
echo ^<MaxQuantDelta^>4^</MaxQuantDelta^>>> job%jobcount%.xml
echo ^<TempQuantBlur^>0^</TempQuantBlur^>>> job%jobcount%.xml
echo ^<BframePredictionMode^>3^</BframePredictionMode^>>> job%jobcount%.xml
echo ^<VBVBufferSize^>-1^</VBVBufferSize^>>> job%jobcount%.xml
echo ^<VBVMaxBitrate^>-1^</VBVMaxBitrate^>>> job%jobcount%.xml
echo ^<METype^>2^</METype^>>> job%jobcount%.xml
echo ^<MERange^>16^</MERange^>>> job%jobcount%.xml
echo ^<MinGOPSize^>25^</MinGOPSize^>>> job%jobcount%.xml
echo ^<Profile^>2^</Profile^>>> job%jobcount%.xml
echo ^<Level^>15^</Level^>>> job%jobcount%.xml
echo ^<IPFactor^>1.4^</IPFactor^>>> job%jobcount%.xml
echo ^<PBFactor^>1.3^</PBFactor^>>> job%jobcount%.xml
echo ^<ChromaQPOffset^>0^</ChromaQPOffset^>>> job%jobcount%.xml
echo ^<VBVInitialBuffer^>0.9^</VBVInitialBuffer^>>> job%jobcount%.xml
echo ^<BitrateVariance^>1.0^</BitrateVariance^>>> job%jobcount%.xml
echo ^<QuantCompression^>0.6^</QuantCompression^>>> job%jobcount%.xml
echo ^<TempComplexityBlur^>20^</TempComplexityBlur^>>> job%jobcount%.xml
echo ^<TempQuanBlurCC^>0.5^</TempQuanBlurCC^>>> job%jobcount%.xml
echo ^<SCDSensitivity^>40^</SCDSensitivity^>>> job%jobcount%.xml
echo ^<BframeBias^>0^</BframeBias^>>> job%jobcount%.xml
echo ^<Deblock^>true^</Deblock^>>> job%jobcount%.xml
echo ^<Cabac^>true^</Cabac^>>> job%jobcount%.xml
echo ^<WeightedBPrediction^>true^</WeightedBPrediction^>>> job%jobcount%.xml
echo ^<AdaptiveBFrames^>true^</AdaptiveBFrames^>>> job%jobcount%.xml
echo ^<BFramePyramid^>true^</BFramePyramid^>>> job%jobcount%.xml
echo ^<BRDO^>true^</BRDO^>>> job%jobcount%.xml
echo ^<biME^>true^</biME^>>> job%jobcount%.xml
echo ^<ChromaME^>true^</ChromaME^>>> job%jobcount%.xml
echo ^<P8x8mv^>true^</P8x8mv^>>> job%jobcount%.xml
echo ^<B8x8mv^>true^</B8x8mv^>>> job%jobcount%.xml
echo ^<I4x4mv^>true^</I4x4mv^>>> job%jobcount%.xml
echo ^<I8x8mv^>true^</I8x8mv^>>> job%jobcount%.xml
echo ^<P4x4mv^>true^</P4x4mv^>>> job%jobcount%.xml
echo ^<AdaptiveDCT^>true^</AdaptiveDCT^>>> job%jobcount%.xml
echo ^<Lossless^>false^</Lossless^>>> job%jobcount%.xml
echo ^<QuantizerMatrix /^>>> job%jobcount%.xml
echo ^<QuantizerMatrixType^>0^</QuantizerMatrixType^>>> job%jobcount%.xml
echo ^</VideoSettings^>>> job%jobcount%.xml
echo ^<CustomAR^>1^</CustomAR^>>> job%jobcount%.xml
echo ^<ChapterFile /^>>> job%jobcount%.xml
echo ^<FinalOutput^>%~d0%~p0%~n0.mp4^</FinalOutput^>>> job%jobcount%.xml
echo ^<AviSynthScript /^>>> job%jobcount%.xml
echo ^</PostprocessingProperties^>>> job%jobcount%.xml
echo ^</Job^>>> job%jobcount%.xml
goto getfile
:end
pause
Limobar
31st October 2006, 18:16
I am wondering whether it is possible to find out the peak bitrate of a x264 encode, by looking at the stats file, combined with a certain average bitrate. This is important for me to know, because I'm encoding for the Xbox and I can only use a limited peak bitrate.
The first lines of a stats file look like this:
#options: 624x352 fps=25/1 cabac=0 ref=1 deblock=1:-1:-1 analyse=0x1:0 me=dia subme=1 brdo=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 chroma_qp_offset=0 slices=1 nr=0 decimate=0 mbaff=0 bframes=1 b_pyramid=0 b_adapt=1 b_bias=0 direct=0 wpredb=0 bime=0 keyint=250 keyint_min=25 scenecut=40 rc=abr bitrate=1000 ratetol=1.0 rceq='blurCplx^(1-qComp)' qcomp=0.30 qpmin=1 qpmax=51 qpstep=4 ip_ratio=1.40 pb_ratio=1.30
in:0 out:0 type:I q:24.00 itex:255672 ptex:0 mv:40812 misc:4740 imb:858 pmb:0 smb:0 d:-;
in:2 out:1 type:P q:28.00 itex:0 ptex:0 mv:0 misc:104 imb:0 pmb:0 smb:858 d:-;
in:1 out:2 type:b q:30.00 itex:0 ptex:858 mv:4320 misc:950 imb:0 pmb:858 smb:0 d:-;
in:4 out:3 type:P q:27.00 itex:23122 ptex:82998 mv:7590 misc:954 imb:105 pmb:730 smb:23 d:-;
in:3 out:4 type:b q:30.00 itex:752 ptex:25420 mv:10731 misc:945 imb:11 pmb:847 smb:0 d:-;
in:6 out:5 type:P q:30.00 itex:11940 ptex:51230 mv:6954 misc:948 imb:83 pmb:708 smb:67 d:-;
Is there a way to translate this to a bitrate per frame, without doing the actual encoding?
If it is not translatable to a bitrate, is it possible to find out the frame that will receive the highest bitrate?
chros
1st November 2006, 10:48
It's a shame, 2 pass is a bit of a waste of time, but would mean more intelligent I frames and Auto B Frame Mode.
Uhm, no... I and B-frames placement is decided during the 1st pass. So nothing will change.
Really ? (maybe you're remember the "manual compression check" thread)
So what's happening in the 2nd pass of a 2pass encoding? Just the bitrate selection?
Sharktooth
1st November 2006, 15:37
rate control and encoding.
just look at the limobar post... that's a 1st pass stats file.
frame types are already choosen...
martino
3rd November 2006, 10:50
I have a few questions;
I tried encoding a 20min xVid video(640x480 23.98fps) in an MKV container with Vorbis and ASS/SSA subtitles. I used x264 to reencode it. I went through all the usual steps; created an AviSynth script through the script creator, set the encoder settings(3-pass automatic, 1200kbps and left everything else as it was; default settings). I came across a few problems:
1) The H264 encoded video in MP4 format had the ASS/SSA subs written to it(eg hardsubbed). Which setting do I have to turn off if I don't want this to happen.
2) The input video and the H264 video were of the same length, but if I seeked both videos to the same position, the frame was different(and yes, I'm sure that it was the same frame).
UPDATE: After analysing this I found out that in the MP4 file where a bit of the video has a black screen has been shrunk down. In the original it lasts about 2 sec and in the encode about 1 sec. What's going on?
Linky (http://rapidshare.com/files/1828192/pack.rar.html) for the original and encoded file.
Thanks!
Digitals
3rd November 2006, 13:56
i am getting this error what can i do
Log for job job2-1
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
Error opening input file extra\Didees SixOfNine.cqm
Carpo
3rd November 2006, 19:16
i had same error as this till i set the right path for it c:\megui\extras\Didees SixOfNine.cqm - as extras\Didees SixOfNine.cqm dint work - although path to file on your system may be different - just point it to whereever that file is on your system
anne_so78
4th November 2006, 01:30
By default, meGUI adds a "ColorMatrix" (mpeg color correction) line in the avisynth script (tested with VOB input files). I've noticed that this filter makes the picture more yellowish. Although I like the warm tinge, I don't want anything distorting my videos. I'd like the encodes to stay as true to the original as possible. So, what is the purpose of the "ColorMatrix" filter, why is it enabled by default, and is it okay to disable it? Thanks.
Sharktooth
4th November 2006, 04:15
:search:
rack04
4th November 2006, 06:10
Can anyone tell me why after I encode audio using HE-AAC profile mediainfo says that it is AAC LC?
Digitals
4th November 2006, 06:18
i had same error as this till i set the right path for it c:\megui\extras\Didees SixOfNine.cqm - as extras\Didees SixOfNine.cqm dint work - although path to file on your system may be different - just point it to whereever that file is on your system
thanks now working fine thanks a lot
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.