Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th August 2006, 04:07   #461  |  Link
chipzoller
Mr. Woof
 
chipzoller's Avatar
 
Join Date: Jan 2002
Location: USA
Posts: 784
@ Doom9:

Well, I think I've either solved the problem or at least created a work-around solution. It seems MeGUI will shoot up 100% CPU usage even before adding the job to the queue, but it does so with the preview window open and adjust x264 encoder settings. What *may* be significant is that because the script contains burn-in subs, the preview window displays (upon loading the script) a scene in which the burn-in subs are displayed. This may or may not have anything to do with it, but in any case if I close the preview windows just after loading the script I can continue configuring the encoder settings, add the 2-pass job to the queue, and encode successfully. And it was still hanging even after I updated MeGUI to the most recent version, but this work-around seems to work at present. I still have no idea why it's behaving like this but it definately seems like a MeGUI problem.
chipzoller is offline   Reply With Quote
Old 18th August 2006, 04:56   #462  |  Link
JarrettH
Registered User
 
Join Date: Aug 2004
Location: Canada
Posts: 860
Quote:
Originally Posted by Sharktooth
do you have avisynth installed?
Thanks that fixed it! I just did a reformat and decided to grab all my apps after the installation and left all that ffdshow/avisynth nonsense for last
JarrettH is offline   Reply With Quote
Old 18th August 2006, 09:33   #463  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
chipzoller, do you have the latest vsfilter? I helped fix a bug several months ago that caused a similar hang in it. (To find out, you can always get process explorer, open megui's properties, and look at the threads window. If it's vsfilter.dll chowing it all it's that bug (or a related one). If it's avisynth then it's probably one of the other filters.)
foxyshadis is offline   Reply With Quote
Old 19th August 2006, 12:45   #464  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
Quote:
Ideas?
~MiSfit
I see lots of filters, CQM, everything to make my hair stand out in all directions - all over my body. You need to gradually lower the complexity of your scenario until you can lay the finger on the exact cause, or better, start with the most simple script involving this source, then gradually increase complexity of the scenario until you know which option caused the problem.
Then you need to cut a sample from the source, and post the script and settings required so that somebody else can reproduce it.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 19th August 2006, 13:02   #465  |  Link
chipzoller
Mr. Woof
 
chipzoller's Avatar
 
Join Date: Jan 2002
Location: USA
Posts: 784
@ foxyshadis

Yes, I have v2.37 (and I did read your post you mentioned) unicode version but the script encodes fine in VirtualDub for example, just has problems in MeGUI. I did get the script to encode finally in MeGUI, however, so all seems to be well. I'd still like to know what caused the hang; I may look into it a bit more if I have the time.
chipzoller is offline   Reply With Quote
Old 21st August 2006, 08:56   #466  |  Link
Eleo
Dilly dally shilly shally
 
Join Date: Aug 2005
Posts: 29
Hi... I'm new to this. I was following the Wiki/guide and naturally was confused on precisely what to do in some cases. Since one thing can be the difference between success or failure...

I have created a D2V and demuxed the audio and I have two .ac3 files; presumably the second one is like director's commentary or something? I have no idea; that's my best guess. But I've created an avs script and I calculated the bitrate and such and set up the encode for HQ-Slower (would anyone recommend I use HQ-Slowest?) but am wondering if I have to do anything for audio... The guide said don't bother encoding audio if you have AC3 so does that mean I can just go ahead and begin encoding the video and expect audio to accompany it when it's done (presumably within the container and not isolated from the video)?

Edit: Damn it I'm such an idiot... If I had just continued through the guide I would have found out. Meh, sorry. My other question still stands, I guess, although it might be in the wrong thread by itself:

Also, should I be using an MKV or MP4 container? Or rather, not "should I" but what would people generally recommend?

Last edited by Eleo; 21st August 2006 at 09:00.
Eleo is offline   Reply With Quote
Old 21st August 2006, 13:07   #467  |  Link
check
phjbdpcrjlj2sb3h
 
check's Avatar
 
Join Date: Sep 2005
Location: Western Australia
Posts: 1,691
Hi, I wrote the guide and feedback is 100% welcome - I should start actively seeking it out a little more actually. As to your questions:
o with audio files, simply play them to see what they contain. DGIndex outputs the number of channels in the audio filename (ie lookingdown T01 2_0ch 192Kbps DELAY 0ms.ac3 means two front speakers and no rear speakers (ie stereo)) as well.
o HQ-Slow vs Slowest vs whatever is very much your own choice. I personally use something that's even slower than HQ-Slower, but not everyone is happy with 24hr+ encoding times :^).
o Keeping ac3 or transcoding to mp3/some other format is again your own choice. ac3 is usually at either 384 (3mb/min) or 448 (3.5mb/min), whereas a stereo mp3 @ 128kbits is around 1mb/min. I keep the ac3 because space isn't an issue for me and I prefer to not encode, but depending on your sound system and so on you should make your own choice. If you only have a stereo sound system try encoding to ND AAC with quality 0.3 and see if you can hear a difference. You'll certainly notice a sound difference at least .
o Audio is NOT automatically added to the video when done. You have to add it in the Muxing step. The output formats available are dependant on the input formats (no h264 in avi, no vorbis in mp4, etc etc)
o Personally I prefer MKV because it can handle a metric ton more codecs and formats, and none of the advantages of mp4 are really that advantageous for me. Also, no ac3 in mp4!
Hope this helps.
check is offline   Reply With Quote
Old 21st August 2006, 15:11   #468  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
I've uploaded a new mp4box version that supports vobsubs in the megui autoupdate server and linked x264 against the latest libgpac.
Please test it and tell me if you have any problems with mp4 files.
Sharktooth is offline   Reply With Quote
Old 22nd August 2006, 18:34   #469  |  Link
frodeste
Registered User
 
Join Date: Aug 2006
Posts: 70
Quote:
Originally Posted by Doom9
If you have the info file it'll show you the proper audio tracks and languages.. if not, you just have to figure out that info on your own and if you e.g. select track 8 and there's no track 8.. you just won't get any audio.
but it runs without that file, it's just always good to have it. And file mode... if your titleset contains additional content, you realize that file mode is going to get you that additional content (e.g. fbi warning, mpaa ratings and other annoying stuff) as well.. and it has nothing to do with file versus ifo mode.. it's about activating the info file option in dvddec.
What if I already copied my dvd to the harddrive using DVDShrink (no compression)? What is the easies way to create this file?
__________________
frodeste

--
http://www.stenstrom.no
frodeste is offline   Reply With Quote
Old 22nd August 2006, 18:57   #470  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
Quote:
What is the easies way to create this file?
Enter DVD again, start ripping, abort. I think that'll write the file. And then learn that DVDDec is THE tool to rip.. you get two very important text files written for free.. many apps rely on those and don't reinvent the wheel by having their own IFO parsing.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 22nd August 2006, 19:36   #471  |  Link
frodeste
Registered User
 
Join Date: Aug 2006
Posts: 70
Quote:
Originally Posted by Doom9
Enter DVD again, start ripping, abort. I think that'll write the file. And then learn that DVDDec is THE tool to rip.. you get two very important text files written for free.. many apps rely on those and don't reinvent the wheel by having their own IFO parsing.
Thanks. I will do so. As for the other DVDs. That would take to much time. (even with aborting..)

I wonder if I could trick DVDDec to read existing DVD files from the harddrive, as if they were on the DVD and copy them to a new location. Must do some research I think
__________________
frodeste

--
http://www.stenstrom.no
frodeste is offline   Reply With Quote
Old 22nd August 2006, 19:56   #472  |  Link
Eleo
Dilly dally shilly shally
 
Join Date: Aug 2005
Posts: 29
I'm not sure where to put this since it could have something to do with MeGUI or it might just be x264 in general. Anyway, I recently encoded Star Wars Clone Wars Volume One using MeGUI. During the process I noticed that for some reason in the source video that there were very thin, black, 2-pixel borders on the bottom and the right. I cropped these out using Auto-Crop; as I felt they shouldn't be there. I was actually confused as to why they were on the source DVD.

On my encoded mp4, in each frame the rightmost border is shifted two pixels up. And every second or so it sort of "flickers" in this area. I double-checked the DVD for this behavior and it isn't there. I don't know if this has anything to do with me cropping. Or maybe it has something to do with how I resized the video because it's anamorphic.

I can't seem to get a screencap of the flickering because it comes and goes so often. It's enough to be distracting, though. I have a cap of the way the border is shifted up:

Notice how the thick lines in the artwork don't match up to the 2 rightmost pixels.

Meh, eight hours of encoding wasted. Needless to say I'm pretty disappointed because otherwise the quality of the video is excellent.

I pretty much followed this guide on how to use MeGUI.

Does anyone know where I went wrong?

EDIT In hindsight I'd say I went wrong. The auto-crop tool seems to be imperfect. (Last night I was trying to crop the black borders from Crouching Tiger; auto-crop did nothing to it; I had to remove them manually. Keep in mind these borders were HUGE.) Auto-crop removed two pixels from the right and four pixels from the bottom; when it should have cropped 0 pixels from the right and two pixels from the bottom. I ended up cropping actual video; maybe this is where I screwed up. I'll re-encode and see if there's a difference. Bottom line is I'm never trusting auto-crop again.

Last edited by Eleo; 22nd August 2006 at 21:28.
Eleo is offline   Reply With Quote
Old 22nd August 2006, 21:18   #473  |  Link
frodeste
Registered User
 
Join Date: Aug 2006
Posts: 70
Quote:
Originally Posted by check
Hi, I wrote the guide and feedback is 100% welcome - I should start actively seeking it out a little more actually. As to your questions:...
Hope I can be forgiven by adding a couple of items on the todo list in the wiki. If you like, I would be happy to help you on writing more. (Although I would need a little assistance along the way)
__________________
frodeste

--
http://www.stenstrom.no
frodeste is offline   Reply With Quote
Old 23rd August 2006, 12:39   #474  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
@Eleo: auto-crop doesnt always work as expected (even for AutoGK, StaxRip, etc...). The preview window is there for a reason...
Sharktooth is offline   Reply With Quote
Old 23rd August 2006, 20:30   #475  |  Link
Eleo
Dilly dally shilly shally
 
Join Date: Aug 2005
Posts: 29
o yeah preview window why didnt i think of dat

EDIT Although I know what caused it to happen, I don't think the sort of flickering should happen; if you crop it it should just be cropped out, right? Shouldn't be any negative side effects even from cropping the actual picture.

I've noticed thin black borders on a lot of stuff I'm looking at. Another example being Arrested Development Season 1. In some cases it's only present in some frame/shots but not others. Is this a limitation of the source video or was the DVD just not put together with as much expertise as there should be?

Last edited by Eleo; 24th August 2006 at 02:47.
Eleo is offline   Reply With Quote
Old 23rd August 2006, 21:44   #476  |  Link
junglemike
Registered User
 
Join Date: Dec 2002
Posts: 288
Guys, I have a problem encoding audio. I tried encoding ac3 to mp3 and also tried mp3 to ogg and in both cases this fails.
Maybe i am doing something wrong. I don't know. I searched the wiki megui guide, and also this thread, but notheing.
here's what i do:
megui version 0.2.3.2192.
1) in the audio input field, i browse for the .ac3 files, than 2)choose desired audio profile, which is mp3@128kbps cbr.
codec:mp3
container:mp3.
3)hit engueue (in the lower part)
4) Error appears in the job status.
5) I go to the log and see the following message.
Exactly the same error apperas when i try to encode mp3 to ogg for example:
Code:
Log for job job1
Error:
MeGUI.AviSynthException: Script error: there is no function named "NicMPG123Source"
   at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
   at MeGUI.AviSynthAudioEncoder.encode()
Would really be greatful if some1 could help me out.

_Edit:
Ok guys, fixed the problem. After finding out that exactly same setup worked fine on my other computer, i unistalled megui, and reinstalled from the scratch. Now everything works back again.

Last edited by junglemike; 23rd August 2006 at 22:29.
junglemike is offline   Reply With Quote
Old 24th August 2006, 22:49   #477  |  Link
PlazzTT
Registered User
 
PlazzTT's Avatar
 
Join Date: Jan 2002
Location: -
Posts: 115
I'm having trouble with the auto-updater.

There's just one update left I haven't installed and it's because it keep freezing.

It's the STx264 update from version 29 to 30. It says "Updating STx264. File 1/1." and it looks like it downloads it (the progess bar goes to 100%), but then it stops. The Update button is grayed out, and the Abort button or anything else in meGUI doesn't work, so I've to end task.
PlazzTT is offline   Reply With Quote
Old 24th August 2006, 23:29   #478  |  Link
cbarroso
Registered User
 
Join Date: Mar 2006
Posts: 26
Move the autoupdate window and you are going to discover another window behind it...
cbarroso is offline   Reply With Quote
Old 25th August 2006, 10:19   #479  |  Link
jtarrio
Registered User
 
Join Date: Aug 2006
Location: Madrid, Spain
Posts: 9
Adaptive muxer adding sound tracks twice

Hello,

I'm having an issue whenever I use the adaptive muxer of MeGui (BTW it has the same shortcut key (Ctrl+M) as to hide it in the system tray, so it doesn't work). What happens is that I select the video source, and the two audio sources, and the resulting MP4 file contains each audio track twice (total 4 tracks), and of course the file size exceeds what I'd calculated in the first place.

Here's the output from an MP4Box -info on the resulting file:

C:\Documents and Settings\jtarrio\My Documents\DVDs\ELDIADELABODA_SCN>mp4box -info "The Wedding Date
.(2005).x264.AAC5.1.mp4"
* Movie Info *
Timescale 600 - Duration 01:24:55.338
Fragmented File no - 5 track(s)
File Brand isom - version 1
Created: GMT Fri Aug 25 08:54:36 2006

File has root IOD
Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
Visual PL: AVC/H264 Profile (0x15)
Audio PL: AAC Profile @ Level 4 (0x2a)
No streams included in root OD

Track # 1 Info - TrackID 1 - TimeScale 25 - Duration 01:24:55.240
Media Info: Language "Undetermined" - Type "vide" - Sub Type "avc1" - 127381 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
AVC/H264 Video - Visual Size 560 x 304 - Profile High @ Level 5.1
Self-synchronized

Track # 2 Info - TrackID 2 - TimeScale 48000 - Duration 01:24:55.338
Media Info: Language "English" - Type "soun" - Sub Type "mp4a" - 119422 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 1

Track # 3 Info - TrackID 3 - TimeScale 48000 - Duration 01:24:55.338
Media Info: Language "Spanish" - Type "soun" - Sub Type "mp4a" - 119422 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 1

Track # 4 Info - TrackID 4 - TimeScale 48000 - Duration 01:24:55.338
Media Info: Language "English" - Type "soun" - Sub Type "mp4a" - 119422 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 1

Track # 5 Info - TrackID 5 - TimeScale 48000 - Duration 01:24:55.338
Media Info: Language "Spanish" - Type "soun" - Sub Type "mp4a" - 119422 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 1


No problem, I just remove them with MP4Box, but it's a bit annoying and I was wondering if it's a known issue.

BTW, this doesn't happen with the MP4 Muxer, only with the Adaptive Muxer... What's the difference?
Cheers...

Last edited by jtarrio; 25th August 2006 at 10:22.
jtarrio is offline   Reply With Quote
Old 25th August 2006, 10:29   #480  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
You obviously know your way around mp4box.. have you considered looking at the megui logs to check for a difference in commandlines? Just an idea
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Reply

Tags
megui

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:56.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.