View Full Version : MeGUI - x264/XviD/lavc/Snow encoder with MP4/MKV/AVI output & audio
Havokdan
22nd April 2010, 00:30
Sorry, delete the post for me
Zathor
24th April 2010, 17:20
I can not seem to change my x264 log file name or location through MeGUI anymore. When I click on the little button next to the log file absolutely nothing happens (MeGUI/Config/Misc/).
Thanks, fixed in 0.3.4.13
handsomejack
5th May 2010, 13:16
@ Floatingshed:
Might be possible that the tools used by MeGUI (ffmpeg / mencoder) don't create optimal AVI containers (which might lack of some indexing), which could be fixed by remultiplexing them using e.g. AviMux-GUI or VirtualDub.
But without a detailed technical analysis it is impossible to answer your question - you did not even mention your used container (I can only guess it's AVI because most SAP won't be able to play anything else, and VirtualDub doesn't create anything else either).
__
@ handsomejack:
Different MeGUI versions might use different x264 revisions - which may require different command line options.
Furthermore you did not mention any system details, e.g. if you have a 64-bit Windows.
__
Details, details, details. ;)
oh, my bad :p . I 'm using XP SP3 32bit. So what x264 revision i should use because i used auto update in megui and it updated for me.
Floatingshed
26th May 2010, 01:44
@ Floatingshed:
Might be possible that the tools used by MeGUI (ffmpeg / mencoder) don't create optimal AVI containers (which might lack of some indexing), which could be fixed by remultiplexing them using e.g. AviMux-GUI or VirtualDub.
But without a detailed technical analysis it is impossible to answer your question - you did not even mention your used container (I can only guess it's AVI because most SAP won't be able to play anything else, and VirtualDub doesn't create anything else either).
Hi, Thanks for you input. Sorry I've been so long replying, been travelling.
I've done a bit more work on this and discovered that the problem is not encraw but the muxing. If I mux in Vdub all is well, if I mux in megui I'm back to the standalone player stopping after 6 seconds. Clearly the avimux_gui settings can be altered in the config.ini.amg file but I don't know where to start.
Any more help would be greatly appreciated. Thanks.
Floatingshed
26th May 2010, 03:12
I've been playing...
It turns out that avimux_gui is set to make opendml files and that is what the standalone doesn't like. I have changed that setting and all is now well, I think.
Have I done something silly? Is opendml necessary for anything other than files over 2Gb?
Thanks.
Whiznot
27th May 2010, 15:20
I tried to use MeGUI to convert a WMV file and discovered that the format was not supported. Is there a way to convert WMV files with MeGUI?
Taurus
27th May 2010, 19:01
@Whiznot
What kind of wmv file 7/8/9 VC1......?:confused:
Just import it to the AVS Script Creator,
and if there is any directshow decoder for your file available, it should just be doing fine.
Whiznot
27th May 2010, 20:16
Thanks for the reply Taurus. MediaInfo reports the video stream as VC-1 (WMV3). I am new to MeGUI and so far the app has been confusing. I will play around with it some more and try to import it into the script creator. I would be grateful if you could point me to a good tutorial
EDIT: Well, I stumbled into learning how to encode my file with my chosen settings. MeGUI lets me easily maintain the proper aspect ratio while converting to the highest resolution supported by my DIVX capable Philips DVP5990.
alexVS
28th May 2010, 20:19
Hi all!
My Megui version is 0.3.4.0
I have some hitches in my work with megui (x264 encoding)
First, I can't update x264.exe (32bit) with megui updater, so I got to download it manually from x264.nl web site.
The previous version was x264 core:80 r1376M (1 147 392 bytes)
The new version is x264 core:93 r1542 (6 373 376 bytes)
Have I done it allright? (I have some doubt about file sizes and compatibility with megui)
Second, I encode the file with "Numbers of B-frames: 3", "Number of reference frames: 3". But Mediainfo shows
Format settings, ReFrames : 4 frames
Why?
Writing library : x264 core 93 r1542 5b86182
Encoding settings : cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / wpredp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=3500 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 / cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / wpredp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=3500 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
And the last thing: I encode my hockey game using DXVA (unrestricted HQ profile) 1280x720@50p
Mediainfo show the result Format profile as High@L3.2
I heard somewhere, that most of standalone players (I don't have such player right now) require L4.1. Should I set level as 4.1 before encoding, or L3.2 should be playable as well?
:thanks:
dje33
30th May 2010, 21:15
Hi
I have a litte probleme when i want to encode H264/ACC to Xvid/MP3
I have Windows seven 64bits
I have no probleme to encode H264 to Xvid
But when i encode AAC to MP3 i have an error
http://hfr-rehost.net/http://self/pic/a9b571558c431390c5d49d838fafa5aa78560502.png
How can i fix this ?
I try to install CoreACC filter but i have the same probleme.
tebasuna51
31st May 2010, 12:05
...
I have Windows seven 64bits
But when i encode AAC to MP3 i have an error
How can i fix this ?
I try to install CoreACC filter but i have the same probleme.
Try open the .aac file with Graphedit to see the filters than your DirectShow system uses to open aac files.
Or use BeHappy and BassAudioSource method to recode aac.
dje33
1st June 2010, 16:10
Try open the .aac file with Graphedit to see the filters than your DirectShow system uses to open aac files.
Or use BeHappy and BassAudioSource method to recode aac.
Graphedit can't render the file :(
i don't understand because i can play the file in windows media player and in media player classic.
doc_dvxm
7th June 2010, 09:56
Graphedit can't render the file :(
i don't understand because i can play the file in windows media player and in media player classic.
I am using meGUI on 32 Bit Win 7 OS. A few days a go I have a same problems like you. The problem was resolved with installing the latest K Lite Mega Codec (vers 6.00) (and of'coz running codec tweak tool).
Sorry, if I'm hijacking the thread.
Cheerz.
Marc05
10th June 2010, 18:05
When I try to load a file in AVS Script Creator, I get an error saying "unable to render file". I have the latest x86/x64 ffdshow and avisynth installed so I'm not sure what's wrong. However, I can still load an avs script from the main MeGUI window and queue it. Anyone have any ideas?
Also, the 32bit version works fine, it's the 64 bit that gives me the problem.
Zathor
12th June 2010, 17:04
When I try to load a file in AVS Script Creator, I get an error saying "unable to render file".
Which kind of file are you talking about?
handsomejack
16th June 2010, 15:23
hi, after update, my megui have problem like this
http://www.mediafire.com/imgbnc.php/63c8db5cb4e399f42886273411f398346g.jpg
i did many ways to solve this problem like: update MVC++, update x264, update k-lite mega codec,... but no use. However, when i downgrade megui to 3.1.1052, it 's normal.
Ah, i 'm using Win Xp Sp3
PS: sorry for my bad english
Zathor
16th June 2010, 15:35
It seems that the screenshot is missing.
handsomejack
16th June 2010, 15:43
what is missing? :confused:
Zathor
16th June 2010, 22:47
Now it's there. At the time of my posting there has been no screenshot in your posting.
x264.exe is crashing. You can try other builds of x264 (at the end of this thread: http://forum.doom9.org/showthread.php?t=130364) and you should try to run the x264 command line found in your log in the command window directly without megui. If it still crashs MeGUI is not the problem.
handsomejack
17th June 2010, 01:23
i copy this (http://forum.doom9.org/showpost.php?p=1408799&postcount=3258) into C:\Program Files\MeGUI\tools\x264 but it 's just error. And i don't know how to use the command line :confused:
OneWhoSink
20th June 2010, 11:30
Hi.
I dunno if you guys still updating the proogram's ver.
But, i'll show you the prob, maybe its just me:
Running:
OS: Windows 7 32Bit (Language: [Dunno if it matters] Hebrew).
Memory: 2GB RAM.
Processor: Q6600 @ 2.40GHz.
Graphics Card: HD4890.
^Just gave you anything i thought might affect the encoding process (if there's something missing, ask).
Ok, so the main problem is that when i add the Script.avs to Program [Either by drag&drop or by using the program's box], It immediately crash with no error or anything, unless you consider this: http://img37.imageshack.us/img37/9799/89114674.jpg
[yes, it's hebrew, but ithe conclusion means the problem is some "Error Module: i263_32.drv_unloaded" file]
as an error.
So, if you know the problem by looking at it, it'd be cool, and if not, it'll be nice if you could make the next ver. work with Windows 7.
Thanks in advance, OWS.
Zathor
20th June 2010, 11:42
Are there any special (=Hebrew) signs in the path of your avs script? Try to save it for example in the root of one drive.
And Windows 7 is supported since ever (or at least a very long time). 0.3.5 will very likely released today but do not expect that this will solve your problem.
OneWhoSink
20th June 2010, 11:55
No, there's nothing "hebrewish" there except an ".ass" file i told the program to open like this:
LoadPlugin("D:\......................\VSFilter.dll")
TextSub("E:\........................\Hebrew.ass")
TextSub("E:\........................\Kanji.ass")
TextSub("E:\........................\Romaji.ass")
[^Which now tells you the purpose of the encoding]
"Try to save it for example in the root of one drive"
what do you mean? i dont get to use the program, it crashs O_O", there's no file to save..
Thanks again, OWS.
Zathor
20th June 2010, 14:00
Are you able to open the avs file with other programs (e.g. like VirtualDub)?
Bi11
21st June 2010, 01:04
As I understand it, MeGUI had x264 presets, which really consisted of x264 speed/quality tradeoff settings, like Fast/Low and Slow/HQ. Once a preset was chosen, the user would set a bitrate to meet their quality/size tradeoff.
Thus, you had to juggle between two overlapping tradeoffs.
Now, x264 has built-in speed presents, which are "independent" of the quality of the output if CRF (i.e. "quality") is constant.
So now there is no tradeoff between speed and quality! :eek:
However, the tradeoff between quality/size still remains, but now the final size is hard to guess.
The old MeGUI presets could be emulated by using the built-in speed presets and 2-pass to specify a size/bitrate, but now the speed/quality tradeoff presents itself again.
Thus, once the final size/bitrate is predetermined, then CRF is as useless and as different from size/bitrate as a Formula 1 is to a Rolls-Royce.
So it seems there is actually a speed/quality/size tradeoff (i.e. decision) to make every time you do an encode.
Strict "speed" choices are determined by x264 presets and strict "size" choices are determined by bitrate.
2-pass reduces the "quality" choices to speed/quailty tradeoff, i.e. preset & bitrate decision.
CRF reduces the "quality" choices to quality/size tradeoff, i.e. CRF alone (speed is now "independent" of quality); the final bitrate is determined by the complexity of the source video being encoded, the final size is determined by both bitrate and length of video i.e. size = bitrate*duration.
Zathor
21st June 2010, 06:07
Selecting a target file size anywhere will result in a 2 or 3pass encode using the selected profile (without the encoding mode of couse).
You can follow up the profile discussion here (please post your answer there):
http://forum.doom9.org/showthread.php?t=154334
OneWhoSink
21st June 2010, 21:22
yes, i am able to open it using VirtualDub\Windows Media Player or any other program except Media Player Classic =o
Which just makes everything weirder @_@
OWS.
BLKMGK
22nd June 2010, 04:46
Recently I updated meGUI via the autoupdate. Now none of my existing profiles are working and I cannot tell which are new and which aren't. I see errors in my logs like this -> [Error] An error occurred: x264 [error]: invalid argument: nal-hrd = --b-pyramid
Since x.264 updated I suspect options for the commandline have changed. I'd like to purge the old presets and try to get something sane working so I can sort which of the new presets suit me. I need to encode TV shows at SD quality from HD recordings but high bitrate with a size target and BD at as high a quality as I can stand. In the past I've managed to do this without much trouble but now I cannot tell what presets are good and which aren't. :eek: Multiple time consuming failures and I'm stuck.
I found what appeared to be presets in the allprofiles sub directory and moved them along with the associated xml file there. I forced a reinstall and import of the profiles. Nothing appeared in this directory and I still have the old profiles. Doing a text search in the directory for strings I see in the profile name brings back nothing but the files I backed up :rolleyes:
Fairly frustrated here, do I need to simply wipe out my install and start over? :mad: I've been running meGUI for a good long time, there could be leftover files from past updates? :confused:
Zathor
22nd June 2010, 06:21
The x264 profiles are stored in allprofiles\x264. In order to edit them outside of MeGUI or see changes you have done in MeGUI you have to close MeGUI (changes from within MeGUI will only be written there while closing).
The nal-hrd syntax has changed. Replace every --nal-hrd with --nal-hrd vbr.
BLKMGK
22nd June 2010, 23:49
The x264 profiles are stored in allprofiles\x264. In order to edit them outside of MeGUI or see changes you have done in MeGUI you have to close MeGUI (changes from within MeGUI will only be written there while closing).
The nal-hrd syntax has changed. Replace every --nal-hrd with --nal-hrd vbr.
Ah, thank you! Closing and reopening meGUI does seem to have solved the issue. I got an error closing it telling me that al profiles wasn't empty but I was able to close. When I looked back in there all of the new profiles were there with a timestamp equal to when I'd recycled meGUI - and my backup directory was gone too. (lol)
Reopening meGUI I still see the old profiles though so I guess all was not lost! I better understand what it's doing though and I think I will be able to fix things up - thank you!
kartman_canada
23rd June 2010, 13:55
I've searched around and not really been able to find an answer so I'm going to pose my question here.
I have been using the '"x264: Bluray - 2pass" preset for a while now. My build of x264 is 1649. Not too long ago (after an update of x264) my preset started causing x264 to error out due to the "--nal-hrd" option. There is no nal-hrd value in the command line generated by the preset which I assumed meant that it was to just use the default.
My guess is that the more recent builds of x264 require a nal-hrd option be explicitly set (no assumed default). Is this correct?
I'm encoding my DVDs/HD-DVDs/BDs for playback on my PS3 and HTPC. Anyways, I guess I need the following:
1) what exactly does --nal-hrd do? I read the x264 page but the info there is not general enough for me.
2) do I need it?
3) if I need it, what was the default in older x264 builds if --nal-hrd was on the command line but no option was explicitly set?
With the answers above, I'm going to modify my profile to correct the issue. I realize this is really an x264 question but the profile is part of MeGUI. Is my profile out of date or unsupported?
many thanx.
Inspector.Gadget
23rd June 2010, 19:07
--nal-hrd vbr, according to zathor in the other thread.
kartman_canada
23rd June 2010, 21:01
--nal-hrd vbr, according to zathor in the other thread.
Many thanx... sorry, "other thread"... I assumed I wasn't alone with this issue but didn't find the thread you mention when searching... must have been using the wrong keywords.
B.F.
25th June 2010, 03:37
I had a little problem with MeGui.
If the application crash (buggy avisynth filters mostly), no matter how many time and jobs have passed, it saves nothing but job list.
No encoding profile changes, no logs, no MeGUI settings changes.
Guest
25th June 2010, 03:38
Don't use buggy Avisynth filters.
B.F.
25th June 2010, 03:44
Sometimes it the only one can do the job.
Btw DGMultiDecodeNV is one of them.
Guest
25th June 2010, 03:50
Do you have any bug reports to direct me to?
Inspector.Gadget
25th June 2010, 03:51
DGMultiDecodeNV is very stable. Older builds of meGUI didn't interface with it properly (hence the "Use CUVIDServer" option in MeGui), but I've had no issues in a LONG time.
B.F.
25th June 2010, 04:41
Do you have any bug reports to direct me to?
For what?
Don't really interested in hardware decoding, since it depends on the hardware and drivers sability. And version with software decoding is dropped.
Guest
25th June 2010, 12:23
For what? You said this:
"Btw DGMultiDecodeNV is one of them."
Were you just trying to irritate me or do you have something to report about that?
tebasuna51
26th June 2010, 03:07
Maybe B.F. don't know you are the DGIndexNV author.
unknownsoldierX
27th June 2010, 23:57
When I try to convert a .mp4 with AAC to MP3, I get no audio. Do I need to install anything extra?
tebasuna51
28th June 2010, 00:21
When I try to convert a .mp4 with AAC to MP3, I get no audio. Do I need to install anything extra?
Put your log file :logfile:
unknownsoldierX
28th June 2010, 02:09
Here is the audio portion of the log. I canceled the job once the audio job was done. The resulting MP3 was silent.
[Warning] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.5.0
--[NoImage] OS : Windows Seven Ultimate Edition x86 (6.1.0.7600)
--[NoImage] Latest .Net Framework installed : 4.0 (4.0.30319)
--[NoImage] Avisynth Version : 2.5.8.5
-[Information] Log for job1 (audio, P18.mp4 -> P18.mp3)
--[Information] [6/27/2010 6:48:31 PM] Started handling job
--[Information] [6/27/2010 6:48:31 PM] Preprocessing
--[NoImage] Avisynth script
---[NoImage] DirectShowSource("H:\P18.mp4", video=false)
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] 6<=Audiochannels(last)?x_stereo1a6edad3ffe64c138c8a83b14de188e1(ConvertAudioToFloat(last)):last
---[NoImage] Normalize()
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
---[NoImage] function x_stereo1a6edad3ffe64c138c8a83b14de188e1(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] c = GetChannel(a, 3)
---[NoImage] lfe = GetChannel(a, 4)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
---[NoImage] c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
---[NoImage] r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
---[NoImage] r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
--[NoImage] Commandline used: --abr 128 -h - "{0}"
--[Information] [6/27/2010 6:48:31 PM] Encoding started
--[Information] [6/27/2010 6:48:31 PM] Encode thread started
--[Information] [6/27/2010 6:48:32 PM] Avisynth script environment opened
--[Information] [6/27/2010 6:48:32 PM] Script loaded
--[Information] Output Decoder
---[NoImage] Channels: 2
---[NoImage] Bits per sample: 16
---[NoImage] Sample rate: 32000
--[NoImage] Commandline: D:\Programs\MeGUI\tools\lame\lame.exe --abr 128 -h - "H:\P18.mp3"
--[Information] [6/27/2010 6:48:32 PM] Encoder process started
--[NoImage] Output from encoder via stderr
---[NoImage] LAME 3.98.2 32bits (http://www.mp3dev.org/)
---[NoImage] CPU features: MMX (ASM used), SSE (ASM used), SSE2
---[NoImage] Using polyphase lowpass filter, transition band: 15613 Hz - 16000 Hz
---[NoImage] Encoding <stdin> to H:\P18.mp3
---[NoImage] Encoding as 32 kHz j-stereo MPEG-1 Layer III (8x) average 128 kbps qval=2
--[Information] [6/27/2010 7:09:59 PM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [6/27/2010 7:09:59 PM] Job completed
tebasuna51
28th June 2010, 10:57
Here is the audio portion of the log. I canceled the job once the audio job was done. The resulting MP3 was silent.
- First try resample the audio to 48 KHz (SampleRate: Change to 48000 Hz), some players have troubles with 32 KHz. Always recommended for hardware players.
- If this don't work maybe your DirectShow settings can't manage the audio decode. We never can't know how work DirectShowSource on each computer.
Then you can try:
1) Decode the audio using NeroAacDec:
NeroAacDec -if "H:\P18.mp4" -of "H:\P18.wav"
and encode H:\P18.wav to mp3
2) If you have Foobar2000 try play H:\P18.mp4. If work then use 'Convert' to obtain the mp3.
3) Extract the audio from your .mp4 (like .aac or .m4a) using Yamb, and recode the audio using BeHappy-BassAudioSource
unknownsoldierX
28th June 2010, 15:07
I tried MeGUI on another machine and it produced audio from P18.mp4. But it sounds like Alvin And The Chipmunks played at high speed. Here is the log:
[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.5.0
--[NoImage] OS : Windows Seven Ultimate Edition x86 (6.1.0.7600)
--[NoImage] Latest .Net Framework installed : 4.0 (4.0.30319)
--[NoImage] Avisynth Version : 2.5.6.0
-[Information] Log for job1 (audio, P18.mp4 -> P18.mp3)
--[Information] [6/28/2010 8:25:36 AM] Started handling job
--[Information] [6/28/2010 8:25:36 AM] Preprocessing
--[NoImage] Avisynth script
---[NoImage] DirectShowSource("D:\P18.mp4", video=false)
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] 6<=Audiochannels(last)?x_stereoea59049e0f6f4710834e17dac3bc52d0(ConvertAudioToFloat(last)):last
---[NoImage] SSRC(48000)
---[NoImage] Normalize()
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
---[NoImage] function x_stereoea59049e0f6f4710834e17dac3bc52d0(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] c = GetChannel(a, 3)
---[NoImage] lfe = GetChannel(a, 4)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] l_sl = MixAudio(fl, sl, 0.2929, 0.2929)
---[NoImage] c_lfe = MixAudio(lfe, c, 0.2071, 0.2071)
---[NoImage] r_sr = MixAudio(fr, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(l_sl, c_lfe, 1.0, 1.0)
---[NoImage] r = MixAudio(r_sr, c_lfe, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
--[NoImage] Commandline used: --abr 128 -h - "{0}"
--[Information] [6/28/2010 8:25:37 AM] Encoding started
--[Information] [6/28/2010 8:25:37 AM] Encode thread started
--[Information] [6/28/2010 8:25:37 AM] Avisynth script environment opened
--[Information] [6/28/2010 8:25:39 AM] Script loaded
--[Information] Output Decoder
---[NoImage] Channels: 2
---[NoImage] Bits per sample: 16
---[NoImage] Sample rate: 48000
--[NoImage] Commandline: D:\Programs\MeGUI\tools\lame\lame.exe --abr 128 -h - "D:\P18.mp3"
--[Information] [6/28/2010 8:25:39 AM] Encoder process started
--[NoImage] Output from encoder via stderr
---[NoImage] LAME 3.98.2 32bits (http://www.mp3dev.org/)
---[NoImage] CPU features: MMX (ASM used), 3DNow! (ASM used), SSE (ASM used), SSE2
---[NoImage] Using polyphase lowpass filter, transition band: 16452 Hz - 17032 Hz
---[NoImage] Encoding <stdin> to D:\P18.mp3
---[NoImage] Encoding as 48 kHz j-stereo MPEG-1 Layer III (12x) average 128 kbps qval=2
--[Information] [6/28/2010 8:31:43 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [6/28/2010 8:31:43 AM] Job completed
Using foobar2000 works, and it keeps the sample rate at 32kHz. Here is the mp3 file it made:
General
Complete name : H:\P18.mp3
Format : MPEG Audio
File size : 22.6 MiB
Duration : 40mn 15s
Overall bit rate : 78.6 Kbps
Writing library : LAME3.98r
Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Duration : 40mn 15s
Bit rate mode : Variable
Bit rate : 78.6 Kbps
Minimum bit rate : 32.0 Kbps
Channel(s) : 2 channels
Sampling rate : 32.0 KHz
Stream size : 22.6 MiB (100%)
Writing library : LAME3.98r
Encoding settings : -m j -V 2 -q 0 -lowpass 16 --vbr-new -b 32
I muxed using AVI Mux GUI and the A/V sync is perfect. So that's one file down, but it a lot more work than letting MeGUI do everything.
tebasuna51
28th June 2010, 16:14
I tried MeGUI on another machine and it produced audio from P18.mp4. But it sounds like Alvin And The Chipmunks played at high speed.
...
Using foobar2000 works, and it keeps the sample rate at 32kHz.
...
I muxed using AVI Mux GUI and the A/V sync is perfect. So that's one file down, but it a lot more work than letting MeGUI do everything.
Yes, seems your DirectShow system don't work properly with AviSynth and mp4.
unknownsoldierX
28th June 2010, 19:51
I'm just did a fresh install of Windows and directx on my main machine a few days ago. And it's weird that I would have problems on two different machines.
Lighto
29th June 2010, 08:50
I'm just did a fresh install of Windows and directx on my main machine a few days ago. And it's weird that I would have problems on two different machines.
Since you're on 7, have you tried using the win7dsfiltertweaker tool?
MNCvn
29th June 2010, 10:06
Hi everyone,
I've a problem with new meGUI (version 0.3.5.0). With the old version, it have many PSP profile for me to choose and convert. The output file very good to play on my PSP (3000). But with the new one, It has only one PSP profile, and the output file CAN NOT play in my PSP. I make many time and change many parameters but i'm still not lucky. And I think this is the problem:
Format settings, ReFrames : 4 frames
I use other app to make mp4 file for my PSP, and this parameter is always 3 (maximum).
Although, the PSP profile of meGUI set the --ref equal 3 but the output file is always 4. Maybe it's error of x264 encoder, but the XmediaRecode (which one is use the same x264 encoder version of meGUI don't have this problem). ==> I really don't know why.
The info of the output file make by XmediaRecode:
General
Complete name : D:\Convert Video\Gia tri doi nguoi A.mp4
Format : MPEG-4
Format profile : Sony PSP
Codec ID : MSNV
File size : 7.36 MiB
Duration : 1mn 1s
Overall bit rate : 1 011 Kbps
Encoded date : UTC 2010-06-29 08:33:28
Tagged date : UTC 2010-06-29 08:33:28
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 1s
Bit rate mode : Variable
Bit rate : 900 Kbps
Width : 480 pixels
Height : 272 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.276
Stream size : 6.40 MiB (87%)
Writing library : x264 core 100
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=900 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=2000 / vbv_bufsize=2000 / ip_ratio=1.40 / aq=1:1.00 / nal_hrd=none
Encoded date : UTC 2010-06-29 08:33:28
Tagged date : UTC 2010-06-29 08:33:28
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 1mn 0s
Bit rate mode : Variable
Bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Stream size : 953 KiB (13%)
Encoded date : UTC 2010-06-29 08:33:28
Tagged date : UTC 2010-06-29 08:33:28
The info of the output file make by MeGUI:
General
Complete name : D:\Convert Video\Gia Tri Doi Nguoi\Gia tri doi nguoi A-muxed.mp4
Format : MPEG-4
Format profile : Sony PSP
Codec ID : MSNV
File size : 7.87 MiB
Duration : 1mn 6s
Overall bit rate : 988 Kbps
Encoded date : UTC 2010-06-28 08:40:51
Tagged date : UTC 2010-06-28 08:40:51
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 6s
Bit rate mode : Variable
Bit rate : 900 Kbps
Maximum bit rate : 2 610 Kbps
Width : 352 pixels
Height : 240 pixels
Display aspect ratio : 1.396
Original display aspect ratio : 1.398
Frame rate mode : Constant
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.355
Stream size : 7.07 MiB (90%)
Title : Imported with GPAC 0.4.6-DEV (internal rev. 5)
Writing library : x264 core 100 r1659 57b2e56
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=900 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2010-06-28 08:40:51
Tagged date : UTC 2010-06-28 08:40:52
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 1mn 6s
Bit rate mode : Variable
Bit rate : 96.0 Kbps
Maximum bit rate : 112 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Stream size : 781 KiB (10%)
Encoded date : UTC 2010-06-28 08:40:51
Tagged date : UTC 2010-06-28 08:40:52
Please take a look at bold and underline lines.
The question: How do I set the parameter for x264 to make file can play on my PSP??? (meGUI 0.3.5.0). I know i can use XmediaRecode, but i want to know and I really love meGUI.
Thanks.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.