View Full Version : MeGUI: General Questions and Troubleshooting Thread


Pages : 1 2 3 4 [5] 6 7 8 9 10

Kurtnoise
10th April 2009, 07:11
try with an avisynth version non-MT first...

b66pak
10th April 2009, 19:19
muxing .264 with .aac is broken in "autoencode" and "mkv muxer"


-[Information] Log for job3 (mux, hfyu_VTS_03_1-001_Track1.psp.480x272.264 -> hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv)
--[Information] [4/10/2009 9:03:43 PM] Started handling job
--[Information] [4/10/2009 9:03:43 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\mkvmerge\mkvmerge.exe" -o "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv" --engage keep_bitstream_ar_info --default-duration 0:30000/1001fps -d 0 -A -S "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272.264" -a 0 -D -S "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac" --no-clusters-in-meta-seek
--[Information] [4/10/2009 9:03:43 PM] Encoding started
--[NoImage] Standard output stream
---[NoImage] mkvmerge v2.6.0 ('Kelly watch the Stars') built on Mar 24 2009 15:23:14
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272.264': Using the AVC/h.264 ES demultiplexer.
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': Using the Quicktime/MP4 demultiplexer.
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272.264' track 0: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 480/272.
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272.264' track 0: Using the MPEG-4 part 10 ES video output module.
---[NoImage] Warning: 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': No tracks will be copied from this file. This usually indicates a mistake in the command line.
---[NoImage] Warning: 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': A track with the ID 0 was requested but not found in the file. The corresponding option will be ignored.
---[NoImage] The file 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv' has been opened for writing.
---[NoImage] Progress: 60%
---[NoImage] Progress: 100%
---[NoImage] Progress: 100%
---[NoImage] The cue entries (the index) are being written...
---[NoImage] Muxing took 0 seconds.
--[NoImage] Standard error stream
--[Information] [4/10/2009 9:03:44 PM] Postprocessing
--[Information] [4/10/2009 9:03:44 PM] Job completed
-[Information] [4/10/2009 9:03:46 PM] User aborted shutdown
-[Information] Log for job4 (mux, hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv -> hfyu_VTS_03_1-001_Track1.psp.480x272-muxed-muxed.mkv)
--[Information] [4/10/2009 9:04:38 PM] Started handling job
--[Information] [4/10/2009 9:04:38 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\mkvmerge\mkvmerge.exe" -o "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed-muxed.mkv" --engage keep_bitstream_ar_info --default-duration 1:30000/1001fps -d 1 -A -S "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv" -a 0 -D -S "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac" --no-clusters-in-meta-seek
--[Information] [4/10/2009 9:04:38 PM] Encoding started
--[NoImage] Standard output stream
---[NoImage] mkvmerge v2.6.0 ('Kelly watch the Stars') built on Mar 24 2009 15:23:14
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv': Using the Matroska demultiplexer.
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': Using the Quicktime/MP4 demultiplexer.
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv' track 1: Using the MPEG-4 part 10 (AVC) video output module.
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv' track 1: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 480/272.
---[NoImage] Warning: 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': No tracks will be copied from this file. This usually indicates a mistake in the command line.
---[NoImage] Warning: 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': A track with the ID 0 was requested but not found in the file. The corresponding option will be ignored.
---[NoImage] The file 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed-muxed.mkv' has been opened for writing.
---[NoImage] Progress: 9%
---[NoImage] Progress: 100%
---[NoImage] The cue entries (the index) are being written...
---[NoImage] Muxing took 0 seconds.
--[NoImage] Standard error stream
--[Information] [4/10/2009 9:04:38 PM] Postprocessing
--[Information] [4/10/2009 9:04:38 PM] Job completed


same job with "mp4 muxer" is ok!


-[Information] Log for job4 (mux, hfyu_VTS_03_1-001_Track1.psp.480x272.264 -> hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mp4)
--[Information] [4/10/2009 9:11:18 PM] Started handling job
--[Information] [4/10/2009 9:11:18 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\mp4box\mp4box.exe" -add "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272.264:fps=29.97" -add "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac" -tmp "F:\MKV\Sample" -new "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mp4"
--[Information] [4/10/2009 9:11:18 PM] Encoding started
--[NoImage] Standard output stream
---[NoImage] AVC-H264 import - frame size 480 x 272 at 29.970 FPS
---[NoImage] Import results: 600 samples - Slices: 30 I 289 P 281 B - 1 SEI - 30 IDR
---[NoImage] IsoMedia import - track ID 1 - Audio (SR 48000 - 2 channels)
---[NoImage] Saving F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mp4: 0.500 secs Interleaving
--[NoImage] Standard error stream
--[Information] [4/10/2009 9:11:18 PM] Postprocessing
--[Information] [4/10/2009 9:11:18 PM] Job completed


muxing with mkvmergeGUI (from meGUI "tools" folder) is ok too!
_

Greif
10th April 2009, 21:23
I am having issues muxing my streams using MeGUI (via mp4box). The muxing process goes fine but when I open the file in VLC, there are extra frames counted like in the following picture.

http://stuff.griffore.com/stuff/vlc-ss.jpg

Here's the command line from MeGUI:
mp4box.exe
-add "E:\Videos\Underworld - Evolution\1_2_video.mp4#trackID=1:fps=23.976:name=Underworld - Evolution"
-add "E:\Videos\Underworld - Evolution\1_3_audio.aac.m4a#trackID=1:lang=English:name=English"
-add "E:\Videos\Underworld - Evolution\Underworld - Evolution.srt:lang=English:name=English"
-chap "E:\Videos\Underworld - Evolution\1_1_chapter.txt"
-tmp "E:\Videos"
-new "E:\Videos\Underworld - Evolution.mp4"

I'm really not sure where the problem is: MeGUI, mp4box or eac3to (which extracts the streams).

Has anyone else run into this?

floz23
10th April 2009, 23:56
try with an avisynth version non-MT first...

Of course, of course. Yes, I know that will fix it, but then my encode speed would collapse to almost nothing.

-adam

buzzqw
11th April 2009, 13:28
Of course, of course. Yes, I know that will fix it, but then my encode speed would collapse to almost nothing.

-adam

well better to encode or to wait a crash ?

BHH

Ramir Gonzales
11th April 2009, 14:26
Well, MeGUI has problems with almost every third party apps it ""supports"" ..... But it's never MeGUI's fault (according to KurtNoise) ;)

I guess KurtNoise better follows the usual "trend" in here, like all other GUI frontend creators to stop their project when they hit the first real problem they cannot fix as easy as the usuals, and start from scratch a brand "new" project, untill they reach that very same (not easy to fix) problem, and start another brand new project from scratch, etc...Etc.....

We're getting nowhere with the usual trend in front-end-land, since they all get abandoned before they are halfly usable, or they don't get abandoned and get buggier and buggier every day.

Kurtnoise
11th April 2009, 14:31
heh ??? what ??? what do you talking about ? please, go away from me...

Sharktooth
11th April 2009, 15:13
@Ramir Gonzales: we dont fix others problems. you're also not forced to use MeGUI.
if you think you're so smart, get the code and fix it. it's open source!
... else, get away and dont come back.

rapscallion
11th April 2009, 16:10
+1, well said ST !

Edit: Hey, I just noticed your location- Halloween, the movie, took place there :eek::scared:

Sion
11th April 2009, 16:47
Greetings... noob to this thread here...

I have some 1080p and 720p clips & trailers (h264/mkv) that I'm trying to re-encode to 720p XviD avi files. I'd like to retain the original sound. How do I do this? When I re-encode my DVD's, the audio is demuxed in the D2V creator steps... and I can then add that demuxed audio file in. But when I re-encode a video file, I add it via the AVSynth script creator and there's no point where the audio is demuxed. If I choose the whole video file as the audio source, then meGUI wants to re-encode the audio with one of the built-in audio codec profiles. I just want pass through of the audio with no re-encoding. I've looked for a guide or FAQ that covers this but couldn't find one. If someone could answer this question or just point me to a FAQ or guide, I'd greatly appreciate it!!!

Thanks...

homerpez
11th April 2009, 19:09
I'm sorry if this has been dealt with elsewhere, but this is a new issue for me (as of updating Megui a few days ago)...

Before, I managed to use Megui to encode .mp4 videos to play on my LG Dare phone. I was able to encode several movies which all play fine.

.x264 Video
.aac Audio
.mp4 container

However, after updating, Megui now makes corrupted video streams...

On the PC, the videos don't show the usual preview frame (Vista), while the movies that I encoded earlier all do show one. The video will play in MPC, but clearly something is not right with it...

On the phone, I get audio but no video at all.

I didn't change a single thing with the encoding settings - I used an Ipod-compatable x264 profile @ 200k/sec, in fact the same preset I used on the working movies. The video size is also the same, roughly 320x176. The working movies have the same codec, profile, and frame size, and work fine... new encodes don't.

More worrying is, I have also tried using XVID instead, and I get the same problem - no preview frame in Vista, and only audio plays back on the phone. Megui seems to be at fault rather than any single codec. I also eliminated mp4box as the culprit, I tried that + YAMB (totally separate from Megui) and it still didn't work with the video Megui gave me.

Is there a way to "roll back" Megui altogether? Or has someone else had this problem and fixed it another way?

Inspector.Gadget
11th April 2009, 22:08
Greetings... noob to this thread here...

I have some 1080p and 720p clips & trailers (h264/mkv) that I'm trying to re-encode to 720p XviD avi files. I'd like to retain the original sound. How do I do this? When I re-encode my DVD's, the audio is demuxed in the D2V creator steps... and I can then add that demuxed audio file in. But when I re-encode a video file, I add it via the AVSynth script creator and there's no point where the audio is demuxed. If I choose the whole video file as the audio source, then meGUI wants to re-encode the audio with one of the built-in audio codec profiles. I just want pass through of the audio with no re-encoding. I've looked for a guide or FAQ that covers this but couldn't find one. If someone could answer this question or just point me to a FAQ or guide, I'd greatly appreciate it!!!

Thanks...

Demux the audio from the original file with AVIMuxGUI (for AVIs) or MKVMerge (MKVs), remux with the newly encoded video. Both programs come with MeGUI - check the tools folder.

Sharktooth
12th April 2009, 13:50
Edit: Hey, I just noticed your location- Halloween, the movie, took place there :eek::scared:
yeah, that's not my real location though... the avatar and the rest of my personal info (including the location) are a sort of tribute to the halloween movie and John Carpenter.
Greetings... noob to this thread here...

I have some 1080p and 720p clips & trailers (h264/mkv) that I'm trying to re-encode to 720p XviD avi files. I'd like to retain the original sound. How do I do this? When I re-encode my DVD's, the audio is demuxed in the D2V creator steps... and I can then add that demuxed audio file in. But when I re-encode a video file, I add it via the AVSynth script creator and there's no point where the audio is demuxed. If I choose the whole video file as the audio source, then meGUI wants to re-encode the audio with one of the built-in audio codec profiles. I just want pass through of the audio with no re-encoding. I've looked for a guide or FAQ that covers this but couldn't find one. If someone could answer this question or just point me to a FAQ or guide, I'd greatly appreciate it!!!

Thanks...
Encode the video ONLY to Xvid at your desired bitrate (remember to include the audio in the calculations) and then use the AVI muxer to mux audio and video in an AVI file.
That means you should not use the AutoEncode but you have to set the bitrate in the preset and queue the job manually. When it's done, then proceed with the mux.

I'm sorry if this has been dealt with elsewhere, but this is a new issue for me (as of updating Megui a few days ago)...

Before, I managed to use Megui to encode .mp4 videos to play on my LG Dare phone. I was able to encode several movies which all play fine.

.x264 Video
.aac Audio
.mp4 container

However, after updating, Megui now makes corrupted video streams...

On the PC, the videos don't show the usual preview frame (Vista), while the movies that I encoded earlier all do show one. The video will play in MPC, but clearly something is not right with it...

On the phone, I get audio but no video at all.

I didn't change a single thing with the encoding settings - I used an Ipod-compatable x264 profile @ 200k/sec, in fact the same preset I used on the working movies. The video size is also the same, roughly 320x176. The working movies have the same codec, profile, and frame size, and work fine... new encodes don't.

More worrying is, I have also tried using XVID instead, and I get the same problem - no preview frame in Vista, and only audio plays back on the phone. Megui seems to be at fault rather than any single codec. I also eliminated mp4box as the culprit, I tried that + YAMB (totally separate from Megui) and it still didn't work with the video Megui gave me.

Is there a way to "roll back" Megui altogether? Or has someone else had this problem and fixed it another way?
MeGUI does not produce any video stream. It's a GUI (graphical user interface) for several tools...
In your case, x264 produces the video stream.

homerpez
12th April 2009, 15:03
MeGUI does not produce any video stream. It's a GUI (graphical user interface) for several tools...
In your case, x264 produces the video stream.

This is what I thought too, however since the latest updates, it's now producing (slightly) corrupted video streams. This is BOTH for x264 AND for XVID, I've just verified this again...

The symptoms are that any video now produced by Megui (with any codec) no longer shows a preview frame in Vista. Other files encoded exactly the same way with Megui in the past DO produce a preview frame. I believe this is showing a flaw in the video streams which is new to the recent updates.

Also, with every single solitary setting the same (and the same preset I'd already saved in Megui), videos encoded with the old Megui play on my LG Dare phone, and the ones from this update do not. (Audio only, no video). So clearly something is amiss with the latest build, which is corrupting the video.

I have tried muxing the streams, either x264+AAC or XVID+AAC, with both Megui (mp4box) and Yamb (mp4box, separate file locations), and both result in the bad stream.

The only other consistent choke point for this is AVISynth. I am basically loading an MKV file into the .AVS creator to begin each process. I don't see how this can be it, as they open up fine in other encoders (which, sadly, are no good for encoding).


DirectShowSource("C:\temp\video.mkv", fps=23.976, audio=false)
#deinterlace
crop( 128, 0, -128, 0)

LanczosResize(320,160) # Lanczos (Sharp)
#denoise

I don't see anything about the AVS that would cause this, in both x264 AND XVID, and ONLY since Megui updated to the latest builds. Everything Megui spits out seems to be effected by this.

I have also tried uninstalling Megui and re-installing from scratch. A "clean" install of the latest does this as well.

I was planning on encoding a few movies to watch on a LONG plane flight, and now I'm stuck because of this...

Sharktooth
12th April 2009, 15:10
megui cant be the cause. the workflow is:
- avs input
- audio/video encoders
- muxer output

what megui does is "opening" a communication channel between those tools and tell tham what to do. it cant corrupt a stream.

homerpez
12th April 2009, 16:23
megui cant be the cause. the workflow is:
- avs input
- audio/video encoders
- muxer output

what megui does is "opening" a communication channel between those tools and tell tham what to do. it cant corrupt a stream.

What other explanation can there be for the same program (and settings as before) now being corrupted then? And with both x264 and XVID streams?

Since I've eliminated muxing as the source of this (by trying other means) that leaves avs, and audio/video encoders. Assuming Megui itself ISN'T at fault, that means that BOTH the x264 AND the XVID plugins are now broken, possibly the AVS plugin as well... either way this should be checked into.

And if the new plugins supposedly are all corrult, then how can these be rolled back to working versions?

I wouldn't exclude a change in Megui's core files as a cause... any program which launches any other program can effect its ability to function... I'm now trying an older build of Megui to see if this is in fact the case.

Sharktooth
12th April 2009, 16:26
i do exclude megui since a corrupted stream can only come out from a broken encoder or muxer.
however, get the files you need for your tests here: http://megui.org/auto/

Taurus
12th April 2009, 19:19
What other explanation can there be for the same program (and settings as before) now being corrupted then? And with both x264 and XVID streams?

Maybe your Decoders or Splitters are going wrong?
What's inside your MKVs? Mpeg2, MP4, or Avi?
Could be a decoding or encoding problem.
Blame it on the boogie, but not on MeGUI :p

b66pak
12th April 2009, 19:23
muxing .264 with .aac is broken in "autoencode" and "mkv muxer"


-[Information] Log for job3 (mux, hfyu_VTS_03_1-001_Track1.psp.480x272.264 -> hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv)
--[Information] [4/10/2009 9:03:43 PM] Started handling job
--[Information] [4/10/2009 9:03:43 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\mkvmerge\mkvmerge.exe" -o "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv" --engage keep_bitstream_ar_info --default-duration 0:30000/1001fps -d 0 -A -S "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272.264" -a 0 -D -S "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac" --no-clusters-in-meta-seek
--[Information] [4/10/2009 9:03:43 PM] Encoding started
--[NoImage] Standard output stream
---[NoImage] mkvmerge v2.6.0 ('Kelly watch the Stars') built on Mar 24 2009 15:23:14
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272.264': Using the AVC/h.264 ES demultiplexer.
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': Using the Quicktime/MP4 demultiplexer.
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272.264' track 0: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 480/272.
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272.264' track 0: Using the MPEG-4 part 10 ES video output module.
---[NoImage] Warning: 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': No tracks will be copied from this file. This usually indicates a mistake in the command line.
---[NoImage] Warning: 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': A track with the ID 0 was requested but not found in the file. The corresponding option will be ignored.
---[NoImage] The file 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv' has been opened for writing.
---[NoImage] Progress: 60%
---[NoImage] Progress: 100%
---[NoImage] Progress: 100%
---[NoImage] The cue entries (the index) are being written...
---[NoImage] Muxing took 0 seconds.
--[NoImage] Standard error stream
--[Information] [4/10/2009 9:03:44 PM] Postprocessing
--[Information] [4/10/2009 9:03:44 PM] Job completed
-[Information] [4/10/2009 9:03:46 PM] User aborted shutdown
-[Information] Log for job4 (mux, hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv -> hfyu_VTS_03_1-001_Track1.psp.480x272-muxed-muxed.mkv)
--[Information] [4/10/2009 9:04:38 PM] Started handling job
--[Information] [4/10/2009 9:04:38 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\mkvmerge\mkvmerge.exe" -o "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed-muxed.mkv" --engage keep_bitstream_ar_info --default-duration 1:30000/1001fps -d 1 -A -S "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv" -a 0 -D -S "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac" --no-clusters-in-meta-seek
--[Information] [4/10/2009 9:04:38 PM] Encoding started
--[NoImage] Standard output stream
---[NoImage] mkvmerge v2.6.0 ('Kelly watch the Stars') built on Mar 24 2009 15:23:14
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv': Using the Matroska demultiplexer.
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': Using the Quicktime/MP4 demultiplexer.
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv' track 1: Using the MPEG-4 part 10 (AVC) video output module.
---[NoImage] 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mkv' track 1: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 480/272.
---[NoImage] Warning: 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': No tracks will be copied from this file. This usually indicates a mistake in the command line.
---[NoImage] Warning: 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': A track with the ID 0 was requested but not found in the file. The corresponding option will be ignored.
---[NoImage] The file 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed-muxed.mkv' has been opened for writing.
---[NoImage] Progress: 9%
---[NoImage] Progress: 100%
---[NoImage] The cue entries (the index) are being written...
---[NoImage] Muxing took 0 seconds.
--[NoImage] Standard error stream
--[Information] [4/10/2009 9:04:38 PM] Postprocessing
--[Information] [4/10/2009 9:04:38 PM] Job completed


same job with "mp4 muxer" is ok!


-[Information] Log for job4 (mux, hfyu_VTS_03_1-001_Track1.psp.480x272.264 -> hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mp4)
--[Information] [4/10/2009 9:11:18 PM] Started handling job
--[Information] [4/10/2009 9:11:18 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\mp4box\mp4box.exe" -add "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272.264:fps=29.97" -add "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac" -tmp "F:\MKV\Sample" -new "F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mp4"
--[Information] [4/10/2009 9:11:18 PM] Encoding started
--[NoImage] Standard output stream
---[NoImage] AVC-H264 import - frame size 480 x 272 at 29.970 FPS
---[NoImage] Import results: 600 samples - Slices: 30 I 289 P 281 B - 1 SEI - 30 IDR
---[NoImage] IsoMedia import - track ID 1 - Audio (SR 48000 - 2 channels)
---[NoImage] Saving F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.psp.480x272-muxed.mp4: 0.500 secs Interleaving
--[NoImage] Standard error stream
--[Information] [4/10/2009 9:11:18 PM] Postprocessing
--[Information] [4/10/2009 9:11:18 PM] Job completed


muxing with mkvmergeGUI (from meGUI "tools" folder) is ok too!
_


the error is in the muxing line for audio:

it sould be

-a 1 -D -S

insted of

-a 0 -D -S
_

Sion
13th April 2009, 02:23
Demux the audio from the original file with AVIMuxGUI (for AVIs) or MKVMerge (MKVs), remux with the newly encoded video. Both programs come with MeGUI - check the tools folder. Hmmm... I don't see either of these tools under the "tools" drop-down menu in meGUI. Do I have the wrong version, are there add-ons I should get, or are they called or located somewhere other than the tools menu in meGUI?
Encode the video ONLY to Xvid at your desired bitrate (remember to include the audio in the calculations) and then use the AVI muxer to mux audio and video in an AVI file.So when I encode the video only, I include space for the audio in bitrate calc's even though the audio will be added in after the video is re-encoded? Weird! I never would have thought that was the way to do it! Is there an explanation for this? I like to understand the logic behind stuff... I've found it helps me figure other things out down the road.
That means you should not use the AutoEncode but you have to set the bitrate in the preset and queue the job manually. When it's done, then proceed with the mux. Again, "bitrate" here is a TOTAL bitrate? I've never done anything but Autoencode... is manual fairly self explanitory?

homerpez
13th April 2009, 04:04
Maybe your Decoders or Splitters are going wrong?
What's inside your MKVs? Mpeg2, MP4, or Avi?
Could be a decoding or encoding problem.
Blame it on the boogie, but not on MeGUI :p

I still think it's Megui... since it's pretty suspect that everything that comes from it, whether XVID or x264, winds up this way... one codec broken, I get, or the muxer, but 2 codecs AND the muxer breaking at once??? You see where I'm coming from...

The source on these is MKV files, x264 source video, and AC3 audio usually. The audio encodes to aac straight away with no issues, in fact this is the only part working once it gets to my phone. I've tried a couple which are similar to this one, and I'm getting the same result.

I can use the AVS creator to open the MKV and crop, resize, etc, and encode as I normally would. The end result is the same - video that won't play on my phone, that would before with the exact same profiles and settings.

I also believe - though I can't be positive - that the muxer isn't directly to blame either. I've tried current as well as older versions of mp4box, which Megui uses. (Unfortunately I don't know of another good one). I've tried separate locations of this as well (and using Yamb). No luck either way.

The common thread is: if the video stream was encoded with Megui, it doesn't work for me anymore. The first symptom is that there's no preview image in Vista (pops up instantly on the ones Megui encoded that work fine). Second symptom... it doesn't play on the phone.

Weirder is, it DOES still play on the PC (Media Player Classic). Splitters and codecs are fine on the computer, it's just not producing the type of stream my phone "likes", and Vista's preview image doesn't like it anymore either (possilbly misreporting something?)

Thanks, Sharktooth, for the link to the old files for testing. I hope I can figure out a solution from that... though really, I do find it pretty suspect that it goes from "all working" to "nothing works", and that multiple codecs stopped working at the exact same time, in the exact same way...

Thanks for any help, though I probably won't be able to experiment until after my vacation now :p

UPDATE: Clarification on the Vista symptom... there's definitely something to this. The files correctly produced using Megui and plugins from before can be deleted/renamed almost instantly... the ones since the update take forever to be read by the system, and they are locked out of deleting/moving/renaming for almost a minute before the system lets me. IT seems to be trying to read header information and can't. There IS something very different about them.

In addition, I even tried updating the "tools" files with older versions (I went back to Jan. 1 09 versions of x264, XVID, and mp4box). These also don't work......... perhaps something in the way Megui is UTILIZING its individual tools?....

Sion
13th April 2009, 22:13
Hmmm... I don't see either of these tools under the "tools" drop-down menu in meGUI. Do I have the wrong version, are there add-ons I should get, or are they called or located somewhere other than the tools menu in meGUI?
:stupid:
You said "folder" not menu. I found the folder. Duh.

Sharktooth
13th April 2009, 22:38
So when I encode the video only, I include space for the audio in bitrate calc's even though the audio will be added in after the video is re-encoded? Weird! I never would have thought that was the way to do it! Is there an explanation for this? I like to understand the logic behind stuff... I've found it helps me figure other things out down the road. Again, "bitrate" here is a TOTAL bitrate? I've never done anything but Autoencode... is manual fairly self explanitory?
Auto-encode encodes both audio and video. If you only enqueue a video job instead (hence, not using auto-encode), only the video will be encoded. So, doing that way, you just encode the video and then mux your encoded video with the audio you extracted from your source.
The bitrate calculator has an option to load the audio file so you can set a target size and get the video bitrate for that size.

Sion
13th April 2009, 23:22
Auto-encode encodes both audio and video. If you only enqueue a video job instead (hence, not using auto-encode), only the video will be encoded. So, doing that way, you just encode the video and then mux your encoded video with the audio you extracted from your source.
The bitrate calculator has an option to load the audio file so you can set a target size and get the video bitrate for that size.
What if I use autoencode, and then click the box that says "add additional content". Then I can add in a soundtrack file there, right? I've done that in the past with ac3 soundtracks that were demuxed in the d2v creator process, when I was making x264 mkv's from my dvds. I delete (press "X") any audio files from the main input meGUI page, then click autoencode, then "additional content", queue, load the audio file I want, then click "go". Why would this not work for XviD/AVI?

Sharktooth
14th April 2009, 00:22
That should work too.
I just prefer the other way though.

Kurtnoise
14th April 2009, 12:09
the error is in the muxing line for audio:

it sould be

-a 1 -D -S

insted of

-a 0 -D -S
_
your aac stream is plain SBR ?

Sion
14th April 2009, 17:25
That should work too.
I just prefer the other way though.

Well, I thought it would work, too... but for some reason, it's not happening. I go through the autoencode process, select the "add additional content" checkbox, click queue, select my .dts file (which I created using MMG), then click "go" which brings me to the queue. I click start, and the encoded begins. It then loads mkvmerge gui for the muxing, and out pops an .avi file with no audio whatsoever.

If I then manually mux the two, I get a file with audio, so the .dts file is good. However, I don't see a way to mux the two files into an .avi container. Both avimuxgui and MMG seem to only allow .mkv as an output container.

Help? :confused:

colinhunt
14th April 2009, 18:04
Hi everyone,

I'm having problems with some HD AVC transport streams. I'm basically trying to re-encode the files to take up less disc space. First symptom of a problematic .ts is DGAVCIndex crashing when trying to process the file. I've tried several methods to fix the .ts, including remuxing with tsmuxer or tsremux, or repairing the file with mpeg2repair 1.0.15 or TSDoctor 0.88. One of those usually results in a file which DGAVCIndex has no problems with.

Real problems start during encoding. x264 (1139 Skystrife's patched build) crashes in pass 1 after 30-35 minutes:

Standard error stream
- avis [info]: 1920x1040 @ 25.00 fps (119525 frames)
- x264 [info]: using SAR=1/1
- x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
- x264 [info]: profile High, level 4.1
- This application has requested the Runtime to terminate it in an unusual way.
- Please contact the application's support team for more information.

Additional info:
Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 7400 --stats "E:\e101fix.stats" --level 4.1 --bframes 3 --b-pyramid --weightb --direct auto --deblock -1:-1 --subme 2 --partitions none --vbv-bufsize 50000 --vbv-maxrate 50000 --me dia --threads auto --thread-input --sar 1:1 --cqmfile "C:\Program Files\megui\eqm_avc_hr.cfg" --progress --no-psnr --no-ssim --output NUL "E:\e101fix.avs"

[Information] Versions
- MeGUI Version : 0.3.1.1031
- OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
- Framework used : 2.0 SP1 (2.0.50727.1433)

Please note that I've done several successful encodings with this exact same set-up. It's only some transport streams that cause problems. I'd appreciate some advice on how to fix those files so DGAVCIndex and/or x264 won't crash.

Thanks in advance.

b66pak
14th April 2009, 19:05
your aac stream is plain SBR ?

no it's not...

General
Complete name : F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 327 KiB
Duration : 20s 85ms
Overall bit rate : 134 Kbps
Encoded date : UTC 2008-11-23 16:05:47
Tagged date : UTC 2008-11-23 16:05:48
Writing application : Nero AAC codec / 1.3.3.0
cdec : ndaudio 1.3.3.0 / -cbr 128000 -lc

Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 20s 85ms
Bit rate mode : Variable
Bit rate : 132.3 Kbps
Maximum bit rate : 151 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 322 KiB (98%)
Encoded date : UTC 2008-11-23 16:05:47
Tagged date : UTC 2008-11-23 16:05:48

i thing it has nothing to do with it...

the log said that mkvmerge can't find the audio track with id 0:

--[NoImage] Warning: 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': No tracks will be copied from this file. This usually indicates a mistake in the command line.
---[NoImage] Warning: 'F:\MKV\Sample\hfyu_VTS_03_1-001_Track1.aac': A track with the ID 0 was requested but not found in the file. The corresponding option will be ignored.

the track id should be 1 instead of 0...

i have copied the command line from log and replaced "-a 0" with "-a 1" and all worked ok...
_

Kurtnoise
14th April 2009, 19:17
why not using mp4 container for your audio stream ?

btw, I cannot reproduce here...mmg gives me trackID == 0 from the command line with several aac streams.

b66pak
14th April 2009, 19:46
is an old sample witch i keep for testing purposes (obtained with an old neroaacenc that outputed .aac)...
_

b66pak
14th April 2009, 20:29
ok...i was wrong...the .aac is actually a .m4a...renamed it and all goes OK...
_

Sharktooth
15th April 2009, 15:23
Well, I thought it would work, too... but for some reason, it's not happening. I go through the autoencode process, select the "add additional content" checkbox, click queue, select my .dts file (which I created using MMG), then click "go" which brings me to the queue. I click start, and the encoded begins. It then loads mkvmerge gui for the muxing, and out pops an .avi file with no audio whatsoever.

If I then manually mux the two, I get a file with audio, so the .dts file is good. However, I don't see a way to mux the two files into an .avi container. Both avimuxgui and MMG seem to only allow .mkv as an output container.

Help? :confused:
It's obvious you cant place a DTS stream in AVI... and that MKVMerge supports only MKV as output...

Sion
15th April 2009, 16:07
It's obvious you cant place a DTS stream in AVI... and that MKVMerge supports only MKV as output...
I've put DTS streams in AVI's before...
And I figure mkvmerge would only support mkv output, but I can't seem to get avimuxgui to output to avi! It outputs to mkv too...?

Sharktooth
16th April 2009, 01:11
... i rephrase ... with the current tools included in megui, you cant place DTS in AVI.

Havokdan
16th April 2009, 11:04
The MUX MeGUI not files. Avi as you would with. Mkv and. Mp4? I mean automatically? Because when I try MUX files (Xvid Video + mp3 audio), the MeGui open the Avimux, however does not perform any operation, it is anyway?

Sorry my bad english.

Sharktooth
16th April 2009, 14:41
i cant understand

Havokdan
16th April 2009, 15:46
I can't join togheter the video + audio in .avi extension. The Avimux Gui opens, but i have to add the intermediary files manually and start in Avimuxgui. The MeGUI doesn't do it automatically?

Sharktooth
16th April 2009, 17:10
last time i tried it worked flawlessly.

Havokdan
16th April 2009, 18:00
Maybe don't work with me because my operating system is not English. An example Log:

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1031
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.3082)
-[Information] Hardware
--[NoImage] CPU : AMD Sempron(tm) Processor 3000+
-[Information] Log for job3 (mux, Example.avi -> Example-muxed.avi)
--[Information] [16/4/2009 13:58:19] Started handling job
--[Information] [16/4/2009 13:58:19] Preprocessing
--[NoImage] Job commandline: "E:\Arquivos de programas\megui\tools\avimux_gui\avimux_gui.exe" "E:\Documents and Settings\Daniel\Configurações locais\Temp\tmp27D.tmp"
--[Information] [16/4/2009 13:58:19] Encoding started

delanejenkins
16th April 2009, 18:45
I have always been choosing rawavc as my file format when backing up my blurays and dvds to ts or mkv. Is there ever a time I should choose mp4 or mkv? I have read something about some effect on anamorphic encoding but would like to know for sure.

darkside40
16th April 2009, 20:48
Hi there,
is there a way to change the TEMP folder used by MEGui?

Avimuxgui seems to habe some problems with ny temp folder name (spaces, special chars) and refuses to work.

Sharktooth
16th April 2009, 21:33
no. just use sane files and folders names...

Poutnik
17th April 2009, 06:54
Hi, Sharktooth,

would it be possible to have other kind of number rounding
in encoding status window of MeGUI ?

E.g. 703.1 MB is great, but 1.0 GB does not look very useful.

I have started to use MeGUI just very recently,
and it is a great piece of software.

Riki
17th April 2009, 15:11
Hi, I noticed with the AAC audio encoder its not possible to encode to 22,050. I only see 44k and 48k. Is there a way to enable this?

Sharktooth
17th April 2009, 16:43
Hi, Sharktooth,

would it be possible to have other kind of number rounding
in encoding status window of MeGUI ?

E.g. 703.1 MB is great, but 1.0 GB does not look very useful.

I have started to use MeGUI just very recently,
and it is a great piece of software.
what do you mean? 703.1 MB gets rounded to 1.0 GB?

@Riki: what AAC audio encoder? Nero, Winamp or FAAC?

Poutnik
17th April 2009, 17:22
what do you mean? 703.1 MB gets rounded to 1.0 GB?

Hm, why should I thought by such strange way ?? :)

I mean rounding sizes of hundreds of MBs like 703.1 MB is OK,
but rounding size about 1 GB as 1.0 GB is less optimal.

Better would be in general 3-4 "significant numbers" - I do not know exact term in english.

E.g.: 35.85 MB, 703.1 MB, 1.234 GB, 12.85 GB, if taking 4.

Sharktooth
17th April 2009, 17:27
oh, you mean you would like to have more decimals :)
ok, got it.

Riki
17th April 2009, 23:29
@Sharktooth - haha, I didnt realize there were so many. Im just using Nero, I guess I could try the other ones. (see attached)

*edit* I checked winamp and faac and they both have the same options. There isnt a way to change the SampleRate to 22050, but I know nero supports it. Maybe this could be an added feature to megui?

Riki
19th April 2009, 04:11
I added this into the tracker as well.

Kurtnoise
19th April 2009, 10:02
already included for the next release...

Riki
21st April 2009, 14:10
Thanks, I just tested it and it works perfect. That saves me about 3 steps. :D

rapscallion
21st April 2009, 22:16
Hey guys, this may be just coincidental, but usually it takes about 3 hrs on my system to create a "stats" file and ~7 hrs for the second pass to create a rawac "264" file for the ~2hr movies that I process ~12.0 fps.

Today, after MEgui updated from 1031 to 1032, a similar movie took the 3 hrs for the *.stats file, but then less than 2 hrs to create the *.264 file processing about 22.0 fps, ~8.1gb!

Any idea why the big change/reduction in processing time ? 5hr difference is quite substantial, to say the least.

Here are logfiles, first under ver 1031 , then under 1032 that maybe someone can shed some light on :

1031:
[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1031
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.1433)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
-[Information] Log for job6 (video, ultimatum.avs -> ultimatum.264)
--[Information] [4/20/2009 4:13:53 PM] Started handling job
--[Information] [4/20/2009 4:13:53 PM] Preprocessing
--[NoImage] Job commandline: "C:\dvd_rw\megui\tools\x264\x264.exe" --pass 2 --bitrate 7574 --stats "C:\br avs\ultimatum.stats" --level 4.1 --keyint 24 --min-keyint 2 --ref 3 --mixed-refs --bframes 3 --b-adapt 2 --weightb --direct auto --subme 7 --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 16500 --vbv-maxrate 16500 --qcomp 0.5 --me umh --threads auto --thread-input --sar 1:1 --aud --progress --no-psnr --no-ssim --output "D:\ultimatum\ultimatum.264" "C:\br avs\ultimatum.avs" --mvrange 511 --nal-hrd --sar 1:1
--[Information] [4/20/2009 4:13:54 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] avis [info]: 1280x720 @ 23.98 fps (165735 frames)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] x264 [info]: profile High, level 4.1
---[NoImage]
---[NoImage] x264 [info]: slice I:12113 Avg QP:14.17 size: 64674
---[NoImage] x264 [info]: slice P:71832 Avg QP:15.68 size: 43895
---[NoImage] x264 [info]: slice B:81790 Avg QP:16.30 size: 31886
---[NoImage] x264 [info]: consecutive B-frames: 12.8% 38.6% 30.5% 18.1%
---[NoImage] x264 [info]: mb I I16..4: 27.3% 59.7% 13.0%
---[NoImage] x264 [info]: mb P I16..4: 4.4% 22.1% 3.9% P16..4: 20.0% 12.9% 7.1% 0.0% 0.0% skip:29.6%
---[NoImage] x264 [info]: mb B I16..4: 1.5% 8.2% 1.0% B16..8: 31.6% 3.7% 5.0% direct:10.9% skip:38.1% L0:39.1% L1:45.0% BI:15.9%
---[NoImage] x264 [info]: 8x8 transform intra:69.8% inter:52.8%
---[NoImage] x264 [info]: direct mvs spatial:85.8% temporal:14.2%
---[NoImage] x264 [info]: ref P L0 79.5% 12.9% 7.6%
---[NoImage] x264 [info]: ref B L0 87.7% 12.3%
---[NoImage] x264 [info]: kb/s:7574.0
---[NoImage] encoded 165735 frames, 6.50 fps, 7578.98 kb/s
--[Information] Final statistics
---[NoImage] Video Bitrate Desired: 7574 kbit/s
---[NoImage] Video Bitrate Obtained (approximate): 7578 kbit/s
--[Information] [4/20/2009 11:19:14 PM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [4/20/2009 11:19:14 PM] Successfully deleted C:\br avs\ultimatum.stats
--[Information] [4/20/2009 11:19:14 PM] Job completed

1032:
-[Information] Log for job2 (video, supremacy.avs -> supremacy.264)
--[Information] [4/21/2009 1:07:14 PM] Started handling job
--[Information] [4/21/2009 1:07:14 PM] Preprocessing
--[NoImage] Job commandline: "C:\dvd_rw\megui\tools\x264\x264.exe" --pass 2 --bitrate 8128 --stats "C:\br avs\supremacy.stats" --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --b-adapt 2 --weightb --direct auto --subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 16500 --vbv-maxrate 16500 --qcomp 0.5 --threads auto --thread-input --sar 1:1 --aud --progress --no-psnr --no-ssim --output "D:\supremacy\supremacy.264" "C:\br avs\supremacy.avs" --mvrange 511 --nal-hrd --sar 1:1
--[Information] [4/21/2009 1:07:14 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] avis [info]: 1280x720 @ 23.98 fps (155982 frames)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] x264 [info]: profile Main, level 4.1
---[NoImage]
---[NoImage] x264 [info]: slice I:11248 Avg QP:13.24 size: 67770
---[NoImage] x264 [info]: slice P:65518 Avg QP:14.52 size: 46356
---[NoImage] x264 [info]: slice B:79216 Avg QP:15.30 size: 35478
---[NoImage] x264 [info]: consecutive B-frames: 12.3% 34.8% 27.8% 25.0%
---[NoImage] x264 [info]: mb I I16..4: 54.2% 0.0% 45.8%
---[NoImage] x264 [info]: mb P I16..4: 36.6% 0.0% 0.0% P16..4: 33.9% 0.0% 0.0% 0.0% 0.0% skip:29.4%
---[NoImage] x264 [info]: mb B I16..4: 15.5% 0.0% 0.0% B16..8: 30.9% 0.0% 0.0% direct:18.0% skip:35.6% L0:29.5% L1:35.5% BI:35.0%
---[NoImage] x264 [info]: direct mvs spatial:89.1% temporal:10.9%
---[NoImage] x264 [info]: kb/s:8128.0
---[NoImage] encoded 155982 frames, 22.45 fps, 8132.95 kb/s
--[Information] Final statistics
---[NoImage] Video Bitrate Desired: 8128 kbit/s
---[NoImage] Video Bitrate Obtained (approximate): 8132 kbit/s
--[Information] [4/21/2009 3:03:12 PM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [4/21/2009 3:03:12 PM] Successfully deleted C:\br avs\supremacy.stats
--[Information] [4/21/2009 3:03:12 PM] Job completed

nurbs
21st April 2009, 22:54
The second encode uses faster settings. --subme 2, --partitions none and no trellis. Either you used the wrong settings or there is a bug that causes fast first pass settings to be used on the second pass.

rapscallion
22nd April 2009, 04:44
Thanks (I really didn't know what to look for). I haven't changed any settings so will try again and see if it wasn't just a fluke. (or maybe it is a bug in the update to ver 1032)

Edit :Tried again and it appears that something has changed in the way x264 handles the encode now, or Megui changed something with the update.

I have always selected x264-standalone avchd ,as the preset, and job1 (pass1) has created the *stats file with these parameters, and as you can see they are now duplicated for pass2 :

program --pass 2 --bitrate 8128 --stats ".stats" --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --b-adapt 2 --weightb --direct auto --subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 16500 --vbv-maxrate 16500 --qcomp 0.5 --threads auto --thread-input --progress --no-psnr --no-ssim --output "output" "input" --mvrange 511 --nal-hrd --sar 1:1

Now, if I select "standalone blu-ray" the parameters for pass2 are what the former avchd were :

program --pass 2 --bitrate 8128 --stats ".stats" --level 4.1 --keyint 24 --min-keyint 2 --ref 3 --mixed-refs --bframes 3 --b-adapt 2 --weightb --direct auto --deblock -1:-1 --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 40000 --vbv-maxrate 40000 --qcomp 0.5 --me umh --threads auto --thread-input --progress --no-psnr --no-ssim --output "output" "input" --mvrange 511 --nal-hrd --sar 1:1

So, the question is which preset to use now, for creating a DVD9 AVCHD disc ?

Edit: Problem solved. Apparently the update (or something else) udated the preset/profile 2nd pass to the first pass parameters. All I had to do was re import the profiles and now avchd parameretrs are correct for both passes. Thanks again nurbs for pointing me in the right direction (this is all new to me)

Sion
22nd April 2009, 16:52
This seems like probably a pretty easy question, but I couldn't find an answer, so I'm asking here...

When transcoding a file from x264 to Xvid, I usually use CBR and set the bitrate around 4000. I usually encode the video first with no audio, then mux in the audio afterwards from the original file. So, for the video-only portion of the process, I'd expect the final video bitrate to be what I set it for in meGUI. But it's usually significantly less. Why is this? For example, I transcoded a clip recently, using CBR, set the bitrate to an even 4000, used autoencode, told it to "use profile settings" (i.e. no target size). After the encoding is done, a mediainfo report shows the final bitrate for the video to be 3854, even though I set it to 4000. I'm not terribly concerned, it's not a big deal, just curious.

Thanks...

Dark Shikari
22nd April 2009, 17:15
This seems like probably a pretty easy question, but I couldn't find an answer, so I'm asking here...

When transcoding a file from x264 to Xvid, I usually use CBR and set the bitrate around 4000. I usually encode the video first with no audio, then mux in the audio afterwards from the original file. So, for the video-only portion of the process, I'd expect the final video bitrate to be what I set it for in meGUI. But it's usually significantly less. Why is this? For example, I transcoded a clip recently, using CBR, set the bitrate to an even 4000, used autoencode, told it to "use profile settings" (i.e. no target size). After the encoding is done, a mediainfo report shows the final bitrate for the video to be 3854, even though I set it to 4000. I'm not terribly concerned, it's not a big deal, just curious.

Thanks...If you're actually using CBR, that means the encoder has to use the same bitrate everywhere--and if it's impossible to use the full 4 megabits in a given situation, it clearly can't compensate for that later by adding a few more bits, since the bitrate is constant.

naugas
22nd April 2009, 23:48
When using 0.3.1.1032 and x264 1139, setting "Chroma QP Offset" always shows up two steps smaller when I check it with mediainfo. That is, I leave it at 0, it says -2, putting it at 2, it becomes 0 etc. Seems a little strange?

Sion
22nd April 2009, 23:50
If you're actually using CBR, that means the encoder has to use the same bitrate everywhere--and if it's impossible to use the full 4 megabits in a given situation, it clearly can't compensate for that later by adding a few more bits, since the bitrate is constant.
Hmm... interesting. I'd not thought of it that way. Makes sense, thanks.

Now though, I'm curious, how/why would it be impossible to use the full amount of a certain bitrate for a given situation? I mean, even for a frame that is full-screen pure blue (for example) it could be defined with very few bits, but you *could* use as many bits as you want (though wasteful) right? Obviously based on your earlier comment this isn't right, but I'm curious how&why this isn't true.

Thanks!

Dark Shikari
23rd April 2009, 00:53
When using 0.3.1.1032 and x264 1139, setting "Chroma QP Offset" always shows up two steps smaller when I check it with mediainfo. That is, I leave it at 0, it says -2, putting it at 2, it becomes 0 etc. Seems a little strange?x264 lowers it by 2 from the input value when using psy-RD.Hmm... interesting. I'd not thought of it that way. Makes sense, thanks.

Now though, I'm curious, how/why would it be impossible to use the full amount of a certain bitrate for a given situation? I mean, even for a frame that is full-screen pure blue (for example) it could be defined with very few bits, but you *could* use as many bits as you want (though wasteful) right? Obviously based on your earlier comment this isn't right, but I'm curious how&why this isn't true.On the frame level, Xvid doesn't work with a bit budget; it works with a given frame quantizer. The ratecontrol decides the quantizer in order to try to match the bit budget.

But what if you get to the minimum quantizer and still don't use up the entire bit budget? Since there's no point in going further, most encoders don't include code to handle this case. But there's a few things that could be done.

1. Xvid's default min QP is 2. You could lower this to 1 to allow it even more ability to waste bits (for no real visual gain).

2. The "lambda," that is, the "value" of bits, can be decreased internally, thus causing the encoder to choose decisions that increase quality but would normally cost too many bits to make such an increase worthwhile.

3. The encoder can pad the end of the frame with zeroes (used in cases where "hard CBR" is necessary).

MacLover
24th April 2009, 16:10
Hey, I know this will sound stupid but does meGUI run on Windows 7 Ultimate (32Bit) Beta? or should I just install XP (32Bit) instead?

Sion
24th April 2009, 18:44
Hey, I know this will sound stupid but does meGUI run on Windows 7 Ultimate (32Bit) Beta? or should I just install XP (32Bit) instead?
That's okay, your handle gives you a free pass for stupid questions. ;)

Stupid answer:
Why don't you just install it and try it out? Report your findings. I'm sure many people would be interested. :)

Sharktooth
25th April 2009, 03:19
it does...

Forteen88
25th April 2009, 16:53
Is it okey to put official x264 in megui\tools\x264-directory instead of using Skystrife's version? I wonder because Skystrife's version isn't updated that fast.

EDIT: OK, great, thanks. I thought those at:
http://x264.nl/
were the official ones.

Kurtnoise
25th April 2009, 19:42
sure...no problem but there isn't an official x264 build yet.

edit: keep in mind that some presets use some additional functions not available on every builds.

-=:rkd:=-
25th April 2009, 22:32
Hey guys..

I have been getting this error for the last 4 days while ripping a movie which is PAL interlaced...

After the rip is 99.5% complete it gives me an error ...Log file is like this..

-[Information] Log for job1 (video, Trial.avs -> )
--[Information] [4/26/2009 2:20:36 AM] Started handling job
--[Information] [4/26/2009 2:20:36 AM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 1110
--stats "E:\B & B\Trial.stats" --bframes 3 --b-adapt 2 --b-pyramid --weightb --direct auto --deblock
-1:-1 --subme 2 --partitions none --me dia --threads auto --thread-input --sar 1:1 --cqmfile
"D:\Encoding\AvcMatrices\M4G-HighDetail-V3.1.cfg" --progress --no-psnr --no-ssim --output NUL "E:\B & B\Trial.avs"
--[Information] [4/26/2009 2:20:37 AM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] avis [info]: 720x320 @ 25.00 fps (4365 frames)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2 SSE3 Cache64
---[NoImage] x264 [info]: profile High, level 3.0
--[Information] [4/26/2009 2:27:10 AM] Job completed

And it says like X264 encountered a problem and needs to close...Tht irritating error reporting window comes..here is the Screenshot of the error..

http://i732.photobucket.com/albums/ww323/rajeev_cusat/1.jpg

Please help me....

Kurtnoise
26th April 2009, 07:48
hard to say...cleanup your avs plugins folder (there are maybe some conflicts) or try an other x264 build.

I thought those at:
http://x264.nl/
were the official ones.
no, there are not...

-=:rkd:=-
26th April 2009, 15:12
Hey guys..

I have been getting this error for the last 4 days while ripping a movie which is PAL interlaced...

After the rip is 99.5% complete it gives me an error ...Log file is like this..

-[Information] Log for job1 (video, Trial.avs -> )
--[Information] [4/26/2009 2:20:36 AM] Started handling job
--[Information] [4/26/2009 2:20:36 AM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 1110
--stats "E:\B & B\Trial.stats" --bframes 3 --b-adapt 2 --b-pyramid --weightb --direct auto --deblock
-1:-1 --subme 2 --partitions none --me dia --threads auto --thread-input --sar 1:1 --cqmfile
"D:\Encoding\AvcMatrices\M4G-HighDetail-V3.1.cfg" --progress --no-psnr --no-ssim --output NUL "E:\B & B\Trial.avs"
--[Information] [4/26/2009 2:20:37 AM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] avis [info]: 720x320 @ 25.00 fps (4365 frames)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2 SSE3 Cache64
---[NoImage] x264 [info]: profile High, level 3.0
--[Information] [4/26/2009 2:27:10 AM] Job completed

And it says like X264 encountered a problem and needs to close...Tht irritating error reporting window comes..here is the Screenshot of the error..

http://i732.photobucket.com/albums/ww323/rajeev_cusat/1.jpg

Please help me....

Is there anyone who can help me trouble shoot this problem...???This error is driving me crazy

Sharktooth
26th April 2009, 15:14
have you tried cleaning up your avs plugins as kurtnoise suggested you?
also, this is not related to megui since your crash happens on x264.

Rodger
26th April 2009, 15:42
2 things possible from my point of view.

computer is overclocked
original stream is corrupt

-=:rkd:=-
26th April 2009, 20:51
Thnks to all of u guys for the prompt reply

@ kurtnoise

i cud not figure out tht u r addressing me...(I m really sorry for this) Will try it right now..

@ Sharktooth.

It happens wih Xvid and X264 both..I tried it with both the codecs...

@ Rodger

processor is not overclocked..I am sure...
Original stream seems to be corrupt??? i didnt get u..

First I will follow the kurtnoise method and will report it back in a moment..

Edit

After I opened my plugins folder I was confused which plugins may contradict why shud I remove this not tht..So as u guys are the one who write plugins for us so u people can understand the conflicts between them...I am posting a Snapshot of my plugin folder plz tell me the conflicting plugin...


http://i732.photobucket.com/albums/ww323/rajeev_cusat/1-2.jpg

Will this prob be removed if I dont keep all the plugins in my plugin folder and load it when required....

Thnks again guys

Sharktooth
27th April 2009, 14:17
remove everything (just move them in another folder) except DirectShowSource.dll.
then reinstall megui plugins thru the megui Update function (right click on the plugins and select force reinstall).
after it's done, try re-encoding and if it works then one or more of your plugins are either conflicting or corrupted.

Poutnik
28th April 2009, 04:21
I have read somewhere in the forum DXVA compatible H264
should not use more than 4 ref frames.

Your DXVA SD HQ MeGUI profile uses 8 ref frames.

Is the info above incorect ? Or is it conditional ?
I have not DXVA supporting card yet to check....

saint-francis
28th April 2009, 05:43
I have read somewhere in the forum DXVA compatible H264
should not use more than 4 ref frames.

Your DXVA SD HQ MeGUI profile uses 8 ref frames.

Is the info above incorect ? Or is it conditional ?
I have not DXVA supporting card yet to check....

Ref frame limit is dependent on your video card and the resolution of the material you are trying to play. For SD 8 refs will be fine.

SeeChestlickRun
28th April 2009, 05:58
Hey,

I cant seem to downmix AC3 4 channel to Vorbis 2 Channel.

They will always come out as 4 Channel... Why?

I have the Vorbis set at 'Downmix multichannel to Stereo' and Q=0.5 to make it about 128 bitrate (Not really because it's stuck in 4 channel)

Is it a bug?

Chestlick

tebasuna51
28th April 2009, 09:31
I cant seem to downmix AC3 4 channel to Vorbis 2 Channel.

They will always come out as 4 Channel... Why?

I think only the standard multichannel 5.1 is downmix to 2.0

To downmix other multichannel config you need write an avs file.

First you need know what kind of 4 channel is:
- 2/2.0 (FL,FR,SL,SR)
- 3/1.0 (FL,FR,FC,S)
- 3/0.1 (FL,FR,FC,LFE)
- 2/1.1 (FL,FR,LFE,S)

After you can select between the downmix method:
- Plain stereo
- Dolby ProLogic
- Dolby ProLogic II (only if 2/2.0)
and if you use the LFE channel (if present) to mix (Dolby recommend don't use the LFE channel for 2.0 downmix)

SeeChestlickRun
28th April 2009, 16:12
Oops, sorry, I don't know why I typed 4 channel, I think I was too tired last night.

This is what MediaInfo gave:

Audio
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 42mn 17s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz

It's 6 channels, after all its from a DVD. (5.1 channel after all)

After encoding it, with this setting...

http://i388.photobucket.com/albums/oo329/Jhcheslik/MeGUI/screenshot10.jpg

I get this.

Audio
Format : Vorbis
Format settings, Floor : 1
Duration : 42mn 17s
Bit rate : 344 Kbps
Channel(s) : 4 channels
Sampling rate : 48.0 KHz

Although, I'll look up at some avs script. Thanks.

tebasuna51
29th April 2009, 01:14
Oops, sorry, I don't know why I typed 4 channel, I think I was too tired last night.

It's 6 channels, after all its from a DVD. (5.1 channel after all)

Sorry, I can't reproduce your problem, works fine here with your settings.

alexcel
29th April 2009, 23:18
Hi:

I can't process mkv as input files, when I run dga creator, I get an error

"Can't fin libavcodec.dll in the dgavcindex folder".

The libavcodec is installed by megui in the avisynth 2.5.8 plugins folder, not in the dgavcindex folder so it can not be found.

I have downloaded another version of dgavcindex from neuron and installed it on a different folder, with all files in the same folder. Then I have changed the path to the new folder in megui settings

Then, If I launch dga creator the first error would not appear, but the indexing does not occur and no file is created, while it keeps saying "processing ..." for very long times until I abort operation.

My feeling is that this is a issue related to Vista 64 bits and how tools are installed

Any help is most appreciated.

Thanks!!

nurbs
29th April 2009, 23:26
According to the manual on neuron2.net dgavcindex can only index avc elementary streams (.264) and transport streams (.m2ts), not in an mkv container.

alexcel
30th April 2009, 00:30
According to the manual on neuron2.net dgavcindex can only index avc elementary streams (.264) and transport streams (.m2ts), not in an mkv container.

But I have read in this forum that processing mkv files as input files in megui is perfectly possible

Am I wrong?

nurbs
30th April 2009, 01:41
Never tried it, but they should be opened with directshowsource() if you add them in the main encoding tab. Maybe that works in the avs-creator as well. If you need the indexing you will have to demux the mkv first.

daWsOn_s
30th April 2009, 02:04
Can I add custom aspect ratios and filesize (in bitrate calculator) in some xml file without writing them everytime?

Kurtnoise
30th April 2009, 06:31
But I have read in this forum that processing mkv files as input files in megui is perfectly possible

Am I wrong?
only with the DGxxxNV tools...

Can I add custom aspect ratios and filesize (in bitrate calculator) in some xml file without writing them everytime?
nope...

SacredCultivator
30th April 2009, 21:51
Just curious, and sorry if not supposed to post here... For 64bit systems (testing it out), XP 64bit, as I'm still not too fond of Vista.

But anyway, for the 64bit, in regard to meGUI / filters/ etc. how would I go about it to switch to 64bit for that benefit. As I'm aware that there are still a few things that aren't 64bit compatible, and will still be under 32bit. And another thing would be since now there are 64bi x264 builds, I would assume I'd just grab those and replace the one in the meGUI installation (tools) folder, or does meGUI auto detect that?

Never really used 64bit so completely new to the idea.

---
EDIT:
I guess another quesiton is... in regard to encoding speed (if same settings are used comparing 32bit to 64bit, is the benefit that big?)

nurbs
30th April 2009, 22:26
I don't know if it is possible with megui, but your whole encoding chain (splitter, decoder, (avisynth), encoder) would have to be 64bit to be usable. Some people on the forum have managed to use avs2yuv to send frames from 32bit avisynth to 64bit x264, but that is not implemented in megui. IIRC the 64bit version of x264 is about 10% faster.

SacredCultivator
30th April 2009, 22:53
So it is fine to just have everything I currently under 32bit just changing the 64bit of x264 right?

nurbs
1st May 2009, 09:52
As I said, I don't know if that's possible in megui. AFAIK 64bit avisynth lacks a lot of plugins and the indexing programs are only 32bit, so it might be more trouble than it's worth.

daWsOn_s
1st May 2009, 11:50
Is there any change to cut video and audio files without re-encode the audio? For example if I want to cut commercials with AVS cutter and preserve the AC3 stream.
Do I have to pass through some other software before megui?

nurbs
1st May 2009, 12:20
For AC3 audio you can use "delaycut" (google it). Of course it doesn't integrate with the AVS cutter, so you'll have to enter the times at which you want to cut manually.

Seraphic-
1st May 2009, 18:23
Is anyone running MeGUI under Vista? I keep getting the same damn errors even though the path locations are correct.
Had this problem before and running MeGUI as Administrator fixed the issue, but now it isn't helping at all. :angry:
Do I somehow have the wrong path location or is something else the problem?

AVIFileSource: couldn't open file 'D:\Track1.wav'
(D:\WAV to 5.1.avs, line 1)


fl = WavSource("D:\Track1.wav")
fr = WavSource("D:\Track2.wav")
fc = WavSource("D:\Track5.wav")
lf = WavSource("D:\Track6.wav")
sl = WavSource("D:\Track3.wav")
sr = WavSource("D:\Track4.wav")
MergeChannels(fl, fr, fc, lf, sl, sr)

Kurtnoise
2nd May 2009, 06:44
which avisynth version are you using ?

Seraphic-
2nd May 2009, 16:21
which avisynth version are you using ?

AviSynth 2.5.8

Kurtnoise
2nd May 2009, 20:05
works fine here on Vista...maybe try by changing your path. your Disk D is not protected ?

Seraphic-
3rd May 2009, 00:19
works fine here on Vista...maybe try by changing your path. your Disk D is not protected ?

Don't think so. Also tried it from C drive and had same problem.
Think is has to do with the program in Vista.
Does your Vista ask you to v.i warning to allow or deny whenever you try and run MeGUI?
Even when I run as administrator it does that.

Richardw322
3rd May 2009, 16:55
I have a general question. I have a set of MPEG2 files that I captured from TV. I want to convert them to XVID to save space, and view on my low power laptop. I am curious as to roughly how fay I can shrink the file size. They are about 2.5 gig now, and from what I have read I think I could take them down to around 500 meg or a little smaller and retain pretty good quality. I realize video quality is a subjective thing, and I don't want a hard fast rule. I just want to know if that would be a good starting point for testing. Oh, according to MPC HC they now have a bitrate of 9000kbps.
Thanks

pihug12
3rd May 2009, 17:44
Trying server: http://megui.org/auto/stable/
Retrieving update file from server...
Error: Couldn't connect to server.
Trying server: http://megui.xvidvideo.ru/auto/stable/
Retrieving update file from server...
Error: Couldn't connect to server.
Error: Could not download XML file

I have this problem for three days (MeGUI 0.3.1.1032).
I try to uninstall/reinstall 0.3.1.1033 : same problem !

Poopoo
3rd May 2009, 17:46
I have this problem for three days (MeGUI 0.3.1.1032).
I try to uninstall/reinstall 0.3.1.1033 : same problem !

Works fine here.

b66pak
4th May 2009, 18:53
how could i revert to an early mkvtoolnix version? the current one (2.7.0) has an very annoying bug...when split .mkvs in multiple parts the 2nd, 3rd etc sections can't be seek-ed (lock the player)...

thanks in advance...
_

wolfbane5
4th May 2009, 20:49
I've been using RipBot264 for all my mkv encodes for a while now. I thought I'd try out MeGUI since it has more options and whatnot. I was reading that the AVISynth Script creator can accept .m2ts and .ts inputs if you have FFDShow, Haali and DirectShowSource installed, otherwise you can create a D2V and use that. I have all of the above installed yet AVISynth Script creator basically says it can't open it and you need to index it first with DGIndex. Anyone know how to fix this?

I was also wondering if MeGUI can accept .dts audio inputs and simply copy the audio stream into the final mkv?

I am using the latest version of MeGUI and have updated all the components required for it to run.

Sharktooth
4th May 2009, 21:33
you have to index the .ts file with one of the DGxxxIndex tools or use DirectShowSource() filter to load the file.

kumi
4th May 2009, 21:35
the current one (2.7.0) has an very annoying bug...when split .mkvs in multiple parts the 2nd, 3rd etc sections can't be seek-edI've noticed this as well.

SacredCultivator
4th May 2009, 21:54
Okay not too sure why when I extracted the audio from a video it came out to be the size of the Video... But when I encoded it using FAAC to .mp4, it works.. but when using LAME MP3 and trying to encode it, I get the following error.

http://img4.imageshack.us/img4/1948/62446419.th.jpg (http://img4.imageshack.us/my.php?image=62446419.jpg)

e2
4th May 2009, 22:59
Whenever i try to convert an avi-file i made in vegas using the lagarith lossless codec to a .mp4 or .mkv using MeGUI i end up with a file with the .264 extension and windows won't recognize it and it can't be played. Please help a newb out! :stupid:

wolfbane5
4th May 2009, 23:57
you have to index the .ts file with one of the DGxxxIndex tools or use DirectShowSource() filter to load the file.

I checked out the program paths and apparently I'm missing dgvc1index and dgmpgindex, but i have dgavcindex. Do I need the ones I'm missing? I've never used DirectShowSource() before, is there is a guide or something I can look at? :stupid:

Edit: Is it faster to use the DGxxxIndex tools or the DSS()?

Edit2: I used the dgavcindex to create a .dga and loaded into the AviSynth Script creator. When I get to the filters and DGx source tabs, there's a button under deinterlacing, Analyze. When I hit it, I get an error message:

Error opening analysis script Script error: there is no function named "TFM"
Check to make sure you have TIVTC.dll in your AviSynth plugins directory.

So I navigated to my AviSynth directory and couldn't find tivtc.dll, so I updated my AviSynth plugins to 2.5.8, but even after the update, i couldn't find tivtc.dll. Could someone help me here?

LeXXuz
5th May 2009, 13:32
I checked out the program paths and apparently I'm missing dgvc1index and dgmpgindex, but i have dgavcindex.


I am looking for dgmpgindex.exe as well to get the matroska indexer to work. I can't find it on Donald's website though.

Where can I get it?

Kurtnoise
5th May 2009, 14:14
those are Nvidia capable tools only...

Kurtnoise
5th May 2009, 14:17
Whenever i try to convert an avi-file i made in vegas using the lagarith lossless codec to a .mp4 or .mkv using MeGUI i end up with a file with the .264 extension and windows won't recognize it and it can't be played. Please help a newb out! :stupid:
don't use AutoEncode Mode if you want to encode only video streams...

Kurtnoise
5th May 2009, 14:18
how could i revert to an early mkvtoolnix version? the current one (2.7.0) has an very annoying bug...when split .mkvs in multiple parts the 2nd, 3rd etc sections can't be seek-ed (lock the player)...

thanks in advance...
_
http://megui.org/auto/

e2
5th May 2009, 14:19
don't use AutoEncode Mode if you want to encode only video streams...

I'm not using Autoencode, i'm using One-Click, still i end up with a .264 no matter what i do? And the file does include audio.

I followed this guide:

http://www.eve-films.com/forum/halo-videos/28083-guide-encoding-your-video-h-264-using-sony-vegas-megui.html

Some other guy had the exakt same problem.

Kurtnoise
5th May 2009, 14:21
what ? the One-Click mode doesn't support AVI files as input...

e2
5th May 2009, 14:23
what ? the One-Click mode doesn't support AVI files as input...

My bad, i got them mixed up, i was using Auto Encode.

So what should i use of not Auto or One-Click, just enqueue it or what? :stupid:

Kurtnoise
5th May 2009, 14:27
Load your AVI file in the AVS Script Creator.
Save the script.
Choose a Bitrate in the Bitrate Calculator (from tools menu).
Click on Apply.
Select an x264 preset and press enqueue button in the main form.
Go to Queue Tab and hit start button.


That's it...

e2
5th May 2009, 14:28
Load your AVI file in the AVS Script Creator.
Save the script.
Choose a Bitrate in the Bitrate Calculator (from tools menu).
Click on Apply.
Select an x264 preset and press enqueue button.
go to Queue Tab and hit start button.


That's it...


I'll give that a try, thanks!

I got an mp4 now, however, the audio from my avi-file is not include, I changed to audio=true in the avi-script, but no audio?

Info from my avi-file, maybe it'll help.

Video: LAGS 1440x1080 29.97fps 162149Kbps [Video 0]
Audio: PCM 48000Hz stereo 1536Kbps [Audio 1]

:stupid:

wolfbane5
5th May 2009, 16:50
those are Nvidia capable tools only...

What do you mean by that?

Kurtnoise
5th May 2009, 16:54
I mean dgvc1index and dgmpgindex don't exist actually...only dgvc1indexNV & dgmpgindexNV.


and for your TIVTC.dll issue, grab it from autoupdate.

b66pak
5th May 2009, 17:23
how could i revert to an early mkvtoolnix version? the current one (2.7.0) has an very annoying bug...when split .mkvs in multiple parts the 2nd, 3rd etc sections can't be seek-ed (lock the player)...

thanks in advance...
_

http://megui.org/auto/

thanks...mkvtoolnix-unicode-2.6.0.zip solved the problem...
_

Kurtnoise
5th May 2009, 17:54
I got an mp4 now, however, the audio from my avi-file is not include, I changed to audio=true in the avi-script, but no audio?

Info from my avi-file, maybe it'll help.

Video: LAGS 1440x1080 29.97fps 162149Kbps [Video 0]
Audio: PCM 48000Hz stereo 1536Kbps [Audio 1]

keep audio=true on your script, load it in audio tab and select a preset.

wolfbane5
5th May 2009, 19:09
I mean dgvc1index and dgmpgindex don't exist actually...only dgvc1indexNV & dgmpgindexNV.


and for your TIVTC.dll issue, grab it from autoupdate.

I force re-installed the tivtc.dll, but avisynth still gave me the same issue. So i then extracted the tivtc.dll from the .zip in the update_cache folder, then manually put it in the avisynth plugins folder and it worked. :) Thanks for your help.

e2
5th May 2009, 20:46
keep audio=true on your script, load it in audio tab and select a preset.

Still not getting any audio :(

First it encodes the video and then it wants to overwrite the newly created mp4 (video) with a mp4 (audio).

I'm lost.

These settings right?

http://img512.imageshack.us/img512/3859/meguimain.jpg
http://img512.imageshack.us/img512/7581/meguiqueue.jpg

wolfbane5
5th May 2009, 20:52
Still not getting any audio :(

First it encodes the video and then it wants to overwrite the newly created mp4 (video) with a mp4 (audio).

I'm lost.

These settings right?

http://img512.imageshack.us/img512/3859/meguimain.jpg
http://img512.imageshack.us/img512/7581/meguiqueue.jpg

The audio and video output filenames need to be different otherwise the 2nd will overwrite the first. MeGUI doesn't check for this. Simply change the filename of either one and it should work.

e2
5th May 2009, 20:53
The audio and video output filenames need to be different otherwise the 2nd will overwrite the first. MeGUI doesn't check for this. Simply change the filename of either one and it should work.

It'll still create one file with both audio and video and not two separate files if i do that?

http://img294.imageshack.us/my.php?image=meguiqueue1.jpg

Why are there two AVC in the queue, can i just delete the first one, cause it runs twice, and the first one doesn't seem to be doing anything?

I got two files :/

http://img158.imageshack.us/img158/1199/whaat.jpg

What am i doing wrong here?

wolfbane5
6th May 2009, 00:58
The only way you will get 1 file is if you didn't re-encode your audio, but since you did, you get 2 .mp4's: each a piece of your entire file. Now, you want to go Tools -> Muxer -> MP4 Muxer. Load the video.mp4 and the audio.mp4. If you have subtitles or chapters you want muxed into the final product, load those in now as well. Select where you want the output to go, queue the mux and you should have a final product momentarily.

e2
6th May 2009, 07:20
The only way you will get 1 file is if you didn't re-encode your audio, but since you did, you get 2 .mp4's: each a piece of your entire file. Now, you want to go Tools -> Muxer -> MP4 Muxer. Load the video.mp4 and the audio.mp4. If you have subtitles or chapters you want muxed into the final product, load those in now as well. Select where you want the output to go and the device type. Queue the mux and you should have a final product momentarily.


Thanks, finally :)

wolfbane5
6th May 2009, 16:14
no problem. :)

JinF
7th May 2009, 23:37
Megui is reporting my CPU as a "Intel Pentium III Xeon Processor". I actually have a Intel Core 2 Quad. How do I get Megui to recognize my CPU?

Furthermore, I am getting an error when trying to encode

--[Error] An error occurred: avis [error]: unsupported input format (DIB )
--[Error] An error occurred: x264 [error]: could not open input file 'H:\Gta4 Test 2.avs'

I am using the following AVISynth script:

a = AviSource("H:\GTAIV 2009-05-07 22-55-47-06.avi")
b = AviSource("H:\GTAIV 2009-05-07 22-57-39-57.avi")
c = AviSource("H:\GTAIV 2009-05-07 22-59-50-29.avi")
d = AviSource("H:\GTAIV 2009-05-07 23-01-48-76.avi")
e = AviSource("H:\GTAIV 2009-05-07 23-03-59-87.avi")
AlignedSplice(a,b,c,d,e)
ConvertToYV12()

pihug12
8th May 2009, 23:15
Trying server: http://megui.org/auto/stable/
Retrieving update file from server...
Error: Couldn't connect to server.
Trying server: http://megui.xvidvideo.ru/auto/stable/
Retrieving update file from server...
Error: Couldn't connect to server.
Error: Could not download XML file

I have this problem for three days (MeGUI 0.3.1.1032).
I try to uninstall/reinstall 0.3.1.1033 : same problem !
I disable the AV (NOD 32 version 3), the firewall, I even try with the connexion of a friend : always the same error.
Any idea, Kurtnoise ?

poisondeathray
8th May 2009, 23:42
@pihug12 - you can try configuring the servers to use the development instead of stable in the settings. I've always used those and never had any problems

Sharktooth
9th May 2009, 04:06
@jinf: about the CPU, it's not a real problem. those are only debugging info. every encoder has its own CPU/Instruction sets detection routines.
about the encoding error, play your .avs in a directshow media player (WMP, MPC, etc) and look at the error.

@pihug12: do you use a proxy to access the internet?

pihug12
9th May 2009, 09:21
@pihug12 - you can try configuring the servers to use the development instead of stable in the settings. I've always used those and never had any problems
Doesn't work too.

@pihug12: do you use a proxy to access the internet?
I don't use a proxy. "Auto Update HTTP Proxy" is disable in Extra config of MeGUI.

Is it possible that MeGUI cannot read the XML file because of the update to IE8 ?

Kurtnoise
9th May 2009, 09:58
what do get when you run
ping megui.org

in the command prompt ?


Are you able to download this file (http://megui.org/auto/x264-1145.zip) ?

pihug12
9th May 2009, 13:25
C:\Users\Pierre>ping megui.org

Envoi d'une requête 'ping' sur megui.org [208.97.176.178] avec 32 octets de donn
ées :
Réponse de 208.97.176.178 : octets=32 temps=226 ms TTL=44
Réponse de 208.97.176.178 : octets=32 temps=226 ms TTL=44
Réponse de 208.97.176.178 : octets=32 temps=226 ms TTL=44
Réponse de 208.97.176.178 : octets=32 temps=225 ms TTL=44

Statistiques Ping pour 208.97.176.178:
Paquets*: envoyés = 4, reçus = 4, perdus = 0 (perte 0%),
Durée approximative des boucles en millisecondes :
Minimum = 225ms, Maximum = 226ms, Moyenne = 225ms

I can download the file too and I can even open the page (http://megui.org/auto/stable/) with my browser.

DeWTurk
9th May 2009, 13:31
My encoding proplem
log
http://img98.imageshack.us/img98/2290/adszlpx.jpg

please help me

Sharktooth
9th May 2009, 15:29
pihug12: if you have a firewall, ensure there's a rule for megui.

Sharktooth
9th May 2009, 15:32
@DewTurk: :search:

turbojet
9th May 2009, 15:36
Newer mkvtoolnix (http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/mkvtoolnix-unicode-2.7.0-build20090416-121-setup.exe) that fixes split files.

Also eac3to 3.16 is out.

TSMuxer 1.8.4 is fairly old and many bugs fixed since but probably doesn't matter yet as its not being used.

Sharktooth
9th May 2009, 15:54
tnx, updated.

turbojet
9th May 2009, 16:18
No problem. Is there any chance of getting rid of the useless backup files?

I have a feeling deleting these lines in megui\megui\tags\0_3_x_x\core\gui\UpdateWindow.cs would solve it but I don't really know C# but it looks pretty obvious

private ErrorState manageBackups(string savePath, string name)
{
try
{
if (File.Exists(savePath + ".backup"))
File.Delete(savePath + ".backup");
}
catch
{
AddTextToLog("Error: Outdated backup version of " + name + " could not be deleted. Check if it is in use.");
return ErrorState.CouldNotRemoveBackup;
}
try
{
if (File.Exists(savePath))
File.Move(savePath, (savePath + ".backup"));
}
catch
{
AddTextToLog("Error: Old version of " + name + " could not be backed up correctly. Restart MeGUI and try again.");
return ErrorState.CouldNotRenameExistingFile;
}
return ErrorState.Successful;
}

Also is the update cache of any use after update?
If not could everything in that directory be deleted on close?

EDIT: Speak of the devil! mkvtoolnix 2.8.0 (http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-unicode-2.8.0.7z)

DeWTurk
9th May 2009, 19:24
@DewTurk: :search:

thanks Sharktooth but I 'm not found :(

Diveflo
9th May 2009, 21:19
Hi,

maybe you have an idea what is going on with my MeGui encoding.
I had to reinstall MeGui on my machine (Vista Ultimate x64) and since then the videos I encode do not play in QuickTime or iTunes anymore. They still have sound, but just black picture. I found a difference between the new files and my old encodings with MediaInfo.
The old files under "General" had "Format Profile: Base Media" and "Codec ID: isom". The new ones "Format profile: Apple AAC audio with iTunes info" and "Codec ID: M4A". The rest is the same. I tried to mux the files again with MeGui and with Yamb but got the same result.
Does anyone have a clue what I am doing different now, than back then?

Thanks a million.
Dive

/edit:

ha! found it. Had an old version of mp4box installed. Updated with MeGui and the files are "Base Media" again :)

RyaNJ
10th May 2009, 08:42
I just run the update program and I got the following error:

Updating eac3to. File 1/1.
Error: Could not unzip eac3to. Deleting file. Please run updater again...

Can anyone tell me what the problem is here?

Kurtnoise
10th May 2009, 08:59
No problem. Is there any chance of getting rid of the useless backup files?

I have a feeling deleting these lines in megui\megui\tags\0_3_x_x\core\gui\UpdateWindow.cs would solve it but I don't really know C# but it looks pretty obvious

obviously, not...I'll check out the bug asap.

Also is the update cache of any use after update?
useful when you need to reinstall packages (i.e download them again not needed in this case).


thanks Sharktooth but I 'm not found
play back your avs script in any directshow player (mpc, zoomplayer, etc...) and check the error message.


Can anyone tell me what the problem is here?
an issue from the package downloaded...so, relaunch the updater or change the link of the server autoupdate.

RyaNJ
10th May 2009, 10:02
@Kurtnoise: I tried that, didn't seem to fix the problem either.

Kurtnoise
10th May 2009, 10:06
remove any eac3to package from the update_cache folder and retry to download it from the autoupdate...

RyaNJ
10th May 2009, 16:08
remove any eac3to package from the update_cache folder and retry to download it from the autoupdate...


OK. I just tested and it had the same effect as before:

Trying server: http://megui.xvidvideo.ru/auto/stable/
Retrieving update file from server...
File downloaded successfully...
Loading update data...
Update data loaded successfully...
Finished parsing update file...
There is 1 file that can be updated.
Updating eac3to. File 1/1.
Error: Could not unzip eac3to. Deleting file. Please run updater again...
Update completed.
0 file was completed successfully
1 file had problems.

Kurtnoise
10th May 2009, 16:16
ok...it seems that the package from the server you're using is broken. Switch to http://megui.org/auto/ (in the settings) and that should be fine.

RyaNJ
10th May 2009, 18:36
ok...it seems that the package from the server you're using is broken. Switch to http://megui.org/auto/ (in the settings) and that should be fine.

That got it! Cheers.

dr_sdaa7
11th May 2009, 18:10
hi
thanks for this thread ,
i have 2 quistion ..
i have an encoded mkv .. and want to add idx .. when merge with mme the out put plays without the subtitle .. but when merged with the srt .. it's ok ... saw any idea ?

also if i only want to add subtitle with avisynth .. is there a command that i only merge the subtitle with out encoding ?

Akatsuker
12th May 2009, 00:01
I've got a problem here.
I open my avs script successfully on AvsP 2.0.2, which should be the latest version. Then I open the script on meGUI 0.3.1.1034, updated, and can't encode the audio from an avi to mp4 (aac, nero). The log shows this:

"--[Information] [11/5/2009 19:55:15] Started handling job
--[Information] [11/5/2009 19:55:15] Preprocessing
--[NoImage] Avisynth script: return last
--[NoImage] Commandline used: -ignorelength -lc -br 110000 -if - -of "{0}"
--[Information] [11/5/2009 19:55:15] Encode thread started
--[Information] [11/5/2009 19:55:15] Encoding started
--[Information] [11/5/2009 19:55:15] Avisynth script environment opened
--[Error] An error occurred
---[NoImage] Exception message: The script's return was not a video clip.
---[NoImage] Stacktrace
----[NoImage] em MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
----[NoImage] em MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[Information] [11/5/2009 19:55:15] Job completed"

What's going on?

Sharktooth
12th May 2009, 01:24
:script:

mkv
12th May 2009, 06:30
At the middle of the encoding , when I start the encode succesfully (bluescreen error has coming).
What happens?

Detail info :
When I am away from keyboard , I am shutting down my monitor from button (but machine goes on encoding succesfully) , then I am back my pc and press monitor's open button , bluscreen has beeing.

before I am using HD4870 vga card for encoding, now it's broken and I bought Nvidia 8600GT for a while.

is my problem looking about vga card ? or mainboard?

I think solution is to change vga card.

Any advise for this matter ?

dr_sdaa7
12th May 2009, 11:24
hi
thanks for this thread ,
i have 2 quistion ..
i have an encoded mkv .. and want to add idx .. when merge with mme the out put plays without the subtitle .. but when merged with the srt .. it's ok ... saw any idea ?

also if i only want to add subtitle with avisynth .. is there a command that i only merge the subtitle with out encoding ?

hello

any help please ?

Sharktooth
12th May 2009, 14:20
@dr_sdaa7: verify your idx was muxed correctly. in that case you need a suitable subtitle filter.
you cant "add subtitles" with avisynth. hardsubbing requires re-encoding.

@mkv: check your system for hardware failures. also, encoders included with megui do not use any VGA card...

dr_sdaa7
12th May 2009, 15:42
thanks for replying but i didn't get u really

see .. when i play the movie .. i can see the sub in haali

but it don't play in mpc ...

but when merge srt i can see it ...
and it's done with mkvmerge

plz help me .. i need to know what to do plz
i dont got u when u say i need a good filter .. like what ?

DexterLab23
12th May 2009, 16:42
@Sharktooth and @Kurtnoise and all the others big kahunas around here:

1. How about writting a tutorial about how *you* guys encode a film.

Video Settings, Audio Settings, etc. Will full description.

You know, for us, the noobs.

2. And do not write "there are many tutorials on the net that are telling you how to do this", because you are saying this only to not making one.

For example, I found: MeGUI+OneClick+Encoder+Walk-Through.pdf but this is only for IPODs.

3. P.S. What is the HQ-Slow and HQ-Slowest equivalent in the new MEgui versions ?

4. P.P.S. Did you thought that if you had made a such tutorial, there wouldn't be so many erroneous and stupid questions around here ???

Please don't be mad on me for telling you this.

Sorry for my bad english.

Verminaard
12th May 2009, 17:31
Hello everybody,

I have a problem which I was unable to find the solution. I have been researching for the past couple of hours thru the internet and can't find the solution. I have found the same question being asked in here and in other video forms but there's no definitive answer (or maybe I've failed to find it).
(11
It's the infamous "Could not open input file x:\xxxxxx.avs" error. I have Windows Vista Ultimate x64 SP2 (RTM), admin user and UAC is turned off. I have the MeGUI's latest build installed (0.3.1.1034), AviSynth 2.5.8, latest x264 (Build 1148, 64Bit) I have 10+ years experience in DivX/XviD encoding and I am not a noob user.

Here's the situation:

I am trying to encode a DVD into MKV. The movie is PAL and MeGUI analyses the source video as progressive. So no deinterlacing will be used. I am using the suggested resize (720x400) and spline36neutral for resizing filter and no Noise Filtering. This is how my AVS script looks like:

DGDecode_mpeg2source("C:\DVD\Canny.d2v", info=3)
ColorMatrix(hints=true, threads=0)
#deinterlace
crop( 8, 0, -8, -2)

Spline36Resize(720,400) # Spline36 (Neutral)
#denoise

I am trying to make 1CD encode of the movie, built in bitrate calculator returns the value of 955 kbps and I will use 192kbps AC3 sound file. I've updated the main page of x264 codec settings* and did not touch anything on the "RC and ME" and "Advanced" sections.

I've changed the following on the x264 config main page:
Set the Mode to Turbo , Automated2pass
Bitrate, 955
AVC Profiles, High Profile
AVC Level, Unrestricted/Autoguess

On the MeGUI's main page:

Encoder Settings, x264:*scratchpad*
File Format, MP4 (Tried with MKV as well, same result)

When I put the job to the queue and hit start. It gives me the error after a second. Here's the error log:

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1034
--[NoImage] OS : Windows Vista Ultimate Edition x64 SP2 (6.0.131072.6002)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.4016)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
-[Information] Log for job1 (idx, VTS_03_1.VOB -> Canny.d2v)
--[Information] [12/5/09 12:05:52 PM] Started handling job
--[Information] [12/5/09 12:05:52 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\Tools\Video\MEGui\tools\dgindex\dgindex.exe"
-SD=< -AIF=<C:\DVD\Rips\TheUncanny\VTS_03_1.VOB< -OF=<C:\DVD\Canny< -exit -hide -OM=1 -TN=81
--[Information] [12/5/09 12:05:52 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [12/5/09 12:07:12 PM] Running auto force film
---[NoImage] Film percentage: -1
--[Information] [12/5/09 12:07:12 PM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [12/5/09 12:07:13 PM] Job completed
-[Information] AutoEncode job generation log
-[Error] Log for job1 (video, Canny.avs -> )
--[Information] [12/5/09 12:19:53 PM] Started handling job
--[Information] [12/5/09 12:19:53 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\Tools\Video\MEGui\tools\x264\x264.exe" --pass 1 --bitrate 955
--stats "C:\DVD\Projects\TheUncanny\uncanny.stats" --subme 2 --partitions none --me dia --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim
--output NUL "C:\DVD\Canny.avs"
--[Information] [12/5/09 12:19:53 PM] Encoding started
--[Error] An error occurred: x264 [error]: could not open input file 'C:\DVD\Canny.avs'
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [12/5/09 12:19:53 PM] Job completed

[Error] An error occurred: x264 [error]: could not open input file 'C:\DVD\Canny.avs

I have found the following tips among the forums:

*Put ConvertToYV12() at the end of the AVS. (Did not change anything)
*Make sure no spaces the file paths/names (No spaces)
*Make sure everything is the latest (Check)
*Restart the computer (Nada)
*Make sure the AVS file works fine in VirtualDUB (Check)

Again I am sorry if this questions is actually answered before, it has been asked many times though but never been answered (or I've failed to find it)

Thanks in advance

Sharktooth
12th May 2009, 17:39
thanks for replying but i didn't get u really

see .. when i play the movie .. i can see the sub in haali

but it don't play in mpc ...

but when merge srt i can see it ...
and it's done with mkvmerge

plz help me .. i need to know what to do plz
i dont got u when u say i need a good filter .. like what ?
not megui's fault then. ask for help in an appropriate forum.
@Sharktooth and @Kurtnoise and all the others big kahunas around here:

1. How about writting a tutorial about how *you* guys encode a film.

Video Settings, Audio Settings, etc. Will full description.

You know, for us, the noobs.

2. And do not write "there are many tutorials on the net that are telling you how to do this", because you are saying this only to not making one.

For example, I found: MeGUI+OneClick+Encoder+Walk-Through.pdf but this is only for IPODs.

3. P.S. What is the HQ-Slow and HQ-Slowest equivalent in the new MEgui versions ?

4. P.P.S. Did you thought that if you had made a such tutorial, there wouldn't be so many erroneous and stupid questions around here ???

Please don't be mad on me for telling you this.

Sorry for my bad english.
1. no.
2. there ARE many tutorials on the net telling you how to do "this" (google is your friend).
3. :search: it has been answered several times.
4. not at all. since there are tutorials, guides, wiki and stuff and still ppl ask stupid questions.

Sharktooth
12th May 2009, 17:45
Hello everybody,

I have a problem which I was unable to find the solution. I have been researching for the past couple of hours thru the internet and can't find the solution. I have found the same question being asked in here and in other video forms but there's no definitive answer (or maybe I've failed to find it).
(11
It's the infamous "Could not open input file x:\xxxxxx.avs" error. I have Windows Vista Ultimate x64 SP2 (RTM), admin user and UAC is turned off. I have the MeGUI's latest build installed (0.3.1.1034), AviSynth 2.5.8, latest x264 (Build 1148, 64Bit) I have 10+ years experience in DivX/XviD encoding and I am not a noob user.

Here's the situation:

I am trying to encode a DVD into MKV. The movie is PAL and MeGUI analyses the source video as progressive. So no deinterlacing will be used. I am using the suggested resize (720x400) and spline36neutral for resizing filter and no Noise Filtering. This is how my AVS script looks like:

DGDecode_mpeg2source("C:\DVD\Canny.d2v", info=3)
ColorMatrix(hints=true, threads=0)
#deinterlace
crop( 8, 0, -8, -2)

Spline36Resize(720,400) # Spline36 (Neutral)
#denoise

I am trying to make 1CD encode of the movie, built in bitrate calculator returns the value of 955 kbps and I will use 192kbps AC3 sound file. I've updated the main page of x264 codec settings* and did not touch anything on the "RC and ME" and "Advanced" sections.

I've changed the following on the x264 config main page:
Set the Mode to Turbo , Automated2pass
Bitrate, 955
AVC Profiles, High Profile
AVC Level, Unrestricted/Autoguess

On the MeGUI's main page:

Encoder Settings, x264:*scratchpad*
File Format, MP4 (Tried with MKV as well, same result)

When I put the job to the queue and hit start. It gives me the error after a second. Here's the error log:

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1034
--[NoImage] OS : Windows Vista Ultimate Edition x64 SP2 (6.0.131072.6002)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.4016)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
-[Information] Log for job1 (idx, VTS_03_1.VOB -> Canny.d2v)
--[Information] [12/5/09 12:05:52 PM] Started handling job
--[Information] [12/5/09 12:05:52 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\Tools\Video\MEGui\tools\dgindex\dgindex.exe"
-SD=< -AIF=<C:\DVD\Rips\TheUncanny\VTS_03_1.VOB< -OF=<C:\DVD\Canny< -exit -hide -OM=1 -TN=81
--[Information] [12/5/09 12:05:52 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [12/5/09 12:07:12 PM] Running auto force film
---[NoImage] Film percentage: -1
--[Information] [12/5/09 12:07:12 PM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [12/5/09 12:07:13 PM] Job completed
-[Information] AutoEncode job generation log
-[Error] Log for job1 (video, Canny.avs -> )
--[Information] [12/5/09 12:19:53 PM] Started handling job
--[Information] [12/5/09 12:19:53 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\Tools\Video\MEGui\tools\x264\x264.exe" --pass 1 --bitrate 955
--stats "C:\DVD\Projects\TheUncanny\uncanny.stats" --subme 2 --partitions none --me dia --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim
--output NUL "C:\DVD\Canny.avs"
--[Information] [12/5/09 12:19:53 PM] Encoding started
--[Error] An error occurred: x264 [error]: could not open input file 'C:\DVD\Canny.avs'
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [12/5/09 12:19:53 PM] Job completed

[Error] An error occurred: x264 [error]: could not open input file 'C:\DVD\Canny.avs

I have found the following tips among the forums:

*Put ConvertToYV12() at the end of the AVS. (Did not change anything)
*Make sure no spaces the file paths/names (No spaces)
*Make sure everything is the latest (Check)
*Restart the computer (Nada)
*Make sure the AVS file works fine in VirtualDUB (Check)

Again I am sorry if this questions is actually answered before, it has been asked many times though but never been answered (or I've failed to find it)

Thanks in advance
simple answer: 32bit apps cant communicate with 64bit apps.

Verminaard
12th May 2009, 19:14
So what is the solution? Shall I need to change x264 to 32bit?

Scratch that, you are %300 right. Replacing the x264 with x86 resolved the problem.

Thanks a lot Sharktooth...

mavinashbabu
12th May 2009, 19:38
Hi Sharktooth,

Can you help me please if i have to create a lossless video file using MeGUI is it a possibility? if yes then how can you do one...

apologies if my question fits here or not, i used VDub but it does not use multi cores and i am looking for how to do it in MeGUI.

Thanks,
Avinash

Sharktooth
13th May 2009, 14:11
encode as usual but selecting Unrestricted 1pass Lossless preset for x264.

mavinashbabu
14th May 2009, 17:18
Thanks Sharktooth and if i have to use output of x264 [ MP4/MKV] in my Avisynth script to generate XVid files container how can i do it please?

I found this thread http://forum.doom9.org/showthread.php?t=129977

where one can re-encode using DirectShowSource instead of DGMpeg2source(path-to\file.d2v) so i can say like this in my .avs file

DirectShowsource("Path-To\File.MP4[.MKV]) instead of .d2v file using DGmpeg2source ?

Or is there a preset which can give me lossless .avi file instead in MeGUI?

If my question is going offtopic w.r.t thread title then let me know i can get one separate open.

thanks
Avinash

Sharktooth
14th May 2009, 17:26
well, you have various choices. one is to open the avisynth script creator and load the mkv/mp4 as your source file (it will automatically use DirectShowSource for those kind of files), save the avs script (remember to remove the audio=false if you want to use it for audio encoding too), load it for video (and/or audio) input and proceed encoding (autoencode, manual, oneclick, whatever...).

mavinashbabu
14th May 2009, 19:00
^^ Wonderful Sharktooth, thanks a lot for your time and inputs

Cheers,
Avinash

mavinashbabu
15th May 2009, 10:06
Hi,

As said i choose the profile for Unrestricted 1pass Lossless preset for x264 to encode but getting the below error, to confirm if there is any issue with profile i choose x264 and xvid, but only x264 is throwing an error... below is the error log


[NoImage] Error starting job
-[NoImage] Exception message: Calling setup of processor failed with error 'Required file 'C:\Program Files\megui\tools\x264\x264.exe' is missing.'
-[NoImage] Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
-[NoImage] Inner exception: null

Edit1: x264.exe file exists in the mentioned path in the error log above

EDIT2: while updating MeGUI looks like it is downloading "x264..exe" instead of "x264.exe"

Problem Solved

thanks,
Avinash

Sharktooth
15th May 2009, 12:32
ooops... fixed:)
thanx for reporting.

rapscallion
15th May 2009, 15:18
[NoImage] Error starting job
-[NoImage] Exception message: Calling setup of processor failed with error 'Required file 'C:\Program Files\megui\tools\x264\x264.exe' is missing.'
-[NoImage] Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
-[NoImage] Inner exception: null

Edit1: x264.exe file exists in the mentioned path in the error log above

EDIT2: while updating MeGUI looks like it is downloading "x264..exe" instead of "x264.exe"

Problem Solved

thanks,
Avinash
Strange, because I did an encode last night with the same update, but no error because the original x264 was still in place (ie didn't create x264.backup)

HOWEVER, the encode was about 10% undersized. Source, via tsmuxer, was from an original BD disc. 2h 8m , video only using Bitrate Calculator (adding 7m to the length) and allowing for DTS, should be ~6697 bit rate for a DVD9 avchd.

This is what the log showed,

--[Information] Final statistics
---[NoImage] Video Bitrate Desired: 6697 kbit/s
---[NoImage] Video Bitrate Obtained (approximate): 5961 kbit/s
Big descrepancy

All my previous encodes have been right on the money, bit rate almost matching in the log, and size right on the money (97-99% via Imgburn calculator).

So anyone know if this was just a coincidence with the x264 error or something else ?

Oh, and I should add that when the resulting file was checked with MediaInfo, guess what ? The bit rate is shown as 6697 kbit/s. :confused: Thanks

alexcel
16th May 2009, 01:27
HI:

Keep Input resolution (disable crop & resize) is not working well.

Through MediaInfo I know that final frames are not crop nor resized (that is correct!!), but then incorrect values are passed on to muxer, that finally yields an mkv file with wrong aspect ratio

My input file is PAL 720x576 16:9 aspect ratio, but a frame size of 720x432 is passed to muxer at 143:58 aspect ratio. I am muxing to mkv files

Here is the log (i've colored in red what I think are errors):

[Information] OneClick postprocessor
-[NoImage] Desired size: null
-[NoImage] Split size: null
-[NoImage] Auto-detect aspect ratio now: True
-[NoImage] Aspect ratio: 1,823361
-[NoImage] Output resolution: 720x432
-[NoImage] AVC level: Level 3.1
-[NoImage] Resolution adjusted for AVC Level: 720x432
-[NoImage] Automatic deinterlacing: True
-[NoImage] Deinterlacing used: #Not doing anything because the source is progressive
-[NoImage] Generated Avisynth script
--[NoImage] global MeGUI_darx = 143
--[NoImage] global MeGUI_dary = 58
--[NoImage] LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGAVCDecode.dll")
--[NoImage] DGDecode_mpeg2source("E:\Ultimas\La Busqueda 2\VIDEO_TS\la busqueda 2.d2v", info=3)
--[NoImage] ColorMatrix(hints=true, threads=0)
--[NoImage] #Not doing anything because the source is progressive
--[NoImage] #crop
--[NoImage] #resize
--[NoImage] Undot() # Minimal Noise
-[Information] Eliminating duplicate filenames
--[NoImage] Video output file: E:\Ultimas\La Busqueda 2\VIDEO_TS\la busqueda 2_Video.264
--[NoImage] Muxed output file: E:\Ultimas\La Busqueda 2\VIDEO_TS\la busqueda 2.mkv


Please help. Since you added the functionality to disable crop & resize I have tried several times since then and I always have to manually remux my matroska files

Keep up the great job

SnapCount
16th May 2009, 03:18
Slight problem when encoding MP3's lately. The problem is that for some reason megui is normalizing the sound and so the encoded mp3 is louder than the original sound file.

I notice that even tho the tick box for normalize is not ticked, you can still adjust the settings for it. But if you tick the box then untick it, it will be grayed out.

But the outcome is still the same, it still normalizes the sound.

ZooM
16th May 2009, 04:15
As first I would like to thank anyone involved in developing and keeping alive megui project :).

I miss one thing in megui which could be easily added. if megui developers don't add it for any reason they have I could write batch script with/or only autoit script or ... to resume aborted video encoding jobs (I use only x264).

I looked for "resume aborted jobs" and "join x264 files" but I didn't find anything usefull or any guide. I wasn't really patient so I just tried it by myself and I had success :)

I always encode with HQ or Insane settings and it takes always pretty much time. After couple times where the encoding was aborted (ie bluescreen, no power, system crash ... ) I couldn't find solution, I tried and here is small guide how I did it:

Step 1 - Find out how many frames are encoded and how many to encode
I opened the aborted *.264 file with dgavcindex, played it with max speed from begin to the end (to find out how many frames are encoded, is there any faster way like command line?). Last frame was X (let's say 122055), full source had Y frames (let's say 153799).

Now I know that I have to encode new file from frame X+1 to Y

Step 2 - Editing AviSynth script
Open avs script and add at the end of script begin frame and end frame. Then save and encode.

X+1=122056 and Y=153799
__film = last
__t0 = __film.trim(122056, 153799)
__t0

Step 3 - joining two x264 streams into 1 file.
For this I don't need any tools. Just run command.
copy /b first_file.264+second_file.264+third_file Final.264

That's it. I hope megui developers create this option :)

EDIT:

Ok it didn't work :(. Everything went fine, but I launched now the file and from the last frame of first file the picture is flippig. When I use 2 times same *.264 file, then the picture is good. How can I fix it?

EDIT:

The method above doesn't work always, but the problem is only in muxing to mp4. The only way I could get correctly muxes was using mkv. mp4 is not possible. Can it be solved?

Kurtnoise
16th May 2009, 05:44
use mp4box to join your avc streams...
mp4box -add file1.h264 -cat file2.h264 -cat file3.h264 output.mp4

Neillithan
16th May 2009, 07:33
Hi, I just need some help understanding something.

I have a DVD that displays at 2.35:1 AR, the resolution of the video with borders is 720x480. That means the resolution of the video whenthe borders are cropped off is 716x364, which has an AR of 1.97. The resolution (while being viewed) is supposed to be 716x305 which would then give it the correct aspect ratio of 2.35:1.

Since resizing the video to 716x305 would destructively reduce the height of the video, I decided I didn't want to do that. I would rather encode the video at 716x364 with an aspect ratio of 2.35:1 that way the resolution isn't destroyed. I hope that makes sense.

Okay, onto the confusion. Once I load the .d2v file into the AviSynth Script Creator, it shows an input DAR of "ITU 16:9 NTSC (1.822784)" I don't want to touch the DAR because that is automatically determined based on the input video. I discovered that through trial and error. Since that is obviously the incorrect aspect ratio, I need to change it somehow without totaly destroying the video. I experimented with turning on "Clever (TM) anamorphic encoding" which gave me access to several different options from the drop down menu to the right.

By enabling this ambiguous option, I opened myself up to more confusion. I decided, "what the hay... who cares." I proceeded to click "auto crop" which then cropped 56 off the top, 60 off the bottom, 2 off the left and right. I encoded a sample and sure enough, my video turned out perfectly as I had intended.

So where is the problem? The problem is all of the confusion. I stumbled my way through it, trial and erroring several different possibilities until I finally came to the right way to do it.

1. Don't touch the "Input DAR", this will royally screw things up.
2. Enable "Clever Anamorphic encoding"
3. Auto Crop

All I'm asking for is a little clarification so that the average person doesn't have to experiment with several different combinations to get what he or she's looking for.

I suggest changing "Input DAR" to "Source DAR" which would slightly reduce confusion. Rename "Clever anamorphic Encoding" to something along the lines of "Automatically Determine correct Aspect Ratio". I'm assuming that's the function of Clever anamorphic encoding, correct me if I'm wrong.

Also, next to "Input DAR", I simply cannot fathom why 16:9 NTSC would have the number "1.822784" when it doesn't represent the correct ANYTHING. I tried to discover the meaning on my own.

6/9 is 1.77 repeating.
2.35/1 is 2.35.
720/480 is 1.5.
716/364 is 1.967.
716/305 is 2.35.

Do you see what I'm saying? Where the heck did the number 1.822784 come from? It's 100% confusing, all it does is serve to confuse. My advice would be to clarify what that number means and what it's good for, or just remove it because it's entirely confusing.

Thanks,
-Neil

MrVideo
16th May 2009, 08:05
720/480 is 1.5.

Nope, DVD video at 720x480 is 4:3. You are going to say WTF and point out that 640x480 is 4:3. For NTSC, the horizontal pixel size is .9, not 1.

You are forgetting one MAJOR factor, DVD MPEG-2 video is NOT square pixel.

In order to get more horizontal resolution, 80 more pixels are added to the horizontal line.

To get the accurate representaion of what 2.35:1 is on a DVD, use the square pixel horizontal size, i.e., 640. To find the number of vertical pixels, take 640 and divide it by 2.35. That comes out to 272 pixels.

So, on the DVD, the 2.35:1 image is represented by 720x272. The real active video area on a NTSC DVD is really the center 704 pixels.

In the end, tell MeGUI that it is 2.35:1 and crop it 704x272. You should be able to use clever anamorphic encoding as well. That should keep the MPEG-2 resolution at 704x272, but tag it as 2.35:1, so programs like VideoLanClient will display it at 2.35:1. Otherwise it will change the resolution to square pixels and change it to 640x272.

You need to think non-square pixels with NTSC and PAL DVDs and do the appropriate math.

Neillithan
16th May 2009, 08:23
@MrVideo

I'll have to wrap my head around that to understand it but I'll get it.

In your opinion, should I encode the video in 1:1 at the resolution that best appears to be 2.35:1 or should I tinker with a non 1:1 ratio so that I can encode the video at a non destructive resolution?

I guess what I'm fretting is receiving a video with a final resolution that is physically smaller than the DVD version. I want to try and retain the most pixels without oversizing it or undersizing it and to do this, I must use a non 1:1 AR. Correct me if I'm wrong.

-Neil

Arshad07
16th May 2009, 17:25
Am facing some issues with MeGui :(

Firstly these two errors:

http://i41.tinypic.com/2a7vkh4.png

http://i43.tinypic.com/f2tvmv.png

Secondly:

If i close the previewer window while am encoding, megui crases :(

Any help appreciated

Kurtnoise
16th May 2009, 17:30
Am facing some issues with MeGui :(

Firstly these two errors
they are not part of megui...

MrVideo
16th May 2009, 17:30
In your opinion, should I encode the video in 1:1 at the resolution that best appears to be 2.35:1 or should I tinker with a non 1:1 ratio so that I can encode the video at a non destructive resolution?

From your initial posting I am assuming that you want to get rid of the black letterboxing and non-video pillar bars on the left and right.

In the AVS script generation GUI, I would do the following:

1) Manually select 2.35 for the OAR
2) Crop the video, removing 8 pixels from the left and right
3) Crop the video, removing 104 pixels from the top and bottom.
4) Select "Clever Anamorphic Encoding"

You can preview what it will look like before you do the actual encoding.

This is basically what I used to do when I encoded 16:9 CW promos for the web site. For example, the Smallville promos were letterboxed in the 4:3 video, but because the SD video was non-squeare pixels, I'd crop the black away, leaving 704x360 and select 16:9 and Clever. Upon playback, VLC would display the video at 16:9.

Give it a try. You lose nothing by trying. Do it with a short piece of the video.

Arshad07
16th May 2009, 17:30
they are not part of megui...

then part of what?

Kurtnoise
16th May 2009, 17:35
libsndfile :: maybe soundout
nscrt :: dunno

MrVideo
16th May 2009, 17:37
If i close the previewer window while am encoding, megui crases :(

I never encode with the previewer window open. Hell, I close it before I even place the encoding job in the queue.

Arshad07
16th May 2009, 17:39
thanks^

Yea, whenever i close the previewer window( when u opened an avs ) in MeGui, megui crashes

http://i40.tinypic.com/4gllkg.png

http://i41.tinypic.com/j0cxo5.png

Any help appreciated!

MrVideo
16th May 2009, 17:47
Yea, whenever i close the previewer window( when u opened an avs ) in MeGui, megui crashes

If I get this right, you don't even get a chance to start encoding.

What OS are you running? I have all of the latest pieces running under XP-SP2.

I won't touch Vista with a 5280' pole.

Arshad07
16th May 2009, 17:48
If I get this right, you don't even get a chance to start encoding.

What OS are you running? I have all of the latest pieces running under XP-SP2.

I won't touch Vista with a 5280' pole.

yea, VISTA x64. All were working fine until today after i formatted my pc :confused:

MrVideo
16th May 2009, 17:55
yea, VISTA x64. All were working fine until today after i formatted my pc :confused:

You reloaded Vista? I'm assuming that you reloaded all of your applications as well.

When it comes to Vista, you are on your own.

Arshad07
16th May 2009, 17:57
You reloaded Vista? I'm assuming that you reloaded all of your applications as well.

When it comes to Vista, you are on your own.

what do u mean by reloaded?

I just installed some applications that i needed...

Arshad07
16th May 2009, 18:18
thanks^

Yea, whenever i close the previewer window( when u opened an avs ) in MeGui, megui crashes

http://i40.tinypic.com/4gllkg.png

http://i41.tinypic.com/j0cxo5.png

Any help appreciated!

And this error doesnt happen when i encode a movie without filters...so maybe my script will help

LoadPlugin("mt_masktools-26.dll")
LoadPlugin("mvtools.dll")
LoadPlugin("mvtools2.dll")
DirectShowSource("xxxxxxxxxxxxxxx", fps=23.976, audio=false)
Spline64Resize(1280,544)
backward_vec3 = last.MVAnalyse(isb = true, delta = 3, pel = 2, overlap=2, sharp=1, idx = 1)
backward_vec2 = last.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=2, sharp=1, idx = 1)
backward_vec1 = last.MVAnalyse(isb = true, delta = 1, pel = 2, overlap=2, sharp=1, idx = 1)
forward_vec1 = last.MVAnalyse(isb = false, delta = 1, pel = 2, overlap=2, sharp=1, idx = 1)
forward_vec2 = last.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=2, sharp=1, idx = 1)
forward_vec3 = last.MVAnalyse(isb = false, delta = 3, pel = 2, overlap=2, sharp=1, idx = 1)
last.MVDegrain3(backward_vec1,forward_vec1,backward_vec2,forward_vec2,backward_vec3,forward_vec3,thSAD=300,idx=1)
LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, dest_x=last.width, dest_y=last.height, Smode=3, strength=80, radius=2, Lmode=1, wide=false, overshoot=1, edgemode=0, special=false, exborder=0)

Kurtnoise
16th May 2009, 19:04
Keep Input resolution (disable crop & resize) is not working well.

Through MediaInfo I know that final frames are not crop nor resized (that is correct!!), but then incorrect values are passed on to muxer, that finally yields an mkv file with wrong aspect ratio

My input file is PAL 720x576 16:9 aspect ratio, but a frame size of 720x432 is passed to muxer at 143:58 aspect ratio. I am muxing to mkv files

I'll check it out...

Here is the log:

[Information] OneClick postprocessor
-[NoImage] Desired size: null
-[NoImage] Split size: null
-[NoImage] Auto-detect aspect ratio now: True
-[NoImage] Aspect ratio: 1,823361
-[NoImage] Output resolution: 720x432
-[NoImage] AVC level: Level 3.1
-[NoImage] Resolution adjusted for AVC Level: 720x432
-[NoImage] Automatic deinterlacing: True
-[NoImage] Deinterlacing used: #Not doing anything because the source is progressive
-[NoImage] Generated Avisynth script
--[NoImage] global MeGUI_darx = 143
--[NoImage] global MeGUI_dary = 58
--[NoImage] LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGAVCDecode.dll")
--[NoImage] DGDecode_mpeg2source("E:\Ultimas\La Busqueda 2\VIDEO_TS\la busqueda 2.d2v", info=3)
--[NoImage] ColorMatrix(hints=true, threads=0)
--[NoImage] #Not doing anything because the source is progressive
--[NoImage] #crop
--[NoImage] #resize
--[NoImage] Undot() # Minimal Noise
-[Information] Eliminating duplicate filenames
--[NoImage] Video output file: E:\Ultimas\La Busqueda 2\VIDEO_TS\la busqueda 2_Video.264
--[NoImage] Muxed output file: E:\Ultimas\La Busqueda 2\VIDEO_TS\la busqueda 2.mkv

the line in blue shouln't be there...is it part of your profile ?

MrVideo
16th May 2009, 19:06
what do u mean by reloaded?

I just installed some applications that i needed...

But that isn't what you said. You said that you "reformatted my pc" which to most Windblows users is reloading the OS and your applications.

SubOne
17th May 2009, 04:57
I have been using MeGUI for a few hours, the stable version. Everything was working fine.

Now suddenly, when I click on the avs script, MeGUI just shuts down. I haven't even changed the script. I have tried reinstalling, installing the latest version, etc., to no avail. Any ideas?

wolfbane5
17th May 2009, 07:56
I recently got the chronicles of riddick blurays and I am in the process of encoding them. However, since they use VC-1, I was trying to create a .dgv that I could load into avisynth. Problem is MeGUI says I don't have dgvc1index.exe. I tried finding it in the update cache, but soon realized that it only exists as dgvc1index(NV). I read that to use these you need an nvidia graphics card that supports VP2 and unfortunately my card only supports VP1. Anyone know what to do here?

By the way, I noticed that the same problem exists for dgmpgindex(nv), so I'm assuming the solution to both of these is similar.

Sharktooth
17th May 2009, 14:33
use DirectShowSource for VC-1 files.
for mpeg use DGIndex and for avc DGAVCIndex (both come with megui).

wolfbane5
17th May 2009, 16:49
Alright, I changed the program paths to point to the respective .dll or .exe. I tried loading the .vc1 file into avisynth and it gave me this error:

AviSynth Script Error:
DirectShowSource: RenderFile, the filter graph manager won't talk to me

Kurtnoise
17th May 2009, 18:08
you need a splitter for your vc1 files (try the haali media splitter or the one from the MS VC-1 Encoder SDK - both free)...

wolfbane5
17th May 2009, 19:52
I have Haali installed but I've never used it explicitly. I know RipBot264 used it since I could see the icon pop up, but other than that it's pretty new to me. All I need is avisynth to read the .vc1 via DSS and I'm good. :confused:

Kurtnoise
18th May 2009, 00:08
to read a file through DSS, you need a complete directshow filter chain (splitter -> decoder -> renderer) properly installed on your machine...

SubOne
18th May 2009, 06:00
Simple question - how do I do a direct stream copy? I have uncompressed AVI and I want an uncompressed AVI output - basically just performing the AVISynth filters.

wolfbane5
18th May 2009, 08:51
to read a file through DSS, you need a complete directshow filter chain (splitter -> decoder -> renderer) properly installed on your machine...

So if Haali is the splitter and DGIndex is the decoder, then what is the renderer?

Sharktooth
18th May 2009, 13:16
Simple question - how do I do a direct stream copy? I have uncompressed AVI and I want an uncompressed AVI output - basically just performing the AVISynth filters.
you cant. megui isnt an editor.
also applying avs filters needs recompressing in any case.
So if Haali is the splitter and DGIndex is the decoder, then what is the renderer?
overlay mixer, VMR, EVR...

Neillithan
18th May 2009, 13:25
I have a request, 2 requests actually. One is a long time overdue.

When I'm deleting jobs from the queue list, if a job is attached to another job, I will receive a message saying, "Some jobs depend on the job... being completed for them to run. Do you want to delete all dependant jobs? Press Yes to delete all dependant jobs, No to delete this job and remove the dependencies, or Cancel to abort."

I can see the usefulness of this when the file status is "waiting" or "postponed" but I find it to be really annoying when I'm trying to delete 30 jobs that all have a status of "done". I end up having to click yes like 8 times! It's annoying! I suggest only showing that message if the file status says "waiting" or "postponed" because that would make it less annoying yet retain its usefulness.

Also, the other request of mine that I believe is long overdue is the ability to edit the Avisynth script from within the AviSynth Script Creator after you have already closed it and loaded it into MeGUI. I suggest it more than ever now because of the latest core update which conveniently places a button titled "Reopen Video Preview". Adding a button that says, "Reopen AviSynth Script Creator" to the main window would be an EXCELLENT addition to MeGUI and would help tremendously.

I realize you can simply open the created AviSynth script file in any text editor, but come on. Please just give us the ability to reopen the script creator once it has been closed.

Thanks,
-Neil

Neillithan
18th May 2009, 13:54
Another feature request. Just a little visual cue for jobs that are dependant in the form of Job Groups.

Photoshopped screenshot:

http://img38.imageshack.us/img38/2736/meguijobgroupsuggestion.th.png (http://img38.imageshack.us/img38/2736/meguijobgroupsuggestion.png)

poisondeathray
18th May 2009, 15:13
Part of the changelog today:


- (kurtnoise) [x264Config] added qpfile feature
- (kurtnoise) [VideoUtil] add convertChaptersTextFileTox264QPFile()


I have been manually specifying the qpfile before, but I cannot find any changes to the program regarding these? (or are these features not "activated" yet) ?

Kurtnoise
18th May 2009, 15:16
you can specify your qp file through the x264 config now...for the rest, not yet. ;)

poisondeathray
18th May 2009, 15:18
you can specify your qp file through the x264 config now...for the rest, not yet. ;)

Thx Kurtnoise!

wolfbane5
18th May 2009, 17:34
overlay mixer, VMR, EVR...

Ok so how do I go about setting up the .vc1 file into DSS? I've never used DSS before, always the dgindex and dgavcindex, so i'm a little confused :scared:

Hotpocketdeath
18th May 2009, 18:27
Found a possible bug introduced in the newest version. 0.3.1.1036

In previous versions, when setting up muxing, you could specify a location and the file extension would automatically be applied.

This does not happen anymore and took me a few errors on muxing to find that MeGUI is no longer auto completing the file extension.


Just thought I would throw this tid bit of info out there just so people know.

Arshad07
18th May 2009, 19:03
My MeGui is crashing when i close the previewer window, any help plz

http://i44.tinypic.com/52i6jb.png

ty

Hunstad
18th May 2009, 22:29
When I change "File format" for a x264 video the "Video Output" filename extension does not automatically change in ver 0.3.1.1036 it did in 0.3.1.1035.

llin
19th May 2009, 02:01
Hi all,

The phone is allegedly able to play H.264 but none of the x264 presets produce a usable file (also tried various device types in the muxer). Is PDAs-Level1.0 as simple as it gets?

I've been able to craft a working Xvid preset so that's the backup option.

Sharktooth
19th May 2009, 02:54
@Hotpocketdeath & Hunstad: same bug. post it in the megui bugtracker on sourceforge.

@Arshad07: fix your system. you have probably some problems with avisynth/directshow

@wolfbane: as you do for any other source.

@llin: if the phone cant play files produced by megui i highly doubt it can play h.264. xvid also is not h.264. what's the phone brand and model?

llin
19th May 2009, 03:19
@llin: if the phone cant play files produced by megui i highly doubt it can play h.264. xvid also is not h.264. what's the phone brand and model?

Sidekick LX 2009
The model was listed in the first message title, a feature seldom used. ^_^

H.264 isn't listed in the manual (only 'mp4 simple profile'), various tech blogs touted H.264 playback in the weeks before the release and it seems someone either received bad information or just plain didn't understand the diffrence.

Sharktooth
19th May 2009, 03:22
well, it probably supports mpeg4-sp. that means no b-frames, no qpel, no gmc, no custom quant matrix, etc... no fancy stuff.

Dark Shikari
19th May 2009, 03:34
well, it probably supports mpeg4-asp simple profile.You know ASP stands for advanced simple profile, right? ;) So perhaps you meant MPEG-4 SP.

llin
19th May 2009, 03:50
that means no b-frames, no qpel, no gmc, no custom quant matrix, etc... no fancy stuff.

Exactly, the working Xvid preset is plain-vanilla.

Too bad none of the blogs followed-up on their H.264 reporting.

Sharktooth
19th May 2009, 03:51
@D_S: yeah it's a typo... i meant SP :)

wolfbane5
19th May 2009, 07:29
@wolfbane: as you do for any other source.

I normally use the avisynth script creator but don't manually write my own script. So what you mean is I have to write my own by loading in the DSS.dll and the .vc1?

Kurtnoise
19th May 2009, 10:08
When I change "File format" for a x264 video the "Video Output" filename extension does not automatically change in ver 0.3.1.1036 it did in 0.3.1.1035.
fixed in the trunk...


I normally use the avisynth script creator but don't manually write my own script. So what you mean is I have to write my own by loading in the DSS.dll and the .vc1?
Just create an avisynth script like this:
DirectShowSource("x\my_input.vc1")
where x is your path and load it through any directshow players. If none errors are returned then you're ready to load it into megui...

wolfbane5
19th May 2009, 17:05
Just create an avisynth script like this:
DirectShowSource("x\my_input.vc1")
where x is your path and load it through any directshow players. If none errors are returned then you're ready to load it into megui...

What is considered a directshow player?

poisondeathray
19th May 2009, 17:20
What is considered a directshow player?


e.g. MPC, WMP11

wolfbane5
19th May 2009, 20:32
e.g. MPC, WMP11

is vlc considered to be a directshow player?

alexcel
19th May 2009, 21:21
I'll check it out...

Great! Thanks!!!

--[NoImage] LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGAVCDecode.dll")
the line in blue shouln't be there...is it part of your profile ?



Yeah, it is part of my profile, but talking about this aspect ratio issue it makes no difference if I remove it . The results are the same with or without it.

poisondeathray
19th May 2009, 21:26
is vlc considered to be a directshow player?

No.

A directshow player was suggested to test your script because you are testing DirectShowSource() in your avs script. A non-directshow player won't do this.

flebber
20th May 2009, 01:29
Me gui complained about a missing file when I was using the avs script creator with a divx file. the file was libsndfile-1.dll

Searching google it seems in hydrogena forum that it may have something to do with mp3 sound. Would this be correct?

my file properties were.

General
Complete name : C:\Documents and Settings\Family\My Documents\Downloads\Grand Designs\Grand Designs Series 1\S01E02.divx
Format : DivX
Format/Info : Hack of AVI
File size : 510 MiB
Duration : 49mn 37s
Overall bit rate : 1 438 Kbps

Video
Format : MPEG-4 Visual
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : DX50
Codec ID/Hint : DivX 5
Duration : 49mn 37s
Bit rate : 1 300 Kbps
Width : 720 pixels
Height : 528 pixels
Display aspect ratio : 4/3
Frame rate : 25.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.137
Stream size : 461 MiB (90%)
Title : Video
Writing library : DivX 6.2.5 (UTC 2006-07)

Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 49mn 37s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 45.4 MiB (9%)
Alignment : Split accross interleaves
Interleave, duration : 40 ms (1.00 video frame)
Interleave, preload duration : 500 ms
Title : Audio



Edit reinstalled Lame ACM 3.98.2 http://www.free-codecs.com/LAME_ACM_Codec_download.htm but error still exists.

Edit 2

Solved error by copying libsndfile-1.dll from buzzqw HDC application folder and pasting it into my c:/program files/megui folder. The error then disappeared.

**Is there a better solution though?

Betsy25
20th May 2009, 03:28
Hello,

I'm getting an x264 error when trying to encode a dvd.
[Error] Log for job3 (video, VTS_01_1.avs -> VTS_01_1.264)
-[Information] [20/05/2009 4:11:44] Started handling job
-[Information] [20/05/2009 4:11:44] Preprocessing
-[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --qp 0 --ref 5 --mixed-refs --bframes 3
--b-adapt 2 --b-pyramid --weightb --direct auto --deblock -1:-1 --no-chroma-me --trellis 2 --partitions all
--8x8dct --me umh --threads auto --thread-input --sar 1:1 --aud --progress --no-psnr --no-ssim
--output "F:\Mijn De Funes Films\(2009-04-20)-Faites Sauter La Banque_NL_EN_Shrink\VIDEO_TS\VTS_01_1.264"
"F:\Mijn De Funes Films\(2009-04-20)-Faites Sauter La Banque_NL_EN_Shrink\VIDEO_TS\VTS_01_1.avs"
-[Information] [20/05/2009 4:12:11] Encoding started
-[Error] An error occurred: x264 [error]: currently slicetype lookahead does not work with bframes=0 and is disabled


x264 gives an error not able to lookahead with bframes=0 while the commandline has specified --bframes 3 ???

Can anyone tell me this error is normal ? Did I miss something ?
I used the Unrestricted 1pass Constant Quality HQ, but to me, these settings are far from HQ if I'm correct.:scared:

Sharktooth
20th May 2009, 03:47
qp 0 = lossless ... you cant use b-frames with lossless encoding. fix your settings.
you maybe should RTF(x264 and megui)M before randomly setting options and messing with default presets...
hell i dont even know how you managed to set qp0 without checking the "lossless" option...

@flebber: megui doesnt require that lib...

lignicolos
20th May 2009, 04:32
Hello,
I'm getting an x264 error when trying to encode a dvd.


I'm getting a similar error. I just re-install MeGUI after reformatting my HD. It was working properly before. I haven't changed any settings and i'm using the Zune profile. I'm getting the error below. This same setup has worked for me in the past.


[Error] Log for job2 (video, Sling Blade.avs -> )
--[Information] [5/19/2009 10:58:40 PM] Started handling job
--[Information] [5/19/2009 10:58:40 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\Video\megui\tools\x264\x264.exe" --pass 1 --bitrate 1000 --stats "D:\Video\mobile.source\Sling Blade.stats"
--level 3 --nf --no-cabac --subme 2 --partitions none --qpmin 16 --vbv-bufsize 2500 --vbv-maxrate 2500
--me dia --merange 12 --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output NUL "D:\Video\mobile.source\Sling Blade.avs"
--[Information] [5/19/2009 10:58:40 PM] Encoding started
--[Error] An error occurred: x264 [error]: currently slicetype lookahead does not work with bframes=0 and is disabled
--[NoImage] Standard output stream
--[NoImage] Standard error stream

rapscallion
20th May 2009, 04:58
Geez, I hate to add to the error crowd, but after Megui updating files tonight , I can't encode anything.

Standalone avchd profile, rawavc outout (*.264) always works fine for me. After the updates, avs script loads and preview is fine.
Then enqueue, start the job and then ends with error almost immediately, then states "job done". (went back to some previous successful videos, reloaded and the same error results.)

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1037
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.1433)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
-[Information] Log for job1 (video, pitchblack.avs -> )
--[Information] [5/19/2009 11:42:53 PM] Started handling job
--[Information] [5/19/2009 11:42:53 PM] Preprocessing
--[NoImage] Job commandline: "C:\dvd_rw\megui\tools\x264\x264.exe" --pass 1 --bitrate 8779 --stats "D:\pitchblack.stats" --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --b-adapt 2 --weightb --direct auto --subme 2 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 16500 --vbv-maxrate 16500 --qcomp 0.5 --me dia --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output NUL "C:\br avs\pitchblack.avs" --mvrange 511 --nal-hrd --sar 1:1
--[Information] [5/19/2009 11:42:53 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [5/19/2009 11:42:53 PM] Job completed


It would appear that one of the 3 updates corrupted something ?

Kurtnoise
20th May 2009, 06:10
@Betsy25, lignicolos, rapscallion: retry with an other x264 build from here (http://megui.org/auto/x264-1148-1.zip)...

MrVideo
20th May 2009, 06:47
It would appear that one of the 3 updates corrupted something ?

Ya, the 1153 x264 update fails on single core systems. On my dual core AMD X64 it is compiling just fine.

I just put back the previous version and the compile now works on the singe core.

This isn't the first time that a dual core only version has been released.

Before release, the x264 needs to tested on both single core and dual core processors.

rapscallion
20th May 2009, 15:09
--[NoImage] CPU : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
From my post, note that it is a dual core. But I'll try the replacement and see if that solves it (I was too tired last night to replace with backups from the tools folder)

Edit : Thanks Kurtnoise ! Yes, replacement x264 works just fine, but would appear that the problem build does NOT have to do with cores.

lignicolos
20th May 2009, 15:33
@Betsy25, lignicolos, rapscallion: retry with an other x264 build from here (http://megui.org/auto/x264-1148-1.zip)...

This build solved the issue I was having.

Audionut
20th May 2009, 16:00
MeGui shouldn't be using a build that has beta patches imo.

x264-r1134-threaded-slicetype-v14.diff
x264_threaded_slicetype_windows_fix.diff

Rodger
20th May 2009, 19:28
It would be great, if m2ts-container would be available in the bitrate-calc, even though megui isn´t able to mux into that.

This way people can encode into raw and use tsmuxer to mux to m2ts, blu-ray or AVCHD.

Currently we have to calculate with a final size of 7850MB or 4100MB.

=====================
btw. that wrong build does crash immeadiately on my q9400 like on single core!

skystrife
20th May 2009, 22:45
As per here: http://forum.doom9.org/showthread.php?p=1287994#post1287994

I think the problems with the build crashing immediately were caused by my restructured mingw environment, and I've fixed the issue. If I were to make another build I am convinced that it would work just fine, but it will throw MeGUI an error similar to the one seen here: http://forum.doom9.org/showthread.php?p=1287758#post1287758 if you use it without bframes. There is actually not an error with the encoding--it's just x264 throwing a warning out there--and the pass will finish just fine. The only downside is that MeGUI apparently does not attempt a second pass after seeing that warning. Either way, I'll have a build without lookahead up soon, and I'll remake my x86 lookahead build to fix the pthreads issue.

This explains why it would work for some but not others: without the pthread library build in, x264 was looking for a shared one in your system32 directory, which some people have and some people don't (I did, which explains why I didn't notice the error).

MrVideo
21st May 2009, 01:01
This explains why it would work for some but not others: without the pthread library build in, x264 was looking for a shared one in your system32 directory, which some people have and some people don't (I did, which explains why I didn't notice the error).

That's weird, since the OS on both systems is XP-Pro SP2. Installed from the same CD. The only difference is the single core/dual core mobos.

pihug12
21st May 2009, 01:22
Trying server: http://megui.org/auto/stable/
Retrieving update file from server...
Error: Couldn't connect to server.
Trying server: http://megui.xvidvideo.ru/auto/stable/
Retrieving update file from server...
Error: Couldn't connect to server.
Error: Could not download XML file
Always same problem.
I disable my AV and Firewall. I change the server to "development". I can ping and access to the two servers.
The problem appeared with no reason.

I use Windows Vista SP1. Is it possible that the update to IE8 is doing all this mess ?
What "tool" use MeGUI to read XML files ?

An user (Astrophizz (http://forum.doom9.org/member.php?u=152903)) sent me a PM because he have the same problem than me.

skystrife
21st May 2009, 04:19
That's weird, since the OS on both systems is XP-Pro SP2. Installed from the same CD. The only difference is the single core/dual core mobos.

A pthreads dll may have been placed in the system32 directory by some other software that you have installed. That's the only explanation I can come up with, as I can't get it to crash instantaneously on a core 2 quad or an old athlon XP.

Or it could be something else entirely. That's just my best hypothesis.

There's a non-lookahead build in the patches thread either way.

MrVideo
21st May 2009, 06:01
A pthreads dll may have been placed in the system32 directory by some other software that you have installed.

I have a pthreadGC2.dll, I have a lot more in the way of programs installed on the dual core system. I basically only have MeGUI stuff on the single core.

Kurtnoise
21st May 2009, 07:21
Always same problem.
I disable my AV and Firewall. I change the server to "development". I can ping and access to the two servers.
The problem appeared with no reason.

I use Windows Vista SP1. Is it possible that the update to IE8 is doing all this mess ?
What "tool" use MeGUI to read XML files ?

An user (Astrophizz (http://forum.doom9.org/member.php?u=152903)) sent me a PM because he have the same problem than me.
this is not due to the xml file according to the log or IE8. Something is wrong during connection. I've no idea why that fails but I'll send you a PM for testing...

skystrife
21st May 2009, 10:01
I have a pthreadGC2.dll, I have a lot more in the way of programs installed on the dual core system. I basically only have MeGUI stuff on the single core.

Hmm.

I just did some testing and it crashes instantly at the beginning of the second pass of a two-pass encode. Was this perhaps the case on your end as well? I hadn't caught it before since I normally do crf encodes.

Either way, the issue should be alleviated now, assuming the megui auto-update was set to update to my modified build without the lookahead patch.

simonhowson
21st May 2009, 13:50
I've used MeGUI to encode a Blu-ray sourced HD VC1 file to x264, using the iPhone video profile and AAC audio. I used the MeGUI MP4 muxer, but the file won't import into iTunes. When I try to play it in Quicktime, it gives the following error:

http://img39.imageshack.us/img39/3295/errord.gif

I tried muxing the files with NicMP4box (the modified version of MP4box that was hacked together specifically to enable the creation of iTunes compatible MP4 files), but again, it couldn't produce an MP4 that would play in Quicktime or import into iTunes.

So, could this mean that the 23.976 frame rate is incompatible with the iPhone? I've never encoded a Blu-ray to iPhone profile h264 before, but have encoded many DVDs and have never had this problem of the file being incompatible.

If the problem is with the frame rate, how would I go about converting the frame rate to one that will encode properly?

Kurtnoise
21st May 2009, 15:02
http://wjarrettc.blogspot.com/2007/07/howto-fix-error-2002-bad-public-atom.html
http://www.aoamedia.com/mp4patch.htm

Keiyakusha
21st May 2009, 15:39
On Win7, Drag n Drop into main Megui window stops working for me. Is this some compatibility issue?

simonhowson
21st May 2009, 16:28
http://wjarrettc.blogspot.com/2007/07/howto-fix-error-2002-bad-public-atom.html
http://www.aoamedia.com/mp4patch.htm

I tried using AoA MP4 Patch but it still didn't work. The new file gives exactly the same error when I tried to play it in QuickTime.

The other application Tagger was a dead link, and I don't have Java installed so I didn't try it.

Could it have something to do with the way the file was encoded?

All I did was resize the image from 1920 x 1080 to 640 x 368 anamorphic

# Set DAR in encoder to 16 : 9. The following line is for automatic signalling
global MeGUI_darx = 16
global MeGUI_dary = 9
DirectShowSource("L:\howthe\howthe.track_4113-muxed.mkv", fps=23.976, audio=false, convertfps=true)
#deinterlace
crop( 2, 0, -2, 0)

LanczosResize(640,368) # Lanczos (Sharp)
#denoise

The only other problem I can think of is the frame rate, but aren't most well encoded NTSC DVDs encoded as 23.976, then soft telecined?

Is there a tool that can extract the raw h264 video from the file so I can try remuxing it again from scratch?

b66pak
21st May 2009, 17:53
@simonhowson use mp4box or mp4creator to demux the .mp4 to raw (.264 + .acc)

use mp4box or mp4creator to remux .264 + .aac to a new .mp4

this will solve the problem...

to avoid this problem in the future ALWAYS encode to .264 (NOT .mp4) and in the final step mux to .mp4...
_

@Kurtnoise do you have another link for Tagger (it looks interesting)...
_

MrVideo
21st May 2009, 18:42
Was this perhaps the case on your end as well?

Nope, immediate crash at pass one.

Sharktooth
22nd May 2009, 03:56
On Win7, Drag n Drop into main Megui window stops working for me. Is this some compatibility issue?
win7 is not finished and still unsupported.

simonhowson
22nd May 2009, 08:29
@simonhowson use mp4box or mp4creator to demux the .mp4 to raw (.264 + .acc)

use mp4box or mp4creator to remux .264 + .aac to a new .mp4

this will solve the problem...

to avoid this problem in the future ALWAYS encode to .264 (NOT .mp4) and in the final step mux to .mp4...

I extracted the raw video and remuxed it using MP4box and it worked! Thanks for your advice, I'll change my MeGUI settings.

rapscallion
23rd May 2009, 21:16
I have a question not related to a problem, but just curiosity.

I'm somewhat new to the HD video arena but have done SD video encodes the last few years (DVD Rebuilder being one)

From what I understand, an SD video has a certain max avg bitrate. In other words a smaller than dvd5 group of vob's won't encode to a higher avg bitrate than the original, just because there's more room. At least that is my understanding.

By accident, the other day, I entered a higher bitrate than I intended for a input m2ts and the resulting avg bitrate in the 264 file was higher than the original and, of course, the file size was larger. (rawavc output, using X264 standalone avchd profile)

I didn't think that was possible, but maybe in the world of m2ts HD it is ?...and Iwonder does that mean the picture quality is improved (sort of like getting something from nothing ?), or maybe the opposite, it's degraded? :confused:

Comments from the experts much appreciated because my searches turned up nothing.

karasu
25th May 2009, 12:58
My X264 process eat a lot of Ram (process usage vary between 500'000K and 1'500'000K )
The source is a DVD. Such a huge memory usage is normal ?

Edit: here is my settings : Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --crf 21.5 --ref 4 --mixed-refs --no-fast-pskip --bframes 2 --b-pyramid --weightb --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh --threads auto --thread-input --sar 3185:2911 --progress --no-ssim --output "H:\Movies\taste of tea.mp4" "H:\Movies\taste of tea.avs"

buzzqw
25th May 2009, 13:17
is using tesa ... yes

BHH

Sharktooth
25th May 2009, 13:55
TESA is a PLACEBO. Use UMH... you wont see ANY difference and will get a nice speed boost.

@rapscallion: bitrate is not limited by the resolution. x264 can produce files bigger than the original as well as xvid or any other encoders. also, that doesnt mean it can "improve" the source... it cant be done. every time you re-encode you WILL loose some quality (unless you're re-encoding with a lossless method).

karasu
25th May 2009, 14:11
I'm not using tesa. Can the avs content affect the amount of memory used by the x264 process?

rapscallion
25th May 2009, 14:29
@rapscallion: bitrate is not limited by the resolution. x264 can produce files bigger than the original as well as xvid or any other encoders. also, that doesnt mean it can "improve" the source... it cant be done. every time you re-encode you WILL loose some quality (unless you're re-encoding with a lossless method).That makes sense and what I would expect. So, if the resulting bitrate is higher than the source, what are those "extra" bits doing, other than increasing the file size ?

karasu
25th May 2009, 15:39
That makes sense and what I would expect. So, if the resulting bitrate is higher than the source, what are those "extra" bits doing, other than increasing the file size ?

Your source is the decompressed output of your file, If you save that output in raw and lossless format you will end with a HUGE file. Lossy compression will produce a filesize between 0 and the size of your raw output. So if you set an higher bitrate than the compressed source, you will end with a file larger than this source.

I dont know what happens if you set a bitrate higher than the raw source.

pihug12
25th May 2009, 22:29
I finally solve my problem with the update.

I delete these keys :
http://img193.imageshack.us/img193/2161/proxy.th.png (http://img193.imageshack.us/img193/2161/proxy.png)
http://img36.imageshack.us/img36/2186/proxy2.th.png (http://img36.imageshack.us/img36/2186/proxy2.png)
http://img190.imageshack.us/img190/9590/proxy3.th.png (http://img190.imageshack.us/img190/9590/proxy3.png)

And I delete the file "C:\Users\Pierre\Desktop\Streamy\proxy.pac".

I don't know how this file was a part of the registry. It was just unzipped from an archive (http://streamy.sourceforge.net/), no installer.

rack04
26th May 2009, 14:03
The latest x264 update is extracted with the following file name:

x264.

Therefore it doesn't replace the existing version.

Sharktooth
26th May 2009, 19:29
bah! i really need to replace the keyboard.
however it's extracted as x264..exe ....

Taddeusz
27th May 2009, 04:16
Recently I noticed that the Cyberlink H.264 decoder does not properly report 1080 lines for AVC encoded video so I've been trying different decoders. CoreAVC works very well but it seems to cause MeGUI's interface to stop responding if you click anywhere on the encoding monitor window. x264.exe still continues to run but you can no longer tell the statistics of the conversion. Any ideas?

Inspector.Gadget
27th May 2009, 04:21
Taddeusz - why are you using DirectShowSource for H.264 instead of DGAVCIndex/DGAVCDecNV?

karasu
28th May 2009, 07:36
The new x264 (with a working filename) have corrected my memory blow problem. Now for the same work the max mem used is around 600M (1500M and more before, with x264 crashes)

daWsOn_s
28th May 2009, 23:29
DVXA presents give error when second pass starts, known bug or my problem?

daWsOn_s
28th May 2009, 23:58
Nevermind:)

Inspector.Gadget
29th May 2009, 19:49
I'm doing a pre-rendering pass in MeGUI with some pretty heavy filtering and mencoder is close to but never exceeds 50% CPU. Is mencoder's HuffYUV encoding multithreaded? If so, I guess it's time for me to move to Avisynth-MT...

Sharktooth
30th May 2009, 02:57
if you're doing heavy filtering, then avisynth is your limiting factor.

Inspector.Gadget
30th May 2009, 03:00
Edit: System idle time is 40-50% and mencoder is about the same. I'm beginning to think Avisynth isn't the hang-up in this particular case.

Dark Shikari
30th May 2009, 08:44
Edit: System idle time is 40-50% and mencoder is about the same. I'm beginning to think Avisynth isn't the hang-up in this particular case.Avisynth CPU time is counted as part of mencoder CPU time.

Also, on a dual-core system, "50%" is one core.

daberti
30th May 2009, 10:32
Just trying to figure out how to do.
I've Ffdshow installed, but I'd need some hints.

Thanks in advance
Dan

Sharktooth
30th May 2009, 14:15
get FLV splitter from here: http://sourceforge.net/project/downloading.php?group_id=170561&filename=mpchc_x86_v1.2.908.0_FLVSplitter.zip&a=75719497
ensure FFDShow can decode the streams by playing the .flv file in your favourite DirectShow media player, if it does, then use megui's avseditor to create a script using directshowsource() to open the file. load it and go on encoding.

pihug12
30th May 2009, 22:43
I finally solve my problem with the update.

I delete these keys :
http://img193.imageshack.us/img193/2161/proxy.th.png (http://img193.imageshack.us/img193/2161/proxy.png)
http://img36.imageshack.us/img36/2186/proxy2.th.png (http://img36.imageshack.us/img36/2186/proxy2.png)
http://img190.imageshack.us/img190/9590/proxy3.th.png (http://img190.imageshack.us/img190/9590/proxy3.png)

And I delete the file "C:\Users\Pierre\Desktop\Streamy\proxy.pac".

I don't know how this file was a part of the registry. It was just unzipped from an archive (http://streamy.sourceforge.net/), no installer.
The problem re-appears each time I open Streamy. I just need to delete the file proxy.pac (I don't touch the registry) and the problem is gone.
Maybe you can find a way to avoid this. :-/

Thanks !

Sharktooth
31st May 2009, 01:59
im sorry but we cant fix other softwares (expecially if they're not opensource softwares).
if "streamy" compromises your internet connectivity, we can do nothing to fix it. just contact that software developers and ask why their software is messing with your internet connection.

Inspector.Gadget
31st May 2009, 20:01
MeGUI crashed on me while I was doing something stupid. x264 is still running, according to the process monitor. If I leave it alone, it'll still finish encoding the file, right?

nurbs
31st May 2009, 20:39
Since the last update the x264 profiles contain "--fullrange on" by default. I thought this option should only be activated if the input uses the range 0-255, which isn't the case for DVD and Blu-Ray sources.
If I'm correct then why is it enabled by default and why isn't there a way to deactivate it?

rapscallion
31st May 2009, 21:30
MeGUI crashed on me while I was doing something stupid. x264 is still running, according to the process monitor. If I leave it alone, it'll still finish encoding the file, right?
It should, as Megui's front end capability sets up the command line parameters for the encode, and when started, 264 takes over and goes on from there until done.

In any event, you'll find out eventually :)

Keiyakusha
31st May 2009, 21:46
Since the last update the x264 profiles contain "--fullrange on" by default. I thought this option should only be activated if the input uses the range 0-255, which isn't the case for DVD and Blu-Ray sources.
If I'm correct then why is it enabled by default and why isn't there a way to deactivate it?

Are you sure about "--fullrange on" flag? I don't see it but I encoded some video and noticed that it have wrong levels when video played using CoreAVC (CoreAVC thinks input have PC levels) and right levels with MPC-HC with or without DXVA(I guess MPC-HC do not respect fullrange flag). So then it makes sence to me...

EDIT: encoding to h264 with ffmpeg gives me right levels with CoreAVC so probably fullrange flag is somewhere there in MeGui.

Keiyakusha
31st May 2009, 22:40
OMG, when nurbs said "profiles" i looked directly into xml files. There is no such flag in them but now I see it in MeGui commandline...
http://www.petaimg.com/u202/485Untitled-1.png

Inspector.Gadget
31st May 2009, 22:44
Thanks, rapscallion. New question for devs and others: when I drag a .dgm file into the AVS Script Creator, I get an error that tells me that there is no function called "MPGSource". I assume this is because the current syntax for DGMPGDecNV is DGSource() rather than MPGSource(). Is this intended behavior and I'm just screwing up somewhere, or is this a bug?

Sharktooth
1st June 2009, 03:06
i think ALL DVDs and Blu-rays have 0-255 range. however i'll make it an option.

EDIT: done.

@inspector.gadget: megui defaults to DGMpegDec syntax since it's free and it's included with megui updates, however does DGMpegDec accepts DGSource as well? In that case, ill just swap MPGSource with DGSource, otherwise additional checks are needed.

Kurtnoise
1st June 2009, 06:23
New question for devs and others: when I drag a .dgm file into the AVS Script Creator, I get an error that tells me that there is no function called "MPGSource". I assume this is because the current syntax for DGMPGDecNV is DGSource() rather than MPGSource(). Is this intended behavior and I'm just screwing up somewhere, or is this a bug?
it's because the code isn't updated yet to support the new version...

Inspector.Gadget
1st June 2009, 16:35
Sharktooth: DGSource() doesn't work with a regular d2v file, as far as I can test, so you may need to separate the function. I don't know anything about programming, but since opening a .dgm file in the AVS Script Creator already starts the CUVID server, the "hook" may already be there.

Related issue: When encoding using any of the NV tools and the CUVID server running, opening another NV (dgm, dgv, dga) file in the AVS Script Creator accesses the running CUVID server and crashes MeGUI but apparently doesn't interfere with x264 or the instance of Avisynth it uses (and has only brought down the CUVID server one of two time I've done the same stupid thing :rolleyes:). I realize it's not MeGUI's fault, but if you developers get a chance, maybe you could figure out a way to check for a running instance of the server and disallow any further automatic access through the AVS Script Creator to keep idiots like me from constantly messing themselves up. Many thanks for an excellent program.

Sharktooth
1st June 2009, 16:48
ill see what i can do but i dont own a nvidia card.

MADAJ
2nd June 2009, 21:09
hi, MeGUI crushes when it reaches pass 2 around 98% to 99.7%
I am using win Vista and the latest Megui version

thanks in advance

Sharktooth
3rd June 2009, 01:08
... you're providing almost no info ...

MADAJ
3rd June 2009, 08:22
the latest avisynth ... and the video source is 720p ... final out put is in MKV
BTW... I tried encoding pass 2 about 3 times till it succeeded.

anything else I should provide?

ctl-tx
3rd June 2009, 14:22
Is there a simple way to drop 1 or 2 nonindex frames from a h264 video stream using MeGUI? I want to join 2 MKVs together. Unfortunately, the keyframe is two frames before the scene change that I want to make the join. I need a way to drop those 2 frames from the video, preferably without doing any reencoding. Due to various reasons, this would be impractical. Is there a way to reindex the video stream without reencoding?
I have Mkvmerge as a muxer, it can only cut on keyframes. If there's another muxer that doesn't have this limitation and can let me cut on the frame I want, please let me know.

Kurtnoise
3rd June 2009, 17:10
Is there a way to reindex the video stream without reencoding?
No...

ctl-tx
3rd June 2009, 17:20
Then, how can I get the [codec private] information from the video container and put it into MeGUI? If I can do that, I only need to reencode one video once, instead of lots of videos.

Kurtnoise
3rd June 2009, 17:45
video codec != container

Use DGAVCIndex to index your file...

ctl-tx
3rd June 2009, 19:00
I just had some partial success. I've been able to tweak my MeGUI settings to the point where I can reencode the video and make it join with the other video properly. This time, I'm only one frame off from where I want to be. So close yet so far!
I've picked up DGAVCIndex and got it read the h264 stream demuxed from the MKV, but I have no idea how to get it to specify a keyframe where I want it, or something like that.
I would be most grateful for any assistance in this regard.

poisondeathray
3rd June 2009, 19:09
I just had some partial success. I've been able to tweak my MeGUI settings to the point where I can reencode the video and make it join with the other video properly. This time, I'm only one frame off from where I want to be. So close yet so far!
I've picked up DGAVCIndex and got it read the h264 stream demuxed from the MKV, but I have no idea how to get it to specify a keyframe where I want it, or something like that.
I would be most grateful for any assistance in this regard.


If you are re-encoding the video, just use Trim() in the avisynth script to cut it where you want

Next time, just edit everything in the script before encoding

If you want to place specific keyframes when encoding, use a qpfile (do a search there are several threads)

ctl-tx
3rd June 2009, 19:16
Trim works even when the frames in question aren't keyframes?

poisondeathray
3rd June 2009, 19:20
Trim works even when the frames in question aren't keyframes?

Exactly what are you doing?

Are re-encoding the entire video and wanted to cut a few frames off the end?

ctl-tx
3rd June 2009, 20:36
Cut a few frames off the front actually. And Trim worked! Got my video just the way I wanted it. Thank you so much!

Sharktooth
4th June 2009, 17:54
the latest avisynth ... and the video source is 720p ... final out put is in MKV
BTW... I tried encoding pass 2 about 3 times till it succeeded.

anything else I should provide?
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Keiyakusha
6th June 2009, 17:08
I'm using Win7 so maybe this is not really a bug in MeGui but please check this out. In x264 configuration dialog, when we disable CABAC option - Trellis and Psy-Trellis Strength becames grayed out. But when we enable CABAC again, only Trellis becames normal, but Psy-Trellis Strength remains grayed out and there is no way to enable it.

Sharktooth
7th June 2009, 01:42
well, i doubt it could be due to windows 7... ill check it out but please report bugs to the megui project bugtracker on sourceforge.

edit: it's not a bug. when you disable cabac trellis is automatically set to 0 and disabled. to re-enable psy-trellis you should set trellis at least to 1 (and obviously re-enable cabac first).

rack04
8th June 2009, 15:05
I set up OneClick profile for iPod encoding. In this profile I have the output resolution set to 480 and AutoCrop is ticked. However, I am getting an output resolution of 416x224 instead of 480x256.

http://i11.photobucket.com/albums/a199/rack04/megui1.jpg

Here is the mediainfo of the output file:

General
Complete name : C:\Personal\Videos\lasvegas-vts 01 1.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 1.32 MiB
Duration : 10s 538ms
Overall bit rate : 1 048 Kbps
Encoded date : UTC 2009-06-07 14:03:16
Tagged date : UTC 2009-06-07 14:03:16

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L1.3
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 10s 520ms
Bit rate mode : Variable
Bit rate : 977 Kbps
Nominal bit rate : 279 Mbps
Maximum bit rate : 1 448 Kbps
Width : 416 pixels
Height : 224 pixels
Display aspect ratio : 1.857
Frame rate mode : Constant
Frame rate : 25.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.419
Stream size : 1.22 MiB (93%)
Writing library : x264 core 67 r1163M 3f56e27
Encoding settings : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x1:0x131 / me=umh / subme=6 / psy_rd=1.0:0.0 / mixed_ref=0 / me_range=12 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=0 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=279015 / ratetol=1.0 / qcomp=0.60 / qpmin=16 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=768 / vbv_bufsize=768 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2009-06-07 14:03:16
Tagged date : UTC 2009-06-07 14:03:16

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 : 10s 538ms
Bit rate mode : Variable
Bit rate : 69.2 Kbps
Maximum bit rate : 79.4 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 89.0 KiB (7%)
Encoded date : UTC 2009-06-07 14:03:16
Tagged date : UTC 2009-06-07 14:03:16

Kurtnoise
9th June 2009, 08:54
:logfile:

there are probably some internal adjustments with Profiles & Levels...

rack04
9th June 2009, 13:35
:logfile:

there are probably some internal adjustments with Profiles & Levels...

Here is the log file.

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1039
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.3082)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz
-[Information] Log for job1 (idx, lasvegas-vts_01_1.vob -> lasvegas-vts 01 1.d2v)
--[Information] [6/9/2009 7:34:21 AM] Started handling job
--[Information] [6/9/2009 7:34:21 AM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\DGIndex\DGIndex.exe" -SD=< -AIF=<C:\Personal\Videos\lasvegas-vts_01_1.vob< -OF=<C:\Personal\Videos\lasvegas-vts 01 1< -exit -hide -OM=1 -TN=81
--[Information] [6/9/2009 7:34:21 AM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [6/9/2009 7:34:22 AM] Running auto force film
---[NoImage] Film percentage: -1
--[Information] [6/9/2009 7:34:22 AM] Postprocessing
---[Information] OneClick postprocessor
----[NoImage] Desired size: 350 MB
----[NoImage] Split size: null
----[NoImage] Autocrop values
-----[NoImage] left: 14
-----[NoImage] top: 84
-----[NoImage] right: 12
-----[NoImage] bottom: 80
----[NoImage] Auto-detect aspect ratio now: True
----[NoImage] Aspect ratio: 1.367521
----[NoImage] Output resolution: 480x256
----[NoImage] AVC level: Level 1.3
----[NoImage] Resolution adjusted for AVC Level: 416x224
----[NoImage] Automatic deinterlacing: True
----[NoImage] Deinterlacing used: #Not doing anything because the source is progressive
----[NoImage] Generated Avisynth script
-----[NoImage] DGDecode_mpeg2source("C:\Personal\Videos\lasvegas-vts 01 1.d2v", info=3)
-----[NoImage] ColorMatrix(hints=true, threads=0)
-----[NoImage] #Not doing anything because the source is progressive
-----[NoImage] crop( 14, 84, -12, -80)
-----[NoImage] LanczosResize(416,224) # Lanczos (Sharp)
-----[NoImage] #denoise
----[Information] Eliminating duplicate filenames
-----[NoImage] Video output file: C:\Personal\Videos\lasvegas-vts 01 1_Video.264
-----[NoImage] Muxed output file: C:\Personal\Videos\lasvegas-vts 01 1.mp4
-----[NoImage] Encodable audio stream 0: C:\Personal\Videos\lasvegas-vts 01 1 T81 3_2ch 448Kbps DELAY 0ms_audio.m4a
---[Information] Deleting intermediate files
--[Information] [6/9/2009 7:34:26 AM] Job completed
-[Information] Log for job2 (audio, lasvegas-vts 01 1 T81 3_2ch 448Kbps DELAY 0ms.ac3 -> lasvegas-vts 01 1 T81 3_2ch 448Kbps DELAY 0ms_audio.m4a)
--[Information] [6/9/2009 7:34:26 AM] Started handling job
--[Information] [6/9/2009 7:34:26 AM] Preprocessing
--[NoImage] Avisynth script
---[NoImage] NicAc3Source("C:\Personal\Videos\lasvegas-vts 01 1 T81 3_2ch 448Kbps DELAY 0ms.ac3")
---[NoImage] 6<=Audiochannels(last)?x_stereo0b9436ff540549558a91503ed6c26a5a(ConvertAudioToFloat(last)):last
---[NoImage] Normalize()
---[NoImage] return last
---[NoImage] function x_stereo0b9436ff540549558a91503ed6c26a5a(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: -ignorelength -lc -br 64000 -if - -of "{0}"
--[Information] [6/9/2009 7:34:26 AM] Encoding started
--[Information] [6/9/2009 7:34:26 AM] Encode thread started
--[Information] [6/9/2009 7:34:26 AM] Avisynth script environment opened
--[Information] [6/9/2009 7:34:26 AM] Script loaded
--[Information] Output Decoder
---[NoImage] Channels: 2
---[NoImage] Bits per sample: 32
---[NoImage] Sample rate: 48000
--[NoImage] Commandline: C:\Program Files\eac3to\neroAacEnc.exe -ignorelength -lc -br 64000 -if - -of "C:\Personal\Videos\lasvegas-vts 01 1 T81 3_2ch 448Kbps DELAY 0ms_audio.m4a"
--[Information] [6/9/2009 7:34:26 AM] Encoder process started
--[NoImage] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2008 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Sep 17 2008 *
---[NoImage] * Package version: 1.3.3.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] [6/9/2009 7:34:28 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [6/9/2009 7:34:28 AM] Job completed
-[Information] Log for job3 (video, lasvegas-vts 01 1.avs -> )
--[Information] [6/9/2009 7:34:28 AM] Started handling job
--[Information] [6/9/2009 7:34:28 AM] Preprocessing
---[Information] Bitrate calculation for video
----[NoImage] Desired size after subtracting audio: 358306KBs
----[NoImage] Calculated desired bitrate: 279015kbit/s
--[NoImage] Job commandline: "C:\Program Files\MeGUI\tools\x264\x264.exe" --pass 1 --bitrate 279015 --stats "C:\Personal\Videos\lasvegas-vts 01 1_Video.stats" --level 1.3 --no-cabac --subme 2 --partitions none --qpmin 16 --vbv-bufsize 768 --vbv-maxrate 768 --me dia --merange 12 --threads auto --thread-input --progress --no-psnr --no-ssim --output NUL "C:\Personal\Videos\lasvegas-vts 01 1.avs"
--[Information] [6/9/2009 7:34:28 AM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] avis [info]: 416x224 @ 25.00 fps (263 frames)
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] x264 [warning]: max bitrate less than average bitrate, ignored.
---[NoImage] x264 [info]: profile Baseline, level 1.3
---[NoImage]
---[NoImage] x264 [info]: slice I:13 Avg QP:16.10 size: 4334
---[NoImage] x264 [info]: slice P:250 Avg QP:16.31 size: 5540
---[NoImage] x264 [info]: mb I I16..4: 76.4% 0.0% 23.6%
---[NoImage] x264 [info]: mb P I16..4: 35.1% 0.0% 0.0% P16..4: 59.4% 0.0% 0.0% 0.0% 0.0% skip: 5.4%
---[NoImage] x264 [info]: final ratefactor: -33.76
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra:72.2% 91.4% 53.6% inter:56.2% 75.8% 5.2%
---[NoImage] x264 [info]: kb/s:1096.0
---[NoImage] encoded 263 frames, 97.84 fps, 1096.55 kb/s
--[Information] [6/9/2009 7:34:31 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [6/9/2009 7:34:31 AM] Job completed
-[Information] Log for job4 (video, lasvegas-vts 01 1.avs -> lasvegas-vts 01 1_Video.264)
--[Information] [6/9/2009 7:34:31 AM] Started handling job
--[Information] [6/9/2009 7:34:31 AM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\MeGUI\tools\x264\x264.exe" --pass 2 --bitrate 279015 --stats "C:\Personal\Videos\lasvegas-vts 01 1_Video.stats" --level 1.3 --no-cabac --partitions p8x8,b8x8,i4x4,p4x4 --qpmin 16 --vbv-bufsize 768 --vbv-maxrate 768 --me umh --merange 12 --threads auto --thread-input --aud --progress --no-psnr --no-ssim --output "C:\Personal\Videos\lasvegas-vts 01 1_Video.264" "C:\Personal\Videos\lasvegas-vts 01 1.avs"
--[Information] [6/9/2009 7:34:31 AM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] avis [info]: 416x224 @ 25.00 fps (263 frames)
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] x264 [warning]: max bitrate less than average bitrate, ignored.
---[NoImage] x264 [warning]: Error: 2pass curve failed to converge
---[NoImage] x264 [warning]: target: 279015.00 kbit/s, expected: 1096.50 kbit/s, avg QP: 16.0000
---[NoImage] x264 [warning]: try reducing target bitrate or reducing qp_min (currently 16)
---[NoImage] x264 [info]: profile Baseline, level 1.3
---[NoImage]
---[NoImage] x264 [info]: slice I:13 Avg QP:16.32 size: 4719
---[NoImage] x264 [info]: slice P:250 Avg QP:16.82 size: 4889
---[NoImage] x264 [info]: mb I I16..4: 67.5% 0.0% 32.5%
---[NoImage] x264 [info]: mb P I16..4: 6.7% 0.0% 13.8% P16..4: 39.7% 26.1% 8.0% 0.5% 0.5% skip: 4.8%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra:75.4% 95.2% 74.8% inter:48.8% 74.9% 6.6%
---[NoImage] x264 [info]: kb/s:976.2
---[NoImage] encoded 263 frames, 55.36 fps, 977.94 kb/s
--[Information] Final statistics
---[NoImage] Video Bitrate Desired: 279015 kbit/s
---[NoImage] Video Bitrate Obtained (approximate): 977 kbit/s
--[Information] [6/9/2009 7:34:36 AM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [6/9/2009 7:34:36 AM] Successfully deleted C:\Personal\Videos\lasvegas-vts 01 1_Video.stats
--[Information] [6/9/2009 7:34:36 AM] Job completed
-[Information] Log for job5 (mux, lasvegas-vts 01 1_Video.264 -> lasvegas-vts 01 1.mp4)
--[Information] [6/9/2009 7:34:36 AM] Started handling job
--[Information] [6/9/2009 7:34:36 AM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\MeGUI\tools\mp4box\mp4box.exe" -add "C:\Personal\Videos\lasvegas-vts 01 1_Video.264:fps=25" -add "C:\Personal\Videos\lasvegas-vts 01 1 T81 3_2ch 448Kbps DELAY 0ms_audio.m4a#trackID=1" -tmp "C:\Personal\Videos" -new "C:\Personal\Videos\lasvegas-vts 01 1.mp4"
--[Information] [6/9/2009 7:34:36 AM] Encoding started
--[NoImage] Standard output stream
---[NoImage] AVC-H264 import - frame size 416 x 224 at 25.000 FPS
---[NoImage] Import results: 263 samples - Slices: 13 I 250 P 0 B - 1 SEI - 5 IDR
---[NoImage] IsoMedia import - track ID 1 - Audio (SR 48000 - 2 channels)
---[NoImage] Saving C:\Personal\Videos\lasvegas-vts 01 1.mp4: 0.500 secs Interleaving
--[NoImage] Standard error stream
--[Information] [6/9/2009 7:34:36 AM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [6/9/2009 7:34:36 AM] Successfully deleted C:\Personal\Videos\lasvegas-vts 01 1_Video.264
----[Information] [6/9/2009 7:34:36 AM] Successfully deleted C:\Personal\Videos\lasvegas-vts 01 1 T81 3_2ch 448Kbps DELAY 0ms_audio.m4a
--[Information] [6/9/2009 7:34:36 AM] Job completed
-[Information] Log for job6 (cleanup, -> )
--[Information] [6/9/2009 7:34:36 AM] Started handling job
--[Information] [6/9/2009 7:34:36 AM] Preprocessing
--[Information] [6/9/2009 7:34:36 AM] Encoding started
--[NoImage] Delete Intermediate Files option set: True
--[Information] Deleting intermediate files
---[Information] [6/9/2009 7:34:38 AM] Successfully deleted C:\Personal\Videos\lasvegas-vts 01 1.avs
---[Information] [6/9/2009 7:34:38 AM] Successfully deleted C:\Personal\Videos\lasvegas-vts 01 1.d2v
---[Information] [6/9/2009 7:34:38 AM] Successfully deleted C:\Personal\Videos\lasvegas-vts 01 1 T81 3_2ch 448Kbps DELAY 0ms.ac3
--[Information] [6/9/2009 7:34:38 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [6/9/2009 7:34:38 AM] Job completed

Kurtnoise
9th June 2009, 15:24
----[NoImage] Auto-detect aspect ratio now: True
----[NoImage] Aspect ratio: 1.367521
----[NoImage] Output resolution: 480x256
----[NoImage] AVC level: Level 1.3
----[NoImage] Resolution adjusted for AVC Level: 416x224
----[NoImage] Automatic deinterlacing: True
----[NoImage] Deinterlacing used: #Not doing anything because the source is progressive

you see...I was right.

Furthermore, your video bitrate is quite huge...

rack04
9th June 2009, 15:27
you see...I was right.

Furthermore, your video bitrate is quite huge...

So what determines when the video gets adjusted?

Atak_Snajpera
9th June 2009, 16:37
Probably this table http://en.wikipedia.org/wiki/H.264#Levels

beto
12th June 2009, 20:41
Hi all, I have an issue with a movie and I hope someone can help me out. Please bear with me. Although I am not a video encoding noob I am not an expert either.

I have this DVD movie that I want to play in my portable device. Tech specs here (http://www.cowonamerica.com/products/cowon/a2/tech_specs.html). It is a 4:3 30fps movie.

I loaded it into meGUI and converted it to XviD using the following options:

profile: Unrestricted 2-pass Balanced
size: 640x480 resize to mod 16 autocrop
AVIsynth: minimal noise and spline36 filters

It encodes ok but when I try to play it in the portable player it stutters all the time. I don't have this problem with other movies I encoded with meGUI. I noticed that after encoding I get a 23.970fps video framerate instead of the original 30fps. Could that be the cause? If so how do I solve this problem?

Don't worry about audio or subtitles because I have these under control. My problem is the video stuttering.

Thanks in advance for the help.

Sharktooth
13th June 2009, 12:17
that's why you chosen the wrong preset. if you look more carefully you will find there is a "2-pass Balanced (HomeTheatre)" preset. Use that instead.

MidKnight_1
13th June 2009, 23:13
Hello,

I'm trying to encode an AVI but strange things seem to be happening when I am in AVIsynth script creator. From within AVIsynth script creator I select the source file and the video preview window opens up - this looks fine. The number of frames for the AVI looks about what I would expect at 60 000 area. After I save the AVIsynth script, the video preview window refreshes but now the number of frames is significantly less, only showing about 2 000 frames. This isn't just an issue with the video preview window because when I run the queued jobs, it really is only doing the 2 000 frames.

I've never experienced this problem before. Somehow the majority of the frames are dropping off. Any assistance would be greatly appreciated.

My thanks,
MK

Sharktooth
14th June 2009, 02:48
:script:

MidKnight_1
14th June 2009, 03:26
Hi sharktooth,

I don't know what to say here. It's plain jane. The only option I checked was 'clever anamorphic' and then save! After saving, the video preview window shows the reduced number of frames. It's actually no different than anything I have done for over a hundred re-encodes so no idea whats up here....

Sharktooth
14th June 2009, 03:39
save the .avs and play it back on a directshow media player.
if it's still shorter than the source, then there is some problems in either the source or the decoder used by avisynth.
in both cases, not posting your .avs script, will not help to identify the problem.

MidKnight_1
14th June 2009, 06:19
I didn't know you could play avs files in the media player - I learn something new!

Yes, it is still shorter. It only appears to show the first 1 minute and 40 seconds. What I don't understand is that the source plays just fine, it's just this odd behaviour.

Here is the avs script....nothing special at all.
# Set DAR in encoder to 16 : 9. The following line is for automatic signalling
global MeGUI_darx = 16
global MeGUI_dary = 9
AVISource("C:\My Documents\Trading\DAX\DAX_20090415.avi", audio=false)
#deinterlace
#crop
#resize
#denoise

I'm not sure how to proceed here. Maybe I should just not do this one and keep it as the original AVI. All these logs are taking a lot of space though so would like to shrink them down with MKVs.

Sharktooth
14th June 2009, 14:11
ok, it could be the decoder. AVISource uses VFW decoder instead of DirectShow. That means there could be differencies between the playback of the avi file in your player and the playback of the avisynth script.
you can try with DirectShowSource(".......") in place of AVISource and see if it fixes the problem.

Inspector.Gadget
14th June 2009, 16:09
I've had a problem lately with neverending encodes when using a DGM file created by DGMPGDecNV and otherwise treated as usual with the AVS Script Creator and other MeGUI tools. This has occurred whether using XviD or x264, and what happens is an encode will hit 99%+ completion and then run indefinitely at some encoding rate while the file never gets bigger and the time remaining never decreases. Please find below links to everything relevant:

DGM File: http://pastebin.ca/1460029
AVS Script: http://pastebin.ca/1460031
MeGUI log: http://pastebin.ca/1460033

MidKnight_1
14th June 2009, 21:11
ok, it could be the decoder. AVISource uses VFW decoder instead of DirectShow. That means there could be differencies between the playback of the avi file in your player and the playback of the avisynth script.
you can try with DirectShowSource(".......") in place of AVISource and see if it fixes the problem.

That was the problem! Thank you!!! :thanks:

MidKnight_1
15th June 2009, 01:26
Uggg...this is the re-encode from hell.

Using the directshowsource() worked great for the video but then the audio was still stopping just after the first 2000 odd frames. I extracted the stream from within VDub mod, pulled it into meGUI as the audio source and re-muxed. Almost there now....The one catch now is that the audio gets progressively out of sync. I have read through the search function of the forum that this is from an incorrect framerate used but I don't understand how to set this right. Is this in the muxing area? Or is this within the avisynth script?

My sincere thanks in advance,
MK

alexcel
15th June 2009, 23:13
It gives a .NET Framework error

Error registering DragDrop just after d2v creator pass

Here is the log for the error

************** Texto de la excepción **************
System.InvalidOperationException: Error al registrar DragDrop. ---> System.Threading.ThreadStateException: El subproceso actual debe establecerse en el modo de subprocesamiento controlado simple (Single Thread Apartment, STA) para poder realizar llamadas OLE. Asegúrese de que la función Main tiene marcado STAThreadAttribute.
en System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)
--- Fin del seguimiento de la pila de la excepción interna ---
en System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)
en System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
en System.Windows.Forms.TextBoxBase.OnHandleCreated(EventArgs e)
en System.Windows.Forms.TextBox.OnHandleCreated(EventArgs e)
en System.Windows.Forms.Control.WmCreate(Message& m)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.TextBoxBase.WndProc(Message& m)
en System.Windows.Forms.TextBox.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ensamblados cargados **************
mscorlib
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MeGUI
Versión del ensamblado: 0.3.1.1043
Versión Win32: 0.3.1.1043
Código base: file:///C:/Program%20Files%20(x86)/megui/MeGUI.exe
----------------------------------------
System.Windows.Forms
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.XML.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.resources/2.0.0.0_es_b77a5c561934e089/System.Xml.resources.dll
----------------------------------------
jt-eyzdv
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ymlzm_oi
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
nc5_0ave
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
p8ohpjmq
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
uwe3mlwh
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
utm2v0mi
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
xg9s-on1
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
b1bgkohm
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
yyv5yp9k
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
fcdg6db9
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
m18-mloz
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
dgjivl3d
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
co7oy3df
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
4e1ufiox
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ejms5rop
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
yihbsef5
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Accessibility
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
umxtjntk
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
e6oz3hqz
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Management
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
rltqbtou
Versión del ensamblado: 0.3.1.1043
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
mscorlib.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MediaInfoWrapper
Versión del ensamblado: 0.7.16.0
Versión Win32: 0.7.16.0
Código base: file:///C:/Program%20Files%20(x86)/megui/MediaInfoWrapper.DLL
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.


Megui logs show no errors, as I pressed continue at the .Net error window.

here are the megui logs

[Warning] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1043
--[NoImage] OS : Windows Vista Business Edition x64 SP2 (6.0.131072.6002)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.4016)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz
-[Information] Log for job1 (idx, VTS_02_1.VOB -> nims island.d2v)
--[Information] [15/06/2009 23:55:23] Started handling job
--[Information] [15/06/2009 23:55:23] Preprocessing
--[NoImage] Job commandline: "C:\Program Files (x86)\megui\tools\dgindex\dgindex.exe" -SD=< -AIF=<E:\Ultimas\NIMS_ISLAND\VIDEO_TS\VTS_02_1.VOB< -OF=<E:\Ultimas\NIMS_ISLAND\VIDEO_TS\nims island< -exit -hide -OM=1 -TN=82,80
--[Information] [15/06/2009 23:55:23] Indexing started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [15/06/2009 23:57:30] Running auto force film
---[NoImage] Film percentage: -1
--[Information] [15/06/2009 23:57:31] Postprocessing
---[Information] OneClick postprocessor
----[NoImage] Desired size: null
----[NoImage] Split size: null
----[NoImage] Auto-detect aspect ratio now: True
----[NoImage] Aspect ratio: 1,823361
----[NoImage] Output resolution: 720x432
----[NoImage] AVC level: Level 3.1
----[NoImage] Resolution adjusted for AVC Level: 720x432
----[NoImage] Automatic deinterlacing: True
----[NoImage] Deinterlacing used: #Not doing anything because the source is progressive
----[NoImage] Generated Avisynth script
-----[NoImage] global MeGUI_darx = 238
-----[NoImage] global MeGUI_dary = 97
-----[NoImage] DGDecode_mpeg2source("E:\Ultimas\NIMS_ISLAND\VIDEO_TS\nims island.d2v", info=3)
-----[NoImage] ColorMatrix(hints=true, threads=0)
-----[NoImage] #Not doing anything because the source is progressive
-----[NoImage] Undot() # Minimal Noise
----[Information] Eliminating duplicate filenames
-----[NoImage] Video output file: E:\Ultimas\NIMS_ISLAND\VIDEO_TS\nims island_Video.mkv
-----[NoImage] Muxed output file: E:\Ultimas\NIMS_ISLAND\VIDEO_TS\nims island.mkv
---[Information] Deleting intermediate files
--[Information] [16/06/2009 0:06:20] Job completed

Thanks for the help!!!

Arshad07
15th June 2009, 23:27
Cant enqueue audio in the latest version of megui....the 0.3.1.1043 one

Sharktooth
16th June 2009, 02:59
Arshad07: very usefull info without a log...

Arshad07
16th June 2009, 05:19
^ There's no log. When i press Enqueue, nothing happens. Thats it.

Kurtnoise
16th June 2009, 07:43
and why do you think it's megui's fault ?

Arshad07
16th June 2009, 08:59
and why do you think it's megui's fault ?

and why not?

Arshad07
16th June 2009, 09:08
Here's a flash to show that even though i enqueue, its not being queued :confused:

http://www.sendspace.com/file/b86276

Open in IE or FF.....

Kurtnoise
16th June 2009, 09:26
retry when the video processing is completed...

Sharktooth
16th June 2009, 14:58
cant replicate ... :confused: ... works for me

b66pak
16th June 2009, 16:39
0.3.1.1042
- (kurtnoise) Add an option in MeGUI settings to force video file extension for QuickTime compatibility (http://forum.doom9.org/showthread.ph...70#post1243370). This way, fix issue #2797133


this force to .264 even when xvid (with .avi) is used with autoencode!!!

here is the log:


--[NoImage] Job commandline: "C:\Program Files\megui\tools\xvid_encraw\xvid_encraw.exe"
-i "sample.avs" -pass2 "sample.stats" -bitrate 999 -kboost 100 -ostrength 10 -oimprove 10 -odegrade 10
-chigh 30 -clow 15 -overhead 0 -max_key_interval 250 -vhqmode 4 -closed_gop -lumimasking -imin 1
-pmin 1 -max_bframes 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1
-par 1:1 -threads 1 -o "sample.264"
--[Information] [6/16/2009 6:16:24 PM] Encoding started

_

rack04
16th June 2009, 17:00
What's the big deal with H.264/MPEG-4 AVC file extension? Is it that hard to rename the file extension? :confused:

b66pak
16th June 2009, 17:19
no its not...but this is not the point...this is about improving the application by reporting the bugs...
_

ctl-tx
16th June 2009, 18:29
I'm trying to match the encode settings used in a video so that I can append another video to it. Try as I might, I can't seem to figure out some of the settings. I extracted the encode info using avinaptic and Media Info. Can anyone tell me what these are and how do I set them in MeGui?

analyse=0x3 :0x133 (mine's 0x3 :0x2)
fpel_cmp=sad
me-prepass=0
brdo=1
scenecut=65(pre) (I can get 65, but not (pre))
rceq='blurCplx^(1-qComp)'
num ref frames 6 (this doesn't appear to be the "reference frame" option under Quant. Options)

In addition, the encodes I make in these tests have a few setttings that do not appear in that video. How do I make these not appear like in the video I'm trying to match?

psy_rd=1.0:0.0 (this is psy-RD and psy-trellis, right?)
aq=0 (this gets recorded no matter what value I set AQ to)

I would be most grateful for any assistance.

deets
16th June 2009, 21:33
hmm now all my dga files made with dgavcdecnv wont let me use nvidia hardware deinterlacer, keeps coming up with it not compatible error? using latest version 1013

sigh, i just want to make some nice avisynth files to run :)

jmnk
17th June 2009, 01:02
cant replicate ... :confused: ... works for me
I have the same problem. Clicking 'enqueue' on audio does nothing, there's no audio job placed in the queue. But if I wait till video encoding job is done, exit MeGui, reopen it, load just the audio file and setup audio encoding, and click on 'enqueue' - than all is fine: the audio job is there and it encodes just fine.

@Kurtnoise: so if clicking on MeGui audio 'enqueue' button does nothing, and you suggest it is not MeGui's fault - where should we report that bug to?

HowlerX
17th June 2009, 03:49
Cant enqueue audio in the latest version of megui....the 0.3.1.1043 one

Same problem.

Kurtnoise
17th June 2009, 08:18
@Kurtnoise: so if clicking on MeGui audio 'enqueue' button does nothing, and you suggest it is not MeGui's fault - where should we report that bug to?
see #4340

Kurtnoise
17th June 2009, 08:20
hmm now all my dga files made with dgavcdecnv wont let me use nvidia hardware deinterlacer, keeps coming up with it not compatible error? using latest version 1013

sigh, i just want to make some nice avisynth files to run :)
You have to use the last beta package (http://forum.doom9.org/showthread.php?t=147584) (NVbeta1)...so, you need to reindex your files.

deets
17th June 2009, 08:42
You have to use the last beta package (http://forum.doom9.org/showthread.php?t=147584) (NVbeta1)...so, you need to reindex your files.

ah thanks :)

deets
17th June 2009, 20:12
now megui tells me i have an invalid license! used nvbeta1 and indexed the file ok, just the dga pops up this avisynth error :( if the license wasnt valid, i couldnt have made the index :( sigh

jmnk
18th June 2009, 01:05
@simonhowson use mp4box or mp4creator to demux the .mp4 to raw (.264 + .acc)

use mp4box or mp4creator to remux .264 + .aac to a new .mp4

this will solve the problem...

to avoid this problem in the future ALWAYS encode to .264 (NOT .mp4) and in the final step mux to .mp4...
_

_
OK - but how do I mux to mp4 --and-- specify SAR (or DAR or final viewable size)? Because if I do not than when encoding from DVD I end up with wrong aspect ratio..

Sharktooth
18th June 2009, 02:58
SAR is specified in the encoded stream.

jmnk
18th June 2009, 04:54
SAR is specified in the encoded stream.
That very well may be true, but if I use 'Device Type -> iPhone' in muxer settings than the aspect ration info appears to be overwritten/deleted. Whatever happens, when I play the resulting file in MPC or kmplayer or vlc, the aspect ratio is not correct.

SacredCultivator
18th June 2009, 08:32
I was just curious if there is any DISadvantage if I set b-frames to 16?

I've read that it can decrease the filesize, at a small cost of encoding time, but not too sure if it's worth it, as currently I use 4 b-frames.

If it helps;
Adaptive B-Frames is set at 2-Optimal| B-pyramid/Weighted B-prediction are enabled and B-frame mode is on Auto

Thanks.

Sharktooth
18th June 2009, 12:45
setting 16 b-frames with b-adapt 2 is really a stupid thing to do.
it's not a slight cost in encoding time... it's HUGE and all on the first pass (so CRF is affected too) and using more than 4-bframes wont give a huge difference in quality/filesize.

SacredCultivator
18th June 2009, 14:50
^Thanks for the reply, I guess I just tested on something small as the difference in time was only 3 minutes (Tried on a Music Video), but since there isn't much point, I guess I'll leave it at 4.

Kurtnoise
18th June 2009, 15:25
It gives a .NET Framework error

Error registering DragDrop just after d2v creator pass


Cant enqueue audio in the latest version of megui....the 0.3.1.1043 one

found & fixed the culprit...

here is a fresh build (http://www.mediafire.com/file/ggjktjzfmyw/MeGUI_20090618-2.zip) for testing.

terminate
18th June 2009, 19:01
found & fixed the culprit...

here is a fresh build (http://www.mediafire.com/file/ggjktjzfmyw/MeGUI_20090618-2.zip) for testing.


J just like to confirm, that this bug also existed in MeGUI 0.3.1.1044, (but now hopefully is fixed with Kurtnoises latest update).
I realised this behaviour of MeGUI, (of not adding any new Audiojobs to the queue), immediately after updating from MeGui 0.3.1.1039 to 0.3.1.1044.

The Problem with this bug was or is, that it only appeared sporadically and sometimes seems to be gone after restarting MeGUI, only to reappear after finishing the current encoding queue.


The second thing I noticed in MeGUI 0.3.1.1044 is, that the "Clear"-Button in the "Queue"-Tab no longer seems to recognize finished jobs, now it always asks if it should also delete incomplete jobs even if all jobs in the Queue are done, this behaviour is different from MeGUI 0.3.1.1039.



Thank you for your work!

Greetings T.

beto
18th June 2009, 19:26
that's why you chosen the wrong preset. if you look more carefully you will find there is a "2-pass Balanced (HomeTheatre)" preset. Use that instead.

Thanks for the tip but actually the problem was the audio track. I stripped the audio track and now the movie plays fine. Apparently my player does not like MP3-VBR in avi files. I thought this problem was dealt with ages ago, but apparently not. Thanks for the help.

aerodown
19th June 2009, 04:31
hi,

im new to MeGUI.
i want to ask about MeGUI Avisynth profile/preset, i cannot save custom Avisynth preset/profile. everytime i close and run megui again the profile/preset is gone? does anyone have same problem or just me?

MeGUI Version : 0.3.1.1044
OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
Framework used : 2.0 SP1 (2.0.50727.3082)

Sharktooth
19th June 2009, 13:02
it's a known bug

minda76
20th June 2009, 19:21
MeGUI Version : 0.3.1.1045 crashing in one-click encoder (xvid/avi) after running auto force film/postprocessing. with version 0.3.1.1028 have no problems.

St Devious
21st June 2009, 07:13
Why is MeGUI updating to x264 jeeb's builds instead of official builds ? Also is it the x64 version or x86 ?

nurbs
21st June 2009, 09:42
There are no official x264 builds, unless you count the vanilla builds from x264.nl, and IIRC megui never used those, but always patched builds by different people who post them in the AVC forum. They are x86.

m3mbran3
21st June 2009, 09:44
I had a quick question that probably isn't worthy of its own thread regarding audio delays.

I am using DVDDecrypter in ifo mode to rip individual episodes of the Freaks and Geeks DVDs and for the main audio track I am getting a delay of -66ms
0x81 - Audio - AC3 / 6ch / 48kHz / DRC / English / LBA: 21 / PTS: 00:00:00.280 / Delay: -66ms

I then use eac3to to extract the stream and then get a delay of -16ms
[a03] A remaining delay of -16ms could not be fixed.

When I encode the video stream with x264 I am getting an initial delay of 2002/24000
mp4 [info]: initial delay 2002 (scale 24000)
Although I'm not really sure what this means, I'm guessing a video delay of 2002/24000 seconds or frames?

I am encoding the audio track to aac using the nero encoder and I was wanting to correct the delay at this stage in the process. Only problem is I'm not sure what the correct delay is.
Is the delay from decrypting + extracting (-66 -16 = -82) -82ms or is the delay from the eac3to output inclusive of the initial delay from decrypting, so just -16ms?

Then I am left wondering what the initial delay from the video is and how this effects my output. So far I have muxed my audio and video (with no delay compensation) and played it back a few times with VLC experimenting with different delays. I can't say that the difference is very noticeable to me when going from 0ms to -100ms but at times I think it does look more in sync with a -50ms delay (placebo effect most likely). I guess such a small delay is probably not going to be noticeable to me but I figure since it *should* be easy to fix I might as well.

My workflow is pretty standard and besides ripping the disc, I am using the tools of the latest megui build (0.3.1.1045) and megui as the gui for all of them. As this is my first time encoding a video with megui I am hopeful that a seasoned veteran will have some good advice for me.

GibsonXXI
21st June 2009, 10:55
I've had a problem lately with neverending encodes when using a DGM file created by DGMPGDecNV and otherwise treated as usual with the AVS Script Creator and other MeGUI tools. This has occurred whether using XviD or x264, and what happens is an encode will hit 99%+ completion and then run indefinitely at some encoding rate while the file never gets bigger and the time remaining never decreases. Please find below links to everything relevant:

DGM File: http://pastebin.ca/1460029
AVS Script: http://pastebin.ca/1460031
MeGUI log: http://pastebin.ca/1460033

@Inspector.Gadget: What system OS are you using? And did you try running the x264 commandline in DOS as well to verify if the problem was with MeGUI or x264 / DGMPGIndexNV?

I've been getting the exact same problem. I'm using Windows 7 RC1 x64, latest build of MeGUI, NVBeta1 (DGMPGIndexNV). The file i'm transcoding is Interlaced PAL (25fps). It works fine, and transcodes fine with regular DGIndex, but the NV edition exhibits the symptoms you mention.

I'm using latest NVidia drivers available too, not the ones that ship with the RC.

Also tried setting DGMPGIndexNV and CUVIDServer to run as administrator with no effect.

EDIT: I see your using Vista x64 from your logs. that would seem to be the common denominator here. We're both using a 64bit OS. While Win7 is far from finished, it's polished enough that it runs most Vista-capable software without issues or any special "tricks" in most cases. Neuron2 has said in another thread that he doesn't have a 64bit OS and won't install Vista, so if this is a 64bit specific problem, we could have a long wait for a fix unless he plans to give Win7 a run-out.

Inspector.Gadget
21st June 2009, 14:45
GibsonXXI, the other common denominator is using the built-in deinterlacer. When I get a chance to run some more tests, I'll round out my post. Thanks for the information about your own efforts - I hope this turns out to be a minor problem.

Sharktooth
21st June 2009, 15:10
MeGUI Version : 0.3.1.1045 crashing in one-click encoder (xvid/avi) after running auto force film/postprocessing. with version 0.3.1.1028 have no problems.
please, make a detailed report...

Sharktooth
21st June 2009, 15:11
Why is MeGUI updating to x264 jeeb's builds instead of official builds ? Also is it the x64 version or x86 ?
coz vanilla x264 do not support HRD. hence no blu-ray compatibility.

GibsonXXI
21st June 2009, 15:43
GibsonXXI, the other common denominator is using the built-in deinterlacer. When I get a chance to run some more tests, I'll round out my post. Thanks for the information about your own efforts - I hope this turns out to be a minor problem.

True. for me, there's no point in using NVBeta1 unless i'm going to make use of the hardware de-interlacing, as i'm running Core i7 Which is more than capable of fast decodes on it's own.

My wish to use the hardware de-interlacing is based on my desire to compare a yadif / TDeint de-interlace on anime to the NVDe-interlacer and any possible performance gains are a bonus for me.

Let us know how you get on.

St Devious
21st June 2009, 15:52
There are no official x264 builds, unless you count the vanilla builds from x264.nl, and IIRC megui never used those, but always patched builds by different people who post them in the AVC forum. They are x86.

can i take x64 patched build from here in the forum and just replace the x264.exe file in the megui folder ?

b66pak
21st June 2009, 17:59
yes you can...
_

St Devious
21st June 2009, 18:09
is it possible to select the profiles all at once when you update megui and the "select profiles you want to import" pops up ?

Guest
21st June 2009, 18:19
Right click, select all.

St Devious
21st June 2009, 18:26
Right click, select all.

haha, lol :o

St Devious
21st June 2009, 22:40
In the muxer dialogue boxes, there is a button called queue.

After you press it, the dialog box closes and returns to main megui window. is there any way to make the dialogue box stay so that you can mux more streams without having to go upto tools and selecting type of muxer again. maybe like a queue and stay button.

dwallersv
21st June 2009, 22:59
I've been using MeGUI for a long time now on my WinXP machine. I keep it updated. I also keep MeGUI updated too.

Hadn't used it in awhile, and went to transcode (resize) some video today.

It won't run.

No errors, nothing. Silence. Click the shortcut, nothing. Click directly on the .exe, nothing. run it from a command line prompt, returns immediately, no errors, no output, nothing.

Check with Task Manager, no "hung" megui.exe out there.

Uninstalled, went to sourceforge, got the latest stable build, reinstalled.

Same behavior.

Rebooted.

Same.

I'[m desperate for any advice, trouble-shooting tips, anything at all here. The only thing I can think of to do next is to create a new OS install on another partitition, and install the tools there. That's an obviously sub-optimal way of doing this.

Please help this father on father's day! :-)

alexcel
21st June 2009, 23:33
found & fixed the culprit...

here is a fresh build (http://www.mediafire.com/file/ggjktjzfmyw/MeGUI_20090618-2.zip) for testing.

Now works like a charm!!!:thanks:

Sharktooth
22nd June 2009, 02:01
I've been using MeGUI for a long time now on my WinXP machine. I keep it updated. I also keep MeGUI updated too.

Hadn't used it in awhile, and went to transcode (resize) some video today.

It won't run.

No errors, nothing. Silence. Click the shortcut, nothing. Click directly on the .exe, nothing. run it from a command line prompt, returns immediately, no errors, no output, nothing.

Check with Task Manager, no "hung" megui.exe out there.

Uninstalled, went to sourceforge, got the latest stable build, reinstalled.

Same behavior.

Rebooted.

Same.

I'[m desperate for any advice, trouble-shooting tips, anything at all here. The only thing I can think of to do next is to create a new OS install on another partitition, and install the tools there. That's an obviously sub-optimal way of doing this.

Please help this father on father's day! :-)
uninstall and reinstall net framework 2.0 and subsequent versions.

Sharktooth
22nd June 2009, 02:02
In the muxer dialogue boxes, there is a button called queue.

After you press it, the dialog box closes and returns to main megui window. is there any way to make the dialogue box stay so that you can mux more streams without having to go upto tools and selecting type of muxer again. maybe like a queue and stay button.
no there isnt. however feel free to post a feature request on the feature request tracker in the megui project page on sourceforge.

krackt
22nd June 2009, 06:07
First post here and I love MeGUI, wouldn't use anything else! so thanks to the devs for this great software.
I use the AutoEncode function with the x264 Standalone_Xbox_HiRes profile to produce vids in mp4 file format in an mkv container.
MeGUI previously produced a .264 file which I could then mux audio manually with the mkv muxer.
I've noticed that recently MeGUI (since about version 0.3.1.1042) produces a .mkv file and complains that the file already exists and appends _0 to the filename.
I checked the changelogs and the forum and nothing indicates a change to the intended behaviour. Shouldn't the output be a raw 264 file unless I want AutoEncode to create a muxing job?

Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1042
--[NoImage] OS : Windows XP Professional x86 SP2 (5.1.131072.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.1433)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
-[Information] AutoEncode job generation log
--[NoImage] Split Size : null
--[Information] Eliminating duplicate filenames
---[NoImage] Video output file: C:\My Documents\My Videos\Dirty Harry\dirtyharry.mkv
---[NoImage] File already exists. New video output filename: C:\My Documents\My Videos\Dirty Harry\dirtyharry_0.mkv
---[NoImage] Muxed output file: C:\My Documents\My Videos\Dirty Harry\dirtyharry-muxed.mkv
-[Information] AutoEncode job generation log
-[Information] Log for job1 (video, dirtyharry.avs -> )
--[Information] [14/06/2009 11:33:31 PM] Started handling job
--[Information] [14/06/2009 11:33:32 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 1257 --stats "C:\My Documents\My Videos\Dirty Harry\dirtyharry_0.stats" --keyint 240 --min-keyint 24 --bframes 6 --b-adapt 2 --b-pyramid --weightb --no-cabac --subme 2 --partitions none --ratetol 4.0 --qcomp 0.5 --me dia --merange 32 --threads auto --thread-input --sar 220:221 --progress --no-psnr --no-ssim --output NUL "C:\My Documents\My Videos\Dirty Harry\dirtyharry.avs"
--[Information] [14/06/2009 11:33:35 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] avis [info]: 832x352 @ 23.98 fps (147439 frames)
---[NoImage] x264 [info]: using SAR=220/221
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] x264 [info]: profile Main, level 3.0
---[NoImage]
---[NoImage] x264 [info]: slice I:1752 Avg QP:15.81 size: 30695
---[NoImage] x264 [info]: slice P:50650 Avg QP:18.71 size: 10677
---[NoImage] x264 [info]: slice B:95037 Avg QP:19.79 size: 3973
---[NoImage] x264 [info]: consecutive B-frames: 2.5% 24.7% 37.4% 17.0% 7.1% 6.9% 4.3%
---[NoImage] x264 [info]: mb I I16..4: 47.4% 0.0% 52.6%
---[NoImage] x264 [info]: mb P I16..4: 30.6% 0.0% 0.0% P16..4: 57.1% 0.0% 0.0% 0.0% 0.0% skip:12.4%
---[NoImage] x264 [info]: mb B I16..4: 12.0% 0.0% 0.0% B16..8: 28.4% 0.0% 0.0% direct:18.0% skip:41.6% L0:31.9% L1:47.8% BI:20.3%
---[NoImage] x264 [info]: final ratefactor: 20.49
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra:69.5% 58.0% 23.2% inter:21.0% 20.3% 0.8%
---[NoImage] x264 [info]: kb/s:1264.7
---[NoImage] encoded 147439 frames, 24.62 fps, 1264.81 kb/s
--[Information] [15/06/2009 1:13:26 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [15/06/2009 1:13:26 AM] Job completed
-[Information] [15/06/2009 1:13:58 AM] Shutdown initiated

dwallersv
22nd June 2009, 19:40
uninstall and reinstall net framework 2.0 and subsequent versions.Man, I was so hoping this would do it. Uninstalled 2.0 and up, and then reinstalled everything plus service packs from 2.0 through 3.5.

No joy.

Any other suggestions?

Sharktooth
23rd June 2009, 02:55
check for viruses/malwares. if it doesnt start at all there should be something wrong with your OS.

@krackt: that's weird. i will check it.

rack04
23rd June 2009, 03:16
Is adding --aq-mode 2 to the x264 planned to make use of AutoVAQ?

Sharktooth
23rd June 2009, 03:25
dunno. it depends if it has a chance to be included in the official x264 sources.

rack04
23rd June 2009, 03:27
dunno. it depends if it has a chance to be included in the official x264 sources.

Is this what your referring to?

http://forum.doom9.org/showthread.php?p=1299332#post1299332

Sharktooth
23rd June 2009, 03:34
nope. i mean if it has a chance to be commited to the official x264 git i will add the support to megui.

rapscallion
24th June 2009, 16:03
Megui has been working very well for me w/avchd preset.
Movie outputs have been consistently sized correctly.

Maybe it's a coincidence, but after x264 and core (to ver 1046) were upgraded yesterday , resulting file was ~8% undersized.

Not a problem, but I am curious about this part of the log :
---[NoImage] x264 [warning]: target: 10625.00 kbit/s, expected: 9979.74 kbit/s, avg QP: 11.7745
---[NoImage] x264 [warning]: try reducing target bitrate or reducing qp_min (currently 10)

Final bitrate was 9964 kbits/s., ~7% lower than the target.

So, would lowering the qp-min to , say 8, actually allow the br to be higher and would it make any difference in the pq. ( source was 18gb BD 1h 30m animated film, The Kung Fu Panda, original BR ~20 kbits/s)

This was my first animation back up and wonder if this type of source often has this result ?

nurbs
24th June 2009, 16:51
Lowering qp-min would fix it, but it wouldn't give any visible improvement in picture quality. You could probably use half the bitrate and you wouldn't be able to tell the difference. It happens because your source is very clean (not much noise and/or detail) which is not uncommon for animation.

rapscallion
24th June 2009, 17:40
Thanks nurbs ! That makes sense....it was just the first time I've come across this and "suspected" it might be the animation source.

Sharktooth
24th June 2009, 18:15
you saturated the encoder. the x264 output already told you the solutions to adopt. also, why on earth did you set a bitrate so high? if you want the "maximum" quality use CRF 18 instead... your encode is WAY to much an overkill, meaning you cant distinguish QP 11 from QP 18 (that's why QP 18 is considered "transparent").

rapscallion
24th June 2009, 18:42
you saturated the encoder. the x264 output already told you the solutions to adopt. also, why on earth did you set a bitrate so high? if you want the "maximum" quality use CRF 18 instead... your encode is WAY to much an overkill, meaning you cant distinguish QP 11 from QP 18 (that's why QP 18 is considered "transparent").

I set the bitrate @ the result bitrate calculator indicated for the length of the movie plus ac-3 audio @640 for sizing to a DVD9, per Jamos guide : Here (http://forum.doom9.org/showthread.php?t=135795)

Has always worked fine using the preset "standalone avc-hd" settings, automated 2 pass, which,of course, does not have a crf option in it, from what I can see. Sould I be using it, and if so, where should it be inserted or is it only in 1 pass?

I gather from what you're saying then is that the source is way overkill @ ~20 kbits/s for this animated film ?

I did see the solutions to adopt but felt it was unnecessary to redo the encode just to get to the same or lower bitrate as I have now. (if I had ssim calculation checked, I would have a better idea of where the quality was, as well-I will from now on)

Edit : BTW, now that I think of it , I have seen this once before when I was using DVDRB to re encode Sex in The City, which was a long movie. The CCE encoder was saturated enough where the resulting DVD5 size was at ~ 89%.

SacredCultivator
25th June 2009, 05:55
Is it possible in meGUI to set the DAR to 16:9 / 4:3, because for anamorphic stuff, DVD's it reads at 853x480, even though in MPC in the details box it reads as 720x480... And when I set the DAR in meGUI to 16:9 NTSC, it didn't change it and was left at 720x480, when I muxed the file with YAMB and set it to 16:9 it gave me 873x480

So I was wondering if I'm doing something wrong... VirtualDubMOD on the other hand gives me jsut an extra pixel and gives me 854x480.

Not sure if I explained myself properly, thanks.

Hmm...

EDIT:
Semi solved... As it seems in my avs script I need to put in:
global MeGUI_darx = 16
global MeGUI_dary = 9

Guess that just means for me to disable those filters when using it in VirtualDubMod (Unless it works there too =X)

Inspector.Gadget
25th June 2009, 12:07
SC, I think you need to read up on DAR and PAR.

Sharktooth
25th June 2009, 13:14
Is it possible in meGUI to set the DAR to 16:9 / 4:3, because for anamorphic stuff, DVD's it reads at 853x480, even though in MPC in the details box it reads as 720x480... And when I set the DAR in meGUI to 16:9 NTSC, it didn't change it and was left at 720x480, when I muxed the file with YAMB and set it to 16:9 it gave me 873x480

So I was wondering if I'm doing something wrong... VirtualDubMOD on the other hand gives me jsut an extra pixel and gives me 854x480.

Not sure if I explained myself properly, thanks.

Hmm...

EDIT:
Semi solved... As it seems in my avs script I need to put in:
global MeGUI_darx = 16
global MeGUI_dary = 9

Guess that just means for me to disable those filters when using it in VirtualDubMod (Unless it works there too =X)
global MeGUI* are MeGUI macroes and not filters.
also as Inspecto.Gadget said, you need to read up on DAR and PAR (aka SAR).

@rapscallion: sorry, i overlooked the fact your encoding target is AVC-HD. In that case CRF is useless but megui cant know if a bitrate is too high before encoding the video.
In your case, your movie is either too short to fill the disc or too much compressible so the encoder is forced to use low quants to hit your desired bitrate.
however, looking at your log, your desired bitrate is 10000+ and 147439 frames @ 23.98fps... that means definatly that your movie is too much compressible to fill the disc (acceptable bitrates for single layers DVDs are no higher than about 8000kbps - that's about 72mins of video, including audio).
a big part of the cause of your problem is the resolution you used: 832x352. AVC-HD is meant for 1280x720 or higher res, not for standard resolutions... hence, you can put even 2 or more (probably 4, depending on the compressibility...) of those movies into an AVC-HD without loosing quality.
Also your source was already encoded and i dont want to know where it comes from (remember to respect the forum rules!), hence it is even more compressible since finest details were probably dropped in the previous encoding stage... re-encoding from the source would be much better for quality.

rapscallion
25th June 2009, 13:57
@rapscallion: sorry, i overlooked the fact your encoding target is AVC-HD. In that case CRF is useless but megui cant know if a bitrate is too high before encoding the video.
In your case, your movie is either too short to fill the disc or too much compressible so the encoder is forced to use low quants to hit your desired bitrate.
however, looking at your log, your desired bitrate is 10000+ and 147439 frames @ 23.98fps... that means definatly that your movie is too much compressible to fill the disc (acceptable bitrates for single layers DVDs are no higher than about 8000kbps - that's about 72mins of video, including audio).a big part of the cause of your problem is the resolution you used: 832x352. AVC-HD is meant for 1280x720 or higher res, not for standard resolutions... hence, you can put even 2 or more (probably 4, depending on the compressibility...) of those movies into an AVC-HD without loosing quality.
Also your source was already encoded and i dont want to know where it comes from (remember to respect the forum rules!), hence it is even more compressible since finest details were probably dropped in the previous encoding stage... re-encoding from the source would be much better for quality.

Thanks Sharktooth. Disc target is dual layer and resolution I used was 1280*720, NOT 832*352. (were you looking at another poster's log maybe.). This was mine :

---[NoImage] x264 [warning]: target: 10625.00 kbit/s, expected: 9979.74 kbit/s, avg QP: 11.7745
---[NoImage] x264 [warning]: try reducing target bitrate or reducing qp_min (currently 10)

Sharktooth
25th June 2009, 14:09
mixed up... :)
ok, so we have: a dual layer DVD and a 1280x720 encode. how long is that source (time and framerate or frames and framerate)?

@krackt: that's why you already have a file called dirtyharry.mkv in your output folder. there is no other reason it could happen.
now, ensure you updated megui to the latest version and ensure you selected RAW as file format for video.

rapscallion
25th June 2009, 14:36
mixed up... :)
ok, so we have: a dual layer DVD and a 1280x720 encode. how long is that source (time and framerate or frames and framerate)?


Source is 1h 31m, original *.m2ts @ 18gb, ~20 kbits/s
---[NoImage] avis [info]: 1280x720 @ 23.98 fps (132574 frames)

Sharktooth
25th June 2009, 14:57
then my conclusion is the source compressibility is high and x264 did a very good job.
in practice, the video (only) could be stored on a single layer dvd without loosing quality.
obviously it also depends on how many other contents (audio tracks and stuff) you will add.

rapscallion
25th June 2009, 15:04
Thanks ! BTW, when I compare the burned avchd to the original BD, on a 50" Pioneer Elite, they are indistiguisable to my eyes.

Sharktooth
25th June 2009, 15:06
i know... everything from quant 18 and below is generally transparent... and your encode is well below q18... that's why im saying you're wasting space.
you could store your movie in single layer DVD or fit 2 similar (in compressibility) movies in a dual layer disc.

rack04
25th June 2009, 23:54
I get the following vobsub error:

http://i11.photobucket.com/albums/a199/rack04/vobsub.jpg

Here is the log file:

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1046
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.1433)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
-[Information] Log for job1 (sub, VTS_08_0.IFO -> VTS_08_0.idx)
--[Information] [6/25/2009 5:51:34 PM] Started handling job
--[Information] [6/25/2009 5:51:34 PM] Preprocessing
--[NoImage] Job commandline: "C:\WINDOWS\system32\rundll32.exe" vobsub.dll,Configure D:\Hellboy\VTS_08_0.vobsub
--[Information] [6/25/2009 5:51:34 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [6/25/2009 5:53:02 PM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [6/25/2009 5:53:02 PM] Successfully deleted D:\Hellboy\VTS_08_0.vobsub
--[Information] [6/25/2009 5:53:02 PM] Job completed

rapscallion
26th June 2009, 17:00
i know... everything from quant 18 and below is generally transparent... and your encode is well below q18... that's why im saying you're wasting space.
you could store your movie in single layer DVD or fit 2 similar (in compressibility) movies in a dual layer disc.
Sharktooth...please forgive my ignorance, but what does "transparent" mean in this context ?

Sharktooth
26th June 2009, 17:03
@rack04: reinstall the latest version of vobsub...

@rapscallion: it means there is no visible difference between the source and the encode. transparent doesnt mean lossless though, since there is still mathematical difference but it's so subtle it isnt perceived.

rapscallion
26th June 2009, 17:12
Outstanding, thank you ! I now have a better understanding of the qp numbers and realize that trying to obtain the highest bitrate isn't necessarily the ultimate goal.

rapscallion
26th June 2009, 20:44
I've run an automated 2 pass with job1 processed to "done" status and job2 "postponed".

I screwed up and clicked on job1, which changed it's status to "waiting". Click again and it changes to "postponed".

There is no option to change the status to "done", so do I really have to reprocess the whole first 3hr job1? (BTW, the job dir XML file still shows "done"). This job1 creates the stats file.

Is there any way that I can get the job2 to process ?

Edit: I've looked everywhere and don't see where that gui job status is stored. There's no ini file, it's not in the registry or the windows temp dir.

Sharktooth
26th June 2009, 21:12
just set the first pass to postponed (so it wont run again). click on start and the second pass will start as usual.

rapscallion
26th June 2009, 21:20
Yep, tried that and nothing happens. Also, when I changed it to "waiting" it starts creating the stats file all over again. (didn't delete the first one though)

Sharktooth
26th June 2009, 21:35
if the jobs were generated by an automated 2-pass preset then i think you can do nothing in megui.
but you can run the 2nd pass manually from the windows command prompt. after it's done, proceed with other encodings (audio or whatever) and muxing.

rapscallion
26th June 2009, 21:41
Uh,Oh....I hate to ask but how do I do that ? I know how to run command prompts but not as it applies to x264.

Sharktooth
26th June 2009, 21:48
first open the configuration window for the x264 preset you used. copy the parameters show at bottom (do not copy "program"... start from "-i ...." and ensure everything is set correctly). replace apices in the the input, stats, output etc paramaters with the correct paths (relative or absolute) and filenames.
find the megui installation directory then open a command prompt and type DriveLetter:\PathToMeguiInstallDir\tools\x264\x264.exe paste_the_corrected_commandline_here (words in italic must be replaced with what they describe).
if you're not familiar with the old dos, dont do it and restart from the 1st pass in megui.

rapscallion
26th June 2009, 22:06
Actually, in the interim, I used the pass2 parameters from a previous log and substituted all the current info. I then created a batch file in the root dir and ran it. I got an error that a filename or ext was too long, but it looks like I was essentialy doing what you described , but a little differently (Ahhh , those good ole DOS days, I remember them well :))

Thanks for taking the time to describe this ST, and I'll figure out the error.

Atak_Snajpera
26th June 2009, 22:15
BUG: Bitrate Calculator does not allow .flac extension. When I used *.* hack then i got this
http://img4.imageshack.us/img4/8343/new1y.png

simonhowson
27th June 2009, 06:26
MeGui Crashes when loading VC1 MKV file in the AviSynth script creator.

I've been using MeGUI to make AVIsynth scripts to convert Blu-ray VC1 files to DVD and x264. Unfortunately MeGUI is now crashing whenever I open the MKV file.

I have tried uninstalling and reinstalling Haali Media Splitter and FFDshow Tryout, but it still happens. I do notice that about four Haali Media Splitter icons open in the system tray before MeGUi crashes.

Can anyone help explain what I need to do it get MeGUI to open these files again? I have also tried opening MP4 AVC files but it seems to crash with those as well.

Yesterday I installed a trial version of TotalMedia Theatre 3, but I converted a Blu-ray to DVD and it worked after I installed that application. I installed Super, an application to convert files to PS3 format, but uninstalled it soon after, and rebooted my computer. Is it possible that application has stuffed up my codec configuration?

Here is what the crash error message says:

Problem signature:
Problem Event Name: APPCRASH
Application Name: MeGUI.exe
Application Version: 0.3.1.1046
Application Timestamp: 4a4111e1
Fault Module Name: StackHash_c199
Fault Module Version: 6.0.6001.18000
Fault Module Timestamp: 4791a7a6
Exception Code: c0000374
Exception Offset: 000b015d
OS Version: 6.0.6001.2.1.0.768.3
Locale ID: 3081
Additional Information 1: c199
Additional Information 2: 18dced5b0c1398acd50909387f2a03ba
Additional Information 3: 8faa
Additional Information 4: e5fa89f768ad33515ffb309a2204f53e

tebasuna51
27th June 2009, 10:22
... I installed Super, an application to convert files to PS3 format, but uninstalled it soon after, and rebooted my computer.

Warning with Super, it install a new AviSynth changing your settings.

simonhowson
27th June 2009, 13:06
Warning with Super, it install a new AviSynth changing your settings.
Thanks very much! I reinstalled AviSynth, and now everything is back to normal.

Sharktooth
27th June 2009, 14:57
BUG: Bitrate Calculator does not allow .flac extension. When I used *.* hack then i got this
http://img4.imageshack.us/img4/8343/new1y.png
well, it's not a bug but a missing feature.
btw, ill take care of it as soon as i can.

rapscallion
27th June 2009, 15:32
if the jobs were generated by an automated 2-pass preset then i think you can do nothing in megui.
but you can run the 2nd pass manually from the windows command prompt. after it's done, proceed with other encodings (audio or whatever) and muxing.
The "bold" above got me thinking (dangerous). I looked at the config tab again and changed "automated-2pass" to "2pass-2nd pass". Deleted the first 2 jobs and enqueued the new job (ie the old job2) and Voila, it runs the encode! Turned out to be a simple solution, after all. Again, thank you for taking the time to address the issue and have a great weekend.

rapscallion
29th June 2009, 21:41
i know... everything from quant 18 and below is generally transparent... .
Quick question. Are you saying the average, like this :
---[NoImage] x264 [info]: slice I:8228 Avg QP:15.07 size: 96212
---[NoImage] x264 [info]: slice P:67843 Avg QP:16.18 size: 48725
---[NoImage] x264 [info]: slice B:83215 Avg QP:17.21 size: 27918
or the actual qp at any given point? Because, let's say the average is 18 in the 3 slices, then obviously some qp is above and some below. Sorry for the noob questions but I do find this stuff very interesting :confused:

kumi
29th June 2009, 22:39
One-click x264 jobs do not work for me. When I enqueue and run a one-click x264 job, MeGUI spits out:
--[Error] An error occurred: x264 [error]: can't open `'

When I look at the XML VideoJob file created by the one-click process, it contains:
<UseQPFile>true</UseQPFile>
<QPFile />

This is wrong: my x264 profile has "Use qp File" unchecked. When I load an .AVS file in the MeGUI Main tab and enqueue it directly using this same x264 profile, the resulting VideoJob XML is correct and encodes without errors. It contains:
<UseQPFile>false</UseQPFile>
<QPFile>.qp</QPFile>

Also, if I edit the x264 profile and make any changes to the "Use QP file" setting, the changes don't stick. It always shows the box unchecked, with a filename of ".qp".

Tested on a Clean XP SP3 VMware image + Windows Security updates + .NET 2.0 SP1 + DirectX 9.0 March 2009 redist + MeGUI 0.3.1.1046 fully updated

Can anyone reproduce?

Sharktooth
30th June 2009, 02:17
Quick question. Are you saying the average, like this :
---[NoImage] x264 [info]: slice I:8228 Avg QP:15.07 size: 96212
---[NoImage] x264 [info]: slice P:67843 Avg QP:16.18 size: 48725
---[NoImage] x264 [info]: slice B:83215 Avg QP:17.21 size: 27918
or the actual qp at any given point? Because, let's say the average is 18 in the 3 slices, then obviously some qp is above and some below. Sorry for the noob questions but I do find this stuff very interesting :confused:
it depends on what you want to compare. in both cases if you have an average qp18 encode you're encode will look as the original (except on cases where psy options make a huge difference).

@kumi: ill have a look at it as soon as i find some time. keep in mind im actually really busy 'till august.
be sure to post that in the megui bugtracker on sourceforge, so i wont forget it...

rack04
30th June 2009, 03:23
Currently AVS Script Creator will not use Nvidia Deinterlacer with DGM files. This should be possible with the latest releases.

kumi
30th June 2009, 03:33
@kumi: ill have a look at it as soon as i find some time. keep in mind im actually really busy 'till august.
be sure to post that in the megui bugtracker on sourceforge, so i wont forget it...
Roger that, thanks. Submitted as Broken one-click x264 VideoJob XML - ID: 2814331 (http://sourceforge.net/tracker/?func=detail&aid=2814331&group_id=156112&atid=798476). In the meantime I will downgrade to 0.3.1.1014, which doesn't have the qp file settings.

If I use the built-in updater and update all MeGUI components _except_ core, is that safe?

DJ Alik
30th June 2009, 07:32
Is there a limit on how big the final file can be? I am using meGui to mix 4 files into mp4 and it keeps crashing in the mp4box module on ntdll.dll

Log Name: Application
Source: Application Error
Date: 6/30/2009 1:25:40 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: ******
Description:
Faulting application MP4Box_x64.exe, version 0.0.0.0, time stamp 0x49cd37cd, faulting module ntdll.dll, version 6.0.6002.18005, time stamp 0x49e0421d, exception code 0xc0000374, fault offset 0x00000000000aef37, process id 0x18a8, application start time 0x01c9f94ade2b4e70.


Here are the files that I tried to put in there:

Complete name : movie.h264
Format : AVC
Format/Info : Advanced Video Codec
File size : 3.79 GiB

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Width : 704 pixels
Height : 304 pixels
Display aspect ratio : 2.35
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Writing library : x264 core 67 r1173M f6d3166
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=12 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=12 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=crf / crf=8.0 / qcomp=0.50 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=24000 / vbv_bufsize=24000 / ip_ratio=1.10 / pb_ratio=1.10 / aq=1:1.00

audio:
Complete name : audio.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 348 MiB
Duration : 2h 8mn
Overall bit rate : 379 Kbps
Encoded date : UTC 2009-06-29 12:46:39
Tagged date : UTC 2009-06-29 12:57:46
Writing application : Nero AAC codec / 1.3.3.0
cdec : ndaudio 1.3.3.0 / -cbr 384000 -lc

Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 2h 8mn
Bit rate mode : Variable
Bit rate : 384 Kbps
Maximum bit rate : 504 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 346 MiB (100%)
Encoded date : UTC 2009-06-29 12:46:39
Tagged date : UTC 2009-06-29 12:57:46

subtitles:
subtitle.srt 122,880 bytes

chapters
chapters.txt 4,096 bytes

I tried on both XPSP3 and Vista 64 SP2

rapscallion
1st July 2009, 17:23
it depends on what you want to compare. in both cases if you have an average qp18 encode you're encode will look as the original (except on cases where psy options make a huge difference).


Thanks Sharktooth ! (psy options are via the SA-AVCHD preset)

ctl-tx
1st July 2009, 18:51
I would like to use MeGUI's audio cutter to cut some sound samples. Unfortunately, I don't know the proper way to create a cutlist for it. Is it just a sequence of times in a text file? And if so what format are they in and how are they arranged? Otherwise, how do I make a cutlist file? Please help.

Redsandro
2nd July 2009, 03:49
Not sure if this is the right place to ask, but maybe some of you had similar issues.

In Windows 7 x64 I get "x264 has stopped working" with any video and any settings.
Same video and settings work just fine in XP.

Do I need to tweak something to get this working?
Same problem with FFMPEG btw..

daberti
2nd July 2009, 08:49
I've a silly question for you folks.
My TV set supports only 720p and 1080i. PAL
I've a bunch of 1080p Blu-ray material and I'd like to make AVCHD out of it.
1)Better using 1080i or 720p on my TV set?
2)Supposing 8000mbps is the perfect video bitrate for 1080p AVC-H264 encoding, what video bitrate would you recommend me for 720p?

Thanks

tebasuna51
2nd July 2009, 10:01
My TV set supports only 720p and 1080i. PAL
I've a bunch of 1080p Blu-ray material and I'd like to make AVCHD out of it.
1)Better using 1080i or 720p on my TV set?
2)Supposing 8000mbps is the perfect video bitrate for 1080p AVC-H264 encoding, what video bitrate would you recommend me for 720p?

If you need recode your video better use 720p, but 1080p can be played also in HD Ready TV.

8000Kb/s is a low bitrate for 1920x1080 (Qf=0.16), at least 10000Kb/s (Qf=0.2), for average video material, is needed.

The relation between 1080 and 720 bitrate is:
(1920x1080)/(1280x720) = 2.25
then 10000Kb/s for 1080 is equivalent to 4500 Kb/s for 720

Douchie
2nd July 2009, 14:33
Hello all,

I have seem to run into a problem with MeGUI. I can't seem to get ANY of the encoder profiles for x264 or xvid to work with one click encoder.... as in I'll add the project to the queue list and click start, but it goes straight to skip in the status tab. I looked under the log tab and it said this:

Error starting job
Exception message: File exists and the user doesn't want to overwrite
Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
Inner exception: null


Any help would be great, thanks.

Also, running Vista 64bit SP2

ctl-tx
2nd July 2009, 15:46
Seems to me that this is your problem:
Exception message: File exists and the user doesn't want to overwrite

Check the output filename, is it the same as the input? Is there a file by that name in the target directory?

b66pak
2nd July 2009, 17:09
nicaudio has been updated...

http://forum.doom9.org/showthread.php?p=1300059#post1300059

can you include it in megui autoupdate?
_

Sharktooth
2nd July 2009, 17:45
no, since the syntax has changed. megui code needs to be updated and i actually have no time to do that.

daberti
2nd July 2009, 18:53
Sharktooth, I'm using your x264_dp_ Standalone-PS3-Xbox360_Fast.xml profile.
This in order to encode my m2ts files to an AVCHD compatible standard.
Yet I'd like to proceed even faster, without losing AVCHD compatibility. Any hint to a newbie?
Thanks for your profiles :)

Dan

nurbs
2nd July 2009, 19:19
First off the PS3/Xbox360 profile probably isn't really AVCHD compatible because of the high keyframe intervall and the missing --nal-hdr switch. Also AVCHD compatibility demands specific framesizes.
If you want faster encoding you can lower trellis, M.E. Range, M.E. Algorithm, the b-frame decision or subpixel refinement. You can turn off mixed references, lower the number of reference frames and lower the number of b-frames.

Sharktooth
2nd July 2009, 21:03
well... what nurbs said plus ensure to use fast avisynth filters and no complex scripts.

kumi
2nd July 2009, 22:06
Hello all,

I have seem to run into a problem with MeGUI. I can't seem to get ANY of the encoder profiles for x264 or xvid to work with one click encoder.... as in I'll add the project to the queue list and click start, but it goes straight to skip in the status tab. I looked under the log tab and it said this:

Error starting job
Exception message: File exists and the user doesn't want to overwrite
Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
Inner exception: null


Any help would be great, thanks.

Also, running Vista 64bit SP2See my "malformed VideoJob XML" bug I reported recently: http://sourceforge.net/tracker/?func=detail&aid=2814331&group_id=156112&atid=798476

When attempting an x264 One-Click job, do you see the same --[Error] An error occurred: x264 [error]: can't open `' error when you look in the Log tab? If yes, maybe it's the same bug, so post a quick comment in the sourceforge bug page confirming it.

daberti
2nd July 2009, 23:24
well... what nurbs said plus ensure to use fast avisynth filters and no complex scripts.

I tried with original resol. (1080p) thus no resize...6 hours expected for first pass to complete on 1hr 1/2 source on my Core2 Duo processor T7200 and 4GB of DDR2...no way...

nurbs
3rd July 2009, 08:11
That's not really slow. If you do an automated to pass encoding with turbo the only thing you can do to speed up the first pass is changing the b-frame decision from optimal (--b-adapt 2) to fast (--b-adapt 1).

tebasuna51
3rd July 2009, 10:48
nicaudio has been updated...
can you include it in megui autoupdate?

no, since the syntax has changed. megui code needs to be updated and i actually have no time to do that.

No problem with syntax, was only a mod to skip ID3v2,3,4 tags in mpX to avoid false headers.

Everybody can safely replace the v2.0.2 with v2.0.3

Sharktooth
3rd July 2009, 12:28
tnx. i'll update it then.

mczuzlak
5th July 2009, 22:42
I would like to get 3 threads in MeGui with my E8400 but I only get 2 of them. I've tried to set it manualy in the x264 commandline to 3 but no luck. Same with the default 0.
Any ideas what am I doing wrong ? :-)

daberti
6th July 2009, 23:38
That's not really slow. If you do an automated to pass encoding with turbo the only thing you can do to speed up the first pass is changing the b-frame decision from optimal (--b-adapt 2) to fast (--b-adapt 1).

Thanks. Should I change it for both passes or should I choose 1st pass only?
As a matter of fact my TV is HD Ready and not Full HD compliante, thus I'll stay with 720p, with significantly shorter encoding times.

nurbs
6th July 2009, 23:56
Frametype decision is done in first pass so changing it in the second doesn't have any effect.
BTW I also do 720p (or equivalent number of pixels for 2.35:1 AR) but I'm using --b-adapt 2 (with 3 b-frames). Quality is good enough for me and I like the comparatively smaller filesizes with crf encodes.
Also someone is working on on a patch for threaded lookahead, so if that's ever finished --b-adapt 2 should get faster.

Sharktooth
7th July 2009, 12:53
I would like to get 3 threads in MeGui with my E8400 but I only get 2 of them. I've tried to set it manualy in the x264 commandline to 3 but no luck. Same with the default 0.
Any ideas what am I doing wrong ? :-)
why you need to set 3 threads when 0 = auto that also mean 3 threads?
look in the preset configuration window, you will find a Threads option.

mczuzlak
7th July 2009, 17:02
It is set to 0. And I've got still only 2 threads. There are 10 jobs in my queue list and only 2 encodes at a time. Why ??

nurbs
7th July 2009, 17:29
Threads aren't used to make multiple encodes at the same time, they are there to speed one encode up basically by sending different frames to each core. If you want to do encodes simultaneously you need to add more workers. If you do that it is probably advisable to set the number of thread to 1 and use as many workers as your processor got cores, because using threads slightly reduces quality.

mavinashbabu
7th July 2009, 18:34
The way i use is split the total frames into 2 .avs files equally using Trim() function and send one job in worker1 and another to worker2, and run both of them which will complete the entire encode in < 11 hrs for 2hr and 20 mins long film.

I will join the resulting 2 videos by using VirtualDUB or MKVToolnix depending on the container i encoded.

Profile i use is x264 lossless

mczuzlak
7th July 2009, 18:54
Threads aren't used to make multiple encodes at the same time, they are there to speed one encode up basically by sending different frames to each core. If you want to do encodes simultaneously you need to add more workers. If you do that it is probably advisable to set the number of thread to 1 and use as many workers as your processor got cores, because using threads slightly reduces quality.

Thx to clarify this for me.:)

jmnk
9th July 2009, 06:30
first let me state that megui is a first class piece of software. But after trying to see reasoning I need to ask finally - what is the logic behind MeGui calculated --sar value. I mean I have pretty good understanding of what sar is for, so that is not the issue. But consider the following:
I encode a 16:9 NTSC DVD, after creating d2v file I load it to create avs. MeGUI correctly recognizes the source (input dar says 16:9 NTSC). I do no resizing, just cropping top and bottom black bars. So SAR should not be affected at all. Well, the 16:9 NTSC DVD has only one correct SAR, it is 32:27. Ok, if we go with ITU it could be 40:33. There should not be any other values, ever. So why is it that MeGUI comes up with these values like --sar 1969:1620. Again, I only talk about no-resize scenario.
Also, if I do not check clever anamorphic encoding MeGUI assumes that sar is 1:1, even if I specify my own SAR on the command line options (let's say I do --sar 32:27). Which results in the command line that has two sar options specified --sar 1:1 and --sar 32:27. I'm assuming that since my option is 'later' on on the line it actually is used, yes?

LigH
9th July 2009, 07:10
It appears the the MeGUI crashes when an AviSynth script is loaded which does not contain MOD 4 crop values.

See the attached screenshot in this german thread (http://forum.gleitz.info/showthread.php?t=40294).

MrVideo
9th July 2009, 09:16
I have pretty good understanding of what sar is for, so that is not the issue. But consider the following:

I think you do not have a complete handle on SAR (Source Aspect Ratio). I don't either, as explained below.

I encode a 16:9 NTSC DVD,

Why? Why not just use the files directly, instead of doing an encoding, only to re-encode again (resulting in reduced quality and MPEG-2 encoding errors from the multiple encodings)? Am I misunderstanding something? Just what is the original source?

after creating d2v file I load it to create avs. MeGUI correctly recognizes the source (input dar says 16:9 NTSC). I do no resizing, just cropping top and bottom black bars. So SAR should not be affected at all.

Not true, the SAR is definately affected. Is the source 2.35:1 displayed in a 16:9 frame, hence the letterbox bars? Because you cropped, the source is no longer at the SAR it originally was.

Well, the 16:9 NTSC DVD has only one correct SAR, it is 32:27. Ok, if we go with ITU it could be 40:33. There should not be any other values, ever. So why is it that MeGUI comes up with these values like --sar 1969:1620. Again, I only talk about no-resize scenario.

As stated above, you did resize it, when you cropped off the letterbox bars. It is no longer 720x480. If the video is 2.35:1, that would make the new size 720x364. The SAR has changed.

The weird SAR values are a result of the video not being 16:9.

Also, if I do not check clever anamorphic encoding MeGUI assumes that sar is 1:1, even if I specify my own SAR on the command line options (let's say I do --sar 32:27). Which results in the command line that has two sar options specified --sar 1:1 and --sar 32:27. I'm assuming that since my option is 'later' on on the line it actually is used, yes?

Replace the 1:1 SAR value with the new SAR. Don't just add another --sar, replace the existing.

OK, now this is where I don't get how 32:27 is determined. It isn't just SAR, as a 720x480 file has a SAR of 1.5:1, or 3:2. The DAR gets into that value as well, somehow, but I haven't discovered the magic formula.

If there is someplace within Doom9 that explains how the SAR value is determined, I do not know where it is.

nurbs
9th July 2009, 10:57
It appears the the MeGUI crashes when an AviSynth script is loaded which does not contain MOD 4 crop values.

See the attached screenshot in this german thread (http://forum.gleitz.info/showthread.php?t=40294).


Works fine for me with mod2 both vertical or horizontal. I didn't have a .d2v to test so I used DirectShowSource(). Also I didn't encode it, I only loaded it so the preview window came up, but that shouldn't make a difference and I can enqueue it without a problem.

Sharktooth
9th July 2009, 12:28
It appears the the MeGUI crashes when an AviSynth script is loaded which does not contain MOD 4 crop values.

See the attached screenshot in this german thread (http://forum.gleitz.info/showthread.php?t=40294).
not all avisynth filters like mod4 resolutions.

j8ee
9th July 2009, 16:54
I wanted to rearrange the video output name, but instantly discovered that the shortcut normally used for cutting text into the clipboard is the exit command. :( Actually, it wasn't that instant I understood it, I thought it was a crash first, preparing to leave a bug report. Leaving the Windows defaults alone and using Cmd-Q or Alt-X would be a better choice I think.

jmnk
9th July 2009, 17:30
I think you do not have a complete handle on SAR (Source Aspect Ratio). I don't either, as explained below. I believe in Megui (or more specifically in x264) SAR means Sample Aspect Ratio, so perhaps your entire post is based on wrong assumption. I'm sorry if I did not clearly stated what I mean by SAR.

Why? Why not just use the files directly, instead of doing an encoding, only to re-encode again (resulting in reduced quality and MPEG-2 encoding errors from the multiple encodings)? Am I misunderstanding something? Just what is the original source?

When I say I encode 16:9 NTSC DVD I mean 'I take a ripped DVD, run it through dgindex, create avs file and feed it to x264. It's not like I encode something --to-- DVD and than talke that and encode with MeGUI'. Again, sorry if that wasn't clear.


Not true, the SAR is definately affected. Is the source 2.35:1 displayed in a 16:9 frame, hence the letterbox bars? Because you cropped, the source is no longer at the SAR it originally was.



As stated above, you did resize it, when you cropped off the letterbox bars. It is no longer 720x480. If the video is 2.35:1, that would make the new size 720x364. The SAR has changed.

The weird SAR values are a result of the video not being 16:9.
I think that has been beaten to death many times, cropping does not change Sample Aspect Ratio.


Replace the 1:1 SAR value with the new SAR. Don't just add another --sar, replace the existing. Cool. Where exactly do I do that in MeGui? The replacing part. The SAR replacing.

OK, now this is where I don't get how 32:27 is determined. It isn't just SAR, as a 720x480 file has a SAR of 1.5:1, or 3:2. The DAR gets into that value as well, somehow, but I haven't discovered the magic formula.That is the easiest question. 32:27 comes from the fact that in order to make 720x480 DVD (the DVD standard) into 16:9 Display Aspect Ratio (the common TV resolutions) you need to make 720 into 853 pixels (because 853/480=16/9). And 720 * 32/27 = 853

@MrVideo thanks for response although I must say it does not bring any explanation to the discussion. Maybe I stated my problem wrongly.

So could someone knowledgeable comment on why MeGUI calculates those starnge SAR values?

Keiyakusha
9th July 2009, 18:18
Well this is my understanding, i can be wrong... Also I'm not using any auto-stuff and allways do resize/crop/setting ratios by myself so I can not fully understand megui's process.

First of all, sometimes by "SAR" peoples actually means PAR (pixel aspect ratio). This can be really confusing. I believe SAR is the original resolution (real width divided by real height). So image 720x480 - SAR 1.5; 640x480 - SAR 1.3, 873x349 - 2.5 and so on. But we don't need this.

All NTSC 16x9 DVDs has PAR 32:27. But if picture has black borders (letterbox), this mens that original video is not 16x9. It can be 1.85:1, 2.35:1, 2.4:1 etc. Its PAR depends on resolution that we get after cropping black borders and (maybe) resizing. So Megui calculates closest one.

j8ee
10th July 2009, 03:36
Is there a way to make your own first and second passes and encode them automatically? I'd like to use one really fast crf setting for first pass, and then feed the achieved bitrate from that pass to the second pass. I'm thinking maybe there is some kind of internal megui variable, like adding --bitrate %bitrate% to the custom command line, and %bitrate% would be stored from the previously run pass?

As I'm doing it now I first run a normal fast crf encode with --pass 1 and output nul and check the log for achieved bitrate when it's finished. (Even though output is nul, an empty file is written, a little strange.) Then I edit the second pass profile and put in the bitrate, save that, and start the final pass. So it's impossible to do a batch of files this way, it's constant waiting and manual editing.

I'm using this crf+second pass approach because crf and a VBV limit apparently doesn't work that well together, and if the crf bitrate would like to go over that limit, a second pass will make the best of it, as I understood it (post (http://forum.doom9.org/showthread.php?p=1304075#post1304075)). (And yes, if someone can clarify if you really should/must use VBV in both passes or if it's enough just in the last one, it would be appreciated!)

Sharktooth
11th July 2009, 16:10
Well this is my understanding, i can be wrong... Also I'm not using any auto-stuff and allways do resize/crop/setting ratios by myself so I can not fully understand megui's process.

First of all, sometimes by "SAR" peoples actually means PAR (pixel aspect ratio). This can be really confusing. I believe SAR is the original resolution (real width divided by real height). So image 720x480 - SAR 1.5; 640x480 - SAR 1.3, 873x349 - 2.5 and so on. But we don't need this.

All NTSC 16x9 DVDs has PAR 32:27. But if picture has black borders (letterbox), this mens that original video is not 16x9. It can be 1.85:1, 2.35:1, 2.4:1 etc. Its PAR depends on resolution that we get after cropping black borders and (maybe) resizing. So Megui calculates closest one.
SAR is (AKA) PAR. period.

@jmnk: MeGUI will encode with the original AR found on the DVD (that depends on how it was authored...). if the video gets resized MeGUI will correct the AR accordingly.

@j8ee: no automated way. 2pass encoding was not thought to be used that way.

kumi
11th July 2009, 16:27
MeGUI will encode with the original AR found on the DVDYeah, but watch out... MeGUI AR autodetection uses ITU values, which are often wrong for modern DVD content. In my experience.

Sharktooth
11th July 2009, 16:33
Yep since ITU is the standard for TVs.
Modern TVs are not meant to show anamorphic stuff anymore since we're in the HD era...

LeXXuz
11th July 2009, 16:42
I'm having trouble transcoding DTS-Audio files.

[Error] Log for job18 (audio, dtstest_6ch_768k_de.dts -> dtstest_6ch_768k_de.mp4)
-[Information] [11.07.2009 17:26:00] Started handling job
-[Information] [11.07.2009 17:26:00] Preprocessing
-[NoImage] Avisynth script
--[NoImage] DirectShowSource("D:\WORK\dtstest_6ch_768k_de.dts")
--[NoImage] EnsureVBRMP3Sync()
--[NoImage] 6<=Audiochannels(last)?x_dpl2b65f6e27c9c7451184cf89db8ea7d7c2(ConvertAudioToFloat(last)):last
--[NoImage] Normalize(0.9)
--[NoImage] return last
--[NoImage] function x_dpl2b65f6e27c9c7451184cf89db8ea7d7c2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] c = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 5)
--[NoImage] sr = GetChannel(a, 6)
--[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627).Amplify(-1.0)
--[NoImage] fl_c = MixAudio(fl, c, 0.3254, 0.2301)
--[NoImage] ssr = MixAudio(sl, sr, 0.1627, 0.2818)
--[NoImage] fr_c = MixAudio(fr, c, 0.3254, 0.2301)
--[NoImage] l = MixAudio(ssl, fl_c, 1.0, 1.0)
--[NoImage] r = MixAudio(ssr, fr_c, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
-[NoImage] Commandline used: -ignorelength -lc -br 128000 -if - -of "{0}"
-[Information] [11.07.2009 17:26:00] Encode thread started
-[Information] [11.07.2009 17:26:00] Encoding started
-[Information] [11.07.2009 17:26:00] Avisynth script environment opened
-[Error] An error occurred
--[NoImage] Exception message
---[NoImage] DirectShowSource: Could not open as video or audio.
---[NoImage] Video returned: "DirectShowSource: couldn't open file D:\WORK\dtstest_6ch_768k_de.dts:
---[NoImage] Die Datei kann nicht wiedergegeben werden. Das Format wird nicht unterstützt."
---[NoImage] Audio returned: "DirectShowSource: couldn't open file D:\WORK\dtstest_6ch_768k_de.dts:
---[NoImage] Die Datei kann nicht wiedergegeben werden. Das Format wird nicht unterstützt."
--[NoImage] Stacktrace
---[NoImage] bei MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
---[NoImage] bei MeGUI.AviSynthAudioEncoder.encode()
--[NoImage] Inner exception: null
-[Information] [11.07.2009 17:26:05] Job completed

It seems DirectShow does not know what do to with the DTS-file. Avisynth is correctly installed, ffdshow (with enabled DTS-decoding) as well.

I don't know how to fix this and would appreciate any help. :)

Sharktooth
11th July 2009, 16:47
ac3filter?

LeXXuz
11th July 2009, 16:53
ac3filter?

Is installed and works. However I cannot playback any DTS-File with MPC (unless I enable the internal DTS-decoder of MPC) => cannot render file.

Simple avs-script with NICAudio works:
NicDTSSource("d:\work\dtstest_6ch_768k_de.dts")

AC3filter is active when using this script. (I can see the icon in the tray).

jmnk
11th July 2009, 19:28
@jmnk: MeGUI will encode with the original AR found on the DVD (that depends on how it was authored...). if the video gets resized MeGUI will correct the AR accordingly.



If I may ask - what kind of logic MeGUI uses to detect how DVD was authored? I thought the only thing it could use is what dgindex file says - which is going to be video resolution and Display Aspect Ratio flag.

You also mentioned that MeGUI uses ITU values. So for NTSC 16:9 DVD it should be 40:33, right? Always, no matter how much I crop the video, right? Why is it than that MeGUI comes up with these 4 digit SAR values, and more often than not varying from one job to another.
Please note that these are theoretical questions - the aspect ratio of MeGUI encoded files are correct (more/less) - just wanted to know why it does not use 40:33 every single time.
Also, if we agree that ITU values should be used - should MeGUI automatically crop any 16:9 NTSC DVD input file from 720 to 704, or at least suggest that the user does it? Because if that is not done than the resulting file (assuming no cropping, no resizing, 720x480 input file resolution) plays at like 720*40/33 = 872 by 480 - which is not really ideal. Not too much of a difference to really complain, but still....

tebasuna51
11th July 2009, 21:00
However I cannot playback any DTS-File with MPC (unless I enable the internal DTS-decoder of MPC) => cannot render file.
Then isn't a MeGUI problem.
Simple avs-script with NICAudio works.
Is always better use a dedicated decoder than directshowsource.

JK1974
12th July 2009, 01:24
Hi,

since a few days, encodings done with the iPhone/iPod/iPod 5.5G profiles are not accepted by my iPod touch anymore - iTunes gives a message that the playback would not work on my device and so no transfer is being done.
Doing little more tests (I unfortunately still have nearly no knowledge about the x264 encoder, that´s why I rely on MeGUI and it´s profiles) I believe that it worked with MeGUI+x264 v1173, while the x264 v1179 (the following daily snapshot I found) seem to have started the problems.
For testing, I used the following line I found on the web:
"C:\Program Files\x264\x264.exe" --crf 22.0 --level 3 --no-cabac --partitions p8x8,b8x8,i4x4 --vbv-bufsize 1200 --vbv-maxrate 10000 --threads auto --output F:\file.mp4 file.avs
The file made with x264 v1173 worked while the file produced by v1179 has been rejected.
If I have read correctly, some standard parameters of x264 have been changed recently - maybe the reasons can be found here, but I hope that it can be fixed by simply selecting or deselecting certain encoding parameters in MeGUI.

Thanks in advance ;)

LeXXuz
12th July 2009, 02:26
Then isn't a MeGUI problem.

Is always better use a dedicated decoder than directshowsource.

I don't want to spend any money in a commercial DTS-decoder. Occasions where I have to transcode DTS streams are too rare for that.


Ok. I will look for some advice in the audio forums...

Inspector.Gadget
12th July 2009, 02:48
LeXXuz, he was referring to "dedicated" as in "purpose-built": Nicaudio is better than DSS in this case. No money necessary.

MrVideo
12th July 2009, 03:08
I believe in Megui (or more specifically in x264) SAR means Sample Aspect Ratio, so perhaps your entire post is based on wrong assumption. I'm sorry if I did not clearly stated what I mean by SAR.

I've done some Googling to track down all these damn definitions. So, hopefully I have a better handle on it.

When I say I encode 16:9 NTSC DVD I mean 'I take a ripped DVD, run it through dgindex, create avs file and feed it to x264. It's not like I encode something --to-- DVD and than talke that and encode with MeGUI'. Again, sorry if that wasn't clear.

Then why didn't you say you were using the content of a ripped DVD? :D

I think that has been beaten to death many times, cropping does not change Sample Aspect Ratio.

After finding that formula, which I didn't have before and the wrong definition of SAR, I agree.

Cool. Where exactly do I do that in MeGui?

I was thinking of the scripts that I have written to automate conversion of MPEG-2 promos into H.264 versions. I have no idea how to change the command line that MeGUI ultimately uses to do the encoding. I don't even know how to append to a MeGUI command. Sorry about the major brainfart there.

So could someone knowledgeable comment on why MeGUI calculates those starnge SAR values?

That is indeed a great question that Sharktooth should be answering.

Sorry about going down the wrong path. I certainly learned something from this.

jmnk
12th July 2009, 04:46
I've done some Googling to track down all these damn definitions. So, hopefully I have a better handle on it.



Then why didn't you say you were using the content of a ripped DVD? :D



After finding that formula, which I didn't have before and the wrong definition of SAR, I agree.



Oh crap, I was thinking of the scripts that I have written to automate conversion of MPEG-2 promos into H.264 versions. I have no idea how to change the command line that MeGUI ultimately uses to do the encoding. I don't even know how to append to a MeGUI command. Sorry about the major brainfart there.



That is indeed a great question that Sharktooth should be answering.

Sorry about going down the wrong path. I certainly learned something from this.
@MrVideo: thanks for clarifications. We all just learn here..

clumba
12th July 2009, 13:00
http://s47.radikal.ru/i116/0907/e3/0c4f1f7bc12a.png

alwa
12th July 2009, 14:50
Hi,

since a few days, encodings done with the iPhone/iPod/iPod 5.5G profiles are not accepted by my iPod touch anymore - iTunes gives a message that the playback would not work on my device and so no transfer is being done.

That's because MeGUI currently fails to restrict the Baseline-Profile properly and doesn't deactivate the B-Frames. x264 uses by default --bframes 3 and the Baseline-Profile doesn't allow that. You can fix that for now if you add as "Custom Command Line": --bframes 0

nurbs
12th July 2009, 19:53
Alternatively you can add --profile baseline as a custom command line option. That should override all options that aren't baseline conform.

Sharktooth
13th July 2009, 02:18
a fix is coming soon.

tehownt
13th July 2009, 15:21
Some handheld players are quite weird regarding the supported formats and only allow h.264 playback in an .avi container with mp3 sound...
This is really wierd but can be obtained with mencoder (-ovc x264-oac mp3lame -lameopts cbr:br=128 -o video.avi). The problem with MP4-Encoder GUIs is that they will not allow (by a way of dropdown menus) to have x264 in an avi container eventhough it's a possible combination.
I know this is really uncommon but would it be hard to change the GUI so that it allows any mix of container/content even if it's not the "cleanest" combo ? Is there a way to configure MeGUI so that profiles allow this type of arrangement ?

Sharktooth
13th July 2009, 15:43
those handheld are crappy.
h.264 in AVI is an ABOMINATION.

tehownt
13th July 2009, 16:11
You are absolutely 100% right that it's an abomination, but once the disgust has worn off, it's still easier to get the community-supported encoder to do the dirty job than to get the handheld firmware changed...
Hence the "feature" request (it could come with a warning about non-standardness though) ;)

Sharktooth
13th July 2009, 17:32
well... i wont add AVI support for h.264 in megui.
you can just use my GUI for avc2avi: http://mirror05.x264.nl/Sharktooth/x264/utils/avc2avi_r594+gui1.2.7z

tehownt
13th July 2009, 17:51
Ok well thanks for the util...
Would you overcome your apprehension to the idea and accept a patch to the GIT if I were to overcome my apprehension towards C# ? ;)

Sharktooth
13th July 2009, 17:55
uhm... dont waste your time...
is not that hard to implement avc to avi muxing in MeGUI (once it was there...) but i dont think i will accept any patches in that regard.

tehownt
13th July 2009, 18:07
Hmmm, OK...
Which MeGUI rev had the avc to avi muxing ?
Was there a specific reason to have it removed from MeGui (aside from the "abominational" POV) ?

Btw thanks for the help despite the awkward request ;)

Sharktooth
13th July 2009, 18:20
well... i dont remember exactly what version it was... but it was removed coz it was identical to the avc2avi gui i've linked you in one of my posts.
the problem is there was no audio support and no one of us needed h.264 in avi. the point is by not supporting avi, hardware manufacturers will be forced to add support for other containers.
that's the secondary reason why we will not add avi to megui and behind that, the main reason is that avi is as old as windows 3... if not older.

jmnk
13th July 2009, 19:03
@jmnk: MeGUI will encode with the original AR found on the DVD (that depends on how it was authored...). if the video gets resized MeGUI will correct the AR accordingly.
If I may ask - what kind of logic MeGUI uses to detect how DVD was authored? I thought the only thing it could use is what dgindex file says - which is going to be video resolution and Display Aspect Ratio flag.

You also mentioned that MeGUI uses ITU values. So for NTSC 16:9 DVD it should be 40:33, right? Always, no matter how much I crop the video, right? Why is it than that MeGUI comes up with these 4 digit SAR values, and more often than not varying from one job to another.
Please note that these are theoretical questions - the aspect ratio of MeGUI encoded files are correct (more/less) - just wanted to know why it does not use 40:33 every single time.
Also, if we agree that ITU values should be used - should MeGUI automatically crop any 16:9 NTSC DVD input file from 720 to 704, or at least suggest that the user does it? Because if that is not done than the resulting file (assuming no cropping, no resizing, 720x480 input file resolution) plays at like 720*40/33 = 872 by 480 - which is not really ideal. Not too much of a difference to really complain, but still....
@Sharktooth. Sorry to bump this question - but could you please elaborate on why MeGUI calculates these strange 4 digit SAR when the input file is plain DVD type resolution and aspect ratio content?

Sharktooth
13th July 2009, 19:35
megui "reads" the SAR from the source. since not all content is from DVD, there is no "hard" limit on the SAR on megui.

jmnk
14th July 2009, 00:38
megui "reads" the SAR from the source. since not all content is from DVD, there is no "hard" limit on the SAR on megui.
sure, fair enough. But --if-- the input --IS-- from DVD - wouldn't it make sense to use one of those standardized SAR values?

Sharktooth
14th July 2009, 12:36
at a certain point, megui doesnt know if the input is from DVD or not.

jmnk
14th July 2009, 17:50
at a certain point, megui doesnt know if the input is from DVD or not.
Completely agree. That's why I try to limit this discussion to only those cases where avs script is created based off d2v file - so it is safe to assume it is DVD, and you know what resolution is, and what aspect ratio flag should be.
Again, this is not a huge deal, the values are 'almost' correct. Although it is a bit strange that calculated SAR values vary depending on how much I cropped from left and right side. I mean if I start with 720x480 16:9 NTSC DVD and let MeGUI calculate SAR, it will be one value when I do not crop, another when I crop 8 pixels left and 8 pixels right, another when I crop 16 pixel left and 16 pixels right, and so on. All these values do in the end result in video being more/less 16:9 DAR - but it just seems there's too much logic there. Just use SAR=40:33 for 16:9 NTSC DVD - and be done with it.
I would also think that if avs script is created off d2v file which indicates that input is from DVD, MeGUI should use 32:27 as SAR for 16:9 NTSC. Or it should tell the user to crop 8 pixels left and right so the input resolution is 704 pixels - and than SAR 40:33 will result in 16:9 DAR. As it is now 720x480 resolution flagged with MeGUI calculated SAR results in 872x480 - which is a bit too wide.
Finally, although that is really a cosmetic issue - how do I make MeGUI --not-- to use any SAR when I enter my own SAR on the command line in advanced options? As of today the command line passed to x264 would have two SAR options: one calculated by MeGUI, the other whatever I entered. I'm assuming x264 takes the far right values for a given parameter so that does not really affect anything in practice.

In other, non-DVD-input case I have no idea how MeGUI could possibly know what SAR to use at all - so I'm not even trying to address that. It would seem that the only logical choices would be:
1) pop out a box asking a user to enter desired SAR. Flexible, but perhaps too much for most of the users.
2) assume SAR 1:1

again, thanks for great tool.

squid_80
14th July 2009, 23:43
Assuming a source is a DVD just because a script is using a .d2v file is definitely not something you want to do.

jmnk
15th July 2009, 00:28
Assuming a source is a DVD just because a script is using a .d2v file is definitely not something you want to do.
fair enough. Let me make a more correct statement, although I've already stated many times my only beef is with how MeGUI deals with those sources that --are-- DVD, and that are recognizes as such by MeGUI:

"if avs script is created out of d2v file (or any other file that provides resolution and DAR) and MeGUI recognizes its 'Input DAR' as one of the common DVD types, than it should just use commonly known SAR values if no resizing is done".

Wouldn't you agree with that?

Sharktooth
15th July 2009, 14:29
patches are welcome

elguaxo
16th July 2009, 11:49
All major bugs in x264 configuration and commandline generation should be fixed by now even if some options will still be redundant...

Megui is not adding --slow-firstpass when you don't want to use Turbo on the first pass. I'm using version 0.3.1.1050.

Sharktooth
16th July 2009, 13:19
i know. but that's not a showstopper. implementing --slow-firstpass requires some more time.

mavinashbabu
19th July 2009, 10:47
Hello,

I am having problem with "x264 Unrestricted 1pass Lossless" profile while container is .MKV from a retail DVD9 that i own.



[Error] Log for job4 (video, VTS_01_1_1.avs -> VTS_01_1_1.mkv)
-[Information] [7/19/2009 2:30:14 PM] Started handling job
-[Information] [7/19/2009 2:30:14 PM] Preprocessing
-[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --profile high --qp 0 --ref 1 --no-mixed-refs --bframes 0 --nf --subme 1 --trellis 0 --partitions p8x8,b8x8,i4x4,p4x4 --no-8x8dct --thread-input --sar 1:1 --output "C:\VTS_01_1_1.mkv" "V:\ROCKY_SCN\VTS_01_1_1.avs"
-[Information] [7/19/2009 2:30:16 PM] Encoding started
-[Error] An error occurred: x264 [error]: high profile doesn't support lossless
-[NoImage] Standard output stream
-[NoImage] Standard error stream
-[Information] [7/19/2009 2:30:17 PM] Job completed


I had used the same profile like a week back or so without any issues.

Can i get help please :thanks:

nurbs
19th July 2009, 12:10
x264 has changed recently that's why you are getting the error. You need to get rid of the --profile high in your command line. I don't have megui on this computer, but I think in the first tab of the x264 configuration there is a dropdown where you can select the profile. You need to set it to Unrestriced or something like that (not baseline, main or high). If this is not available then you have to wait for megui to be changed to support it or to your encodes directly with the CLI in the meantime.

Kurtnoise
19th July 2009, 12:25
this has been fix in the last build but it requires an update of the preset as stated in the changelog...

mavinashbabu
19th July 2009, 16:49
Thanks nurbs and Kurt, able to do it now

I have chosen "autoguess" since i could not find "unrestricted" in AVC profiles, and quantizer as Lossless "checked".

I hope i did it right?

rack04
19th July 2009, 19:14
Since partitions p8x8,b8x8,i4x4,i8x8 are default I think the x264 command line can be cleaned up a bit.

luckfun
20th July 2009, 02:17
Hi I updated MeGUI to latest.
Then I cannot import any file(d2v,avi), MeGUI says that "external component has thrown an exception"

But to check my script is correct I tried whether media player can open just the following simple script.
AviSource("z:\N\x264.avi")

Unfortunately I couldn't open it.... So does anyone have somethig advice to me or should I re-install OS?

Something strange... because I just updated to latest...

Edit : Sorry but just avisynth's bugs. I uninstalled avisynth and re-installed that then it worked fine! Thank you.

MADAJ
20th July 2009, 14:59
hi
[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1051
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.3082)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
-[Error] Log for job9 (video, ENCODE.avs -> )
--[Information] [7/20/2009 5:59:14 PM] Started handling job
--[Information] [7/20/2009 5:59:14 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 1300 --stats "C:\Documents and Settings\Owner\Desktop\ENCODE.stats" --partitions p8x8,b8x8,i4x4,i8x8 --me umh --thread-input --sar 1:1 --cqmfile "Select file..." --output NUL "C:\Documents and Settings\Owner\Desktop\ENCODE.avs"
--[Information] [7/20/2009 5:59:15 PM] Encoding started
--[Error] An error occurred: x264 [error]: can't open file 'Select file...'
--[Error] An error occurred: x264 [error]: x264_encoder_open failed
--[NoImage] Standard output stream
--[NoImage] Standard error stream: avis [info]: 1280x720 @ 23.98 fps (35367 frames)
--[Information] [7/20/2009 5:59:16 PM] Job completed


what is cqmfile ? why do I need it?

EDIT:

ah... sorry, my mistake...

Kurtnoise
21st July 2009, 05:02
I have chosen "autoguess" since i could not find "unrestricted" in AVC profiles, and quantizer as Lossless "checked".

I hope i did it right?
yes

Since partitions p8x8,b8x8,i4x4,i8x8 are default I think the x264 command line can be cleaned up a bit.
done

MrVideo
21st July 2009, 06:14
I realize that it isn't (I hope) meGUI's fault for the commandline options to x264 to drastically change.

I have a script written that directly runs the x264 program and now my scripts are broken.

To put it bluntly, that is not user friendly.

To be user friendly, at least in the Unix world, if an option is deprecated, it is not removed. A warning is displayed indicating that the option is either no longer used, or replaced by another option and lists that option. The program should not bail. In the future, say 6 months, then the option can be removed.

Give the poor user a chance to modify the scripts/programs, instead of blind siding them.

Obviously meGUI had to change as well.

Now to figure out what changed.

Dark Shikari
21st July 2009, 06:18
I realize that it isn't (I hope) meGUI's fault for the commandline options to x264 to drastically change.

I have a script written that directly runs the x264 program and now my scripts are broken.

To put it bluntly, that is not user friendly.

To be user friendly, at least in the Unix world, if an option is deprecated, it is not removed. A warning is displayed indicating that the option is either no longer used, or replaced by another option and lists that option. The program should not bail. In the future, say 6 months, then the option can be removed.

Give the poor user a chance to modify the scripts/programs, instead of blind siding them.

Obviously meGUI had to change as well.

Now to figure out what changed.First of all, I warned everyone a week in advance on doom9.

Second, if I didn't remove options, you would have had scripts that appeared to work--and then generated invalid output.

For example, options that previously worked on iPod would generate non-iPod-compatible video because the defaults changed.

It's better for scripts to break loudly than it is for them to break silently.

MrVideo
21st July 2009, 07:01
First of all, I warned everyone a week in advance on doom9.

Never assume that everyone that uses these programs are a constant reader of postings here on Doom9. With so many places to read, it is impossible to read them all. The BEST place to warn users is via the program itself, via issuing non-bailing warnings.

Second, if I didn't remove options, you would have had scripts that appeared to work--and then generated invalid output.

The ones that I've found at the moment are --progress. --no-simm and --no-psnr

The removal of --progress wasn't necessary. It sounds like that is now the default and --no-progress turns it off. A deprecation warning would have been perfect for this option, instead of bailing. The other two have to data with the options. A warning, without bailing, would have been nice with those as well. An encoding is now taking place, but I suspect that I should probably do one with meGUI and see what the options are now with the encoder, in case new ones were added.

Where did I get these options? From the log output of meGUI when doing what I wanted to do in a script and then transferring the commandline options to my script.

As mentioned, if an option is no longer being used, output a warning about the option. If the option has been completely removed, don't bail. issue a warning and continue. If the option has been replaced, issue a warning and apply the option to the new option. If the option has data to do with it, supply the data to the new option, if the data is viable. Modify it is possible and say so in the warning.

Be a little more user friendly. Not everyone is as deep into this as you are. Many of us are casual users. Really casual uses meGUI, less casual, more heavy hitter, writes scripts.

It's better for scripts to break loudly than it is for them to break silently.

They wouldn't break silently is warnings were displayed during the output, even if all warnings were listed, and it waited 5 seconds before continuing. so that the user would see them.

As mentioned, I do not know if anything new was added, but I just played back the encoded file and there is nothing blatently wrong with it, if anything.

Guest
21st July 2009, 07:03
Drop it, MrVideo. We don't want a debate about it here now. You missed your chance when the proposed changes were thoroughly discussed. Followup to PM please.

Dark Shikari
21st July 2009, 07:05
...So basically, you want us to implement a psychic algorithm that figures out if the user really wanted to encode for an iPod or not, and warns the user that his video won't work on an iPod in such a case?

ESP devices are welcome, PM me for shipping address.Never assume that everyone that uses these programs are a constant reader of postings here on Doom9. With so many places to read, it is impossible to read them all. The BEST place to warn users is via the program itself, via issuing non-bailing warnings.We expect that users who insist on using bleeding-edge x264 builds--and do so without a frontend--will at a minimum read the changelogs, particularly those that coincide with API updates.

If you don't want to do that, don't use bleeding-edge x264.

MrVideo
21st July 2009, 07:30
So basically, you want us to implement a psychic algorithm that figures out if the user really wanted to encode for an iPod or not, and warns the user that his video won't work on an iPod in such a case?

You missed the point. Adding new options, that my script doesn't use, won't break my encodes, as it won't use them.

The three options, is this case, were benign. Easily flagged as warnings, indicated that there were deprecated and will be removed in the future. Then ignore them and keep going. At least the job I was working on would finish. Then, I could look into what changed.

The idea is that the user would be able to continue without crashing.

We expect that users who insist on using bleeding-edge x264 builds--and do so without a frontend--will at a minimum read the changelogs, particularly those that coincide with API updates.

That still doesn't stop developers from being a little more user friendly with options that are being deprecated, especially with the three options that were removed that I happen to be using (because meGUI did before.

All I'm asking for is a little more consideration. You can be bleeding edge, but still be user friendly. I have LOTS of things to read and can't get to them all. A warning message says that "hey, I've changed, go find out why."

Now to go read the PM that was posted before your response.

Dark Shikari
21st July 2009, 07:38
You missed the point. Adding new options, that my script doesn't use, won't break my encodes, as it won't use them.

The three options, is this case, were benign. Easily flagged as warnings, indicated that there were deprecated and will be removed in the future. Then ignore them and keep going. At least the job I was working on would finish. Then, I could look into what changed.

The idea is that the user would be able to continue without crashing.We believe that silently giving the user output that he did not expected is worse than terminating with an error.

Furthermore, warning about deprecated options like --progress and --no-psnr does nothing to inform the user about the actual potential problem with his encoding settings.

You may disagree with the idea that failing loudly is better than failing silently, but you aren't an x264 developer, so quite honestly, I don't care, and I'm not going to bother responding to stupid posts like this anymore. If you don't like our interface decisions, feel free to write your own H.264 encoder.

nurbs
21st July 2009, 07:41
Adiing new options and changing the defaults might not break your encodes, but it can easily break other peoples encodes if they aim for hardware compatibility. The idea is that the user doesn't spend hours encoding a video just to find out that it won't play on his iPod or whatever in the end. Most people probably don't look at the log until encoding has finished.
I don't really get what you are complaining about. You don't seem to be using the --preset and --tune system and apart from that there haven't been any major changes. Nothing stops you from using an old version of x264 until you can change your scripts.

MrVideo
21st July 2009, 08:20
I don't really get what you are complaining about. You don't seem to be using the --preset and --tune system and apart from that there haven't been any major changes. Nothing stops you from using an old version of x264 until you can change your scripts.

neuron2 is probably going to kill me, but I shouldn't be the only one to "drop it."

The constructive post that I made obviously wasn't taken that way. I admit it was worded a little harshely. While I do not write x264 code, I do write code in the Unix world (my job). As such, I try to be considerate of those that use what I produce. I come from a programming world where these kinds of changes are done less harshly to the user.

If an option has changed drastically, such that there is no way to really continue with it, bail. The three that tripped up my script were benign. One even being replaced with the inverse sense. The old one could have been left there, with a warning issued.

Just because I, and others, do not develop any of the programs produced here, doesn't mean that suggestions can't be made.

I know nothing about --preset or --tune. As indicated, I obtained the information to use in my script from the meGUI logs. It isn't used there either. Encoding H.264 is a complicated process (D'Oh!). I can only go by examples from those who know. In this case, the meGUI author, and its contributors. They didn't use them, so I didn't either.

Yes, this stuff is bleeding edge. The users of this type of programming cannot possibly read every possible post here on Doom9. There are lots of things going on in people's lives. This is only a fraction of what I do. So, a suggestion gets met with hostility. So be it. It is Dark's program.

As for using previous versions, not really. meGUI automatically updates the tools that it uses. It is a great feature of meGUI. Because of that, programs like x264 are updated as they are released, or at least the next time I run meGUI.

As for users missing warning messages, it is really hard to do, considering they show up right in the location where you ran the program. I use the cygwin suite, which essentially is Unix for Windows. My scripts are Z-shell scripts, run in an Xterm. All messages appear right there. The output from x264 isn't massive, so it is hard not to miss warnings, if one looks.

Time for bed.

Kurtnoise
21st July 2009, 08:36
I know nothing about --preset or --tune. As indicated, I obtained the information to use in my script from the meGUI logs. It isn't used there either in public releases.
fixed for you...:D

roozhou
21st July 2009, 09:06
As for using previous versions, not really. meGUI automatically updates the tools that it uses. It is a great feature of meGUI. Because of that, programs like x264 are updated as they are released, or at least the next time I run meGUI.


This is not x264 developer's fault but meGUI's fault. If you do use scripts outside meGUI, you should not rely on meGUI's auto update but instead download from x264's official site and read the changelog carefully.

Kurtnoise
21st July 2009, 09:16
you can turn off auto-update from megui. So, stop your zealotry...

Gabriel_Bouvigne
21st July 2009, 13:36
While I do not write x264 code, I do write code in the Unix world (my job). As such, I try to be considerate of those that use what I produce. I come from a programming world where these kinds of changes are done less harshly to the user.
If there were any x264 releases, I would agree with you. However, here we are talking about an encoder which never had any public release. The so-called "releases" are just compilations directly done from the source code repository.
Considering that developpers have not yet released version 1.0 (and that does not imply they will), you should really not expect stable interfaces.

Guest
21st July 2009, 13:45
neuron2 is probably going to kill me, but I shouldn't be the only one to "drop it." You keep throwing gas on the fire after I asked you to drop it. To avoid a third 16 strike, I suggest you follow the instructions you were given.

Dark Shikari
21st July 2009, 17:49
If there were any x264 releases, I would agree with you. However, here we are talking about an encoder which never had any public release. The so-called "releases" are just compilations directly done from the source code repository.
Considering that developpers have not yet released version 1.0 (and that does not imply they will), you should really not expect stable interfaces.And yet despite that, we keep an explicitly defined API version number which changes when the interface changes. All you need to do in order to avoid changes is to stick to versions with the same API version number.

Neillithan
23rd July 2009, 20:22
Error Encoding Lossless H.264

I updated MeGUI and I believe I have discovered an issue with it. I went to encode a video using the x264 lossless preset and it gave me an error that says, "High profile doesn't support lossless".

So, I did a force reinstall of the x264 presets and it still gave me the same error.

I went into the preset config for that particular preset and I noticed it was set to "High" underneath "AVC Profiles". I changed it to "Autoguess" and it allowed me to check "Lossless" afterwards. I saved the config and queued up the video to be re-encoded and it worked without error.

So, there you go, problem and a solution. lol

-Neil

ckmox
24th July 2009, 17:44
i got this error on using x264 of megui
An error occurred: x264 [error]: ratecontrol_init: can't open stats file
An error occurred: x264 [error]: x264_encoder_open failed

this is the log file

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1051
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.3053)
-[Information] Hardware
--[NoImage] CPU : AMD Athlon(tm) 64 Processor 3000+
-[Information] AutoEncode job generation log
--[NoImage] Split Size : null
--[Information] Eliminating duplicate filenames
---[NoImage] Video output file: C:\Documents and Settings\Administrator\My Documents\Videos\Assorted\Gundam00Preview.264
---[NoImage] File already exists. New video output filename: C:\Documents and Settings\Administrator\My Documents\Videos\Assorted\Gundam00Preview_1.264
---[NoImage] Muxed output file: C:\Documents and Settings\Administrator\My Documents\Videos\Assorted\Gundam00Preview-muxed.mkv
---[NoImage] Encodable audio stream 0: C:\Documents and Settings\Administrator\My Documents\Videos\Assorted\Gundam00Preview.ogg
-[Information] Log for job4 (audio, Gundam00Preview.mkv -> Gundam00Preview.ogg)
--[Information] [7/25/2009 12:28:13 AM] Started handling job
--[Information] [7/25/2009 12:28:13 AM] Preprocessing
--[NoImage] Avisynth script
---[NoImage] DirectShowSource("C:\Documents and Settings\Administrator\My Documents\Videos\Assorted\Gundam00Preview.mkv", video=false)
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] Normalize()
---[NoImage] 6==Audiochannels(last)?GetChannel(last,1,3,2,5,6,4):last
---[NoImage] return last
--[NoImage] Commandline used: -Q --ignorelength --quality -2.0 -o "{0}" -
--[Information] [7/25/2009 12:28:14 AM] Encoding started
--[Information] [7/25/2009 12:28:14 AM] Encode thread started
--[Information] [7/25/2009 12:28:14 AM] Avisynth script environment opened
--[Information] [7/25/2009 12:28:14 AM] Script loaded
--[Information] Output Decoder
---[NoImage] Channels: 2
---[NoImage] Bits per sample: 16
---[NoImage] Sample rate: 48000
--[NoImage] Commandline: C:\Program Files\megui\tools\oggenc2\oggenc2.exe -Q --ignorelength --quality -2.0 -o "C:\Documents and Settings\Administrator\My Documents\Videos\Assorted\Gundam00Preview.ogg" -
--[Information] [7/25/2009 12:28:14 AM] Encoder process started
--[Information] [7/25/2009 12:28:16 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [7/25/2009 12:28:16 AM] Job completed
-[Error] Log for job5 (video, Gundam00Preview.avs -> Gundam00Preview_1.264)
--[Information] [7/25/2009 12:28:16 AM] Started handling job
--[Information] [7/25/2009 12:28:16 AM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 2 --bitrate 300 --stats "C:\Documents and Settings\Administrator\My Documents\Videos\Assorted\Gundam00Preview_1.stats" --deblock 1:1 --psy-rd 0.6:0 --partitions p8x8,b8x8,i4x4,i8x8 --me umh --thread-input --aq-mode 0 --sar 1:1 --aud --output "C:\Documents and Settings\Administrator\My Documents\Videos\Assorted\Gundam00Preview_1.264" "C:\Documents and Settings\Administrator\My Documents\Videos\Assorted\Gundam00Preview.avs"
--[Information] [7/25/2009 12:28:16 AM] Encoding started
--[Error] An error occurred: x264 [error]: ratecontrol_init: can't open stats file
--[Error] An error occurred: x264 [error]: x264_encoder_open failed
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] avis [info]: 592x336 @ 23.98 fps (346 frames)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Slow
--[Information] [7/25/2009 12:28:17 AM] Job completed


someone help please

Kurtnoise
24th July 2009, 19:55
run pass 1 before pass 2...

ckmox
25th July 2009, 02:20
run pass 1 before pass 2...

thanks i just select "automated 2 pass" on the encoding mode and it work :)

pcjco04
25th July 2009, 13:47
Small bug in the OneClick dialog :

When clicking on OneClick profile "Config" from the One Click Encoder panel, the "OneClick configuration dialog" shown after doesn't set the "AutoCrop" check button.
But when switching profiles directly in the "OneClick configuration dialog" , the "AutoCrop" value is set.

pcjco04
25th July 2009, 14:02
Small bug in the Avisynth script creator :

When checking clever anamorphic, the combo on the right (Resize to mod16,...) becomes sensible but the value used in this combo should modify some values in the Crop&Resize frame (for example "Resize to mod16" make "Resize" check button grey,...).
In order to make these changes you must yourself re-select "Resize to mod16" to make these changes in the Crop&Resize frame.

Sharktooth
25th July 2009, 16:29
pcjco04: dont report bugs in this thread. there is a bugtracker on megui project page on sourceforge.

rapscallion
26th July 2009, 20:51
This seems to happen whenever I muxe a HD ts /VC-1 stream to a *.mt2s.
When I load the avs script into Megui, instead of the video preview, I receive the error:

"Direct Show Source: render file, the filter graph won't talk to me, avs script line 1."
Line 1 is the dir path to the m2ts file.

I googled this and the only answer I could find was to uninstall and reinstall ffdshow.
Didn't change the error for me so any help would be appreciated.

BTW, everthing works fine with Blu-ray source, just not the HD DVD's.

buzzqw
27th July 2009, 06:42
be sure in ffdshow VC-1 decoder is set to WMV9 and not libavcodec
also.. be sure to have installed wmp11

BHH

molitar
27th July 2009, 09:43
Help! I try to encode a video and it shows window.. immediately closes window.. and queue shows error.. but I can see no error in logs preventing it from converting.

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1051
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.3053)
-[Information] Hardware
--[NoImage] CPU : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
-[Information] Log for job2 (video, VTS_01_1.avs -> )
--[Information] [7/27/2009 4:41:13 AM] Started handling job
--[Information] [7/27/2009 4:41:13 AM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --profile high --pass 1 --bitrate 1000 --stats "C:\Downloads\VTS_01_1.stats" --level 4.1 --ref 1 --no-mixed-refs --b-adapt 2 --no-weightb --direct auto --deblock 1:1 --subme 2 --trellis 0 --partitions none --vbv-bufsize 50000 --vbv-maxrate 50000 --me dia --thread-input --aq-mode 0 --sar 1:1 --output NUL "C:\Downloads\VTS_01_1.avs"
--[Information] [7/27/2009 4:41:14 AM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [7/27/2009 4:41:14 AM] Job completed

rapscallion
27th July 2009, 15:37
be sure in ffdshow VC-1 decoder is set to WMV9 and not libavcodec
also.. be sure to have installed wmp11

BHH
Thank you ! That did the trick (also,I was running wmp9).

Kurtnoise
27th July 2009, 19:39
Help! I try to encode a video and it shows window.. immediately closes window.. and queue shows error.. but I can see no error in logs preventing it from converting.

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1051
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.3053)
-[Information] Hardware
--[NoImage] CPU : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
-[Information] Log for job2 (video, VTS_01_1.avs -> )
--[Information] [7/27/2009 4:41:13 AM] Started handling job
--[Information] [7/27/2009 4:41:13 AM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --profile high --pass 1 --bitrate 1000 --stats "C:\Downloads\VTS_01_1.stats" --level 4.1 --ref 1 --no-mixed-refs --b-adapt 2 --no-weightb --direct auto --deblock 1:1 --subme 2 --trellis 0 --partitions none --vbv-bufsize 50000 --vbv-maxrate 50000 --me dia --thread-input --aq-mode 0 --sar 1:1 --output NUL "C:\Downloads\VTS_01_1.avs"
--[Information] [7/27/2009 4:41:14 AM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [7/27/2009 4:41:14 AM] Job completed
megui uses an heuristic method to prevent you to transcode such files. That's cool, isn't it ? :cool:



/me runs away...:stupid:

Ramir Gonzales
27th July 2009, 20:34
Perhaps instead of trying to be funny, looking at your code, because it has become 1 giant buggy mess lately could make things better. Look at all the MeGui related error reports around, the bugs are everywhere.

Kurtnoise
27th July 2009, 21:18
why are you posting here ? you even don't know how to read a user bug report...

Gruelius
27th July 2009, 22:32
I get crashes when it tries to mux, im on win7 x64 rtm.

molitar
28th July 2009, 03:50
Ok is this a bug with the latest MEGUI? I am not able to encode at all using XP Pro SP3 but I can when I dual booted into Vista 32bit Sp1. Any idea what might cause this? Newest MEGUI not compatible with XP?

Kurtnoise
28th July 2009, 07:59
I get crashes when it tries to mux, im on win7 x64 rtm.
which container ? with what kind of streams ? more details please...

Ok is this a bug with the latest MEGUI? I am not able to encode at all using XP Pro SP3 but I can when I dual booted into Vista 32bit Sp1. Any idea what might cause this? Newest MEGUI not compatible with XP?
megui works flawlessly on XP...Maybe you need to reinstall Avisynth 2.5.8 + the latest FFdshow try-outs + the latest Haali Media Splitter.

molitar
28th July 2009, 08:17
Ok I am not sure what made it work.. I uninstalled Sp3.. I uninstalled megui, Corecodec, community codec pack, windows 9 media encoder, dvix, xvid, avisynth and ac3. I than restarted.. and reinstalled the avisynth, community codec pack, ffdshow and was finally able to get the converter to run.

Kurtnoise
28th July 2009, 08:33
CCCP includes FFdshow...no need to install it twice.

seb37_2
28th July 2009, 13:29
Hi,
Sorry for my bad english and (maybe) my stupid question^^
I use megui and x264 to make mp4 (best encode i ever seen for the moment).

I have 2 questions :

- it's possible to reduce the processor using when i play a simple mp4 h264 ? (i mean when a computer read a mp4, offline or online, the processor work very hard i maybe there is a way to reduce that ?). that's depends maybe the bitrate use ?
- I don't understand the sytem of "keyframe"... Canwe change the number of keyframe with Megui ? (or avs script?). What is the rule ? i read that we must insert 1 keyframe every 5 second (so if my video make 1 minute, i just need 12 keyframe ?). there are a difference for the keyframe between progressive download and streaming ? (more keyframe for streaming ?).

Thanks by advance for this information :)

Gruelius
30th July 2009, 00:15
which container ? with what kind of streams ? more details please...


megui works flawlessly on XP...Maybe you need to reinstall Avisynth 2.5.8 + the latest FFdshow try-outs + the latest Haali Media Splitter.

Xvid Video
Mp3 ABR audio

AVI container.

*log part*

[Information] Log for job4 (mux, kernleak.avi -> kernleak-muxed.avi)
-[Information] [30/07/2009 9:10:22 AM] Started handling job
-[Information] [30/07/2009 9:10:22 AM] Preprocessing
-[NoImage] Job commandline: "C:\Program Files (x86)\megui\tools\avimux_gui\avimux_gui.exe" "C:\Users\Julius\AppData\Local\Temp\tmp379E.tmp"
-[Information] [30/07/2009 9:10:23 AM] Muxing started
-[NoImage] Standard output stream
-[NoImage] Standard error stream
-[Information] [30/07/2009 9:10:29 AM] Postprocessing
-[Information] [30/07/2009 9:10:29 AM] Job completed

What happens is windows comes up saying that the program has crashed, after i accept it and windows closes it megui continues on with its other tasks

masterisaa
30th July 2009, 02:41
hello, this is my story.... (again)........

someday i had downloaded i video(mp4)..... and i used to know the fps by wmpc. but this file, there was no fps on it
so i said no problem, i will use changeFPS and nothing will be wrong. but the problem happened, there was an unacceptable delay for the subtitle (sub and audio goes together but not with the picture).

now, i use two methods with my video subtitling, the 1st compressing the video and the sub using megui.
and the 2nd joining that video with another two videos and the sub (avisynth script) then compress it with megui.

but neitherone did work (alway delay).

so this is my code

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

video1= aviSource("video1.avi", audio=true).BiCubicResize(1280,720)
video1= changeFPS(video1, 23)
video2= DirectShowSource("video2.mkv", audio=true).trim(0,17740)
video2= changeFPS(video2, 23)
video3= aviSource("video3.avi", audio=true).BiCubicResize(1280,720)
video3= changeFPS(video3, 23)
video4= DirectShowSource("video2.mkv", audio=true).trim(17740,36919)
video4= changeFPS(video4, 23)

video1 ++ video2++ video3 ++ video4

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\VSFilter.dll")
TextSub("video2.ass")

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

please respond to me

and just to notice, the avs file works perfectly in wmpc, megui (the screen i mean), vdubmod, and the screen of aegisub.
but not after compressing.

hope you have the answer.

shemoiu
31st July 2009, 02:10
When I open MeGUI, the screen of my pc blink very fast for many times alternating a black screen and Desktop. The cursor of mouse transform on a white small quadrate. At the left top you can see a prompt line. After that the interface of the program open, but when i try to open a file
show this message

OS: Windows XP SP 3
K-Lite Codec Pack (last version)

Quad Q6600
GeForce 9600 GT
2 GB DDR

sorry for my english



http://img56.imageshack.us/img56/2629/avisynth.jpghttp://img56.imageshack.us/img56/avisynth.jpg/1/w342.png

flebber
31st July 2009, 15:41
When I open MeGUI, the screen of my pc blink very fast for many times alternating a black screen and Desktop. The cursor of mouse transform on a white small quadrate. At the left top you can see a prompt line. After that the interface of the program open, but when i try to open a file
show this message

OS: Windows XP SP 3
K-Lite Codec Pack (last version)

Quad Q6600
GeForce 9600 GT
2 GB DDR

sorry for my english



http://img56.imageshack.us/img56/2629/avisynth.jpghttp://img56.imageshack.us/img56/avisynth.jpg/1/w342.png

Uninstall k-lite codec pack, install ffdshow and haali media splitter. Then test your avisynth install.

Kurtnoise
1st August 2009, 08:13
What happens is windows comes up saying that the program has crashed, after i accept it and windows closes it megui continues on with its other tasks
you mean AvimuxGUI or megui ? which OS did you use ?


- it's possible to reduce the processor using when i play a simple mp4 h264 ? (i mean when a computer read a mp4, offline or online, the processor work very hard i maybe there is a way to reduce that ?). that's depends maybe the bitrate use ?
bitrate, yes, and the settings used too...

- I don't understand the sytem of "keyframe"... Canwe change the number of keyframe with Megui ? (or avs script?). What is the rule ? i read that we must insert 1 keyframe every 5 second (so if my video make 1 minute, i just need 12 keyframe ?). there are a difference for the keyframe between progressive download and streaming ? (more keyframe for streaming ?).
Open the compressor configuration form, goes to the 2nd tab and change the min GOP size according to your desire.

nakTT
2nd August 2009, 07:42
Its been a while since I receive the last update (x264 latest version and other update) for MeGUI. Is there any issue with the update server or is it just me?

:thanks:

Kurtnoise
2nd August 2009, 09:06
It seems that Sharktooth has taken a break or something that's why you don't have any updates from the server. Meanwhile, you can update it by yourself (download & replace the old build by the new one). but if you do that, I'd say that to manage correctly the latest x264, you have to use the latest megui build from svn trunk. I can provide you a build if you want...

nakTT
2nd August 2009, 09:51
It seems that Sharktooth has taken a break or something that's why you don't have any updates from the server. Meanwhile, you can update it by yourself (download & replace the old build by the new one). but if you do that, I'd say that to manage correctly the latest x264, you have to use the latest megui build from svn trunk. I can provide you a build if you want...
Will the build from svn trunk that you have be compatible with existing MeGUI update server?

:thanks:

Kurtnoise
2nd August 2009, 10:33
if you don't use the latest x264 features, yes...

nakTT
2nd August 2009, 13:36
if you don't use the latest x264 features, yes...
I would definitely love to use the latest two options/features in the encoding setting. Anyway, thanks for offering me help.

:thanks:

Kurtnoise
2nd August 2009, 16:01
http://forum.doom9.org/showthread.php?p=1310844#post1310844

namus
2nd August 2009, 16:24
I have a DVD ripped with ripit4me, demuxed with DGIndex and avisynth script created with megui.

I wanted to do a 1 CD (700 MB) encode. I did 128 kbps MP3 encode for the audio and the filesize came to 57.6 MB. Then I used the bitrate calculator and the video bitrate came to be 1093 kbps. But when I use these settings and encode using the "XviD: 2 pass HQ (HomeTheatre)" preset, the output video size always comes close to 500 MB! Hence the muxed file size would be much lower than the target 700 MB.

This problem never happened when I did 700MB X264 encoding in megui or 1400 MB XviD/DivX encoding in virtualdubmod long ago. But since I never did 700 MB XviD in megui, I wanted to know whether it's a known bug, or I am doing something terribly wrong?

Thanks for any guidance. :)

nakTT
2nd August 2009, 18:10
http://forum.doom9.org/showthread.php?p=1310844#post1310844
Many thanks, mate.

:thanks:

SacredCultivator
3rd August 2009, 02:23
Not sure if this was asked... For some reason I'm using Win7 and meGUI doesn't seem to update at all.. I instlaled the latest version and can't update thigns as it shows that 1051 is still the latest and not 1052

m3mbran3
3rd August 2009, 03:15
I'm on Vista and have the same problem. Latest version can be downloaded from sourceforge. I'm guessing it is a separate process adding the update files somewhere which has not been done yet, I'm sure it will though.

SacredCultivator
3rd August 2009, 04:39
^Welleven when I had 1051, it wouldn't update either... And I'm sure the 1052 should be on that update list... But nothing showed up.. so I dl'ed the 1052 installer, but the updater still show 1051 as latest.. So not too sure if I was just doing something wrong or what.

EDIT:
Oh right,.. for my OS, I forgot to mention, 64-bit (Not too sure if that makes a difference)

2nd EDIT:
Nvm, does 'problem' relate to This Post (http://forum.doom9.org/showthread.php?p=1310709#post1310709)?

Kurtnoise
3rd August 2009, 08:32
http://forum.doom9.org/showthread.php?p=1311067#post1311067

SacredCultivator
3rd August 2009, 09:05
^Kurtnoise: Thanks ^^

m3mbran3
3rd August 2009, 15:29
I found some encoding settings I like that use the --preset and --tune properties of x264, is it possible to create a blank megui encoder settings template and just paste the settings I use in the Custom Command Line section?

I would still like to use megui's Queue system but megui does not support preset or tune yet. I'm guessing it would probably be much easier just to manually configure all the settings to match that of the preset and tune in x264.

edit: I just manually set the parameters to match and it was probably quicker than writing the original post.

Kurtnoise
3rd August 2009, 16:30
click me (http://www.mediafire.com/file/ttmhmd5tmay/MeGUI_20090803.zip)

m3mbran3
3rd August 2009, 17:18
thanks Kurtnoise. I like the way you have implemented it.

Only problem is that all options still have settings. i.e. if I select Placebo setting (subme=10) I still need to enter a subme value in the configuration. Perhaps either a. adjust subme selection based on --preset or have the option to leave it blank so that it just uses whatever the preset suggest. Of course this is true for other settings as well.

Kurtnoise
3rd August 2009, 17:43
yes...it's the next step.

Keiyakusha
4th August 2009, 04:20
This is just me, or after setting and AQmode2 in x264 configuration dialog if we open this settings again megui will set AQmode 1?
And about Turbo option. Now it should add "slow firstpass" to commandline when unchecked, or no?

Kurtnoise
4th August 2009, 06:41
This is just me, or after setting and AQmode2 in x264 configuration dialog if we open this settings again megui will set AQmode 1?
with the last release or with the last build 2 posts above ?

And about Turbo option. Now it should add "slow firstpass" to commandline when unchecked, or no?
that's the plan...and there will be also new things. ;)

Keiyakusha
4th August 2009, 14:49
with the last release or with the last build 2 posts above ?
With both... If I set AQmode2, its saved to .xml preset files but still if I open settings, it's became mode1...

Kurtnoise
4th August 2009, 15:58
ok...found why. Will be fixed for the next release.

Kurtnoise
5th August 2009, 12:54
yes...it's the next step.
see post #4559

Don't forget to backup the current one first...

Keiyakusha
5th August 2009, 14:56
If I set Advanced settings checkbox, I also need to change tunings from default to something else. Otherwise advanced options don't change the commandline. Is that how it should be? Also I don't understand how megui presets works now. If I set one, it turns off Advanced settings so I can't adjust them or at least see full commandline.

Yoshiyuki Blade
6th August 2009, 04:07
If I set Advanced settings checkbox, I also need to change tunings from default to something else. Otherwise advanced options don't change the commandline. Is that how it should be? Also I don't understand how megui presets works now. If I set one, it turns off Advanced settings so I can't adjust them or at least see full commandline.

Yeah it's a tad confusing at the moment, but I'm liking the direction of this :)

I have a suggestion, but I'm not sure how to properly describe it. Can the "Advanced Settings" checkbox be enabled regardless of the preset to allow further tuning? For example, right now, if I choose Preset Slower and Tune Animation, the command line will look like:

program --preset slower --tune animation --thread-input --output "output" "input"

But say if I hit "Advanced Settings," I'll be able to see all the individual adjustments that these specific presets/tunes did. And if I change a setting that diverges from the preset/tune I just specified, it'll simply add it to the end of the command line. For example, lets say I choose Preset Slower, Tune Animation. But now I go to Advanced Settings and change subme to 10 and aq-strength to 0.8. It'll look something like:

program --preset slower --tune animation --thread-input --output "output" "input" --subme 10 --aq-strength 0.8

x264 automatically prioritizes individual settings over the preset and tuning.

Kurtnoise
6th August 2009, 06:28
yeah, that I had in mind but apparently, it doesn't work as expected. Need more coffee...

Yoshiyuki Blade
6th August 2009, 07:18
Ah I see. But many thanks for your continued hard work :)

daWsOn_s
6th August 2009, 18:07
Problem, I did this a lot of other times and it worked.

I'm downconverting to stereo an ac3 5.1 audio track, when the process starts it eats all the RAM up and when there's no more it kills itself saying in the log that the memory is corrupted. If i keep all the channels so no downconverting it goes smooth. It's like it tries to save the temp WAVs to the RAM for the encoding. the exe which eats all the ram is megui.exe, is this a new bug or my problem?

this is the script

NicAc3Source("D:\THE_RING\VIDEO_TS\VTS_02_1 T80 3_2ch 448Kbps DELAY 0ms.ac3")

########################################
# [DSP: Resample SSRC - SlowDown 25->23.976]
########################################
SSRC(last, (AudioRate()*1001+480)/960).AssumeSampleRate(AudioRate(last))

posko
8th August 2009, 04:24
When I go to encode in MeGUI I immediately get an error. This is what the logfile says:

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1052
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Latest .Net Framework installed : 2.0 (2.0.50727.0)
-[Information] Hardware
--[NoImage] CPU : Intel Pentium III Xeon processor
-[Error] Log for job1 (video, joYnt-The-Movie_VIDEO.avs -> )
--[Information] [8/7/2009 6:12:30 PM] Started handling job
--[Information] [8/7/2009 6:12:30 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --profile high --pass 1 --bitrate 5250 --stats "C:\Documents and Settings\Administrator\My Documents\joYnt-The-Movie_VIDEO.stats" --ref 1 --no-mixed-refs --bframes 16 --b-adapt 2 --b-pyramid --direct temporal --deblock -2:-1 --subme 9 --trellis 0 --partitions all --qpmin 3 --ratetol 4.0 --qcomp 0.7 --b-bias 1 --me umh --merange 30 --thread-input --threads 2 --output NUL "C:\Documents and Settings\Administrator\My Documents\joYnt-The-Movie_VIDEO.avs"
--[Information] [8/7/2009 6:12:31 PM] Encoding started
--[Error] An error occurred: x264 [error]: can't open output file `NUL'
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [8/7/2009 6:12:31 PM] Job completed


I tried messing with settings, changing the name of the output file, etc. Nothing seems to work.

Any idea what the problem could be :confused:

GibsonXXI
8th August 2009, 11:51
Not sure if this is a bug, or i'm doing something wrong, but here goes:

Using Neuron2's NV tools added to MeGUI, specifically DGMPGIndexNV and DGMPGDecNV to process VOB's for processing in MeGUI I can't seem to get it to analyze the VOB correctly.

When you start an analysis, the status bar of the window shows "Analyzing!..." and the progress bar appears, but nothing happens after that. I can abort the analysis and select manual options and continue as normal, but analysis fails to occur.

The NV tools are working fine standalone. I am using Win7 RC1 x64 which I know is not officially supported yet, but I'm wondering if there's something specific in Win7 that's causing this, or if it's a bug in MeGUI.

Regular analysis with the standard DGIndex works as expected.

Another minor problem is that when closing MeGUI, sometimes the process remains in memory although the window has closed.

Any advice (other than not to use prerelease software with MeGUI) would be welcome. :)

Kurtnoise
8th August 2009, 14:23
it's a missing feature...only d2v files work with it for the moment.

Flux
8th August 2009, 17:53
How I can encode audio the way that output file will be in WAV format?

tebasuna51
8th August 2009, 18:46
How I can encode audio the way that output file will be in WAV format?
WAV is a container and support mp3, ac3, ... and also uncompressed PCM audio.

If you want uncompressed (not coded) PCM in WAV container you can use BeHappy instead MeGUI.

Kurtnoise
9th August 2009, 13:53
yeah, that I had in mind but apparently, it doesn't work as expected. Need more coffee...
see post #4559...

Keiyakusha
9th August 2009, 15:33
Second Try...

mirror 1 (http://www.mediafire.com/file/5m3mnymfbjf/MeGUI_20090809.zip)|mirror 2 (http://www.megaupload.com/?d=1OJYIHX0)

This one is much better.
What it seems to me a bug or missing feature:
Needs some cosmetic fixes ^_^
Checkbox for --no-psy should be added.
--slow-firstpass seems to be always active
Mixed reference frames checkbox seems to be always grayed out.

Kurtnoise
9th August 2009, 17:59
ok, thanks for the tests. Hopefully, it's correct now.

mirror 1 (http://www.mediafire.com/file/qnqmgm2tzdw/MeGUI_20090809.zip) | mirror 2 (http://www.megaupload.com/?d=YYDGNGMO)

Firebird
9th August 2009, 21:42
Turbo checkbox is not working for me.
And i think that b-pyramid should be unchecked when mbtree is on.

Kurtnoise
9th August 2009, 21:56
Turbo checkbox is not working for me.
it does...which mode did you try ?

And i think that b-pyramid should be unchecked when mbtree is on.
this is disabled by the x264 itself...

Firebird
9th August 2009, 22:27
Sorry, it works. My fault.
When turbo is on --slow-firstpass is not removing from command line, so i suggest that it is not working.
http://img174.imageshack.us/img174/2017/turbooff.png
http://img174.imageshack.us/img174/1466/turboon.png

Zverik
10th August 2009, 11:45
This has happened again.
Very often when two workers finish their audio tasks together, they both start processing the same video task.
How do they manage to finish simultaneously (right to millisecond) on different files — that I don't know. Probably something with file open/close delays.
When I told Worker 2 to abort its task, MeGUI crashed leaving no log files.
I have to specify which task which workers should do, or either I end up seeing a lot of errors in the morning log.
A troublesome bug.

Also, the rest of MeGUI works perfectly, thanks for this great tool.
0.3.1.1051

Kurtnoise
10th August 2009, 12:12
When turbo is on --slow-firstpass is not removing from command line, so i suggest that it is not working.
http://img174.imageshack.us/img174/2017/turbooff.png
http://img174.imageshack.us/img174/1466/turboon.png
fixed...

This has happened again.
Very often when two workers finish their audio tasks together, they both start processing the same video task.
How do they manage to finish simultaneously (right to millisecond) on different files — that I don't know. Probably something with file open/close delays.
When I told Worker 2 to abort its task, MeGUI crashed leaving no log files.
I have to specify which task which workers should do, or either I end up seeing a lot of errors in the morning log.
A troublesome bug.

Also, the rest of MeGUI works perfectly, thanks for this great tool.
0.3.1.1051
this is a known bug...that I'm not going to fix right now. I'd better rewrite the gui from scratch.

Yoshiyuki Blade
11th August 2009, 05:33
ok, thanks for the tests. Hopefully, it's correct now.

mirror 1 (http://www.mediafire.com/file/qnqmgm2tzdw/MeGUI_20090809.zip) | mirror 2 (http://www.megaupload.com/?d=YYDGNGMO)

Getting better and better! There's a couple issues I ran into:

- Hitting "Load Defaults" falls back to the "Fast" preset and adds --no-mbtree. Is this intended to be the default for MeGUI? If so, I understand. Also, from a purely visual standpoint, the preset name doesn't change when I hit Load Defaults. For example, I was on "Placebo" and hit Load Defaults. The preset reverted to Fast and --no-mbtree, but it still says "Placebo" at the top.

- I can't modify any settings that are already x264's defaults without using the custom command box. For example, if I choose --preset veryslow and --tune animation, I can't change the AQ strength to 1.0 because that was the default to begin with (--tune animation lowers AQ to 0.6 among other things). So either I have to add --aq-strength 1.0 in the custom commands, or use something other than aq-strength 1.0 (like 1.01). It's a minor thing though.

- The "Default" button under Misc. tab and Input/Output gives a strange command line:

program --level 1 --bitrate 23 --thread-input --output "output" "input"

nakTT
11th August 2009, 05:37
Hi,

In MeGUI I can see "V.U.I" option with a "Full Range" checkbox. May I know what its mean and what is it for?

nakTT
11th August 2009, 08:40
I get this error when I try to re-encode my *.mp4 Video file. See screenshot below:

http://img193.imageshack.us/img193/2972/errorbty.jpg (http://img193.imageshack.us/i/errorbty.jpg/)

dud
11th August 2009, 22:19
I'm getting this error when trying to use the chapter creator.

http://img26.imageshack.us/img26/3320/erroreqz.png

SacredCultivator
12th August 2009, 02:00
Hmmm unless I missed it somewhere, how does Auto-variance AQ work? Kinda interested in that.

Thanks.

minda76
12th August 2009, 10:31
MeGui still crashing from version 0.3.1.1036 in one click encoder:

<?xml version="1.0" ?>
- <TaggedJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<EncodingSpeed />
- <Job xsi:type="IndexJob">
<Input>C:\dvd\namas\VTS_01_1.VOB</Input>
<Output>C:\Filmai\namas.d2v</Output>
<FilesToDelete />
<LoadSources>false</LoadSources>
<DemuxVideo>false</DemuxVideo>
<DemuxMode>1</DemuxMode>
- <AudioTracks>
- <AudioTrackInfo>
- <TrackInfo>
<Language>Russian</Language>
</TrackInfo>
<Language>Russian</Language>
<TrackIDx>80</TrackIDx>
<TrackID>128</TrackID>
<ContainerType>MPEG-PS</ContainerType>
<Index>0</Index>
<Type>AC-3</Type>
<NbChannels>6 channels</NbChannels>
<SamplingRate>48.0 KHz</SamplingRate>
</AudioTrackInfo>
</AudioTracks>
- <PostprocessingProperties>
<AudioJobs />
- <DirectMuxAudio>
- <MuxStream>
<path>::128::</path>
- <TrackInfo>
<Language>Russian</Language>
</TrackInfo>
<delay>0</delay>
<language>Russian</language>
</MuxStream>
</DirectMuxAudio>
<AutoDeinterlace>true</AutoDeinterlace>
<AutoDeriveAR>false</AutoDeriveAR>
<SignalAR>false</SignalAR>
<AutoCrop>true</AutoCrop>
<KeepInputResolution>false</KeepInputResolution>
<PrerenderJob>false</PrerenderJob>
<HorizontalOutputResolution>720</HorizontalOutputResolution>
<ContainerTypeString>AVI</ContainerTypeString>
- <OutputSize>
<Bytes>1565523968</Bytes>
<KB>1528832</KB>
<KBExact>1528832</KBExact>
<MB>1493</MB>
<MBExact>1493</MBExact>
<GB>1</GB>
<GBExact>1.4580078125</GBExact>
</OutputSize>
<Splitting xsi:nil="true" />
<DAR xsi:nil="true" />
- <AvsSettings>
<Mod16Method>none</Mod16Method>
<Resize>true</Resize>
<Template><input> <deinterlace> <crop> <resize> <denoise></Template>
<ResizeMethod>Spline64</ResizeMethod>
<DenoiseMethod>MinimalNoise</DenoiseMethod>
<Deinterlace>false</Deinterlace>
<Denoise>false</Denoise>
<IVTC>false</IVTC>
<MPEG2Deblock>true</MPEG2Deblock>
<ColourCorrect>true</ColourCorrect>
<DSS2>false</DSS2>
</AvsSettings>
- <VideoSettings xsi:type="xvidSettings">
<EncodingMode>4</EncodingMode>
<BitrateQuantizer>1000</BitrateQuantizer>
<KeyframeInterval>250</KeyframeInterval>
<NbBframes>1</NbBframes>
<MinQuantizer>2</MinQuantizer>
<MaxQuantizer>31</MaxQuantizer>
<Turbo>false</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>true</Trellis>
<CreditsQuantizer>32</CreditsQuantizer>
- <FourCCs>
<string>XVID</string>
<string>DIVX</string>
<string>DX50</string>
<string>MP4V</string>
</FourCCs>
<Logfile>.stats</Logfile>
<VideoName />
<CustomEncoderOptions />
<FourCC>0</FourCC>
<MaxNumberOfPasses>2</MaxNumberOfPasses>
<NbThreads>3</NbThreads>
<Quantizer>1000</Quantizer>
<MotionSearchPrecision>6</MotionSearchPrecision>
<VHQMode>4</VHQMode>
<MinPQuant>2</MinPQuant>
<MaxPQuant>31</MaxPQuant>
<MinBQuant>2</MinBQuant>
<MaxBQuant>31</MaxBQuant>
<BQuantRatio>150</BQuantRatio>
<BQuantOffset>100</BQuantOffset>
<KeyFrameBoost>100</KeyFrameBoost>
<KeyframeThreshold>1</KeyframeThreshold>
<KeyframeReduction>20</KeyframeReduction>
<OverflowControlStrength>5</OverflowControlStrength>
<MaxOverflowImprovement>5</MaxOverflowImprovement>
<MaxOverflowDegradation>5</MaxOverflowDegradation>
<HighBitrateDegradation>30</HighBitrateDegradation>
<LowBitrateImprovement>15</LowBitrateImprovement>
<ReactionDelayFactor>16</ReactionDelayFactor>
<AveragingPeriod>100</AveragingPeriod>
<FrameDropRatio>0</FrameDropRatio>
<RateControlBuffer>0</RateControlBuffer>
<XvidProfile>0</XvidProfile>
<VbvPeakRate>0</VbvPeakRate>
<VbvMaxRate>0</VbvMaxRate>
<VbvBuffer>0</VbvBuffer>
<PackedBitstream>true</PackedBitstream>
<GMC>false</GMC>
<ChromaMotion>true</ChromaMotion>
<ClosedGOP>true</ClosedGOP>
<VHQForBframes>true</VHQForBframes>
<AdaptiveQuant>false</AdaptiveQuant>
<Interlaced>false</Interlaced>
<BottomFieldFirst>true</BottomFieldFirst>
<LumiMasking>false</LumiMasking>
<BframeThreshold>0</BframeThreshold>
<QuantizerMatrix>D:\Soft\Video\Matrices\eqm_v3lr.xcm</QuantizerMatrix>
</VideoSettings>
<CustomAR>1</CustomAR>
<ChapterFile>C:\dvd\namas\VTS_01 - Chapter Information - OGG.txt</ChapterFile>
<FinalOutput>C:\Filmai\namas.avi</FinalOutput>
<DeviceOutputType>Standard</DeviceOutputType>
<UseChaptersMarks>false</UseChaptersMarks>
</PostprocessingProperties>
</Job>
<RequiredJobNames />
<EnabledJobNames />
<Name>job1</Name>
<Status>WAITING</Status>
<Start>0001-01-01T00:00:00</Start>
<End>0001-01-01T00:00:00</End>
</TaggedJob>

Raere
12th August 2009, 18:26
In .1053, the x264 config window is pretty buggy. If automated 2pass and turbo are selected, a bunch of options are grayed out. I have to manually enqueue both passes so that the 2nd pass can have the more advanced options.

owais
13th August 2009, 03:19
guys i m experiencing low fps while encoding using x264. I have try several patches but fps remain same
previously while encoding anime i was getting fps around 50 in avs-script
now only 10 fps
so please if there is any solution kindly or harshly tell me

buzzqw
14th August 2009, 15:16
post avs script and preset used

BHH

owais
14th August 2009, 15:24
avsscript was empty just a command for the source

poisondeathray
14th August 2009, 15:40
@owais - same encoding conditions? You're not surfing or playing games that could steal cpu cycles?

buzzqw
14th August 2009, 16:05
...maybe related to decoding

are you using DSS ?

BHH

DeWTurk
14th August 2009, 18:23
I didn't understand

error

@edit: rule 6 should be pretty clear to everybody!

avdw
14th August 2009, 19:06
Pirate detected !!!! :mad:

MODS, There is a pirate here !!!! :mad::mad::mad:

SquallMX
15th August 2009, 03:00
In .1053, the x264 config window is pretty buggy. If automated 2pass and turbo are selected, a bunch of options are grayed out. I have to manually enqueue both passes so that the 2nd pass can have the more advanced options.

Same problem here :eek:.

Jorsher
15th August 2009, 04:55
i like applesauce

m0nkie
16th August 2009, 21:02
when encoding audio file output file has very distinguishable click (sound of the click) in the beginning. i found out it disappears when i uncheck 'normalize peeks'. is there a solution for using normalize?

owais
16th August 2009, 21:29
guys what is the latest version? i m having build 1051, is this the latest one?

p.s i just went to megui sourceforge bla bla there was 1053

St Devious
16th August 2009, 22:12
guys what is the latest version? i m having build 1051, is this the latest one?

p.s i just went to megui sourceforge bla bla there was 1053

megui hasn't updated anything in a while, don't know what's up

cy
16th August 2009, 22:15
Hi,

Not sure if i should ask this here or in the AVC forum, but anyway;

I've been wondering if it's "normal" that when thread input is set to "0" (auto), my cpu (q9450 @ 3.4GHz) usage
never reaches 100%, but fluctuates between 65% and 97%, with ~75% being the average.

I seem to remember that when i had a dualcore cpu (E6600), cpu usage always was at 100% when encoding.

I don't think avisynth is bottlenecking anything, because i don't use cpu intensive filters or such.
Here's an example of a script i might use:

# Set DAR in encoder to 37 : 20. The following line is for automatic signalling
global MeGUI_darx = 37
global MeGUI_dary = 20
DGDecode_mpeg2source("Y:\MOVIES\Absence of Malice (1981) PAL DVD\VIDEO_TS\VTS_02_1.d2v", info=3)
ColorMatrix(hints=true, threads=0)
crop( 10, 12, -10, -16)
Undot() # Minimal Noise

I've been doing some testing and i've noticed, that when i manually change the thread input to something higher
than 6 threads, cpu usage goes up and so does fps encoding rate.
I need to at least set threading to 10 or 12 to fully saturate the cpu.

For example, using the above script to encode a pal dvd with:

- unrestricted 1 pass const. quality HQ
- tuning = film
- CRF18
- threads=0
- otherwise default settings

program --profile high --preset fast --tune film --crf 18 --thread-input --deblock -1:-1 --b-adapt 2 --b-pyramid
--ref 5 --no-mbtree --me umh --subme 6 --partitions all --trellis 2 --output "output" "input"

encoding speed is ~20.5 fps.

However, if i manually set threads=10, i get 99-100% cpu usage and ~26.8 fps, which is a ~30% speedup.

I've searched around to find more information regarding threading and cpu usage, especially with quadcore cpu's without hyperthreading, but
haven't found conclusive information, so i'm still wondering if this is "normal" or not.
I thought leaving threading at 0 (auto), which in my case would make 6 threads ( 4x 1.5) would be the best, but this doesn't seem to be the case.

Are there any "important" downsides to me upping the threading to 10 or 12 to saturate my cpu?
Are there folks with a quadcore cpu who get 100% cpu usage and max encoding speed with threads set to auto?

(Btw, i'm using the latest megui and x.264, avisynth 2.5.8, ffdshow beta6 rev 2527)

St Devious
17th August 2009, 00:25
strange errors with 1053

http://i25.tinypic.com/2qscdo9.png

ztomic
17th August 2009, 01:20
--[NoImage] Standard error stream: C:\Program Files\megui\tools\x264\x264.exe: unrecognised option `--no-mbtree'

Just installed megui and got this error on first job try. Fixed with x264 r.1206 downloaded from sharktooth-- see post http://forum.doom9.org/showthread.php?t=89979

tebasuna51
17th August 2009, 02:00
when encoding audio file output file has very distinguishable click (sound of the click) in the beginning. i found out it disappears when i uncheck 'normalize peeks'. is there a solution for using normalize?

Please :logfile: and samples (short samples is enough).

owais
17th August 2009, 02:05
i m alive !!!


but i hav seen latest version of x264 1210

SacredCultivator
17th August 2009, 09:27
Just wondering... with the new patches for x264(1210), mkvmerge(2.9.8), nicaudio(2009-08-12), anyone NOT able to update to the latest?

When I try to update those three I get:
---
Updating x264. File 1/3.
Updating mkvmerge. File 2/3.
Updating nicaudio. File 3/3.
Update completed.
0 file was completed successfully
3 files had problems.
---



---
EDIT:
Nevermind, seemed to have fixed itself after trying again.

easy2Bcheesy
18th August 2009, 11:07
Oops... answered earlier!

m3mbran3
18th August 2009, 16:10
megui hasn't updated anything in a while, don't know what's up

I'm not sure what has happened to the original megui update servers but they have not been updated for a while. i'm using a server kurtnoise mentioned somewhere in this thread, you can add it by going to the settings then

extra config -> configure servers

delete what you have and add

http://kurtnoise.free.fr/MeGUI/

I'm not sure on how upto date it is with the various programs but it is picking up 0.3.1.1053 as the latest version.

St Devious
18th August 2009, 16:22
I'm not sure what has happened to the original megui update servers but they have not been updated for a while. i'm using a server kurtnoise mentioned somewhere in this thread, you can add it by going to the settings then

extra config -> configure servers

delete what you have and add

http://kurtnoise.free.fr/MeGUI/

I'm not sure on how upto date it is with the various programs but it is picking up 0.3.1.1053 as the latest version.


thank you

nakTT
18th August 2009, 16:34
I'm not sure what has happened to the original megui update servers but they have not been updated for a while. i'm using a server kurtnoise mentioned somewhere in this thread, you can add it by going to the settings then

extra config -> configure servers

delete what you have and add

http://kurtnoise.free.fr/MeGUI/

I'm not sure on how upto date it is with the various programs but it is picking up 0.3.1.1053 as the latest version.
That link is for experimental version. The 'official' version is still unchanged.

m3mbran3
18th August 2009, 17:18
I like to live life on the edge ;)

chuck67
18th August 2009, 21:27
will i need a codec pack installed before i install meGui?

St Devious
18th August 2009, 21:29
will i need a codec pack installed before i install meGui?

no, just install Avisynth, ffdshow tryout and Haali Splitter and you should be fine.

nurbs
18th August 2009, 21:31
No, in fact it's not recommended to install codec packs. It might be helpful if you installed ffdshow (http://sourceforge.net/projects/ffdshow-tryout/).

edit:
Late again. I agree with everything St Devious said.

chuck67
19th August 2009, 03:17
ok thank u guys for ur help.

Rodger
20th August 2009, 00:27
I found a bug! But it has to be added recently?!
I´m sure otherwise I´d have it noticed quicker.

See the video HERE (http://rapidshare.de/files/48158940/Bug.ts.html) for what I mean.

greetz
Rodger

rapscallion
20th August 2009, 14:59
I'm processing an BD mpeg2 stream and the ffdshow video setting gives 2 choices for the codec, libmpeg2 or libavcodec.

I've done a search and can't find info on which one is preferred. They both work, however in the video preview libav starts the video a a few frames later, with a pixelated screen (still). Once play is started it's fine. I don't know if that's significant, so thought I'd ask here which one to use?

SacredCultivator
20th August 2009, 17:47
I was just wondering if I prefer to use 1pass Const. Quality (x264), but at the same time would like to have it be compatible with many players, or at least as many as possible, what settigns might I need to take into consideration of changing in order to have best playback playability for DVD Players/Consoles/iPhone.

The settings I currently use are:
http://www.sendspace.com/file/w5zo8o

I know there are 2-pass presets that do this, but I prefer to use 1pass as I don't mind for the size output.

Thanks.

j8ee
21st August 2009, 22:47
You must use the lowest denominator for the various devices you want to use. You will have to go through the specifications of each device and check what it can play, and encode for the least advanced one.

Krawhitham
21st August 2009, 23:43
I setup a new rig to encode faster, on my 1st job I noticed the 2nd pass is more than twice as fast as the 1st (17fps vs 7fps). Using AVCHD preset (x264), turbo checked. On my old rig the 1st pass was always a lot faster than the 2nd pass, what am I doing wrong.

Source is from HDTV capture. here is the AVS file

DGDecode_mpeg2source("movie.d2v", info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=1).tdecimate()
crop( 0, 134, 0, -130)
AddBorders(0, 134, 0, 130)

Firebird
22nd August 2009, 00:50
I setup a new rig to encode faster, on my 1st job I noticed the 2nd pass is more than twice as fast as the 1st (17fps vs 7fps). Using AVCHD preset (x264), turbo checked. On my old rig the 1st pass was always a lot faster than the 2nd pass, what am I doing wrong.

Source is from HDTV capture. here is the AVS file

DGDecode_mpeg2source("movie.d2v", info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(order=1).tdecimate()
crop( 0, 134, 0, -130)
AddBorders(0, 134, 0, 130)

It is a bug of megui, turbo is not working.

SacredCultivator
22nd August 2009, 01:30
You must use the lowest denominator for the various devices you want to use. You will have to go through the specifications of each device and check what it can play, and encode for the least advanced one.

I see, bah, if going by least advanced, the quality output probably isn't really worth it I suppose.

tomos
22nd August 2009, 06:47
no idea what's happened but can't encode anything now with x264. i keep getting the same error. updated x264 to the one from sharktooths thread but it's the same. error =

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1023
--[NoImage] OS : Windows Seven x64 (6.1.0.7100)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.4918)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
-[Information] Log for job5 (video, SM.avs -> )
--[Information] [22/08/2009 06:43:01] Started handling job
--[Information] [22/08/2009 06:43:01] Preprocessing
--[NoImage] Job commandline: "D:\megui\tools\x264\x264.exe" --pass 1 --bitrate 3750 --stats "B:\SM.stats" --level 4.1 --bframes 6 --b-adapt 2 --weightb --direct auto --deblock -1:-1 --subme 2 --partitions none --vbv-bufsize 50000 --vbv-maxrate 50000 --ratetol 4.0 --me dia --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output NUL "B:\SM.avs"
--[Information] [22/08/2009 06:43:02] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream: D:\megui\tools\x264\x264.exe: unrecognised option `--progress'
--[Information] [22/08/2009 06:43:02] Job completed


i did a forced upgrade on everything just in case but it's still the same. ok, what did i break?

Betsy25
23rd August 2009, 15:28
Sorry for this rather OT question, but has anyone of you heard about SharkTooth lately, is he OK, taking a break, or is he in not so good condition ? :confused:

SacredCultivator
23rd August 2009, 15:39
@Betsy25: There was a link and I forget where but Sharktooth is on Summer Break so there are no updates made to MeGUI through him currently.

PlazzTT
23rd August 2009, 18:47
I can reproduce this bug every time:

Go to x264 config
Load default
Choose "2pass - 1st pass" mode
Check "Turbo" option
--ref 1, --subme 2 and a few others are added to the command line.
De-activate Turbo and they're still there.

detmek
24th August 2009, 22:25
Hi. I'm using MeGUI 0.3.1.1051 (same problem with 1053) and I have a problem when I try to convert DVD to MKV(x264/AAC). Problem occur when I try to convert sound. I get this error message from MeGUI:

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1051
--[NoImage] OS : Windows XP Professional x86 SP2 (5.1.131072.2600)
--[NoImage] Framework used : 2.0 (2.0.50727.42)
-[Information] Hardware
--[NoImage] CPU : AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
-[Information] Log for job1 (idx, VTS_01_1.VOB -> VTS_01_1.d2v)
--[Information] [8/24/2009 10:25:56 PM] Started handling job
--[Information] [8/24/2009 10:25:56 PM] Preprocessing
--[NoImage] Job commandline: "D:\Program Files\megui\tools\dgindex\dgindex.exe" -SD=< -AIF=<C:\RES_EVIL\VIDEO_TS\VTS_01_1.VOB< -OF=<C:\MeGUI Output\VTS_01_1< -exit -hide -OM=1 -TN=80
--[Information] [8/24/2009 10:25:56 PM] Indexing started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [8/24/2009 10:28:12 PM] Running auto force film
---[NoImage] Film percentage: -1
--[Information] [8/24/2009 10:28:13 PM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [8/24/2009 10:28:17 PM] Job completed
-[Error] Log for job1 (audio, VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.ac3 -> VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.mp4)
--[Information] [8/24/2009 11:06:17 PM] Started handling job
--[Information] [8/24/2009 11:06:17 PM] Preprocessing
--[NoImage] Avisynth script
---[NoImage] NicAc3Source("C:\MeGUI Output\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.ac3", DRC=1)
---[NoImage] Normalize()
---[NoImage] return last
--[NoImage] Commandline used: -ignorelength -q 0.35 -if - -of "{0}"
--[Information] [8/24/2009 11:06:17 PM] Encoding started
--[Information] [8/24/2009 11:06:17 PM] Encode thread started
--[Information] [8/24/2009 11:06:17 PM] Avisynth script environment opened
--[Information] [8/24/2009 11:06:17 PM] Script loaded
--[Information] Output Decoder
---[NoImage] Channels: 5
---[NoImage] Bits per sample: 32
---[NoImage] Sample rate: 48000
--[NoImage] Commandline: D:\Program Files\megui\tools\NeroAAC\neroAacEnc.exe -ignorelength -q 0.35 -if - -of "C:\MeGUI Output\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.mp4"
--[Information] [8/24/2009 11:06:17 PM] Encoder process started
--[Error] An error occurred
---[NoImage] Exception message: The pipe has been ended.
---[NoImage] Stacktrace
----[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
----[NoImage] at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
----[NoImage] at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[NoImage] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2008 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Sep 17 2008 *
---[NoImage] * Package version: 1.3.3.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[NoImage] Output from encoder via stdout: ERROR: could not open AAC encoder
--[Information] [8/24/2009 11:08:42 PM] Job completed
I have checked Apply Dynamic Range Compression, Downmix multichannel to stereo (or keep original channels), Keep original sample rate and Normalize Peaks to 100%.
I don't have this problem if i check Force Decoding via DirectShow.
Does anyone know what is the problem?

tebasuna51
24th August 2009, 23:27
Hi. I'm using MeGUI 0.3.1.1051 (same problem with 1053) and I have a problem when I try to convert DVD to MKV(x264/AAC). Problem occur when I try to convert sound. I get this error message from MeGUI:
...
Does anyone know what is the problem?

The problem is the non standard audio input:
...
Channels: 5
...
NeroAacEnc don't support 5 channels and exit.

If you want downmix to 2 channels, DRC and Normalize you can use this avs script like MeGUI audio input:
NicAc3Source("C:\MeGUI Output\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.ac3", Channels=2, DRC=1)
Normalize()

detmek
25th August 2009, 08:35
As far as I know. Nero AAC does support multichannel audio input and output. And I have the same problem even if I set Downmix multichannel to stereo.
OK. I will do more tests and try to convert this audio to multichannel AAC with different tool to AAC and I will try your script.

Thanks. Your script works. Btw. I tried with OGG without your script and it doesnt work eather.
This is log.
--[NoImage] Avisynth script
---[NoImage] NicAc3Source("C:\MeGUI Output\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.ac3", DRC=1)
---[NoImage] 6<=Audiochannels(last)?x_stereo164017e838f14bed90856b4fd1d126dc(ConvertAudioToFloat(last)):last
---[NoImage] Normalize()
---[NoImage] 6==Audiochannels(last)?GetChannel(last,1,3,2,5,6,4):last
---[NoImage] return last
---[NoImage] function x_stereo164017e838f14bed90856b4fd1d126dc(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: -Q --ignorelength --quality 4.0 -o "{0}" -
--[Information] [8/25/2009 1:03:56 PM] Encoding started
--[Information] [8/25/2009 1:03:56 PM] Encode thread started
--[Information] [8/25/2009 1:03:56 PM] Avisynth script environment opened
--[Information] [8/25/2009 1:03:58 PM] Script loaded
--[Information] Output Decoder
---[NoImage] Channels: 5
---[NoImage] Bits per sample: 32 -Is this means that my audio is 32bit instead 16bit?
---[NoImage] Sample rate: 48000
--[NoImage] Commandline: D:\Program Files\megui\tools\oggenc2\oggenc2.exe -Q --ignorelength --quality 4.0 -o "C:\MeGUI Output\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.ogg" -
--[Information] [8/25/2009 1:03:58 PM] Encoder process started
--[Error] An error occurred
---[NoImage] Exception message: The pipe has been ended.
---[NoImage] Stacktrace
----[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
----[NoImage] at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
----[NoImage] at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null

Sorry. It works with OGG. I just forgot that I put old Lancer version in MeGUI tools folder.

tebasuna51
25th August 2009, 12:46
As far as I know. Nero AAC does support multichannel audio input and output.
Don't support 5.0.
If you want multichannel you can insert a empty LFE channel using this avs file:
a=NicAc3Source("C:\MeGUI Output\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.ac3")
f=GetChannel(a, 1, 2)
c=GetChannel(a, 3)
l=GetChannel(a, 3).Amplify(0)
b=GetChannel(a, 4, 5)
MergeChannels(f, c, l, b)

And I have the same problem even if I set Downmix multichannel to stereo.
The (abbreviated) line in the script:
6<=Audiochannels(last)?x_stereo:last
only work for 6 or more channels, then MeGUI can't Downmix 5.0 to 2.0, but NicAc3Source can do it (Channels=2)

Btw. I tried with OGG without your script and it doesnt work eather.
Same problem than aac.
Use GetChannel(last,1,3,2,5,6,4) in previous avs if you want ogg multichannel output.

Edit: forget last question:
Bits per sample: 32 -Is this means that my audio is 32bit instead 16bit?
The NicAudio decoders output always 32 bits float to preserve the maximum accurate.
The lossy formats (mp3,ac3,dts,aac,ogg) don't have a bitdepth defined, the quality measure is the bitrate.

Edit 2: Because your edit:
Sorry. It works with OGG. I just forgot that I put old Lancer version in MeGUI tools folder.
Warning, If you have a 5.0 ogg file the channel map is wrong because
6==Audiochannels(last)?GetChannel(last,1,3,2,5,6,4):last
don't work, if you want a 5.0 ogg file you need:
a=NicAc3Source("C:\MeGUI Output\VTS_01_1 T80 3_2ch 448Kbps DELAY 0ms.ac3")
5==Audiochannels(last)?GetChannel(last,1,3,2,4,5):last

detmek
25th August 2009, 13:25
Thank you very much. So, the problem was 5 channel audio. It did work with DirectShow because FFDShow is set to stereo output.
I just tried to convert another DVD with 6-channel audio and AAC works just fine keeping all 6 channels.
Thanks again.:-)

[BMC]
26th August 2009, 12:48
http://www.dadepc.com/megui_error.jpg

This is my first attempt using MeGui and I have no idea why I'm getting this error. Also when I play the avs in Media Player Classic, the video playback is extremely jumpy. Any help will be appreciated.

gizmo27
26th August 2009, 12:58
Can you post the log file content please ?

[BMC]
26th August 2009, 16:54
[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1053
--[NoImage] OS : Windows Seven x64 (6.1.0.7600)
--[NoImage] Latest .Net Framework installed : 2.0 (2.0.50727.0)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz
-[Information] Log for job1 (video, T2_Video - .avs -> crock.mkv)
--[Information] [8/26/2009 2:38:55 PM] Started handling job
--[Information] [8/26/2009 2:38:55 PM] Preprocessing
--[NoImage] Job commandline: "E:\Program Files (x86)\megui\tools\x264\x264.exe" --profile high --level 4.1 --preset fast --pass 2 --bitrate 4000 --stats "M:\CROCK3\crock.stats" --thread-input --b-pyramid --ref 5 --no-mbtree --me umh --subme 8 --partitions all --no-fast-pskip --output "M:\CROCK3\crock.mkv" "M:\CROCK3\T2_Video - .avs"
--[Information] [8/26/2009 2:38:55 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream: E:\Program Files (x86)\megui\tools\x264\x264.exe: unrecognised option `--no-mbtree'
--[Information] [8/26/2009 2:38:55 PM] Job completed
-[Information] AutoEncode job generation log
--[NoImage] Desired Size : 4.38 GB
--[NoImage] Split Size : null
--[Information] Eliminating duplicate filenames
---[NoImage] Video output file: M:\CROCK3\crock.mkv
---[NoImage] Muxed output file: M:\CROCK3\crock-muxed.mkv
-[Information] Log for job2 (video, T2_Video - .avs -> )
--[Information] [8/26/2009 2:44:02 PM] Started handling job
--[Information] [8/26/2009 2:44:02 PM] Preprocessing
---[Information] Bitrate calculation for video
----[NoImage] Desired size after subtracting audio: 4409036KBs
----[NoImage] Calculated desired bitrate: 4799kbit/s
--[NoImage] Job commandline: "E:\Program Files (x86)\megui\tools\x264\x264.exe" --profile high --level 4.1 --preset fast --pass 1 --bitrate 4799 --stats "M:\CROCK3\crock.stats" --slow-firstpass --thread-input --deblock -1:-1 --b-adapt 2 --direct auto --ref 4 --vbv-bufsize 50000 --vbv-maxrate 50000 --no-mbtree --merange 32 --me tesa --subme 9 --partitions p8x8,b8x8,i4x4,i8x8 --trellis 2 --no-dct-decimate --no-fast-pskip --output NUL "M:\CROCK3\T2_Video - .avs"
--[Information] [8/26/2009 2:44:03 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream: E:\Program Files (x86)\megui\tools\x264\x264.exe: unrecognised option `--no-mbtree'
--[Information] [8/26/2009 2:44:03 PM] Job completed

I tried with 2 different profiles and got this log. Thanks.

lucamark
27th August 2009, 09:17
;1318802'][Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1053
--[NoImage] OS : Windows Seven x64 (6.1.0.7600)
--[NoImage] Latest .Net Framework installed : 2.0 (2.0.50727.0)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz
-[Information] Log for job1 (video, T2_Video - .avs -> crock.mkv)
--[Information] [8/26/2009 2:38:55 PM] Started handling job
--[Information] [8/26/2009 2:38:55 PM] Preprocessing
--[NoImage] Job commandline: "E:\Program Files (x86)\megui\tools\x264\x264.exe" --profile high --level 4.1 --preset fast --pass 2 --bitrate 4000 --stats "M:\CROCK3\crock.stats" --thread-input --b-pyramid --ref 5 --no-mbtree --me umh --subme 8 --partitions all --no-fast-pskip --output "M:\CROCK3\crock.mkv" "M:\CROCK3\T2_Video - .avs"
--[Information] [8/26/2009 2:38:55 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream: E:\Program Files (x86)\megui\tools\x264\x264.exe: unrecognised option `--no-mbtree'
--[Information] [8/26/2009 2:38:55 PM] Job completed
-[Information] AutoEncode job generation log
--[NoImage] Desired Size : 4.38 GB
--[NoImage] Split Size : null
--[Information] Eliminating duplicate filenames
---[NoImage] Video output file: M:\CROCK3\crock.mkv
---[NoImage] Muxed output file: M:\CROCK3\crock-muxed.mkv
-[Information] Log for job2 (video, T2_Video - .avs -> )
--[Information] [8/26/2009 2:44:02 PM] Started handling job
--[Information] [8/26/2009 2:44:02 PM] Preprocessing
---[Information] Bitrate calculation for video
----[NoImage] Desired size after subtracting audio: 4409036KBs
----[NoImage] Calculated desired bitrate: 4799kbit/s
--[NoImage] Job commandline: "E:\Program Files (x86)\megui\tools\x264\x264.exe" --profile high --level 4.1 --preset fast --pass 1 --bitrate 4799 --stats "M:\CROCK3\crock.stats" --slow-firstpass --thread-input --deblock -1:-1 --b-adapt 2 --direct auto --ref 4 --vbv-bufsize 50000 --vbv-maxrate 50000 --no-mbtree --merange 32 --me tesa --subme 9 --partitions p8x8,b8x8,i4x4,i8x8 --trellis 2 --no-dct-decimate --no-fast-pskip --output NUL "M:\CROCK3\T2_Video - .avs"
--[Information] [8/26/2009 2:44:03 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream: E:\Program Files (x86)\megui\tools\x264\x264.exe: unrecognised option `--no-mbtree'
--[Information] [8/26/2009 2:44:03 PM] Job completed

I tried with 2 different profiles and got this log. Thanks.

I think you should update your x264.exe...

[BMC]
27th August 2009, 11:06
Thanks, I did and that solved the problem but when encoding the first pass took as long as second. From what I've been reading that shouldn't be the case.

[NoImage] Job commandline: "E:\Program Files (x86)\megui\tools\x264\x264.exe" --profile high --level 4.1 --preset fast --pass 2 --bitrate 4799 --stats "M:\CROCK3\T2_Video - _0.stats" --thread-input --b-pyramid --ref 5 --no-mbtree --me umh --subme 8 --partitions all --no-fast-pskip --output "M:\CROCK3\T2_Video - _0.mkv" "M:\CROCK3\T2_Video - .avs"

Is there a way to reduce the time for my first pass?

Teddl
27th August 2009, 12:56
Hi there!
Is there a way to reduce the time for my first pass?
Enable the Turbo next to mode? In the window you see below the --slow-firstpass should dissapear when you enable Turbo.
If it works, I don't know.

I've noticed, a click on Megui's "Load Default" changes settings that are default as stated in the MeWiki (http://mewiki.project357.com/wiki/X264_Settings#fast_1st_pass) which I use often for reference.
Maybe it's like that even when Megui is just installed.. don't know.

bpyramid & mbtree in Megui is also not like the default preset settings.


For example, I've run 100 jobs thinking mbtree was enabled, but it wasn't. At least Megui did not disable b-pyramid when a preset with it was selected (I hope so).
b-pyramid has to be disabled or is disabled if mb-tree is used, right?
Maybe this is hard to force in Megui settings (switching b-pyramid off if mbtree is on) Explains, why there are not many new MeGui updates 'cause they wait until b-pyramid and mbtree works together?

Best wishes, I hope I did not write too much trash in my first post. :)
Teddl

chuck67
27th August 2009, 15:02
Could someone tell me y my converted .mkv files have no audio? the only have one audio stream and all my other converted vids have sound. :/ is there an extra option or something i gotta tick in meGUI? oh and does No DCT decimation improve quality or degrade quality?

JarrettH
27th August 2009, 18:34
what was the source?
if you used mkv to keep ac3 audio, do you have ac3filter installed?

flebber
31st August 2009, 02:59
I am having trouble settings values for the chapter editor for a vob file. I am constantly receiving pop errors like this.

http://farm3.static.flickr.com/2504/3873131210_c1fb72bbc5_o.jpg

Zverik
31st August 2009, 13:59
Hello again.
Here in Russia we have all kinds of problems with charsets. For example, when encoding movie with english subtitles, it's often better to set subtitle charset to 'ANSI' instead of system-default cyrillic, or acuted characters will be replaced with russian gibberish.
This is done in avisynth with line 'TextSub("subtitle-file",0)'. In MeGUI's AVS Script Creator I can manually fix all the scripts it produces, but it's rather troublesome.
So, the question is: where I can edit something to make AVS SC include charset parameter in TextSub call?

mshoward82
1st September 2009, 03:57
I am having trouble muxing the audio and video together on one of my movies. I usually don't have too many problems using mkv muxer. but my audio and video aren't lining up right. Normally i have been able to adjust the delay to have the two sync. but on this video, the delay isn't working. no matter what delay time i put in, the audio is still off my about 3000ms(3 seconds). I have tried between mkv and mp4 muxer. sometimes mp4 works for me.

I have read a lot of the questions on here about audio delay but can't seem to find one about this. plus there's 230 some pages on here. and i have searched.

MrVideo
1st September 2009, 04:03
That link is for experimental version. The 'official' version is still unchanged.

But there hasn't been an update from the "official" site in over a month.

Anyone know why?

Kurtnoise
1st September 2009, 07:10
Here in Russia we have all kinds of problems with charsets. For example, when encoding movie with english subtitles, it's often better to set subtitle charset to 'ANSI' instead of system-default cyrillic, or acuted characters will be replaced with russian gibberish.
This is done in avisynth with line 'TextSub("subtitle-file",0)'. In MeGUI's AVS Script Creator I can manually fix all the scripts it produces, but it's rather troublesome.
So, the question is: where I can edit something to make AVS SC include charset parameter in TextSub call?
so, ANSI = 0...do you know all correct values ? I think it's UTF-8 as default...

edit: well...I found them. i'll add this.

flebber
1st September 2009, 14:09
I am trying to use Chapter-X-tractor to rip chapter times from Vob file to text file so I can use this with MeGui encodes.

So I created the file with format as below from format %hh:%mm:%ss:%ff Chapter %c\n

00:00:00:00 Chapter 1
00:04:02:09 Chapter 2
00:08:06:13 Chapter 3
00:11:52:07 Chapter 4
00:13:49:19 Chapter 5
00:16:54:20 Chapter 6

However MeGui errors in muxing saying chapter file is invlaid. Can someone show me what the valid format looks like so I can copy it please.

Kurtnoise
1st September 2009, 15:15
use OGG Format from Chapter-X-Tractor or wait the new MeGUI release which fixes the issue mentioned.

flebber
1st September 2009, 23:22
Thanks heaps and I look forward to new release.

Kurtnoise
2nd September 2009, 00:30
it's available either from SF website or from my webpage using http://kurtnoise.free.fr/MeGUI/ as server...

flebber
2nd September 2009, 12:44
I have changed to your source and updated now I have version 0.3.1.1055. Not sure if I am doing something wrong I cannot save extract or save chapter file I receive error below.

Thanks to your advice I can extract chapters as ogg text files in chapterXtractor and megui muxes them perfectly. Cheers again.

Larger size is available on flickr http://farm3.static.flickr.com/2425/3880454231_f54702a30d_o.jpg

http://farm3.static.flickr.com/2425/3880454231_2d981507f5.jpg

nakTT
3rd September 2009, 07:26
But there hasn't been an update from the "official" site in over a month.

Anyone know why?
From what I gather, its due to the developer having a summer holiday.

Grossmeister
4th September 2009, 15:25
Is x264 build 1210 ok for MeGUI 1053 and MeGUI presets v85, or I should download older version of x264? MeGUI 1053 changelog says that it "Requires x264 revision 1206 or higher", but I don't know how much higher can it be.

SixKiller
4th September 2009, 16:12
I've got some serious problems here with the new versions of MeGUI. The x264 setting that i want to apply aren't applied. MeGui is using the same Commandline evertime i want to encode something. When i check several box like "No fast p skip" i if i change the ref frames, megui shows me the changes in the commandline section of the configuration dialog. so far so good ;) But if i click "Enqueue" and want to start the encode, megui always uses the same commandline instead of the commandline showing me in the configuration dialog.

So for now i cant encode with megui. btw im using 1055. i already deleted the presets and did on on my own, but it didnt changed anything.

Need Help ;)

Thanks

Kurtnoise
6th September 2009, 06:41
how can we help you without having any logs or command lines used ?

Forteen88
6th September 2009, 09:38
I noticed that MeGUI isn't consistent in the increase/decrease-buttons. In deblock, the upper button decreases deblock-value, and in bframes the upper button increases bframes-value..

Also, why don't MeGUI support subme 10?

Thanks

Kurtnoise
6th September 2009, 09:51
obviously, you don't have the last dev build...

Lugia25000
6th September 2009, 09:51
Also, why don't MeGUI support subme 10?


Use an new Build after 0.3.1.1052...

- (kurtnoise) [x264Config] add QP-RD support as subme = 10. x264 rev 1187 or higher required.

Forteen88
6th September 2009, 10:49
obviously, you don't have the last dev build...Ok, thanks (to Lugia25000 also). I thought I had the newest version, as I pressed 'update' recently. Although I guess 'update' doesn't include 'dev'-versions..
BTW, why doesn't MeGUI use the (newer) x264-build from x264.nl? Does Jebb's builds have a special patch compared to the x264.nl-version?
EDIT: Ok, thx nurbs.

nurbs
6th September 2009, 11:43
The builds from x264.nl don't come with the NAL-HRD patch IIRC.

nakTT
8th September 2009, 16:52
Hi all. I have refer to http://mewiki.project357.com/wiki/X264_Settings but I can't find any related info. I hope you guys here can give me some guide on how to use this "Slicing" settings efficiently. There seems to have 3 things:

1) nb of slices by frame
2) max size (in bytes)
3) max size (in mbs)

Please advice. Thanks.

:thanks:

nurbs
8th September 2009, 17:06
If you encode level 4.1 streams for blu-ray standalone playback you use --slices 4. If it's blu-ray level 4.0 or anything else there isn't really a reason to use slices.

nakTT
8th September 2009, 17:34
If you encode level 4.1 streams for blu-ray standalone playback you use --slices 4. If it's blu-ray level 4.0 or anything else there isn't really a reason to use slices.
I see. Just for confirmation, is that means if I encode for play on PC, then there is no reason to use it?

:thanks:

nurbs
8th September 2009, 17:52
You lose a little quality if you use slices. On the plus side I think they can be decoded independently. At least ffmpeg offered multithreaded decoding only for streams with multiple slices before they added frame level multithreading (see ffmpeg-mt).
For PC if you have a fast enough single processor core, use a decoder that does frame level multithreading or use DXVA it doesn't matter.

Dark Shikari
8th September 2009, 19:18
You lose a little quality if you use slices. On the plus side I think they can be decoded independently.Not with ffmpeg; x264's slices don't use deblocking mode 2.

shon3i
8th September 2009, 19:37
@Dark Shikari is possible to create stream without slices. Because stream with zero slices is aslo compatible with BD specification at level 4.1?

rack04
8th September 2009, 19:42
@Dark Shikari is possible to create stream without slices. Because stream with zero slices is aslo compatible with BD specification at level 4.1?

Slices aren't on by default and I assume you mean level 4.0.

shon3i
8th September 2009, 19:57
Well one slice are always present. In x264 slices 0 = slice 1 which is not probably normal if slices 0 can exist. I found interesting info in Sonic Scenarist change log

AVC files no longer generate the following incorrect error message: “The picture is not encoded as
multi-slice picture with 4 or more slices per picture in case of Level 4.1.(Slice:0)”.

But when i feed MUI generator with x264 without slices i get error

AVC files no longer generate the following incorrect error message: “The picture is not encoded as
multi-slice picture with 4 or more slices per picture in case of Level 4.1.(Slice:1)”.

Jorsher
9th September 2009, 08:08
I like applesauce

Zverik
9th September 2009, 18:46
Hello. AutoEncode function usually creates .264, .m4a, then muxes them together and removes them along with temporary files, so all that remains is avs and muxed mp4. But in latest megui build a new file appears to be created by x264: .stats.mbtree. It is not removed after muxing. This is probably a bug.

Also, thanks to Kurtnoise for dev repository and for subtitles charset option: both work fine :)

prOnorama
9th September 2009, 19:10
It's not a bug but I find it a bit annoying MeGui always has the default file format set to MP4 (when x264 is selected), so I always have to set it to MKV manually before I encode something. It's also not logical because alphabetically MKV comes before MP4.

So now it's:

MP4
MKV
RAWAVC

And it should be:

MKV
MP4
RAWAVC

So MKV loads as default for x264. Or make an option to remember the last used setting for the file format, I haven't found that anywhere in the MeGUI settings.

Zverik
10th September 2009, 13:56
Also, MeGUI sometimes crashes when starting 2nd pass of x264. Today it has done so three times. I found no relevant log files anywhere.
I guess it depends on the number of jobs MeGUI completed. These crashes occur after having 20-30 jobs done. And always before 2nd pass, because x264.exe process is not shutdown and continues to encode video (and the file generated by it is ok).
0.3.1.1056, but I think .1051 didn't crash (or didn't happen to on my watch).

chuck67
11th September 2009, 23:08
i gather my files from blankevo.com, and none of them have audio. megui converts and extracts the audio stream but when it finishes encoding there is no sound in the video. this only hapens with my mkv files from that site. i have k-lite codec pack installed, and also ac3 filter, aac codec and theres still no sound. im using windows 7 RTM. ive tried everything and i just cant get any audio. any help?

Inspector.Gadget
11th September 2009, 23:21
chuck67, nobody is going to help you with rule 6 material. Come on.

SeeManRun
13th September 2009, 16:54
Has megui been abandoned? Previously there were updates weekly, now there has been no updates in a long while. Hopefully they are upgrading it to do some Windows 7 magic, as this is a wonderful program. Be nice to take advantage of some of the Windows 7 features like low priority IO and all that jazz...

Lugia25000
13th September 2009, 17:15
Has megui been abandoned?

No...

Previously there were updates weekly, now there has been no updates in a long while

The last update is from 10/09 three days ago.

Use the new update server -> http://kurtnoise.free.fr/MeGUI/

Gamezcdr
14th September 2009, 05:12
It's not a bug but I find it a bit annoying MeGui always has the default file format set to MP4 (when x264 is selected), so I always have to set it to MKV manually before I encode something. It's also not logical because alphabetically MKV comes before MP4.


Options/Settings/Extra Config/Configure AutoEncode defaults...

prOnorama
14th September 2009, 06:18
Options/Settings/Extra Config/Configure AutoEncode defaults...

Yes I found that option and I tried it, but it doesn't work if you don't use AutoEncode like me (which is logical since it's about AutoEncode after all)

MOverride
14th September 2009, 06:44
1) I could not transcode a proper copy of nero AAC audio from any source despite having neroaacenc in my megui folder and the GUI pointed to it. Any attempts to do so resulted in a playable file with no audio. (similar to Chuck)
I've found that encoding audio works fine if you only have one worker calling NeroAacEnc at a time. If you have more than one copy of NeroAacEnc running at a time, it barfs.

I don't know yet if it's a problem with how MeGUI is calling NeroAacEnc, or with NeroAacEnc proper, though.

Fortunately, "only" 22 of my 71 files I encoded this weekend suffered from this bug (or at any rate were corrupted at the start of the audio--it's possible that more have corruption partway through that I'm not yet aware of).

MOverride
14th September 2009, 06:45
Be nice to take advantage of some of the Windows 7 features like low priority IO and all that jazz...
Or even some Windows XP features like not barfing when running on a limited user account.

Caroliano
14th September 2009, 16:25
I want to test some combinations of presets and tunings for PSNR and SSIM. But then I have to enable advanced settings, that overwrite both presets and tuning. There is a button for set the advanced options acording the selected preset, but I still have to input the tunings manualy everytime I want to change some small thing, like PSNR and SSIM calculation.

This preset thing plus advanced options is rather confusing...

rapscallion
14th September 2009, 17:15
This preset thing plus advanced options is rather confusing...
A little for me as well. I use x264-SA avchd preset, output rawavc.
I have been running v1051 and today updated, via Kurtnoise server, to 1056. There is now this preset slider for speed.
However, with advanced setting box checked, I notice that all speeds, except "medium" have subme 7 and trellis 1 :
program --profile high --level 4.1 --preset fast --pass 2 --bitrate 6490 --stats
".stats" --thread-input --nf --keyint 24 --min-keyint 2 --bframes 3 --b-adapt 2
--direct auto --b-bias 0 --scenecut 40 --ref 3 --ipratio 1.1 --pbratio 1.1 --vbv
-bufsize 16500 --vbv-maxrate 16500 --qcomp 0.5 --rc-lookahead 40 --no-mbtree
--aq-mode 1 --aq-strength 1.0 --merange 16 --me umh --subme 7 --partitions
p8x8,b8x8,i4x4,i8x8 --trellis 1 --psy-rd 1.0:0 --mvrange 511 --nal-hrd --sar 1:1
--output "output" "input"
Here's "medium" :
program --profile high --level 4.1 --pass 2 --bitrate 6490 --stats ".stats" --thread
-input --nf --keyint 24 --min-keyint 2 --b-adapt 2 --direct auto --ipratio 1.1 --pbratio
1.1 --vbv-bufsize 16500 --vbv-maxrate 16500 --qcomp 0.5 --no-mbtree --me umh --partitions
p8x8,b8x8,i4x4,i8x8 --mvrange 511 --nal-hrd --sar 1:1
--output "output" "input"

The program defaults to "fast" but there is also the "turbo" box ,so I'm confused as to how this relates now
to the previous 1051 ver. In other words, what settings to use ?:thanks:

MasterYGM
15th September 2009, 07:44
In AviSynth script creator 'TDeint (with EDI+Bob)' produce error.
TDeint: number of frames in edeint clip doesn't match that of the input clip!
generated script is

edeintted = last.AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(mode=1,order=1,edeint=edeintted)

Zverik
15th September 2009, 11:50
MeGUI 0.3.1.1056, when trying to exit program (either pressing [X] button or selecting File->Exit):

---------------------------
Fatal error
---------------------------
MeGUI encountered a fatal error and may not be able to proceed. Reason: Object reference not set to an instance of an object. Source of exception: MeGUI stacktrace: at MeGUI.core.util.LogItem.ToString(Int32 level)
at MeGUI.core.util.LogItem.ToString(Int32 level)
at MeGUI.core.util.LogItem.ToString()
at MeGUI.MainForm.saveLog()
at MeGUI.MainForm.CloseSilent()
at MeGUI.MainForm.OnClosing(CancelEventArgs e)
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---------------------------
OK
---------------------------


Never seen it before, started appearing just today. The only way to shut down MeGUI is to use windows task manager.

nakTT
16th September 2009, 06:28
Hi,

I'm using MeGUI 0.3.1.1056 and I notice something. I wonder what has changed since the (immediate) last version.

According to MediaInfo, my encoding (Auto 2pass) using the last version was:

http://img12.imageshack.us/img12/9226/001ly.th.jpg (http://img12.imageshack.us/i/001ly.jpg/)


While encoding (Auto 2pass) with the latest version (0.3.1.1056) was:

http://img38.imageshack.us/img38/4953/002zhy.th.jpg (http://img38.imageshack.us/i/002zhy.jpg/)

It seems that the encoding bitrate has gone from Variable to Constant (?) which effects quality for obvious reason, even though I use exactly the same setting as before. Please advice.

:thanks:

wolfbane5
16th September 2009, 07:11
I've been using megui for a while now on vista and it works great; however, I'll be switching to windows 7 in a couple of weeks and I was wondering if anyone has encountered any issues running megui on 7?

XhmikosR
16th September 2009, 09:12
@wolfbane5: MeGUI runs fine on Windows 7 RTM here.

Sjakko
16th September 2009, 11:56
Is there a solution/fix/workaround for this error?

Error in analysis
Error opening analysis script Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Check to make sure you have TIVTC.dll in your Avisynth plugins directory.
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

It'll pop up when I press the Analyse button in the AVS Script Creator. Source is a 1080i h264 DVB recording in ts container, off course indexed with DGA Creator and repaired with TS-Doctor before feeding it to MeGui. A note: the auto source detection works beautifully for regular SDTV MPEG2 PAL recordings! :)

http://i29.tinypic.com/r7uhd0.jpg

I tried Avisynth 2.5.7 & 2.5.8, have the latest MeGui and searched the forums, but couldn't find a solution. Let me know if you need more (system) info. Help is greatly appreciated! :rolleyes:

flebber
16th September 2009, 14:05
Is there a solution/fix/workaround for this error?

Error in analysis
Error opening analysis script Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Check to make sure you have TIVTC.dll in your Avisynth plugins directory.
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

It'll pop up when I press the Analyse button in the AVS Script Creator. Source is a 1080i h264 DVB recording in ts container, off course indexed with DGA Creator and repaired with TS-Doctor before feeding it to MeGui. A note: the auto source detection works beautifully for regular SDTV MPEG2 PAL recordings! :)

http://i29.tinypic.com/r7uhd0.jpg

I tried Avisynth 2.5.7 & 2.5.8, have the latest MeGui and searched the forums, but couldn't find a solution. Let me know if you need more (system) info. Help is greatly appreciated! :rolleyes:

Do you have TIVTC.dll in your avisyth plugins directory? I reckon putting that in there will solve your problem

RunningSkittle
16th September 2009, 14:29
launching two instances (two worker threads) of nicaudiosource fails. using force directshowsource mitigates the issue, but is there any other way around this in megui?

rtjnyoface
16th September 2009, 18:40
Wow. Just updated from 1051 to 1056. Jesus, I feel like I have to learn parts of the program all over again. I'm having trouble understanding the presets now. So if we choose a preset such as unrestricted 2pass EQ we also have another preset within that preset to choose from? So essentially we have a speed preset for a quality preset? I don't understand it really.

rapscallion
16th September 2009, 18:47
Welcome to the club !

rtjnyoface
16th September 2009, 19:01
Ha, ya stupid me. I didn't see the comments above Zverick's. Wow, I'm thinkin' I might go back to 1051 until this thing gets figured out. Any developers commenting on this particular aspect as of yet?

EDIT: ooo the textboxes have been changed though. Much nicer now being darker I think.

Sjakko
16th September 2009, 23:57
Do you have TIVTC.dll in your avisyth plugins directory?Thank you but yes, TIVTC.dll is present (it was present out of the box). I uploaded a sample here (http://www.megaupload.com/?d=912GR0JD). It's just 30 seconds (hope it's long enough?) but still 50MB due to the high bitrate. It would be great if someone could test it. If needed I will upload larger samples. :thanks:

JarrettH
17th September 2009, 04:49
When will all those updates go on the stable server? I'm hesitant to update anything. What's Tx264 too?

STB_Caos
17th September 2009, 14:01
I upgraded to Megui 0.3.1.1056 because of the "--no-mbtree" error with the x264 codecn but it was bugged too, so I manually upgraded the "x264 1183 Jeeb's patched buid" with the latest build from x264.nl...

now everything works correctly and i got a 3 times faster encoding, as a bonus [100/90 fps during analysis/encoding Versus 70/30 of the previous version]!!!

all of the other software, profiles and settings are exactly the same, so i think it's alla about some default setting into the new codec buid.... but where is the "problem", and will it affect image quality ?

thanks !!!

LigH
17th September 2009, 16:42
Is there a reason that the XviD configuration does not show the "Cartoon mode" anymore in MeGUI 0.3.1.1056?

See screenshots in the german thread (http://forum.gleitz.info/showthread.php?p=395468#post395468).

avdw
17th September 2009, 20:40
Ain't it time to finally LOCK this topic, since we're discussing some old, abandoned piece of software here.

Inspector.Gadget
17th September 2009, 20:50
avdw, take the axe-grinding somewhere else. You posted the same thing in another thread and posted the same thing about staxrip, pooped in the Avidemux feature request thread, avi.net thread, automen, etc. When you're not asking newbie questions that have been asked a hundred times, you're complaining. Maybe video encoding isn't for you, or maybe you should pay someone to do it on your behalf.

krosswindz
18th September 2009, 03:46
I am having the same problem as Sjakko reported here (http://forum.doom9.org/showthread.php?p=1325933#post1325933) when I try analyzing a HD source. I tried using dgavcdecode and directshow source. Megui crashed completely when using directshowsource. If required I can upload a sample.

SacredCultivator
18th September 2009, 06:37
After updating to the latest version of LAME2009-09-05 3.98.2 ICL11, seems i can't seem to encode anything using it, anyone else experiencing this?

LigH
18th September 2009, 06:51
I hoped the "Cartoon Mode" went into the "Zones" configuration... but it isn't there either.
__

@ SacredCultivator: You will at least need the "libmmd.dll" in your system32 (or equivalent) folder - find it at RareWares, if the MeGUI update did not include it. And if you have a CPU which does not support SSE2 instructions completely, report that here too - there are different ways to build software with the intel C compiler: One which requires SSE2 capable CPUs or it crashes, and one which includes a highly optimized calculation path and a more compatible for older CPUs.

SacredCultivator
18th September 2009, 07:54
@LigH: For "libmmd.dll" would it matter which I grab? The 9.1 or 10.1? I'm quite sure that my CPU should support SSE2, as it isn't that old.

LigH
18th September 2009, 08:17
Uhm, well ... if LAME was built with ICL version 11, I guess you should try to use a libmmd.dll of version 11 too, if possible.

First scan your harddisk(s) if it doesn't exist already, but somewhere else than the system folder. And then, prefer the most recent.

SacredCultivator
18th September 2009, 08:21
Only got the 10.1 that was on the RareWares site... as they don't have an 11.

EDIT:
Scanned nothing but the 10.1 that I dl'ed. Placed in System32, and tried again, same thing.. just freezes there and doesn't encode.

LigH
18th September 2009, 08:36
Hmm, LAME itself works well here on a system that does not even have any libmmd.dll on any drive. So that may not be the reason.

I have an AMD Phenom QuadCore here. What's your CPU?

Did you try to execute the LAME.EXE at a command line prompt in %PROGRAMS%\megui\tools\lame ?

SacredCultivator
18th September 2009, 08:41
Hmm, using a Intel Core2Duo.

Weird that the latest update is what killed it for me... As before didn't even have 'libmmd.dll' either. And not too sure on the command line prompt =X
(If I double click it, it's just a blank command prompt, and I can't do anything)

LigH
18th September 2009, 17:45
"Command line prompt" (Start - Run - "cmd.exe") means that you shall ignore the mouse from now on. ;)

The lame.exe is a CLI (command line interface) tool. The MeGUI is just a window to set up the command line for it, and execute it hidden in the background.

If the lame.exe does not even work in a "console window", how shall it work in MeGUI even?

SacredCultivator
18th September 2009, 19:09
^What I did notice is... If I double click on LAME.exe, it's just a blank CMD Prompt and I can't do anything... ALTHOUGH when I reverted back to the previous version, and tried the same method, the CMD Prompt appears and I see text and it exits out. So as of now just using the previous version as latest can't seem to work =/

Kurtnoise
18th September 2009, 22:00
Is there a reason that the XviD configuration does not show the "Cartoon mode" anymore in MeGUI 0.3.1.1056?
not supported anymore in xvid_encraw (except via zones command but not supported yet in megui trunk, only in my own branch)...

daWsOn_s
20th September 2009, 17:52
Hello I just saw megui in the audio settings has a slowdown/speedup for 25p/24p, I don't know when it was implemented but I was curious to know if it uses avisynth and SSRC, since it's the only filter that I know of that does a correct multichannel muxing

daWsOn_s
20th September 2009, 18:04
Nevermind it does, I see it in the log

rica
21st September 2009, 12:08
Hi,

MeGui 0.3.1.1056 can not find CuvidServer.

She tries to open CuvidServer by herself and doesn't accept me to run the server manually but can't find it by herself either.

With previous versions i used to open the server manually and i never lived any issues.

You will find here more; pls check this post and the following posts:

http://forum.doom9.org/showthread.php?p=1327392#post1327392

Thx in advance :thanks:


EDIT: I've found out the latest running version which allows manual opening of CuvidServer is 0.3.1.1040. Updating to core 1051 from 1040 is OK too. The problematic cores must be 1055 and 1056; none of them works.

_ _ _ __ _

Takeshi_k
21st September 2009, 13:03
Hi. I've been using megui for some time and it's been working for me, though I haven't been encoding anything on this installation specifically.

Encoding the audio goes fine, but when I reach the first pass in the video process it stops and just says error where it also says "Waiting" for the next couple of tasks, though it shows the progress windows for a half second.

I'm using the latest version of everything and the x264 profile: Unrestricted 2pass Anime Toons Insane

My laptop is kind of old, from '06, and it's been saying the harddrive will fail soon so I don't know if that's the problem, then the audio should fail too, but it doesn't. Could it really be the problem?

I've included attachments of the errors and one with some system specs.

I've tried searching on Google, however, I didn't find a person who had gotten the same error message as me. I hope someone can help me. Thank you in advance.

EDIT: I uploaded an archive because it wouldn't let me upload my text files for some weird reason.

Rumbah
21st September 2009, 15:38
The new lame.exe doesn't work for me, either, with a Core2Quad. The lame process uses one core but it does not output anything.

A conversion that normally takes 10 minutes was aborted by me after 3 hours with no output at all. The old version works without a problem.

Kurtnoise
21st September 2009, 15:58
Hi,

MeGui 0.3.1.1056 can not find CuvidServer.

She tries to open CuvidServer by herself and doesn't accept me to run the server manually but can't find it by herself either.

With previous versions i used to open the server manually and i never lived any issues.

You will find here more; pls check this post and the following posts:

http://forum.doom9.org/showthread.php?p=1327392#post1327392

Thx in advance :thanks:


EDIT: I've found out the latest running version which allows manual opening of CuvidServer is 0.3.1.1040. Updating to core 1051 from 1040 is OK too. The problematic cores must be 1055 and 1056; none of them works.

Does it work with this build (http://www.mediafire.com/file/tzkmyiinngm/MeGUI_20090921.zip) ? (just replace the old exe by the new one)


The new lame.exe doesn't work for me, either, with a Core2Quad. The lame process uses one core but it does not output anything.

A conversion that normally takes 10 minutes was aborted by me after 3 hours with no output at all. The old version works without a problem.
Ok..I'll replace it by the previous one then. Too bad for you.

rica
21st September 2009, 17:32
Does it work with this build (http://www.mediafire.com/file/tzkmyiinngm/MeGUI_20090921.zip) ? (just replace the old exe by the new one)

Thanks for the response kurt.

I changed 1051 with 1056 exe.

Opened CuvidServer manually.

I got this popup window again:

http://img28.imageshack.us/img28/8909/funny.th.png (http://img28.imageshack.us/i/funny.png/)

If you click to "yes" it terminated manual Server (as usual) and didn't find the server automatically.

But what is different this time is clicking to "No" let manual server run and it worked. (with a standalone MeGui 1056application, clicking to "no" was terminating MeGui.)

Finally a last note; in any case closing MeGui application terminates CuvidServer with 1056 exe.

:thanks:
_ _ _ _ _ _

SacredCultivator
21st September 2009, 17:46
Ok..I'll replace it by the previous one then. Too bad for you.

Not too sure what caused the problem as yup, I have the same problem for the LAME update and just used the previous version as well for now.

(Not too sure what changed with the new version though.

Kurtnoise
21st September 2009, 17:50
If I click to "yes" it terminated manual Server (as usual) and didn't find the server automatically.
ok...and if you load directly your avs script (without running CUVIDServer manually), what happens ?

Kurtnoise
21st September 2009, 17:51
(Not too sure what changed with the new version though.
only the compiler...

rica
21st September 2009, 17:55
ok...and if you load directly your avs script (without running CUVIDServer manually), what happens ?

I get this:

http://img197.imageshack.us/img197/3306/kiloldum.th.png (http://img197.imageshack.us/i/kiloldum.png/)

And the second message is:

http://img508.imageshack.us/img508/3222/kurt.th.png (http://img508.imageshack.us/i/kurt.png/)
_ _ _ _ _

Kurtnoise
21st September 2009, 19:19
Can you list all files in the C:\users\rica\desktop\Tools\DGNVTools\ folder please ?

rica
21st September 2009, 19:46
Can you list all files in the C:\users\rica\desktop\Tools\DGNVTools\ folder please ?

Sure; here you are:
http://img6.imageshack.us/img6/6143/kurt2w.th.png (http://img6.imageshack.us/i/kurt2w.png/)



_ _ _ _ __

Kurtnoise
21st September 2009, 20:17
Is it better with this (http://www.mediafire.com/file/oi302mznnjy/MeGUI_20090921-2.zip) ?

If not, I don't know what to do. All is working fine here...

rica
21st September 2009, 20:26
Is it better with this (http://www.mediafire.com/file/oi302mznnjy/MeGUI_20090921-2.zip) ?

If not, I don't know what to do. All is working fine here...

Same as previous; thanks anyway :thanks:

I gonna stick with 1051 for the time being :)

saint-francis
21st September 2009, 21:13
I am having the same problem as Sjakko reported here (http://forum.doom9.org/showthread.php?p=1325933#post1325933) when I try analyzing a HD source. I tried using dgavcdecode and directshow source. Megui crashed completely when using directshowsource. If required I can upload a sample.

Eh? I can't even load anything HD into the MeGUI avs creator. MeGUI just crashes. Been happening for quite some time. I posted about it here somewhere and everyone told me that it was a problem with my system. No one seemed interested in speculating as to what exactly might be wrong with my system. Since then I have had this problem with 5 different PC's and on XP, XP x64, Vista (both x86 and x64) and windows 7 (all of the builds since the first beta, both x86 and x64). I can encode just fine on all of these systems. Using MeGUI as an x264 front end I might add.

Fr4nz
21st September 2009, 22:44
Hi guys, I have a suggestion for the new x264 GUI present in the latest version of MeGUI.

We know that the new level/preset GUI options are a very good thing for usability and I find this system very good for my encodings. Anyway, I find a little usability problem with it: we know that, if we want to customize FEW parameters, we must click on "advanced settings", BUT...MANY parameters are overriden as you can see from this image:

http://img2.imageshack.us/img2/5532/screen1p.th.png (http://img2.imageshack.us/i/screen1p.png/)

This is not a good thing: suppose that I want to encode a film for my blu-ray player; if I choose Level 4.1 then "max vbv" will be 50000 and "max bitrate" will be 60000, but these values are NOT good for blu-ray encodings...we must override (only) those 2 parameters in order to encodings which doesn't have problems with blu-ray players.
Here you can see why the current implementation of the "advanced settings" option is bad: it forces you to redefine parameters that are already defined in the preset/level options, because the GUI overrides them uselessly!

So, my question to MeGUI authors is: is it possible to correct this x264 GUI behaviour?

Kurtnoise
21st September 2009, 23:23
yes, wait the next update...

73ChargerFan
22nd September 2009, 03:53
I just migrated to Windows 7 x64 RTM, and I keep getting a UAC prompt when I start MeGUI. If it is a settings or ini file, can these be moved elsewhere so I don't have to disable security?

Kurtnoise
22nd September 2009, 06:51
no, you can't for the moment because this is required on vista/seven when avisynth plugins are copied in /Program Files/Avisynth 2.5/plugins folder.

73ChargerFan
22nd September 2009, 07:51
Bummer. I've turned off UAC for now, as I'm an expert, but Windows 7 IS VERY NICE and others will probably ask also.

MOverride
23rd September 2009, 01:05
no, you can't for the moment because this is required on vista/seven when avisynth plugins are copied in /Program Files/Avisynth 2.5/plugins folder.
Is it asking for elevation in order to read the files outside the MeGUI directory, or is MeGUI trying to copy plugins to the AviSynth folder? If it's the former, if we install AviSynth outside of Program Files will MeGUI stop asking for elevation or will it still ask to be safe?

(If MeGUI were just asking for permissions, I wouldn't have a problem with the behavior, but it's actually elevating itself to the administrator user entirely--meaning that it's using the wrong My Documents/Desktop folders, which is a pain in my ass.)

stax76
23rd September 2009, 02:03
The shell API (http://msdn.microsoft.com/en-us/library/bb762798%28VS.85%29.aspx) allows to make file system operations even if a application don't has sufficient privileges, the shell will show the UAC dialog for the operation if necessary. The interface is IFileOperation (http://msdn.microsoft.com/en-us/library/bb775771%28VS.85%29.aspx), a older function is SHFileOperation (http://msdn.microsoft.com/en-us/library/bb762164%28VS.85%29.aspx), the class Microsoft.VisualBasic.FileIO.FileSystem (http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.fileio.filesystem_members.aspx) (in C# you have to reference the Microsoft.VisualBasic assembly) is wrapping this shell APIs. You simply download your plugins to a temp directory and then copy the plugins to the AviSynth plugins directory with following code:

FileSystem.CopyDirectory("D:\temp", "C:\Program Files\plugins", FileIO.UIOption.OnlyErrorDialogs)

In StaxRip for setup tasks I do what a lot applications do (MPC-HC for instance), start a second instance of the main applications with elevated privileges:


Sub ShowSetup(ByVal wait As Boolean)
Try
Dim proc As New Process

proc.StartInfo.FileName = Application.ExecutablePath
proc.StartInfo.Arguments = "-setup"

If Environment.OSVersion.Version.Major >= 6 Then
proc.StartInfo.Verb = "runas"
End If

proc.Start()

If wait Then
proc.WaitForExit()
End If
Catch ex As Exception
'canceled UAC dialog throws Win32Exception
MsgWarn(ex.Message)
End Try
End Sub

Public Class Startup
<STAThread()> _
Public Shared Sub Main()
Application.SetCompatibleTextRenderingDefault(False)
Application.EnableVisualStyles()

Dim args = My.Application.CommandLineArgs

If args.Count = 1 AndAlso args(0) = "-setup" Then
Application.Run(New SetupForm(True))
Else
Application.Run(New MainForm())
End If
End Sub
End Class

FirstBorg
23rd September 2009, 14:05
Hi!

Im trying to encode a m2ts file which has a vc1 stream using one click encoding. Everytime I start the job, I get the error message saying that no video or audio data was found, I should check my PIDs. everything should be fine with the stream, because I can perfectly open it in media player classic.
Any suggestions?

poisondeathray
23rd September 2009, 14:43
Hi!

Im trying to encode a m2ts file which has a vc1 stream using one click encoding. Everytime I start the job, I get the error message saying that no video or audio data was found, I should check my PIDs. everything should be fine with the stream, because I can perfectly open it in media player classic.
Any suggestions?

Does your .avs script preview ok in avsp or vdub ?

MPC is not necessarily a good test, if you have internal filters activated

FirstBorg
23rd September 2009, 14:46
Did not test that, but when I use the avs script creator in megui, I get a proper preview.

poisondeathray
23rd September 2009, 15:13
Did not test that, but when I use the avs script creator in megui, I get a proper preview.

Test it. It takes a few seconds.

Because if you can encode a few frames in vdub successfully (just add trim(0,100) to the script), you can help rule out problems (or help to isolate where the problem lies) This would mean that your script / decoder is likely ok, and that the problem is with megui, not something else like splitter/decoder/script etc..

FirstBorg
23rd September 2009, 15:30
Ok, tested it. I can encode the avs script using virtual dub.

LigH
25th September 2009, 07:45
I am a little disappointed that the last (okay, a few weeks ago already) update of ffmpeg.exe was more limited in features and formats than the previous one (10 MB EXE before, 8 MB EXE now).

I used to create videos for mobile video players or mobile phones using MeGUI to create the video stream, and the contained ffmpeg.exe to multiplex the content to 3GPP.

Unfortunately, the latest ffmpeg.exe does not support 3GPP output anymore (and who knows what else not anymore).

I believe it would be great if MeGUI even allowed multiplexing to this container, so I don't need to do that manually afterwards. Many mobile devices work well with MPEG4 ASP or even AVC (BL@L1.3), but some only with 3GPP and not with MP4.

Dark Shikari
25th September 2009, 07:49
I am a little disappointed that the latest update of ffmpeg.exe was more limited in features and formats than the previous one.

I used to create videos for mobile video players or mobile phones using MeGUI to create the video stream, and the contained ffmpeg.exe to multiplex the content to 3GPP.

Unfortunately, the latest ffmpeg.exe does not support 3GPP output anymore.$ ./ffmpeg.exe -formats | grep -C5 "3gp"
File formats:
E 3g2 3GP2 format
E 3gp 3GP format
D 4xm 4X Technologies format
D IFF IFF format
D ISS Funcom ISS format
D MTV MTV format
DE RoQ raw id RoQ format

:confused:

buzzqw
25th September 2009, 08:16
your build of ffmpeg isn't included in megui... ;)

maybe sherpya build's has some problem..

LigH could try the -> http://ffmpeg.arrozcru.org/autobuilds/ffmpeg-latest-mingw32-static.7z

BHH

Dark Shikari
25th September 2009, 08:18
your build of ffmpeg isn't included in megui... ;)I literally just cd'd into the MeGUI folder and used the ffmpeg in that folder. Is that somehow not the MeGUI ffmpeg? :rolleyes:

buzzqw
25th September 2009, 11:13
$ ./ffmpeg.exe -formats | grep -C5 "3gp"
you are using megui in linux / cygwin environment ?

BHH

Kurtnoise
25th September 2009, 11:16
this doesn't matter...

Dragor
25th September 2009, 17:32
Hi folks, My first post on one of the most legendary forums on the planet!

I have Windows 7 RC Build 7100 32 bit, MeGUI v0.3.1.1056, Intel Core2 Duo @1.86GHz, 1.5GB RAM, nVidia GeForce 6600.

I am facing a strange problem in MeGUI which was not there when I was using the Windows 7 RC. Somehow, I can NOT use the browse functionality more than twice! If i try the third time then MeGUI crashes.

Here's how I work with MeGUI normally:

1. Ctrl+R brings up the AVS Script Creator and this is the first time I use the browse button to obviously select my video file.

2. Once I close the AVS Script editor, the AVS file is automatically loaded into the Video input selection. So, I use the browse button in the Audio Section to select my video file again.

3. I click on AutoEncode, set the parameters. But If I click on browse button this time, MeGUI crashes. As a workaround, I manually edit the output file location and am able to proceed to encode only a single file.

I said single file because with my above problem, If I have to enque more encoding jobs, then I have to close MeGUI and restart it, because if I continue from the above last step, MeGUI hangs in the AVS Scrip Editor where I have to click Browse button to select the next video file to encode.

Please try to help me out!

Thanks for your time!

stax76
25th September 2009, 18:04
@Dragor

Likely something wrong with your shell, from time to time people report shell features like file dialogs, drag & drop etc. being broke and usually nobody has a solution. Only guesses can be made, malware, shell extensions etc, without tools like ShellExView, ProcessExlorer, Debugger etc. and the knowledge how to use this tools you will have problems to find a solution. There is somewhere a bug in the file browser class setting a invalid initial directory causing a crash but this don't seem to be the problem, I don't know in which .NET and Windows versions it occurs. Likely you are on your own here, I'm sorry.

avdw
25th September 2009, 19:11
Any idea when this project will be officially laid to rest ?

Inspector.Gadget
25th September 2009, 19:16
advw, go away. Your immense volume of Rule #4 strikes is a testament to the fact that you're only here to harass and annoy people.

Taurus
25th September 2009, 20:25
Any idea when this project will be officially laid to rest ?

Glad, it took me about 10 sec to put your name on my ignorelist.

flebber
25th September 2009, 23:46
Any idea when this project will be officially laid to rest ?

Clearly we know this project is active. You should be kicked from the forum as you aren't here to participate in the good spirit of these forums

Dragor
26th September 2009, 12:20
@Dragor

Likely something wrong with your shell, from time to time people report shell features like file dialogs, drag & drop etc. being broke and usually nobody has a solution. Only guesses can be made, malware, shell extensions etc, without tools like ShellExView, ProcessExlorer, Debugger etc. and the knowledge how to use this tools you will have problems to find a solution. There is somewhere a bug in the file browser class setting a invalid initial directory causing a crash but this don't seem to be the problem, I don't know in which .NET and Windows versions it occurs. Likely you are on your own here, I'm sorry.

Thanks for your reply, stax76!

I know ProcessExplorer but ShellExView is new to me...
I'm at work now but will get back and try to get to know it better at home.

Moreover, since its Win7 I can't even remove .NET completely and reinstall, so its a pain.

And this problem has been there ever since I installed Win7, so hopefully RTM will be a different and better story.

Thanks anyways... I'll create a new thread of my problem and hopefully together we may be able to sort it out so that others with same problem have a thread to look into instead of multiple different posts.

stax76
26th September 2009, 13:33
@Dragor

It's not .NET or Win 7, I running Windows 7 RC Build 7100 32 bit like you and don't have this problem.

LigH
26th September 2009, 16:36
@ Dark Shikari:

Sorry, my fault (I was not at home when I remembered to write about an issue) ... 3GPP is included.

But libfaac is missing (@ buzzqw: the one from arrozcru too).

May be that Nero AAC is in general better, but I only need a full featured FFmpeg for my batch. Fortunately MeGUI keeps a backup (version SVN-r18603).

Anyway -- 3GPP container support for MeGUI, would this be a topic?

Kurtnoise
26th September 2009, 19:15
faac has been removed from FFmpeg due to license issues iirc...

J_Darnley
26th September 2009, 22:07
faac has been removed from FFmpeg due to license issues iirc...

It wasn't removed but you cannot distribute ffmpeg when it is compiled with faac. It was "moved" to only be built with --enable-nonfree. That is because of the copyright header on (at least) this file http://faac.cvs.sourceforge.net/viewvc/faac/faac/libfaac/tns.c?revision=1.10&view=markup

Kurtnoise
27th September 2009, 10:13
It wasn't removed but you cannot distribute ffmpeg when it is compiled with faac.
it depends where the package is hosted...;)

Dark Shikari
27th September 2009, 10:15
it depends where do you live...;)I'm pretty sure copyright law applies in the vast majority of the world (http://en.wikipedia.org/wiki/File:Berne_Convention.png)...

Kurtnoise
27th September 2009, 10:16
I fixed my last reply...

Dark Shikari
27th September 2009, 10:16
I fixed my last reply...Same applies. This is copyright law, not patent law.

Kurtnoise
27th September 2009, 10:29
wait a minute...you think that all persons (corporations or individuals) all around the world respect copyright laws ?

Dark Shikari
27th September 2009, 10:31
wait a minute...you think that all persons (corporations or individuals) all around the world respect copyright laws ?No, I think that you shouldn't talk about violating copyright law as an option, given Rule 6 of these forums.

magic144
28th September 2009, 16:00
does anybody know if the --no-mbtree option needs to be set in the DXVA profiles?

apparently (according to the X264 Settings MeWiki page), the default is for it *not* to be set (i.e. for mbtree to be enabled) - this would correspond to ticking the "Use MB-Tree" box in the MeGUI Rate Control tab

I noticed that without checking this box, my default --rc-lookahead value of 40 seems to have been ignored in the final output (mediainfo tells me I am using --rc-lookahead 0), but then I guess this is to be expected if I am also using --no-mbtree

also I understand this is not to be combined with b-pyramid (which is off anyway in the DXVA-HD-HQ preset I use)

so is the MB-Tree's use a) compatible with DXVA?, and b) advisable in general?
I know Kurtnoise has been providing MeGUI updates via his server, but I don't know who (if anyone) is maintaining/updating the x264 presets as x264 continues to develop

thanks in advance

nurbs
28th September 2009, 16:14
so is the MB-Tree's use a) compatible with DXVA?, and b) advisable in general?
a) Yes.
b) Yes. It's worse on fades but better anywhere else.

Jeff Flowerday
28th September 2009, 18:59
Never mind.

magic144
28th September 2009, 21:28
@nurbs - thanks for the compatibility info

perhaps I will leave the --no-mbtree flag for now (at least until this --weightp feature is available), since I may end up with artifacts in fade-ins/outs that I would otherwise not have noticed pre the mbtree implementation
(and apparently there is some vbv-lookahead improvement in there regardless of the use of mbtree)

perhaps this is why Kurtnoise left things this way as the default in MeGUI's DXVA/other profile settings?

nurbs
29th September 2009, 15:42
You could end up with artifacts when there are no fades just the same when you use --no-mbtree that would otherwise be fixed due to the higher efficiency of mbtree (2 - 70%). There is a reason it's on by default and activated in all but the fastest x264 presets. None of the x264 tunings deactivate it either.

The profiles that come with megui haven't been updated since long before mbtree or the presets and tunings made it into x264 and MeGUI. Sharktooth, who maintained the profiles, has been gone for quite some time (summer break?). Personally I think with all the changes recently the profiles should be thrown out and new ones made from scratch. That's a lot of work of course and you'd have to find someone willing to do it.

magic144
29th September 2009, 17:32
I raised a bug in MeGUI because of a discrepency between the XML tag name in the profiles and the GUI checkbox name for the MBTree option... hopefully the intended default behaviour of MeGUI wrt this setting will be resolved at least, since at the moment the default behaviour is to disable MBTree (in the absence of any x264 profile updates)

it would be great if somebody with enough knowledge could revise and update the profiles, or perhaps even start a thread on why the current ones are out of date and what needs to be done!

PzSniper
30th September 2009, 00:35
Hi all,

I used MeGui succesfully converting TRP to AVI for SD tv shows.
Today at my office pc i tried to process file with DGAVCDecNV and worked fine on 8600GT.

So app gave me:

Nationalgeo Hd @12305897.Joined.demuxed.264
Nationalgeo Hd @12305897.Joined.dga
Nationalgeo Hd @12305897.Joined PID 9d3 3_2ch 48KHz 384Kbps DELAY -1143ms.ac3

what should i do now? Which steps with MeGui?

Tried to drag .dga to megui avs script but give me this:
http://i37.tinypic.com/wa3tso.jpg

Guest
30th September 2009, 00:42
You need to make an AVS script as described in the DGAVCDecNV Quick Start guide and then open that in MEGUI.

PzSniper
30th September 2009, 01:05
Thanx i'm reading right now.

Alex_080
30th September 2009, 07:11
when i encoding a video file following error shows please help
Windows XP SP2

--[NoImage] Standard error stream: C:\Program Files\megui\tools\x264\x264.exe: unrecognised option `--no-mbtree'

magic144
30th September 2009, 08:18
@Alex_080
sounds like your x264.exe is out of date with respect to your MeGUI version.

LigH
30th September 2009, 13:11
Little hints...

@ PzSniper:

If you press [Alt]+[PrtScr], only the content of the active window gets shot, not the whole screen; so you don't need to cut it out manually.

@ Alex_080:

MeGUI has a new updater URL while kurtnoise is more or less the only active developer (and unable to upload to the previous URLs).

Kurtnoise
30th September 2009, 13:57
Thanks to Richard Berg, I can upload files on megui.org now...I'll make an update asap. My own webpage will be probably dedicated to the MeGUI kbr builds.

ACrowley
30th September 2009, 14:47
Hello

Ive Questions about the new x264 Presets Options.

1. How can i fully disable 264 presets in megui?
Medium means that no prestet will be applied ?

-2 Will a x264 Preset (slower or slowest) overwrite the x264 commandline ? So far i see not ?!

Example:
program --profile high --level 4.1 --preset slower --pass 2 --bitrate 1000 --stats ".stats" --thread-input --deblock -1:-1 --bframes 3 --b-adapt 2 --direct auto --b-bias 0 --scenecut 40 --ref 4 --vbv-bufsize 50000 --vbv-maxrate 50000 --rc-lookahead 40 --no-mbtree --aq-mode 1 --aq-strength 1.0 --merange 16 --me umh --subme 8 --partitions p8x8,b8x8,i4x4,i8x8 --trellis 2 --psy-rd 1.0:0 --output "output" "input"

The Output has 4 ref frames ,subme 8, etc and not the preset slower Adjustments/Values

When i want use a preset only i have to press "Preset Settings" in misc to reset the cmd to preset Settings ,right ?

THX

LigH
30th September 2009, 15:10
About 1:

If you don't chose a specific preset at the command line, "the default preset" will be loaded first. All detailed options will alter only details of a previously prepared preset -- either an explicitly selected, or the default one = "medium" (so if you select the preset "medium", this doesn't need to be specified in the command line).

About 2:

If you made up a command line manually, you should first specify a preset (and a tuning), and then alter only those options you want to differ from that preset (regarding the order of command line options). Mixing them wildly might lead to unexpected results -- because you (not x264) may get confused about which options get overridden or not and when. The MeGUI should be able to simplify the command line accordingly to specify explicitly only such options which differ from a base preset (and tuning).

Alex_080
30th September 2009, 15:30
Can any one tell how to update meGUI components because my megui shows there is no update but v0.3.1.1056 released

Inspector.Gadget
30th September 2009, 17:24
Thanks to Richard Berg, I can upload files on megui.org now...I'll make an update asap. My own webpage will be probably dedicated to the MeGUI kbr builds.

Should users who have added your free.fr repository alongside the megui.org repository delete the former? Might we encounter any version conflicts?

Kurtnoise
30th September 2009, 18:07
my own branch doesn't use megui.org files. So, yes you have better to remove this link to avoid conflicts...:)

SacredCultivator
30th September 2009, 19:26
So for future updates, just to make sure, which URL should we use for updating? As currently I have the free.fr added.

Kurtnoise
30th September 2009, 20:00
if you don't like to live on the edge, remove free.fr and use megui.org...

sanbro
1st October 2009, 04:22
i formated my pc and installed megui and i updated all the software but when i am starting the enquee it was showing the error

here are the screens for it

http://img82.imageshack.us/img82/1862/error1s.jpg
http://img213.imageshack.us/img213/4589/error2q.jpg


here is the log file

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1052
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Latest .Net Framework installed : 2.0 (2.0.50727.0)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz
-[Information] Log for job1 (video, VTS_06_1.avs -> )
--[Information] [9/28/2009 11:33:32 PM] Started handling job
--[Information] [9/28/2009 11:33:32 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\megui\tools\xvid_encraw\xvid_encraw.exe" -i "I:\Movies\Telugu\Dubai Srinu\VTS_06_1.avs" -pass1 "I:\Movies\Telugu\Dubai Srinu\VTS_06_1.stats" -bitrate 511 -kboost 100 -chigh 30 -clow 15 -overhead 0 -nopacked -qtype 1 -closed_gop -imin 3 -imax 5 -pmin 3 -pmax 5 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 3 -bmax 5 -par 1:1 -threads 1
--[Information] [9/28/2009 11:33:34 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [9/28/2009 11:33:34 PM] Job completed



please help me out in this


Regards

sanbro

GB
1st October 2009, 07:46
I got a mpeg2 in .ts that I want to encode in xvid (.avi) and vbr mp3. The encode goes well, but when the muxing starts, avimux gui crashes with no aparent reason.
I am using the xvid fast preset, latest megui with all the apps updated. OS win7. Here is the log: http://pastebin.com/m43b4bd7d
Any idea how to fix it? Or another muxer that I should try?

Alex_080
1st October 2009, 08:41
Need Help ...when encoding a *.avi file neroAacEnc shows error
--[NoImage] Output from encoder via stdout: ERROR: Could not initialize SBR

lucassp
1st October 2009, 09:08
So which autoupdate servers are still maintained? Please post the links. I'm stuck at build 1051. Thanks!

Kurtnoise
1st October 2009, 09:19
i formated my pc and installed megui and i updated all the software but when i am starting the enquee it was showing the error
are you sure that your avs script (I:\Movies\Telugu\Dubai Srinu\VTS_06_1.avs) is playable somewhere ?

Any idea how to fix it? Or another muxer that I should try?
retry with avimux_gui in XP compatibility mode (via Properties)...

Need Help ...when encoding a *.avi file neroAacEnc shows error
--[NoImage] Output from encoder via stdout: ERROR: Could not initialize SBR
what are the properties of your AVI file ? (check it with mediainfo)

So which autoupdate servers are still maintained? Please post the links. I'm stuck at build 1051.
http://megui.org/auto/
http://kurtnoise.free.fr/MeGUI/

but no updates yet...as I said.

sanbro
1st October 2009, 09:50
yes i checked it in Avsp it was opening

forum king
1st October 2009, 13:39
Hi folks , my megui used to work great untill last few days , its has started to give me this strange audio error.
what i have gathered is that neroAAC codec doesnt support 5 channel audio , but previously i never had any issues.
whats the solution, i have ac 3 acm codec , ac3 filter, lame acm mp3 codec installed mp2 pcm codec installed.
if i need to install that Nicplugin , then where i should put it .
here is the log


--[Information] Output Decoder
---[NoImage] Channels: 5
---[NoImage] Bits per sample: 16
---[NoImage] Sample rate: 48000
--[NoImage] Commandline: C:\Program Files\megui\tools\win32\neroAacEnc.exe -ignorelength -he -br 36000 -if - -of "C:\Users\Neil\Desktop\Neil.Neil\narsilPrayers.mp4"
--[Information] [10/1/2009 3:59:32 AM] Encoder process started
--[Error] An error occurred
---[NoImage] Exception message: The pipe has been ended.
---[NoImage] Stacktrace
----[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
----[NoImage] at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
----[NoImage] at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[NoImage] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2008 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Sep 17 2008 *
---[NoImage] * Package version: 1.3.3.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[NoImage] Output from encoder via stdout: ERROR: Could not initialize SBR

GB
1st October 2009, 14:17
Thanks Kurtnoise, it worked.

Rodger
2nd October 2009, 01:00
Since there is still no Calculator for M2TS (AVCHD/Blu-Ray) output.
I made my own calculator.

It´s easy, it´s made in Excel....but as much as I tested it...it worked.
You may try it out yourself.

Here you can get it: http://www.megaupload.com/?d=1AETBD9D

Tell me (preferably via PM) what you think, sugguest.

greetings
Rodger

ACrowley
2nd October 2009, 10:25
Since there is still no Calculator for M2TS (AVCHD/Blu-Ray) output.
I made my own calculator.

It´s easy, it´s made in Excel....but as much as I tested it...it worked.
You may try it out yourself.

Here you can get it: http://www.megaupload.com/?d=1AETBD9D

Tell me (preferably via PM) what you think, sugguest.

greetings
Rodger

Nice ! I used Ripbot to calculate M2TS Container .
Dont understand why Megui doesnt offer M2TS Container into the BitrsteCalculator ? Should be no Problem

rockstar283
3rd October 2009, 10:20
guys i am having a problem while encoding..
http://i37.tinypic.com/v7uk42.jpg

pls keep in mind that I am a n00b in encoding world..so pls elaborate your answers..thanks in advance

Zverik
3rd October 2009, 10:32
neroAacEnc has been updated on Septemer 17th. Now AAC encoding doesn't work, exception is the same as shown by forum king.

tebasuna51
3rd October 2009, 11:17
neroAacEnc has been updated on Septemer 17th. Now AAC encoding doesn't work, exception is the same as shown by forum king.

But is 2008 September 17th, the Nero AAC Codec 1.3.3.0 must work without problem for 2.0 and 5.1 channels.

Zverik
3rd October 2009, 11:33
oops, didn't notice. Then it's simply strange.
AAC encoding does work at my work PC, but doesn't at home.

Shandra
3rd October 2009, 17:09
Just my latest experience: I've done a fresh Install of megui on a secondary PC and therefore downloaded the installer from the sourceforge side (not under files, but the default front-page download). Then I installed that and updated it (ie. downloaded the additional files). But thereafter encoding in x264 failed due to an unknown parameter --rc-lookahead. Ok, I think most of you know what was wrong by now.
I then reinstalled the package and actually looked at the information on the update page -> core: existing V. 0.3.1.1056 vs. latest V. 0.3.1.1051.
Ok, replacing the default server with Kurtnoise ones went fine, but without that being a topic in recent posts here I would never have figured that one out. And now I am asking me how a fresh user would deal with the situation. Shouldn't the default download be compatible with the served files from the pre-configured update sides, especially as the additional files are not placed within the installer?

P.S.: Is that outdated profiles and from scratch should be used discussion also valid for the 0.3.1.1051 Version, or just for the leading-edge branch?

rtjnyoface
3rd October 2009, 17:58
And now I am asking me how a fresh user would deal with the situation.

Good call.

rapscallion
3rd October 2009, 18:51
Ok, now we're in October and still no Sharktooth? :confused:

Zverik
3rd October 2009, 22:03
So, if anyone interested, I've found the source of my problem ("Could not open AAC encoder" message in log): ffdshow was configured to mix audio into 5.0 and that what confused neroAacEnc. I turned mizer off and all went well.

florinandrei
4th October 2009, 08:01
Downloaded the latest MeGUI 1056, as the previous 1052 seemed to have stopped autoupdating.

I want to use the AVCHD preset, but there's something confusing about the encoding options. If Advanced Settings is not selected, it's this:

program --profile high --level 4.1 --preset fast --pass 2 --bitrate 8000 --stats ".stats" --thread-input --output "output" "input"

However, if I do select Advanced, it's this:

program --profile high --level 4.1 --preset fast --pass 2 --bitrate 8000 --stats ".stats" --thread-input --deblock 0:0
--keyint 24 --min-keyint 2 --bframes 3 --b-adapt 2 --direct auto --b-bias 0 --scenecut 40 --ref 3 --ipratio 1.1 --pbratio 1.1
--vbv-bufsize 16500 --vbv-maxrate 16500 --qcomp 0.5 --rc-lookahead 40 --no-mbtree --aq-mode 1 --aq-strength 1.0
--merange 16 --me umh --subme 7 --partitions p8x8,b8x8,i4x4,i8x8 --trellis 1 --psy-rd 1.0:0 --mvrange 511
--nal-hrd --sar 1:1 --output "output" "input"

Which one is the true AVCHD preset?

florinandrei
4th October 2009, 08:10
Well, 1056 crashes x264-build1183 anyway with the AVCHD preset.

Standard error stream: C:\Program Files\megui\tools\x264\x264.exe: unrecognised option `--rc-lookahead'

Uninstall, back to 1052. :mad:

rockstar283
4th October 2009, 09:25
somebody pls help me LINK (http://forum.doom9.org/showthread.php?p=1331156#post1331156)

talen9
4th October 2009, 09:26
Look 6-7 posts before yours ... that's have been discussed lots of times in this thread ;)

Re: AVCHD, I'd go with the one you get by ticking "advanced settings"; you could also try encoding a small clip in both ways ("advanced" selected or not) and checking the actual encoding options used, they'll be written in the files themselves and you can check them out with (for instance) AVInaptic.

@rockstar283: it may be that some of the tools are not up to date; check if the autoupdate servers are set link in here (http://forum.doom9.org/showthread.php?p=1330536#post1330536).

forum king
4th October 2009, 13:57
guys please help me i had posted it 2 days back :(
http://forum.doom9.org/showthread.php?p=1330590#post1330590

nurbs
4th October 2009, 14:07
Maybe it's because you are trying to encode a 5.1 audio track with 36kbps.

EuropeanMan
4th October 2009, 23:04
anyone ELSE getting XviD encraw errors?

EuropeanMan
4th October 2009, 23:22
i can't even encode via x264 anymore in megui - keep getting error messages!

MatLz
5th October 2009, 00:32
Well, 1056 crashes x264-build1183 anyway with the AVCHD preset.

Standard error stream: C:\Program Files\megui\tools\x264\x264.exe: unrecognised option `--rc-lookahead'

Uninstall, back to 1052. :mad:

Hi! You are using a too old version of X264! Mbtree with rclookahead have been added since the revision 1197.
We are now...at 1271.
UPDATE!

Biggiesized
5th October 2009, 06:44
My copy of MeGUI (latest version) won't show any signs of a new update version past r1259.

MatLz
5th October 2009, 06:52
http://x264.nl/x264/

Selur
5th October 2009, 14:35
Got a general question about the MeGui x264-profiles: (background: want to import them in sx264)
the x264-profiles got two relatively new nodes:
<x264Preset></x264Preset>
and
<x264Tuning></x264Tuning>
and I'm wondering if I need to react to these. ;)
So my question is:
Does MeGui keep the profile consistent in such a way that when importing the two nodes are not really needed?

Cu Selur

pmsf
5th October 2009, 21:40
my megui did not receive any updates since 0.3.1.1051, and I am using the update server: http://megui.org/auto/stable/
is there a new server for updating now?

talen9
5th October 2009, 21:56
my megui did not receive any updates since 0.3.1.1051, and I am using the update server: http://megui.org/auto/stable/
is there a new server for updating now?

Look here (http://forum.doom9.org/showpost.php?p=1330536&postcount=4767) ... and next time try and read a bit more carefully, the same question has been asked lots of times in this same thread, in previous pages and in the current one too ;)

Shandra
5th October 2009, 23:58
talen9: But switching from the "stable" branch from megui.org to kurtnoise ones.... (yes, I myself am wondering why there where so many questions/posts after my described experience on last page....) would that really be a recommendation?

As far as I have understood it, you either stick to one side or the other, but having both in your update list could provoke some problems, or am I wrong on this one? Besides, *.1051 looks pretty stable and robust to me, and if it wouldn't be for me installing the default download *.1056 -> I would not have asked why *no updates* so far.... they are there in their own time... So I am working on 2 PCs right now with both, and for my concerns... I am not perceiving any differences in my encodes and so I guess the difference lies in the parameters that are used by those who are experimental and testing, and not by any 08/15 user like me. If I would care about such differences I would have to encode my old lame -r3mix again to get them in the same preset extreme range I used later, or the Nero AAC q 0.5 range I am using now. And thats always puzzling me about those update questions, they often sound like all old encodes have become worthless..

Maybe I shouldn't have to be asking myself only about fresh users but also about used to procedure users as well?

But maybe this situation arose the question if by chance the update procedure could be updated? Something like a update and version txt that is displayed via the server? I was always missing something like a *changelog* for that, so maybe just a reminder or some announcement wich files become obsolete via an update (profiles in particular) and what may have changed?

73ChargerFan
6th October 2009, 02:52
Bad encode on Thinner DVD, with huge black bars around the image, so I'm cropping & encoding to h264.

I'm using Kurtnoise branch, up to date as of today: core, data & libs 0.3.1.1056, avswrapper 0.3.1.1006, updates from his server. I'm on Windows 7 x64 RTM.

When I enable MPEG2 deblocking, I get yellow & blue dots, greet lines going diagonally across the image.


DGDecode_mpeg2source("I:\Thinner\VIDEO_TS\VTS_01_1.d2v", cpu=4, info=3)
crop( 16, 64, -16, -64)

http://img3.imageshack.us/img3/6907/thinnerz.th.jpg (http://img3.imageshack.us/i/thinnerz.jpg/)

behli
6th October 2009, 05:15
http://i36.tinypic.com/14kct2x.jpg

I have been getting this error "Microsoft Visual c++ Runtime Library" from a while now while encoding movie through Megui everytime on the end of encoding . Any Help to fix this would be great .

Thanks

Kurtnoise
6th October 2009, 07:18
When I enable MPEG2 deblocking, I get yellow & blue dots, greet lines going diagonally across the image.
why did you think it's related to megui ?

I have been getting this error "Microsoft Visual c++ Runtime Library" from a while now while encoding movie through Megui everytime on the end of encoding . Any Help to fix this would be great .
not related to megui...meanwhile, too few details to help you any further (which encoder ?).

behli
6th October 2009, 08:34
why did you think it's related to megui ?


not related to megui...meanwhile, too few details to help you any further (which encoder ?).

I mentioned up i was encoding thru Megui . I dont know almost on end of encode this error appears everytime . Never seen such error before in last 2yrs while encoding thru megui .

Kurtnoise
6th October 2009, 09:04
In this case, the most important thing is to post a logfile...with this, I can check what did you use.

Moreover, megui is coded in C# not C++. So, your problem is maybe related to an external application used by megui (an encoder/muxer compiled through visual studio) or not...

EuropeanMan
6th October 2009, 15:55
I can't even ENCODE anything in MeGUI...nothing.
I get xvid encraw error or x264 has stopped working errors, immediately when encode starts. why?

nurbs
6th October 2009, 16:08
Can you be a bit more explicit please. What's the error massage? Does the script play in a media player?

EuropeanMan
6th October 2009, 19:07
Yes, the script plays perfectly fine. Only when I want to begin encoding, I get the error message.

Xvid & x264 both error out.

http://i34.tinypic.com/t6dzsh.jpg

73ChargerFan
7th October 2009, 04:04
why did you think it's related to megui ?
I just re-installed 1056, and the bug is also there.

The function DGDecode_mpeg2source is part of megui.

I'm not looking to fight, though.

poisondeathray
7th October 2009, 04:17
I just re-installed 1056, and the bug is also there.

The function DGDecode_mpeg2source is part of megui.



And what happens when you use DGIndex to index it manually, and using MPEG2Source(), with cpu=4 ?

73ChargerFan
7th October 2009, 04:39
I really have no idea, that is why I use a gui.

I've tried a few encodes of this movies, all unsatisfactory.
With "Mpeg deblocking" not selected in MeGUI, colors are fine and there are no dots.

nurbs
7th October 2009, 10:40
@EuropeanMan: Don't really know, sorry.

@73ChargerFan: DGDecode is part of DGIndex so maybe you should try contact the author. First try what poisondeathray sugested and replace replace the DGDecode_mpeg2source with just mpeg2source in the script.

ACrowley
7th October 2009, 16:26
Hello

Question :

I start megui ,the i go to the x264 config, set it to preset very slow, and then i use the Tune-Grain Option.

But i cant see any changes in the cmdline preview window ?
Tune-Grain is deblock -2:-2, psy-rd 1:0.25, no-dct-decimate, ipratio 1.1, pbratio 1.1, aq-strength 0.5, deadzone-intra 6, deadzone-inter 6, qcomp 0.8
But the megui doesnt apply the Tuning-Grain Parameteres like psy-rd 1:0.25 (instaed of very slow 1:0.0) or aq-strength 0.5 (instead of 1.0) ?

The final x264 cmdline into the Output log was :
--profile high --level 4.1 --preset veryslow --tune grain --pass 2 --bitrate 14800 --stats "F:\...stats" --thread-input --deblock -3:-3 --bframes 3 --b-adapt 2 --direct auto --b-bias 0 --scenecut 40 --ref 5 --vbv-bufsize 40000 --vbv-maxrate 40000 --rc-lookahead 60 --aq-mode 1 --aq-strength 1.0 --merange 24 --me umh --subme 9 --partitions p8x8,b8x8,i4x4,i8x8 --trellis 2 --psy-rd 1.0:0 --no-dct-decimate --no-fast-pskip --aud --output "F:\...264" "F:\..."

So which Parameters will x264 use ? The Tune Tweaks or not ?, even its not visible in the cmdline ? Its a litte bit confusing imho...

Dark Shikari
7th October 2009, 18:19
So which Parameters will x264 use ?It will use the explicitly-set parameters, not the ones you intended for it to use.

Yes, MeGUI is broken.

newstd
7th October 2009, 20:41
I am trying to have a better understanding of how MeGUI is determining interlaced/progressive through AVS script creator.
I am also referring to a previous post on this subject in this thread (march 2009).

MediaInfo (StaxRip uses MediaInfo probably) is a library which is able to parse only the headers/footers from files, whereas the Analyzer in the AVS Creator parses some parts from the whole stream. That's why you can have some differences, especially with this kind of information (interlaced/progressive).

This is not accurate all the time. Depends on the source type...


I am analyzing DVD sources (mostly in PAL) and AVS script creator always determine them as progressive (with the .d2v file created previously by DGIndex).
On the other side, Mediainfo parses them as interlaced VOBs, which would make sense to me as I always thought that DVDs were encoded in interlaced mode for keeping compatibility with analog devices.

So, any deeper clarification would help me ...

Inspector.Gadget
7th October 2009, 20:52
newstd: MediaInfo tells you about the flagging on the stream, MeGUI tells you about the actual content. Some PAL DVDs are 25p flagged as 50i.

ACrowley
8th October 2009, 07:28
It will use the explicitly-set parameters, not the ones you intended for it to use.

Yes, MeGUI is broken.

yes i see,no one of the Tune-Grain Paramters is used from megui.

The Output x264 File is encoded without Tune Grain Settings. I fan see it in the x264 log and with mediainfo/avinaptic.

Hopefully megui will be fixed soon

LeXXuz
8th October 2009, 17:52
Anybody else noticed a significant drop in filesize (and quality) between the actual 1056 build with x264 v1259 and older builds (mine was 1051 with x264 v1173)?

EDIT: Nevermind. In the meantime I noticed that there has been a change through redefining the crf-modes. Should read the forums more frequently.^^

nhope
9th October 2009, 03:02
Nero Audio Sample Rate Gets Halved

I'm inputting AVI files (AVS) with either 44100 Hz or 48000 Hz. When I choose Nero AAC audio with one of the templates such as NDAAC-HE-64kbps or NDAAC-HE-MultiChannel-128kbps the sample rate gets halved to 22050 Hz or 24000 Hz, even though sample rate is set to "keep original" in MeGui. Is this normal? Any way to prevent it? I specifically set the sample rate (e.g. "Change to 44100 Hz) but that didn't help.

Also when I uploaded such MPEG4 files to YouTube the audio comes out OK. But if I upload them to Facebook the audio comes out at half speed.

EuropeanMan
9th October 2009, 03:08
Anybody else noticed a significant drop in filesize (and quality) between the actual 1056 build with x264 v1259 and older builds (mine was 1051 with x264 v1173)?

I wish I could...I can't even encode anything anymore.

tebasuna51
9th October 2009, 03:24
Nero Audio Sample Rate Gets Halved

Do you know what is the HE part of AAC-HE?

http://en.wikipedia.org/wiki/HE-AAC

nhope
9th October 2009, 20:28
Do you know what is the HE part of AAC-HE?

http://en.wikipedia.org/wiki/HE-AAC
I didn't really know, so thanks for the link, from which I read that:

"MPEG-2 and MPEG-4 AAC LC decoders without SBR support will decode the AAC LC part of the audio, resulting in audio output with only half the sampling frequency, thereby reducing the audio bandwidth."

So I guess AVInaptic and Gspot see just the AAC LC part and report that. And Facebook somehow gets confused between reading the uploaded file and encoding it.

So I'm now searching for a good audio format to upload to YouTube, Facebook etc. along with my x264 video. The YouTube help says:

"you may get the best uploading results from converting your file to MPEG4 video with MP3 audio."

Lame MP3 at 192 or even 256kbps would be great but I can't mux MP3 audio with x264-encoded video into an MP4 wrapper can I? Or can I mux them into something else using MeGUI?

Edit: YouTube recommendations here: http://www.google.com/support/youtube/bin/answer.py?answer=132460
How can I mux MP3 or AAC in an MPEGTS container with x264 video? Is this actually possible?

Dark Shikari
9th October 2009, 20:29
I didn't really know, so thanks for the link, from which I read that:

"MPEG-2 and MPEG-4 AAC LC decoders without SBR support will decode the AAC LC part of the audio, resulting in audio output with only half the sampling frequency, thereby reducing the audio bandwidth."

So I guess AVInaptic and Gspot see just the AAC LC part and report that. And Facebook somehow gets confused between reading the uploaded file and encoding it.If there's a problem in the Facebook encoding chain report all the specific info (and upload a sample file with the problem) and I can forward it to the right people.

invy
9th October 2009, 23:59
Hello guys. Is there any way to automatically mux x264 video and aac-lc audio to .MP4? I have to do it about 25 times so MeGUI is annoying here because I have to go through the menu to get to the muxer each time. It's such a hassle. How does everyone else do mass muxing?

Also I've already tried to do it with command line with mp4box but it would still take me a good 30 mins, although it is only SLIGHTLY less annoying this way. Any tips? Perhaps there's a different program to do this easily? BTW filenames are nearly identically since these 25 clips are from same tv series, if it helps any.

nhope
10th October 2009, 05:32
If there's a problem in the Facebook encoding chain report all the specific info (and upload a sample file with the problem) and I can forward it to the right people.

That would be great. I already informed them about it but didn't get a response and I've since deleted those files. I'll set up a new test case. Which of the ND-AAC templates would be theoretically a good one to choose for uploading audio to YouTube/Facebook (that they will obviously re-encode)? One of the 192kbps ones perhaps? HE or LC?

Dark Shikari
10th October 2009, 05:34
That would be great. I already informed them about it but didn't get a response and I've since deleted those files. I'll set up a new test case. Which of the ND-AAC templates would be theoretically a good one to choose for uploading audio to YouTube/Facebook (that they will obviously re-encode)? One of the 192kbps ones perhaps? HE or LC?Facebook just uses [mostly] stock ffmpeg for decoding, so anything ffmpeg will handle is good. So LC-AAC is your friend.

nhope
10th October 2009, 08:43
Facebook just uses [mostly] stock ffmpeg for decoding, so anything ffmpeg will handle is good. So LC-AAC is your friend.

I uploaded MPEG4 test videos using both the NDAAC-LC-MultiChannel-192Kbps and NDAAC-HE-64Kbps templates and the audio got encoded correctly by Facebook in both cases. Looks like Facebook have fixed it. Thanks for the reply.

RandomEngy
11th October 2009, 20:54
Hey, I'm having a bit of a problem trying to get multiple audio tracks on an MP4 file. I've got an MP4 file with an AAC audio track. I add the video and audio from that file, then another AAC track to it and mux them. The second track is a commentary track. The resulting file plays fine with Zoom Player, but Windows Media Player picks the commentary by default and I can't find a place to change it back. Quicktime plays both at once and doesn't let me change it.

Is there some way to specify that one track is the default track?

Guest
11th October 2009, 21:20
I've got an MP4 file with an AAC audio track. What is it and where did you get it?

SacredCultivator
11th October 2009, 21:34
Just wanted to double check on "Updates", there haven't been any through Kurtnoise's server and Sharktooth isn't back yet correct?

RandomEngy
11th October 2009, 21:46
What is it and where did you get it?

Well I just encoded a video to x264/PCM AVI in vegas, then used SUPER to put the video stream in an MP4 container, while encoding the audio to AAC. I didn't see a place to put in multiple audio tracks in either program so I'm trying to add it in after the fact.

eyeguy
13th October 2009, 01:20
Just installed megui on a new computer and trying to encode x.264 file and getting an error:

--[Information] [10/6/2009 1:38:46 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream: C:\Program Files\MeGUI\tools\x264\x264.exe: unknown option -- progress

any help is appreciated!

ACrowley
13th October 2009, 09:29
Just wanted to double check on "Updates", there haven't been any through Kurtnoise's server and Sharktooth isn't back yet correct?

correct...megui is still broken

Dark Eiri
13th October 2009, 15:28
^ It works for me.

Jo-eL
14th October 2009, 10:25
Just had to reinstall megui yesterday and had never have any problems before, but now the picture jumps already in the prewiev, I think there is something that have forgotten to install but I cant figure it out please help...

if you need more info let me know

Shandra
15th October 2009, 00:15
Well, I can just say - after a few experiments - if you stick to kurnoises server -> you live on the edge, but from my experiments I would conclude that sticking to *.1051 is the better way if you want to stay archival...
May I add - in my Opinion and Circumstances..... Because from what I had "preiviewed" with the branche from Kurtnoise is very promising!!! But somehow it is lacking a certain basic something :( But I may venture into saying that this certain "basic" was at no way an intention of this development of the tree....

So, why can't we just step back to use the old branch of a tree (*.1051) and be happy with the results ??? Should we truly argue against those who actually develop? Either we are Testies, or we are Users.... I stick to be a user... and from my experiences that means to stay with megui.org and my old install..... Maybe I am missing a something certain by that, but the Macroblocks Artifacts I came to notice by the Kurtnoise "uptodate"-branche ain't worth any further discussions! That branche is great in its own way, but not unless you are willing to build it, the enoding parameters, all up from *scratch* again.......

P.S.: I really love the "edge" branche, but it really is somehow less quality with same parameters... I don't know how to put it, but there are some Macro Artifacts that are not within the old build.... Maybe that is a decoder question? With me it is good old FFDShow TryOuts 090902....

Chainmax
15th October 2009, 03:54
I am also receiving an error message after installing MeGUI anew in preparation for a series of encodes I also receive an "unrecognized option" error. This is the generated CLI line:

program --profile high --preset fast --crf 18 --thread-input --deblock 1:1 --keyint 240 --min-keyint 24 --bframes 8 --b-adapt 2 --b-pyramid
--b-bias 0 --scenecut 40 --ref 16 --vbv-maxrate 25000 --rc-lookahead 40 --no-mbtree --aq-mode 1 --aq-strength 0.5 --merange 32 --me umh
--subme 9 --partitions all --trellis 1 --psy-rd 0.6:0 --no-dct-decimate --no-fast-pskip --output "output" "input"

And here's the error message:

[NoImage] Standard error stream: X:\wherever\x264.exe: unrecognised option `--rc-lookahead'

The option is located in the "Rate Control" tab, right above the "Use MB-Tree" option and there does not seem to be a way to disable it, even having MB-Tree unchecked (which I assume is what uses this lookahead setting).

prOnorama
15th October 2009, 04:21
Update your x264.exe to the latest version from x264.nl

(A moderator should make a sticky about this and other MeGUI update issues methinks)

elkey
15th October 2009, 15:13
Edit........................

Inspector.Gadget
15th October 2009, 15:56
We can't help you with Rule 6 material.

elkey
15th October 2009, 16:10
What do you mean?
If I get mistake, plz forgive it. I'm not good at using Eng. I've tried many ways but it's not working so I think the x264's developer can help me.

Inspector.Gadget
15th October 2009, 16:15
You don't own the source material: it is a downloaded "scene" release that violates copyright laws. We do not assist people with that sort of thing here. Read the rules linked at the top of the page.

elkey
15th October 2009, 16:43
You don't own the source material: it is a downloaded "scene" release that violates copyright laws. We do not assist people with that sort of thing here. Read the rules linked at the top of the page.

Well "scene release" ? Do you mean that --> http://x264.nl/x264/

And after step-by-step as i often did it before i re-install my OS, it became what i showed you :(. Pliz help or let me know if i break one more rule :(

Inspector.Gadget
15th October 2009, 16:48
Your source is of a type NOT PERMITTED on doom9. READ THE RULES. They are in simple English.

elkey
15th October 2009, 17:18
Your source is of a type NOT PERMITTED on doom9. READ THE RULES. They are in simple English.

Ops, I understand :(, the source that i used ? Pardon me you guys, i'll notice this carefully :)

elkey
17th October 2009, 14:05
So, now sb help me? Do i break any rulez :D
I have updated the lastest x264, Avisynth and meGUI. Actually I had encoded successfully with the same avs before I reinstalled my OS. And now it causes the problem : Could not open input file 'X:\xxxxxxxxxx.avs'.
http://i303.photobucket.com/albums/nn152/livetolove924/Avs-1.png
Thank you.
Cảm ơn ( in Vietnamese :D ).

NoX1911
18th October 2009, 22:50
Edit: I deleted the previous version of this post since the problem could be solved by flushing the AVS plugins folder (MeGUI hung when loading avs files).

Just want to add that when in v1056 x264 config window it removes the 'advanced' switch whenever i change the template. It was kinda useful to swap the templates and see the differences on the current tab. That's not possible at the moment. I downgraded back to 1051.

RunningSkittle
19th October 2009, 22:46
So, now sb help me? Do i break any rulez :D
I have updated the lastest x264, Avisynth and meGUI. Actually I had encoded successfully with the same avs before I reinstalled my OS. And now it causes the problem : Could not open input file 'X:\xxxxxxxxxx.avs'.
...
Thank you.
Cảm ơn ( in Vietnamese :D ).

Blanking out the file name doesnt change anything :| Read this as to why we cant/wont help you:
http://forum.doom9.org/announcement.php?f=6

Alf Bundy
20th October 2009, 02:31
Hi, the little box for adjusting bitrate is too short for 5 digits :

http://img29.imageshack.us/img29/7320/x264config.png

No big deal.


But, Presets are not applied correctly (always subme7 ?) and Tunings are not applied at all.
And this is a big issue. :(

Because we have to learn how x264 internally works.
Gui's users don't like that. :p

SacredCultivator
20th October 2009, 18:18
I updated my .x264 to the latest which is 1301, but when I try to encode something, it errors on me.

---

Here is the Commandline:
program --profile high --level 4.1 --crf 21.0 --thread-input --deblock -1:-1 --keyint 600 --min-keyint 60 --bframes 4 --b-adapt 2 --b-pyramid --ref 5 --rc-lookahead 60 --me umh --subme 10 --partitions p8x8,b8x8,i4x4,i8x8 --trellis 2 --no-fast-pskip --output "output" "input"

---
And my error is:
"And error occurred: x264 [error]: invalid argument: b-pyramid = --ref"

The weird thing is.. with previous revisions of x264.exe, I never got this problem.

Disabling "Keep some B-Frames as reference" solves this, but I generally have it enabled so not too sure as to whether I actually need it or not.

Thanks.

nurbs
20th October 2009, 18:30
The commits on monday changed how b-pyramid works. You now need either --b-pyramid normal or --b-pyramid strict
Strict is for blu-ray. You can deactivate the checkbox in the codec configuration and put it in the custom command line box instead.

By the way you do know that you haven't been encoding with b-pyramid for a while, right? In r1197 mb-tree has been introduced and made default and it doesn't work with b-pyramid yet, so the latter is switched off automatically.

SacredCultivator
20th October 2009, 18:50
Thanks for the help, and just to clarify, so for b-pyramid, if I use mb-tree, I can just disable "Keep some B-Frames as reference" and as you mentioned, input "--b-pyramid normal" in the custom command line box?

nurbs
20th October 2009, 19:04
No, b-pyramid doesn't work if mb-tree is on. You can deacitvate mb-tree and then you can use the command line switches I told you to turn b-pyramid on. You use the strict mode if you encode for a blu-ray disc (if your playback device is a blu-ray player), you use the normal mode in all other cases. You probably don't want to do that since mb-tree is more important for quality than b-pyramid.

The reason you got the error massage is that the way the --b-pyramid switch in x264 works has been changed yesterday and there hasn't been an update to megui yet to address this. Even before that, ever since x264 r1197 came out (4th of August) you haven't been encoding with b-pyramid because of the incompatibility with mb-tree. It's even in the logs. If you activate b-pyramid when mb-tree is still on x264 will warn you that they don't work together.

The developers said that mb-tree and b-pyramid will be made compatible soon.

SacredCultivator
20th October 2009, 23:53
Okays so if I want to use mb-tree, don't even add the --b-pyramid command correct?

And it's only the "Keep some B-Frames as reference" that needs to be disabled/unticked right?

meatwad666
21st October 2009, 01:39
i've been having an intermittant (or at least intermittantly noticeable) issue where converted files are around 60 ms out of sync. the source material is mpeg-2/ac-3 transport streams from clearQam HDTV captures.

i'd like to be able to upload the source and discuss my settings (to see if it might be a problem independent of megui), but i do know the rules on uploading a 1-minute clip of a capture from NBC. is this permissable?

in case someone can find a flaw in my settings, i have attached my log output. (i've already adjusted the H and W to be div16)

for awhile i thought it might be that avisynth's delayaudio() didnt like the fractional input the delay parameter gives (i.e. 32.0/1000.0) but i'm not sure.

i suppose a comercial would be easier, if the heroes clip is verbotten

Alf Bundy
21st October 2009, 01:45
Okays so if I want to use mb-tree, don't even add the --b-pyramid command correct?

And it's only the "Keep some B-Frames as reference" that needs to be disabled/unticked right?

Yes, "Keep some B-Frames as reference" must be unticked because it sets --b-pyramid wich is now invalid.

SacredCultivator
21st October 2009, 02:56
@Alf: Thanks, okay shall disable that and not touch the custom command line, since nurbs mentioned, the switch basically turns it back on, which is useless with mb-tree.

Zhelkus
21st October 2009, 07:21
It might seem odd to say this in the middle of a need_help/help_offered discussion but I only wanted to bring it out in case it helps. You see, I've been using MeGUI for a very long time now and just yesterday I thought of running UPX on the entire directory just for kicks to see what happened.:p I was amazed when it scraped off more or less 50MiBs from all the EXEs and DLLs.

Yeah I know, this sounds largely like a typical viagra ad... :D. It's just a suggestion, running UPX on all the update files could save up a lot of bandwidth. It's just like saving GIFs as PNGs, or running PNGOUT on PNGs, or using 7zip instead of ZIP or RAR.

I honestly don't know if you cover the expenses of your webspace, but if you do then compressing those files can definitely save up some dollars/pounds/euros. :helpful: Not to mention lessen the time to download them.

I have a hunch this isn't the thread for this tho...:confused:

SacredCultivator
24th October 2009, 16:49
In regard to the --b-pyramid normal... Will there be a patch/update that makes it so when you enable "Keep some B-Frames as reference", it can automatically input either normal/strict? Or will the option be removed as a whole? Since currently it is 'useless' since it inputs only "--b-pyramid" which doesn't allow for encoding and produces an error.

Kurtnoise
24th October 2009, 19:34
http://megui.svn.sourceforge.net/viewvc/megui/megui/trunk/packages/?view=log&sortby=log

goglay
25th October 2009, 00:46
Hello, I have been trying to upmix my 2 channels wav audio source to 5.1 (tried many different codecs, nero, vorbis..) but keep on getting the same error on the soxfilter (I have downloaded to placed in Avisynth's plugin folder)

Here is a picture of the log

http://i583.photobucket.com/albums/ss272/gatsu66/soxfilter.png

tebasuna51
25th October 2009, 01:52
Hello, I have been trying to upmix my 2 channels wav audio source to 5.1 (tried many different codecs, nero, vorbis..) but keep on getting the same error on the soxfilter (I have downloaded to placed in Avisynth's plugin folder)

Here is a picture of the log

More interesting than picture is the text log with avs script.

Maybe you have also the Normalize activated and Sox can't support a two pass process.

goglay
25th October 2009, 03:34
I have tried taking off the normalize option, but still the same error
here is the avs log

[Error] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1056
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Latest .Net Framework installed
-[Information] Hardware
--[NoImage] CPU : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
-[Error] Log for job5 (audio, VTS_02_1 Ta0 48K 16bit 2ch.wav -> VTS_02_1 Ta0 48K 16bit 2ch.mp4)
--[Information] [2009/10/24 07:06:49] Started handling job
--[Information] [2009/10/24 07:06:49] Preprocessing
--[NoImage] Avisynth script
---[NoImage] RaWavSource("E:\VIDEO\VTS_02_1 Ta0 48K 16bit 2ch.wav")
---[NoImage] 2==Audiochannels(last)?x_upmixR110b69cff40b40daac41b30a2e528c51(last):last
---[NoImage] Normalize()
---[NoImage] return last
---[NoImage] function x_upmixR110b69cff40b40daac41b30a2e528c51(clip Stereo)
---[NoImage] {
---[NoImage] Front = mixaudio(Stereo.soxfilter("filter 0-600"),mixaudio(Stereo.soxfilter("filter 600-1200"),Stereo.soxfilter("filter 1200-7000"),0.45,0.25),0.50,1)
---[NoImage] Back = mixaudio(Stereo.soxfilter("filter 0-600"),mixaudio(Stereo.soxfilter("filter 600-1200"),Stereo.soxfilter("filter 1200-7000"),0.35,0.15),0.40,1)
---[NoImage] fl = GetLeftChannel(Front)
---[NoImage] fr = GetRightChannel(Front)
---[NoImage] cc = ConvertToMono(stereo).SoxFilter("filter 625-24000")
---[NoImage] lfe = ConvertToMono(stereo).SoxFilter("lowpass 100","vol -0.5")
---[NoImage] sl = GetLeftChannel(Back)
---[NoImage] sr = GetRightChannel(Back)
---[NoImage] sl = DelayAudio(sl,0.02)
---[NoImage] sr = DelayAudio(sr,0.02)
---[NoImage] return MergeChannels(fl,fr,cc,lfe,sl,sr)
---[NoImage] }
--[NoImage] Commandline used: -ignorelength -q 0.6 -if - -of "{0}"
--[Information] [2009/10/24 07:06:50] Encoding started
--[Information] [2009/10/24 07:06:50] Encode thread started
--[Information] [2009/10/24 07:06:50] Avisynth script environment opened
--[Information] [2009/10/24 07:06:52] Script loaded
--[Information] Output Decoder
---[NoImage] Channels: 6
---[NoImage] Bits per sample: 32
---[NoImage] Sample rate: 48000
--[NoImage] Commandline: C:\Program Files\megui\tools\neroAAC\neroAacEnc.exe -ignorelength -q 0.6 -if - -of "E:\VIDEO\VTS_02_1 Ta0 48K 16bit 2ch.mp4"
--[Information] [2009/10/24 07:06:53] Encoder process started
--[Error] An error occurred
---[NoImage] Exception message
----[NoImage] SoxFilter: (filter) Could not restart filter:
----[NoImage] filter: Unable to make high filter
---[NoImage] Stacktrace: 於 MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[Information] [2009/10/24 07:23:44] Job completed

chainring
25th October 2009, 06:43
Just wanted to report that the latest MeGUI (0.3.1.1056) installed on a fresh XP SP3 system with the latest ffdshow tryouts and AviSynth 2.5.8 was giving me fits. It was fully updated from Kurtnoise's server (http://kurtnoise.free.fr/MeGUI/). Once done creating the AviSynth script, it would go back to the main window and attempt to open the preview window with changes applied, but an error window popped up with many different lines of errors. I selectively commented things out in the AVS script until I got to "Yadif(order=-1)"; commenting it out did the trick. I noticed Yadif is 1.6.0.0, so I downloaded Yadif 1.7.0.0 from Fizik's site, put it in the appropriate directory in MeGUI and all is well.

The actual error looked quite a bit like this (http://forum.doom9.org/showthread.php?p=1333124#post1333124), but with even more, err, vomit. :) If need be I could get an actual screen shot.

tebasuna51
25th October 2009, 16:37
I have tried taking off the normalize option, but still the same error
here is the avs log

...
--[NoImage] Avisynth script
---[NoImage] RaWavSource("E:\VIDEO\VTS_02_1 Ta0 48K 16bit 2ch.wav")
---[NoImage] 2==Audiochannels(last)?x_upmixR110b69cff40b40daac41b30a2e528c51(last):last
---[NoImage] Normalize()
---[NoImage] return last
...


The Normalize() is there.
Maybe isn't your fault.
Try with BeHappy.

Taurus
25th October 2009, 17:10
Just wanted to report that the latest MeGUI (0.3.1.1056) installed on a fresh XP SP3 system with the latest ffdshow tryouts and AviSynth 2.5.8 was giving me fits. It was fully updated from Kurtnoise's server (http://kurtnoise.free.fr/MeGUI/). Once done creating the AviSynth script, it would go back to the main window and attempt to open the preview window with changes applied, but an error window popped up with many different lines of errors. I selectively commented things out in the AVS script until I got to "Yadif(order=-1)"; commenting it out did the trick. I noticed Yadif is 1.6.0.0, so I downloaded Yadif 1.7.0.0 from Fizik's site, put it in the appropriate directory in MeGUI and all is well.

The actual error looked quite a bit like this (http://forum.doom9.org/showthread.php?p=1333124#post1333124), but with even more, err, vomit. :) If need be I could get an actual screen shot.

Read thishttp://forum.doom9.org/showthread.php?p=1332445#post1332445
This might be the reason why yadif fails on your end.
Better read th whole page :p

chainring
25th October 2009, 18:14
Read thishttp://forum.doom9.org/showthread.php?p=1332445#post1332445
This might be the reason why yadif fails on your end.
Better read th whole page :p
Ah, thanks for that. Even with 1.7 solving the immediate problem, it's good to know where the problem(s) may lie.

Summary:
AviSynth 2.5.8 doesn't correctly pass the CPU flags, but 2.6 is good.
Yadif 1.6 doesn't always detect the correct CPU flags, so either set manually through "opt = ", or try Yadif 1.7.

I have a Core Duo 2.16 (Yonah), and it does not support SSSE3, only up to SSE3. Not sure of the difference though...

goglay
25th October 2009, 20:34
The Normalize() is there.
Maybe isn't your fault.
Try with BeHappy.

Thanks for spotting that for me tebasuna, is there a way to remove it in MeGUI?

I have tried upmixing in BeHappy (Vorbis, NeroAAC), but the output file always appears to have some random static noise, not sure why.

Kurtnoise
25th October 2009, 22:30
Thanks for spotting that for me tebasuna, is there a way to remove it in MeGUI?
uncheck the case in the audio config...




@all: now megui.org is updated...So, no need anymore to use /kurtnoise.free.fr/MeGUI/ as update server. I'll remove the files in a couple of days.

[ReX]
25th October 2009, 23:49
After updating to 0.3.1.1057, MeGUI damaged all my x264 profiles and I can't even reinstall Tx264 (says that all of them can't be loaded and the Preset Importer window is empty) or STx264 (MeGUI crashes). :confused:


Then I tried to delete the update cache and reinstall again. Got the same result with STx264 and looks like Tx264 is not even in the update server anymore.

Edit: I did delete the profiles folder to be sure as well, same thing happened.

goglay
25th October 2009, 23:58
uncheck the case in the audio config...

it has been unchecked, that is why we were discussing about it, as tebasuna has stated, the normalize option is there even when I leave it unchecked.

floz23
26th October 2009, 00:14
;1337964']after updating to 0.3.1.1057, megui damaged all my x264 profiles and i can't even reinstall tx264 (says that all of them can't be loaded and the preset importer window is empty) or stx264 (megui crashes). :confused:


Then i tried to delete the update cache and reinstall again. Got the same result with stx264 and looks like tx264 is not even in the update server anymore.

Edit: I did delete the profiles folder to be sure as well, same thing happened.

:( me too!

I am on Vista Business x64

detmek
26th October 2009, 00:40
+1 for profiles. I also had a problem updating mkvmerge from original server. It wont download it. I went back to kurtnoise server and it worked.
P.S. I can not set b-adapt 2 when --preset medium or --ref to 3 when --preset slow

SacredCultivator
26th October 2009, 00:48
Drats for the profiles not working ><

---
EDIT:
Tried creating a new one, and it won't save the settings.

If it helps, Win7 64-bit

Alf Bundy
26th October 2009, 01:36
With XP, it does save my profiles settings. But I have to select them from within the x264 conf dialog.
If i select them from the MeGUI main window, my specific restrictions (for Bluray) are not applied.

And I noticed that Preset Slower sets "subme 10" while Placebo sets "Subme 9".


edit : Well no, custom profiles are not saved properly.
Value for rc-lookahead are saved, but not value for ref-frames.

SacredCultivator
26th October 2009, 01:59
Ahh.. nvm, I see what you mean Alf, if you select it after clicking on 'config' it is 'saved correctly', but if you select it from the main window, it gets reset.

Hopefully that can be fixed.

msaadn
26th October 2009, 02:12
After updating megui to the latest version, its unable to understand the profiles stored and asks whether to delete them or not. Clicking on no doesn't make a difference, it still deletes them. This is a problem.

EDIT:
I manually edited two lines in a profile and then it worked.
<MixedRefs>true</MixedRefs> ---> <NoMixedRefs>false</NoMixedRefs>
&
<BFramePyramid>false</BFramePyramid> ---> <BFramePyramid>0</BFramePyramid>

rtjnyoface
26th October 2009, 02:21
I was unsure if this should go in a different forum or not but I suppose the issue is with megui in some fashion. I haven't been able to find any real reason why this would be happening. On to the issue.

XP Pro SP3
Megui rev 1056
Dgindex 1.5.5
Source: Planet Earth series Ocean deep dvd.

Make a .d2v file, open it in megui's avisynth creator. Input DAR is set correctly as 16:9 (1.88...). Now, after I encode the file the output file is set at 4:3 (1.5). What in the world changed in between encoding and file output? On top of it I've lost about half the film. When I play the file about half of it plays correctly and then near the middle of the film it gets very screwy. I can't forward through the movie past the screwy point. I've remuxed with mkvtoolnix and set the correct DAR but it doesn't fix the film cut/screw up and I would still like to understand what the heck went on. I don't wish to do this for the other 10 or so in the series.

Any suggestions? Any information requested will be provided.

XCyber
26th October 2009, 02:22
;1337964']After updating to 0.3.1.1057, MeGUI damaged all my x264 profiles and I can't even reinstall Tx264 (says that all of them can't be loaded and the Preset Importer window is empty) or STx264 (MeGUI crashes). :confused:


Then I tried to delete the update cache and reinstall again. Got the same result with STx264 and looks like Tx264 is not even in the update server anymore.

Edit: I did delete the profiles folder to be sure as well, same thing happened.

me too
Help!:confused:

SacredCultivator
26th October 2009, 02:29
@msaadn: Yup, that did the trick for me as well.

Although not being able to select the Profile from the Main Window still blows.

msaadn
26th October 2009, 02:30
@rtjnyoface: I think you should post it under the Avisynth usage forum.

Regarding the new megui

Ok even after manually editing those 2 lines there is a huge problem, when you click on config of your own profile, you see the settings of the scratchpad.....

@SacredCultivator: Selecting the profile is working for me so I can't really tell whats wrong.

rtjnyoface
26th October 2009, 02:35
@msaadn

I've done so. Thanks for the suggestion even though I'm unsure if the issue would be with avisynth. This happens regardless of the script filters.

SacredCultivator
26th October 2009, 02:37
@msaadn: Hmm.. If you select the profile from main window... And then select "config", it'll have "scratchpad" settings, unless you select the profile from the Config Window.

Alf Bundy
26th October 2009, 02:37
Is AAC encoding working for you with 1057 ?

I tried AC3 and WAV as input, and with and without "force decoding via directshow", but it always fails with error :

[Error] An error occurred
- Exception message: Abnormal encoder termination -1066598274
- Stacktrace: à MeGUI.AviSynthAudioEncoder.encode()
- Inner exception: null


And may I ask why extension .AAC is not available anymore ?
My .MP4 (video) are played with MPC-HC, while my .AAC (audio) are played with Winamp.
Now they both have the same extension, so I will have to demux raw AAC from MP4 container for my "audio only" files. :(

msaadn
26th October 2009, 02:39
@rtjnyoface: I'm not sure myself. I think its best if you ask a moderator.

@SacredCultivator: Guess what. I decided to force reinstall the core file, and I get reverted to 0.3.1.1051.

SacredCultivator
26th October 2009, 02:40
@Alf Bundy: Hmm... I just did a .wav as input with Nero AAC and that works for me.

stax76
26th October 2009, 02:43
Good idea not to support AAC as it's raw data not containing meta data like if it's SBR, I've removed AAC support from StaxRip as well and further expect and output M4A instead of MP4 making it clear the file contains only a audio stream.

rtjnyoface
26th October 2009, 03:00
@msaadn

Ha. Of all the time I've spent here I've never asked a mod a question. I don't even know how :).

terrypku
26th October 2009, 03:05
I just updated my Megui to 0.3.1.1057, and it can not load my x264 profiles! How to fix it?

Alf Bundy
26th October 2009, 03:05
... and output M4A instead of MP4 making it clear the file contains only a audio stream.
True. I should go to sleep now, it's 3.00am here.
I take my dumb question back.

@ SacredCultivator : You're right, NeroAAC works fine.

Only WinampAAC is broken (at least for me).

msaadn
26th October 2009, 03:17
@rtjnyoface: Lol, Just PM one of them.

@terrypku: We don't exactly know either. Tried a few tweaks but it didn't work well.

terrypku
26th October 2009, 03:21
Oh~
Then maybe the next update will fix it. Hope it's coming soon...

Inspector.Gadget
26th October 2009, 03:23
@Kurtnoise: will you be preserving the stable vs. development distinction for the update servers hosted on megui.org now that you have access again? Thanks.

tebasuna51
26th October 2009, 04:05
I have tried upmixing in BeHappy (Vorbis, NeroAAC), but the output file always appears to have some random static noise, not sure why.

I can't recommend the upmix methods, I always preserve the original data, but if you want ...

Forget the BeHappy/MeGUI methods and try with:
GUIDE: Converting stereo to 5.1 surround for FREE by UrsaMtl (http://forum.doom9.org/showthread.php?t=105684)

aegisofrime
26th October 2009, 04:35
Just updated to the latest .1057, along with it's other accompanying files. It's now having trouble loading the profile .xml files saying "blah blah.xml" cannot be loaded, delete? What gives?

SacredCultivator
26th October 2009, 05:48
@aegisofrime: It's mainly due to the changes made fromt he Revisions of the x264 if I'm not mistaken, as coding got reworked/coded so that causes conflicts with Presets that involved those changes...

Just got to hope a fix for this is released soon, as there is another bug with it in selecting Profiles from the Main Window as well.

aegisofrime
26th October 2009, 06:18
@aegisofrime: It's mainly due to the changes made fromt he Revisions of the x264 if I'm not mistaken, as coding got reworked/coded so that causes conflicts with Presets that involved those changes...

Just got to hope a fix for this is released soon, as there is another bug with it in selecting Profiles from the Main Window as well.

Thanks for the reply. I hope it gets fixed as well. Fortunately, it doesn't seem to affect actual encoding, just annoying in that I have to set the settings manually. I think I might just rollback to 1056, I'm not sure how 1057 is better anyway.

prOnorama
26th October 2009, 11:33
Just updated to the latest .1057, along with it's other accompanying files. It's now having trouble loading the profile .xml files saying "blah blah.xml" cannot be loaded, delete? What gives?

Same problem here + MeGui doesn't even load anymore + crash report to MS

http://img16.imageshack.us/img16/8229/megcrash.png

ACrowley
26th October 2009, 14:28
Thank you!

Would i still would like to see is:

-M2TS Support (calculator)
-x264_x64 Support

EDIT
Problems! Megui doesnt save Setttings:

i create a own Profile with preset very slow. Then i change the Ref Frames to 5 and Bframes to 3 and some other Things.
Evertime i leave the x264 Settings Page the Options are gone and back to default. Its not saved.
Ofcourse i press update when i create a profile :)

LeXXuz
26th October 2009, 14:51
Same problem here + MeGui doesn't even load anymore + crash report to MS


Same here. Despite that messages I get warnungs that a lot of my profiles from the 1056 are somwhat bad/corrupted and MeGUI ask to delete them.

szabi
26th October 2009, 15:13
Hi

One more post about lost profile since I updated megui.

I reinstalled megui and updated from here http://megui.org/auto/stable/ which is not so up to date.
But it is the last correct when profiles worked.

I hope this issue will be solved soon.

Bye
szabi

aegisofrime
26th October 2009, 15:14
Gah, probably better to roll back to 1056. 1057 is more or less broken :(

szabi
26th October 2009, 15:47
I am using 1056 now, but x264 version is r1183.
It is outdated due to persent version is r1310.
Also several attached program is getting outdated.

Now I trying StaxRip which is more up to date, but my favourite is megui.
Perhaps I check which program can be updated from here: http://kurtnoise.free.fr/MeGUI/
MeGui core, data, libs and x264 can remain old but others can be updated.

Bye
szabi

[ReX]
26th October 2009, 16:01
@aegisofrime: It's mainly due to the changes made fromt he Revisions of the x264 if I'm not mistaken, as coding got reworked/coded so that causes conflicts with Presets that involved those changes...

Just got to hope a fix for this is released soon, as there is another bug with it in selecting Profiles from the Main Window as well.

I don't think that's x264's binary fault, I was already updating it manually and it worked fine in the previous build.

Jeff Flowerday
26th October 2009, 16:08
"Mostly Film" & "Film"

Megui analyze comes back wanting to us Film. DGIndex indicated 98.xx percent film.

In these cases I've been running it in Mostly Film mode anyway. I think I'm seeing some stutter on some panning shots, I'm wondering if this is the reason?

Inspector.Gadget
26th October 2009, 16:23
DGIndex tells you how the stream is flagged (always), MeGUI will tell you what's actually in the content (except in weird cases). At 98.xx % film, it's generally safe to force film in DGIndex and not do any field matching or decimation in Avisynth. Try this, and if you don't get any ugly artifacts (usually because the non-film sections are all-black GOPs at the beggining or end or are actually progressive content flagged as interlaced), you're fine.

If you're seeing an intolerable amount of combing, then don't force film in DGIndex and let MeGUI's AVS creator handle it in "Mostly Film" mode using blend decimation.

Jeff Flowerday
26th October 2009, 16:39
DGIndex tells you how the stream is flagged (always), MeGUI will tell you what's actually in the content (except in weird cases). At 98.xx % film, it's generally safe to force film in DGIndex and not do any field matching or decimation in Avisynth. Try this, and if you don't get any ugly artifacts (usually because the non-film sections are all-black GOPs at the beggining or end or are actually progressive content flagged as interlaced), you're fine.

If you're seeing an intolerable amount of combing, then don't force film in DGIndex and let MeGUI's AVS creator handle it in "Mostly Film" mode using blend decimation.

On the actual run I'm using the NV version, which doesn't have force film implemented yet. I'm definately not getting any combing doing "Mostly Film", just not sure about the stutter.

So would using "Mostly Film" instead of "Film" cause any issues on "Film" content? My thinking was better safe than sorry, I don't want to have to watch every movie to make sure there isn't any combing.

Inspector.Gadget
26th October 2009, 17:07
What field operation are you using in the NV version? If it's "Ignore pulldown flags", and your source is anything other than 100% film or 100% video, then it's reasonable to expect you will have problems. When handling mixed content in the NV tools, for the moment, you must honor pulldown flags and process in Avisynth.

Jeff Flowerday
26th October 2009, 17:44
What field operation are you using in the NV version? If it's "Ignore pulldown flags", and your source is anything other than 100% film or 100% video, then it's reasonable to expect you will have problems. When handling mixed content in the NV tools, for the moment, you must honor pulldown flags and process in Avisynth.

I'm doing just that, honoring pull down flags and letting avisynth do the processing.

dolphinjet
26th October 2009, 17:59
Hello,

I'm reporting a problem encountered after CoreAVC 1.9.5 installed as the default decoder. My active window will become unresponsive whenever megui starts a new task, either video or audio encode. The window may return to normal when a new task started. Not 100% sure as I usually cannot wait that long.
Reinstalled build 1056 but still the same. May rollback CoreAVC later. Has anyone experience the problem with CoreAVC?

Windows XP SP3
Megui build 1056
CoreAVC 1.9.5

Bard2
26th October 2009, 18:49
Looks like MeGUI core 1057 is buggy: my x264 profiles aren't saved, even partially (due to features update in x264 from r1259M to r1309M, so I can't update profiles manually to match new x264 version).
Even so, I can't make a new profile for x264: MeGUI just does not save lots of tune.

First windowcap: I try to tune x264 through configuration dialog, and save a profile.
Second one: I try to open earlier saved profile to tune it (look at commandline) - obviously it does not save most of tunes (no, I'm not a troll).

Edit: oh, and I'm sooo slow...

Thanks for your attention.
WBR, Bard.

blubberbirne
26th October 2009, 21:09
1057 is evil :D

I'm going back to 1056

wolfbane5
26th October 2009, 22:09
I've got the exact same problem Bard2.

saint-francis
26th October 2009, 22:39
It doesn't even load for me. Immediately crashes. How could such large bugs slip by? We must be missing something here.

Inspector.Gadget
26th October 2009, 22:44
I'm doing just that, honoring pull down flags and letting avisynth do the processing.

Then you should be fine, assuming that you're using (the following applies to the true nature of the content, not the flagging in the MPEG2 stream) TFM/TDecimate with blend decimation to bring down any true video sections to the majority film framerate on mixed sources and an IVTC of your choosing on true hard telecined sources (100% VIDEO in DGIndex, TIVTC/Decomb IVTC in AVS script creator). Can you describe in more detail what goes wrong, visually, in the encoded file?

SixKiller
27th October 2009, 00:06
1057 is evil :D

I'm going back to 1056

Same for me . 1057 is not working for me here. Cannot Save Presets and the Settings for x264 are screwed up. If you change something, save and the reopen, all settings are reset, as if you never changed anything

SacredCultivator
27th October 2009, 00:17
Just to clarify, the settings do get SAVED, but to select it... You have to hit "Config" and SELECT the preset, click and select it, and your settings 'return'. And then okay out and encode.

But you can't just select the profile via the Main Window of meGUI, have to click on 'Config' and then select the preset.

MrVideo
27th October 2009, 05:47
It doesn't even load for me. Immediately crashes. How could such large bugs slip by? We must be missing something here.

While 1057 starts up, it spits out that it has a fatal error and lists 12 major errors.

Back to 1056 I go as well.

MrVideo
27th October 2009, 05:56
1057 is evil :D

I'm going back to 1056

OKay, how does one go back to 1056, when there isn't a backup? All of the other applications are saved to a backup, but megui does not?

ncatt
27th October 2009, 06:01
The problem is incompatible profiles. Get this corrected profiles collection and extract to "allprofiles" folder in MeGUI:
http://www.mediafire.com/?udmmwzn2nyi

:thanks: to Kurtnoise and MeGUI developers for the hard work and time.

MrVideo
27th October 2009, 06:02
Now I'm really screwed, the update to 1057 even deleted all of the H.264 profiles, even the ones that I created. Yes, I answered yes to each of the deletes, but didn't see mine, figuring it would replace them with ones that were right.

This 1057 release is a nightmare. I have work to get done and now it won't happen.:mad::mad::mad::mad::mad:

MrVideo
27th October 2009, 06:17
The problem is incompatible profiles. Get this corrected profiles collection and extract to "allprofiles" folder in MeGUI

No, that didn't solve the problem of MeGUI saying that it has 12 different errors at startup. It also doesn't solve the fact that MeGUI destroyed my profiles. If it didn't like them, it should have converted them. It should never destroy the hard work of users.

I don't know if I'm ever going to get them back to where they were. I made them so long ago, that what I've done is lost from memory.

MrVideo
27th October 2009, 06:37
OKay, how does one go back to 1056, when there isn't a backup? All of the other applications are saved to a backup, but megui does not?

Digging back through the posts, I found one that pointed to a server that had 1056 on it. I fetched that zip and installed it. Now MeGUI doesn't bitch about a ton of startup errors.

Now to figure out what profiles to use to fit what I had before. The profile names have all changed. :confused:

radiant chains
27th October 2009, 06:41
OKay, how does one go back to 1056, when there isn't a backup? All of the other applications are saved to a backup, but megui does not?

There's always
http://sourceforge.net/projects/megui/files/

SacredCultivator
27th October 2009, 07:05
I've learned to cope with the problems, no biggy for me. But definitely hope that a new version will be put out to fix this problem, as I know many that have already reported about it reverted back to 1056.

MrVideo
27th October 2009, 07:40
There's always
http://sourceforge.net/projects/megui/files/

I had to back out the x264 encoder as well. It failed immediately upon encoding startup.

The new profiles are making the once 1.5 hr first pass turn into a 3.5 hr first pass. Now to find the old profiles and see if I an find the one that I was using.

EDIT: No idea where to find the profiles that went with the previous version of x264.

szabi
27th October 2009, 07:55
Hi

I wrote yesterday about update the attached programs but skip main program update.
Now I see core version is 1056 but data and libs still 1051.
Only 1057 update available for them which I really do not want. :cool:
How could I update these to 1056?

Bye
szabi

MatLz
27th October 2009, 08:29
One thing guys...it seems Kurtnoise is actually the ONLY developer of the gui you all need....don't annoy him with words like 'this version is a nightmare...the devil...' or else bad feelings.
Just kindly report the bugs.
It's for you if I say that...

Alf Bundy
27th October 2009, 08:49
I converted AC3 to NeroAAC with the M4A extension.
Now I'm muxing those .m4a with MKVmergeGUI :

http://img23.imageshack.us/img23/8375/m4a.png

Is it to normal to find a chapter file in a .m4a converted from an AC3 track with MeGUI 1057 ?

MrVideo
27th October 2009, 09:09
Now I see core version is 1056 but data and libs still 1051.
Only 1057 update available for them which I really do not want. :cool:
How could I update these to 1056?

Go back a couple of pages and you'll see a couple of links to websites. Take the 2nd one and you'll find the lib 1056.

MeGUI 1056 works with libs 1057. At least it hasn't crashed on me yet.
Data is nothing but help.

MrVideo
27th October 2009, 09:20
One thing guys...it seems Kurtnoise is actually the ONLY developer of the gui you all need....don't annoy him with words like 'this version is a nightmare...the devil...' or else bad feelings.
Just kindly report the bugs.

Unfortunately, as you can see from the various postings, the 1057 update is a real mess. There is no pussy-footing around the issue. There is something drastically wrong with it. Minor bugs is one thing, major failure is another.

Obviously the author's working copy can't be this screwed up, otherwise it wouldn't be working either. Different platform configuration?

While I'm sure that the issue with MeGUI and x264 will get resolved soon, the issue of lost personal profiles isn't.

RyaNJ
27th October 2009, 09:35
I just installed the latest release and it has deleted all of the x264 profiles. Every time I try to reinstall them it says something along the lines of:

---------------------------
Error loading Job
---------------------------
File 'C:\Users\xyz\AppData\Local\Temp\mwext0wn.2ve\allprofiles\x264\x264_dp_ Animation.xml' could not be loaded. Delete?

Anyone have any ideas how to fix this little annoyance?

szabi
27th October 2009, 09:40
Go back a couple of pages and you'll see a couple of links to websites. Take the 2nd one and you'll find the lib 1056.

MeGUI 1056 works with libs 1057. At least it hasn't crashed on me yet.
Data is nothing but help.

All link I found on last 10 pages does not have 1056 update to libs and data.

Bye
szabi

Lugia25000
27th October 2009, 09:42
xvid_encraw_20090605..> 25-Oct-2009 22:11 387k

It is a bad idea to put the encraw version from alexins in the auto update..

The encraw has many bugs and no fps detection.
new xvidcore.dll + old encraw + aviwriter.dll work fine.

PlazzTT
27th October 2009, 10:54
I just installed the latest release and it has deleted all of the x264 profiles. Every time I try to reinstall them it says something along the lines of:



Anyone have any ideas how to fix this little annoyance?

I got this too. I get an error about one of the job .xml files, and then there's a run-time error and MeGUI doesn't open.

RyaNJ
27th October 2009, 10:57
Yeah. That's exactly what I got.

meatwad666
27th October 2009, 12:21
i made 1057 launch by allowing it to delete profiles and I also had to manually delete old job###.xml files. it crashes when i try to reupdate my x264 profiles.

RyaNJ
27th October 2009, 12:30
Deleting them makes the program run but defeats the point because the profiles are essential to most encodings. I've tried force reinstalling them and even that doesn't fix the issue.

Carpo
27th October 2009, 13:59
The problem is incompatible profiles. Get this corrected profiles collection and extract to "allprofiles" folder in MeGUI:
http://www.mediafire.com/?udmmwzn2nyi

:thanks: to Kurtnoise and MeGUI developers for the hard work and time.

Get the files from that post, del X264 profiles in the megui dir and copy them over and 1057 starts fine, does here anyway

Alf Bundy
27th October 2009, 14:07
i made 1057 launch by allowing it to delete profiles and I also had to manually delete old job###.xml files. it crashes when i try to reupdate my x264 profiles.

Well, you could simply remake your profiles.
And it's probably a good idea since Presets and Tunings are now really applied in 1057.

My old profiles were full of redundant commands because Presets and Tunings didn't work with previous versions.
Now, my new profiles have lot cleaner command lines .

The only annoying "bug" is that we have to select a profile from within the x264 conf. dialog (not applied if selected from the main window).

MrVideo
27th October 2009, 14:43
All link I found on last 10 pages does not have 1056 update to libs and data.

http://kurtnoise.free.fr/MeGUI/

Two pages ago. You don't need the data, as all it is is help.

Emulgator
27th October 2009, 16:22
Many thanks for mentioning any incompatibilities.
So I could switch off Auto-Update.
Phew...
And still thanks to Kurtnoise for bringing this "eierlegende Wollmilchsau" to life...

SacredCultivator
27th October 2009, 18:55
With 1057, I forgot to mention, even though I asked this already... If using mb-tree, best to DISABLE b-pyramid and not have it set at normal correct?

mozzle
27th October 2009, 19:15
With 1057, I forgot to mention, even though I asked this already... If using mb-tree, best to DISABLE b-pyramid and not have it set at normal correct?

Yes. B-pyramid is incompatible with mb-tree.

Alf Bundy
27th October 2009, 20:14
Yes. B-pyramid is incompatible with mb-tree.
But will be soon ...

MB-tree still doesn't support b-pyramid (but will soon).


And you dont have to disable B-pyramid manually because x264 automatically discard it if MBtree is used.

Azazel4
27th October 2009, 20:30
Is there anyway to disable the turbo option on automated 2pass/3pass on the x.264 config screen, I prefer to fine tweak the settings but have the ease of automated 2pass,

SacredCultivator
27th October 2009, 21:20
@Alf: Again, thank you, I guess I'll leave it at Normal, since it auto-disables as mentioned.

Alf Bundy
27th October 2009, 21:22
Is there anyway to disable the turbo option on automated 2pass/3pass on the x.264 config screen ?


You can add --slow-firstpass in "Misc" tab -> custom command line.

rapscallion
27th October 2009, 22:04
Using ver 1051 and have no problems creating AVCHD's using that preset and automated 2 pass..
Source has always been 720p or 1080p.

Today tried a source that was 1080i /29.970fps and use a avs script resizing to 720p. The result was a terrribly out of sync audio when the avchd was created (via tsmuxer).

The first pass normally takes about 3hrs.

I'm now going to encode again without resizing the 1080i. I don't know if this is going to work because the first pass estimate is now over 5 hrs!

Is there a way to handle 1080i encodes properly that I'm not seeing ?

MrVideo
27th October 2009, 22:04
I need to restore the x264 profiles that were unceremoniously deleted by the 1057 install.

With 1057 starting up with 12 errors (and not knowing if it will even run correctly) restoring to 1056 and using the latest x264 results in x264 crashing immediately upon start. I returned that to the previous version as will.

But now I'm using the new profiles with old code and, while it does appear to be encoding, the job is taking twice as long as it should.

Where can I find a zip file of the x264 profiles that worked with the previous version of x264 (I don't have the version number handy, as I'm currently at work)? I've been letting the auto-update do its thing, so it should be the last posted version, before this mess.

aegisofrime
27th October 2009, 23:56
I need to restore the x264 profiles that were unceremoniously deleted by the 1057 install.

With 1057 starting up with 12 errors (and not knowing if it will even run correctly) restoring to 1056 and using the latest x264 results in x264 crashing immediately upon start. I returned that to the previous version as will.

But now I'm using the new profiles with old code and, while it does appear to be encoding, the job is taking twice as long as it should.

Where can I find a zip file of the x264 profiles that worked with the previous version of x264 (I don't have the version number handy, as I'm currently at work)? I've been letting the auto-update do its thing, so it should be the last posted version, before this mess.

I seem to have a similar problem with jobs taking twice as long, or rather not finishing at all. I can tell that the job has stalled because the frame count no longer moves. It can't be AviSynth or x264: I didn't touch the former and used the exact same version before I updated to 1057.

MrVideo
28th October 2009, 03:21
I seem to have a similar problem with jobs taking twice as long, or rather not finishing at all.

In this particular case, the job finished, hours after it should have.

After muxing the audio and video, I discovered that the many hours it took to encode was a waste. Why? The audio was out-of-sync and got a little worse as the program progressed.

mordorspfc
28th October 2009, 07:37
Is it possible to output a x264 .FLV file using Megui ??

In case not, i read some people managed to put a MP4 file in a FLV container, how can i do this ??

Thanks a lot

aegisofrime
28th October 2009, 09:17
In this particular case, the job finished, hours after it should have.

After muxing the audio and video, I discovered that the many hours it took to encode was a waste. Why? The audio was out-of-sync and got a little worse as the program progressed.

I wonder how much of that is attributable to bugs in this build though. I might be wrong, but MeGUI is only a frontend. Can a frontend cause these errors?

With my particular job that stalled, a second run with the settings and everything eventually finished it. I still have no idea what caused the first run to stall :(

MrVideo
28th October 2009, 15:18
I wonder how much of that is attributable to bugs in this build though. I might be wrong, but MeGUI is only a frontend. Can a frontend cause these errors?

Yes, MeGUI is the front end. But, that front end is using the new profiles with the previous x264. It seems to have messed up something.

I have a script that has options for the previous version of x264 and I'm using that to do a run of this video and see what happens. It is going a little faster, but not much. We'll see when I get home for lunch where it stands for length of encoding.

I still need the old profiles.

73ChargerFan
28th October 2009, 17:24
I had similar problems with some of my first encodes, with audio going out of sync. I think it was a muxing issue though.

MrVideo
28th October 2009, 18:48
I had similar problems with some of my first encodes, with audio going out of sync. I think it was a muxing issue though.

Not sure why it would be mkvmerge, since the last update for that program was at the end of August.

MrVideo
28th October 2009, 19:01
We'll see when I get home for lunch where it stands for length of encoding.

It is taking just as long, with about a half hour left. Makes no sense. The x264 encoder is (AFAIK) a standalone program. I don't know if there is a ldd equal under Windblows, as I'd use it to see what DLLs it calls.

Ever since loading 1057, things have gone south.

MrVideo
29th October 2009, 05:19
I had similar problems with some of my first encodes, with audio going out of sync. I think it was a muxing issue though.

Tracked my audio sync problem. Something in the beginning of the video, which I can't see in the original, causes the 2:3 pulldown removal to glitch the video after the start of the program. There is 2 seconds of black and then the program. That glitch removed 327 ms of program material.

So, I've now created a new de-muxed set of files with the audio shifted 327 ms, which results in self correction (tested with short versions).

While the audio will now be fixed, the extra long encoding issue still exists.

MrVideo
29th October 2009, 08:47
While the audio will now be fixed, the extra long encoding issue still exists.

I'm now doing a 720p sourced encoding and it is running about 3 times faster than the 1080i sourced encoding. The 1080i source didn't take as long as it has been lately. I'm not using MeGUI to control the encoding. I'm doing it a via my script/command lines.

The use of MeGUI is pretty much dead-in-the-water until the latest x264 encoder, profiles and MeGUI function together without errors.

LigH
29th October 2009, 14:02
About the AutoDeinterlace detection system, possibly based on Berrinam's little tool from 2006 (http://forum.doom9.org/showthread.php?p=765485):

Recently I tested it with a small german DVB capture (MPEG-2, 720x576 16:9, 25.0 fps PAL, Field/Frame interlaced). Not much motion to detect because it was a news report scene. But both Berrinam's tool and MeGUI analyzed it as "Hybrid Film/NTSC" and offered me to use TFM.

Come on, I mean ... it can't be NTSC, because ... well, it is ... PAL, you know?

I wonder which part fooled the detection. Could be a slow-motion effect with blendings?!

I might try to upload the file if you tell me you are interested, but it is >300 MB (could try to compress it to interlaced AVC though)...

buzzqw
29th October 2009, 14:58
@LigH

could you try the deinterlace test from hdc ? is mutuated from berrinam tool too .. but should be a little less aggressive

thanks

BHH

Taddeusz
29th October 2009, 15:30
What happened with build 1057? It is practically worthless! x264 encoder settings don't save right or display correctly. Some settings default a certain way every time you look at them. Very frustrating! If I could go back to 1056 I would but that seems impossible now.

MrVideo
29th October 2009, 16:11
What happened with build 1057?

That is the $64,000 question. As you've probably noticed, there hasn't been an official response to the situation.

It is practically worthless! x264 encoder settings don't save right or display correctly. Some settings default a certain way every time you look at them. Very frustrating! If I could go back to 1056 I would but that seems impossible now.

For me, the new x264 encoder crashed immediately upon startup.

If you dig back through the posts you'll find the link in which you can go back to 1056. I do not understand why MeGUI's files aren't renamed like all of the other tools when a backup is done. If you go into the x264 tool directory you'll find the x264 backup. Remove the new x264 and rename the backup.

Unfortunately that only resolves two of the three issues in order to get back to 1056. I've yet to see a posting as to where to find the x264 profiles that worked with the 1056 release.

aegisofrime
29th October 2009, 16:18
For some reason, 1057 is working fine for me so far. That is after using the new profiles linked previously though.

73ChargerFan
29th October 2009, 19:08
Kurtnoise is working on this all alone now, and has a development build fork. I don't know what happened to Sharktooth, but I think Kurtnoise could use some help.

Zelos
29th October 2009, 21:15
the 1057 release is working for me, after delete all profiles and jobs, before update .

SacredCultivator
29th October 2009, 21:28
Again as I mentioned a few pages back.. You can get 1057 to work right, it's just that it involves way more steps then needed.

If you create a Profile, it is 'saved'.

BUT you can't just 'select' it from teh main window OR 'config' window. In the Config Window, you need to RE-Select the profile you want to use and you'll see that the settings are saved.

It's just tiresome that it invovles way more steps than is needed.

MrVideo
30th October 2009, 09:36
Again as I mentioned a few pages back.. You can get 1057 to work right, it's just that it involves way more steps then needed.

Because of all of these issues, I've gone back to 1056. Returned x264 to the version before this mess. The only thing I needed were the profiles. Today I remembered where I had a set of them.

I installed MeGUI on another system, that I've turned off. While it is at 1034, the profiles that I created, haven't changed in ages.

I moved the new x264 profiles out of the way and copied over all of the old x264 profiles.

MeGUI is happily running an encode and it is faster. The settings in the profile are drastically different than what I used on the command line.

I'll need a lot of proof that this mess has been fixed before I upgrade MeGUI and x264.

MrVideo
30th October 2009, 09:39
the 1057 release is working for me, after delete all profiles and jobs, before update .

Profiles were all deleted by the MeGUI upgrade :mad: No jobs sitting in the queue.

MeGUI started with 12 errors x264 crashed upon startup.

And yes, it doesn't work for me.

Zelos
30th October 2009, 22:09
Profiles were all deleted by the MeGUI upgrade :mad: No jobs sitting in the queue.

MeGUI started with 12 errors x264 crashed upon startup.

And yes, it doesn't work for me.

i said to erase all profile, and not to let megui erase it for you :p

MrVideo
1st November 2009, 22:58
i said to erase all profile, and not to let megui erase it for you :p

If that is the case, then that is another major issue with this upgrade.

I'm back to functioning with 1056 and won't be moving forward until all of the bugs are gone from the distribution of the new MeGUI and x264.

In case someone says that asking for ALL bugs to be gone is just plain silly, it would indeed be silly to ask for such a thing. The ALL bugs in this case are the one pertaining the the installation of the new MeGUI/x264, including any and all profiles, the conversion of person profiles (so that they aren't unceremoniously deleted) and finally, the fact that MeGUI will start without errors and that x264 won't crash either.

TheSane
2nd November 2009, 06:43
Hi,

MeGui is a great tool and not easy to understand.
I have done a few test encodings to get a good result.
Now i have done a Blu Ray recode with the following result:

General
Complete name : X.mkv
Format : Matroska
File size : 17.9 GiB
Duration : 2h 7mn
Overall bit rate : 20.0 Mbps
Writing application : x264
Writing library : Haali Matroska Writer b0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 7mn
Bit rate : 19.6 Mbps
Nominal bit rate : 20.0 Mbps
Width : 1 920 pixels
Height : 816 pixels
Display aspect ratio : 2.35:1
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.522
Stream size : 17.5 GiB (98%)
Writing library : x264 core 78 r1318 fe83a90
Encoding settings : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=8 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=0 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / mbtree=0 / bitrate=20000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00

It's the unrestricted Extra Quality profile is used with the extended Settings.

The problem with the result is, that i can't jump to an position in the film, the player (zoom, media player classic, vlc) freeze an hang up.
How can i fix this?

Any suggestions? Would like to stay with meGUI, HDD is exploding...

PlazzTT
2nd November 2009, 11:00
Any suggestions? Would like to stay with meGUI, HDD is exploding...

Someone else might be of more help, but from quick look, your bitrate (and therefore filesize) are way too big.

Your bitrate is 20Mbps, and filesize 18GB. For a 1080p Bluray encode, I'd imagine a bitrate closer to maybe 8Mbps would be sufficient. (open to correction here)

This huge bitrate is also possibly why your machine is having trouble skipping through the file.

Nightshiver
2nd November 2009, 18:59
For 1080p, I use 15mb. 8mb is way to low, I'd use that bitrate for 720p. For the freezing, 1080p requires an enormous amount of power to play back smoothly. I have 4GB of Ram and a quad-core and I still have stuttering issues with 1080p.

Buggle
2nd November 2009, 23:25
Well, a lot depends on the decoder of course, but I guess you already know that (DivX and CoreAVC being the fastest, latest ffmpeg a good alternative for x64).
@TheSane: why not just try CRF21 and check what bitrate you're getting?
I've seen loads of scene releases that have about 5-6Mbps for 720p and I think they look mighty fine. But as I said, try the CRF encode (you can use the trim() function if you like to speed things up) and see what bitrate you're getting. I personally never use bitrates anymore btw, just CRF modes.

As for MeGUI: I updated to 1057 and it runs fine if you don't use profiles. Since I only use it to make my scripts and then copy them to LordMulder's x64 GUI tool, I don't really care about profiles: I use the x264 ones and am happy with them.

Theliel
3rd November 2009, 03:23
Kurtnoise, another bug with CABAC?

CABAC switch work fine for all profiles but baseline. IF i remember, Baseline profile dont support CABAC. The problem? With Baseline profile selected, you have CABAC enable by default and you cant disable, checkbox dont work.

TheProfosist
3rd November 2009, 12:52
after installing MeGUI and updateing using old servers i put in the address fr the new update server and got this when trying to update:
Trying server: http://kurtnoise.free.fr/MeGUI/
Retrieving update file from server...
Error: Couldn't connect to server.
Error: Could not download XML file

and so i cant update MeGUI past what the old servers had which just wont do!

Theliel
3rd November 2009, 16:32
Some days ago, Kurtnoise tell to everyone that http://kurtnoise.free.fr/MeGUI/ dont work any more. http://megui.org/auto/stable/ its default server for stable. http://megui.org/auto/ for testing

TheProfosist
3rd November 2009, 23:50
thanks had to go to the beta server to get the latest updates. hope next version comes soon because latest is really buggy

TheProfosist
4th November 2009, 04:36
im trying to do 3 pass with x264 in MeGUI and its always failing at like 99% of the second pass no matter what file type i use. any way to fix this?

the program works fine on all my x64 computer but on my x86 computer it fails

i can post a screenshot of what it looks like when it fails if youd like

DivX_Luver
4th November 2009, 13:40
The Program runs, but I needed to download patched profiles for them to load. Normally this would be fine, but whenever I try to save a profile meGui changes some settings on me and stores the profile incorrectly. This bug has forced me to revert to build 1056. This is a development build, so I expect bugs to pop up. Hopefully it will be ready for release soon.:D

Rodger
4th November 2009, 20:34
Short Notice!
Here is so to say Version 2 of my Bitrate-Calc for M2TS.
Download Here: http://www.megaupload.com/?d=808GANCW

===========================================================
There a question to all....
Is it safe now to move on to newer MeGui Version or not so much?
Should I use at least newer libs and data, or are there ONLY compatible to matching MeGui Version?

Triccotracco
4th November 2009, 20:43
Megui 1057 release works fine & faster for me, probably old profiles are not suitable with latest releases of x264 and presets cover very well a lot of situations.:)

Nightshiver
5th November 2009, 01:25
Where are these "new" profiles? They do not appear on the update servers. (Any of them)

SacredCultivator
5th November 2009, 07:03
For those with issues with 1057, just download 1056 and update everything BUT the core update. And you're good until a new, and hopefully fixed version of it is out.

rtjnyoface
6th November 2009, 02:52
There have been a few times when I have accidentally double clicked the status column in the cue tab and the "processing" status changes to "postponed" WHILE I was encoding. It kept encoding but when it was done it didn't move on to the next job (the one reliant upon the one that I accidentally changed) and made 3 hours of encoding worthless because I can't run the next job until I run the 1st one again. Could we possibly get an update ( of course, when the group is able) to keep this from happening?

onefoot
7th November 2009, 00:06
I'm really a noob when encoding video, but 1057 works fine for me for a couple of days, but I deleted all old presets and jobs when asked for at installation status of megui, as the newer versions of X264 make all old presets of X264 obsolete.
Megui 1057 release works fine & faster for me, probably old profiles are not suitable with latest releases of x264 and presets cover very well a lot of situations.:)
If this has been posted before I'm sorry, but megui 1057 works really fine, you just have to delete all old presets and jobs!

TheSane
8th November 2009, 09:48
Someone else might be of more help, but from quick look, your bitrate (and therefore filesize) are way too big.

Your bitrate is 20Mbps, and filesize 18GB. For a 1080p Bluray encode, I'd imagine a bitrate closer to maybe 8Mbps would be sufficient. (open to correction here)

This huge bitrate is also possibly why your machine is having trouble skipping through the file.

For 1080p, I use 15mb. 8mb is way to low, I'd use that bitrate for 720p. For the freezing, 1080p requires an enormous amount of power to play back smoothly. I have 4GB of Ram and a quad-core and I still have stuttering issues with 1080p.


@TheSane: why not just try CRF21 and check what bitrate you're getting?
I've seen loads of scene releases that have about 5-6Mbps for 720p and I think they look mighty fine. But as I said, try the CRF encode (you can use the trim() function if you like to speed things up) and see what bitrate you're getting. I personally never use bitrates anymore btw, just CRF modes.

So i have testet other encoding configurations with bitrate of 10/15Mbit, here is the same problem, as with the 20Mbit file. There is no way to jump to a scene. My PC has enough Power (Q9650 / 16Gb Ram) to do this, scene Releases with every bitrate till 25Mbit have this problem not. So conculsion, MeGui does something not so good as it shoulds.

A working scene release:

General
Complete name : XXX.mkv
Format : Matroska
File size : 16.1 GiB
Duration : 2h 33mn
Overall bit rate : 15.0 Mbps
Encoded date : UTC 2009-10-30 02:38:28
Writing application : mkvmerge v2.9.8 ('C'est le bon') built on Aug 13 2009 12:49:06
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 33mn
Bit rate : 13.0 Mbps
Nominal bit rate : 13.3 Mbps
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.354
Stream size : 14.0 GiB (87%)
Writing library : x264 core 68 r1179M 96e2229
Encoding settings : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=esa / subme=9 / psy_rd=1.0:0.1 / mixed_ref=1 / me_range=48 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-3 / threads=12 / nr=0 / decimate=1 / mbaff=0 / bframes=5 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=1 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=13330 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.90
Language : English


The non working homebrew:

General
Complete name : XXXX.mkv
Format : Matroska
File size : 15.2 GiB
Duration : 2h 25mn
Overall bit rate : 15.0 Mbps
Writing application : x264
Writing library : Haali Matroska Writer b0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 25mn
Bit rate : 14.7 Mbps
Nominal bit rate : 15.0 Mbps
Width : 1 916 pixels
Height : 818 pixels
Display aspect ratio : 2.35:1
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.391
Stream size : 14.9 GiB (98%)
Writing library : x264 core 78 r1318 fe83a90
Encoding settings : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=8 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=0 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / mbtree=0 / bitrate=15000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00


When we look at the encoding setting, there are small differences and the write library is different.

nurbs
8th November 2009, 11:18
Have you tried muxing your video file with an audio track before your playback test? The mkv files produced by x264 take a long time to open before you mux them with audio (or simply remux them), because x264 has to write the file slightly different for some reason I can't remember. Maybe this also influences seeking.

TheSane
8th November 2009, 13:00
Have you tried muxing your video file with an audio track before your playback test? The mkv files produced by x264 take a long time to open before you mux them with audio (or simply remux them), because x264 has to write the file slightly different for some reason I can't remember. Maybe this also influences seeking.

Hey, good point, it seems, that the mkv writing library is the cause of the problem. When i remux it with audio or with no audio, it works (mkvmerge).
:thanks:

szabi
9th November 2009, 11:49
For those with issues with 1057, just download 1056 and update everything BUT the core update. And you're good until a new, and hopefully fixed version of it is out.

I did it and now I see x264r1309 much slower than previous one (r1183) if I use the STx264.v85 profiles.

I think if anyone prefer using these profiles, x264 version should remain r1183.

Bye
szabi

Forteen88
10th November 2009, 03:24
I did it and now I see x264r1309 much slower than previous one (r1183) if I use the STx264.v85 profiles.

I think if anyone prefer using these profiles, x264 version should remain r1183.No, I wouldn't recommend using old x264,
from x264-changelog:
r1296: "Make B-pyramid spec-compliant. x264's b-pyramid implementation, despite being practically identical to that proposed by the original paper, was technically not compliant."
r1282: "Fix bug where x264 generated non-compliant bitstreams with insane SAR values"
r1271: "frame_num was set to 1, not 0, for the first frame. This broke spec compliance."

M4ST3R
10th November 2009, 21:22
A question from a MeGUI/xvid newbie:

The length of the encoded video is 120% the length of the original DVD. The length of the encoded audio is correct.
The DVD is 720x480 29,97fps, the encoded avi is 25 fps. I guess the video is 20% longer because 30/25=1,20. Am I right?
It's not automatically correctly set by MeGUI or I missed something?
Do I need to add something in the avs script? Or is it in the xvid settings? Or in MeGUI itself?

Thanks.

Inspector.Gadget
10th November 2009, 22:00
M4ST3R: You did something incorrectl in your AVS Script, it would appear. Please post the script in its entirety using the forum's "codebox" feature.

M4ST3R
11th November 2009, 12:51
DGDecode_mpeg2source("D:\d2v\d2v.d2v", info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
Load_Stdcall_Plugin("C:\Program Files\Video\megui\tools\yadif\yadif.dll")
Yadif(order=1)
#crop
#resize
#denoise

Untouched, directly made by MeGUI

Likeatree
11th November 2009, 15:14
1057 works great for me besides that it adds --sar 1:1, overriding any custom command line sar i gave it.

Inspector.Gadget
11th November 2009, 15:41
Well, you're not doing anything in that script that would take a 30i source down to 25p when using a properly made D2V. How are you muxing the AVI? And are you referring to the one that is made when XviD transcoding is complete, or the one you remux with audio?

Finally, does this happen with all sources or just that one?

M4ST3R
11th November 2009, 16:02
Well, you're not doing anything in that script that would take a 30i source down to 25p when using a properly made D2V. How are you muxing the AVI? And are you referring to the one that is made when XviD transcoding is complete, or the one you remux with audio?

Finally, does this happen with all sources or just that one?

When the encoding is finished, MeGUI open the muxer (don't remember the name), I drag and drop the video and audio files to its window, then click process or something.
Both the final muxed file (xvid+mp3) and the xvid only file are 20% longer, according to virtualdub, vlc... The audio is correct though, even if of course it's out of sync (the last 20% of the avi is silent)
I just tried with a PAL DVD, I don't have this problem.

By the way, I'm a bit confused, the encoded xvid should be 25 or 30fps?

Inspector.Gadget
11th November 2009, 16:19
Should be 30. This is a (re)muxer issue. If you're using MKVMerge and MeGUI is fouling up something, it defaults to 25fps. Make sure the FPS is correctly set in the muxer GUI when remuxing, and if the problem persists, switch to muxing manually with AviMuxGUI or MKVMerge until MeGUI is repaired.

M4ST3R
11th November 2009, 16:54
I said I didn't remember the name of the muxer launched by megui after the encoding, it's actually AVI-Mux GUI 1.17.7. I click on settings but can't find an option to set the fps

Inspector.Gadget
11th November 2009, 17:39
Do it manually through the program's own interface. AMG should be able to detect muxing FPS from the input. If the problem happens even without MeGUI, please report it to the AMG developer. If not, then file a bug report at the MeGUI tracker and wait for it to be fixed (this will take a long time).

M4ST3R
11th November 2009, 18:08
Do it manually through the program's own interface.
Program, you mean MeGUI?

Inspector.Gadget
11th November 2009, 18:08
No, I mean AVI Mux GUI.

M4ST3R
11th November 2009, 18:16
Like I said in a previous post, I can't find the option to set the fps in AVI Mux GUI

Thanks

rapscallion
11th November 2009, 18:22
Quick question guys.
Using avchd or Blu-ray sa preset (Megui v1051/stable) how much processing time (as a %) does enabling "deblocking" add ?