Log in

View Full Version : MeGUI: General Questions and Troubleshooting Thread


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 [112] 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186

DeWTurk
15th July 2010, 16:58
read the guides... if you don't want to use the one-click encoder you have to index the file first.
also, why you said it "doesn't work with avisynth"? what makes you thing megui doesn't work with avisynth (coz it's the contrary... megui can't work without avisynth...)?

Ok I do it. Source is ".mkv" file avisynth is not work , but chage format ".avi" aviscripth creator worked. I do autoencode now.
sorry for not tell
sorry for English

Thanks

Sharktooth
15th July 2010, 17:26
avisynth has nothing to do with that.
probably your MKV file was muxed with MKVMerge 4.1.x. Since 4.1.0 it uses a particular Header compression that is not supported by eac3to, ffms2 and other softwares so MeGUI cant read the file.
what you have to do is using the latest MKVToolnix (4.1.x) and demux the video and audio streams from the MKV file then you can use MeGUI to encode the streams separately and then remux them in your favourite container (mp4, mkv, m2ts... etc).

lilhobo
15th July 2010, 18:54
so how do i backup dvd from this interface?

Sharktooth
15th July 2010, 21:28
@lilhobo: as i told you... :readguid:
there is a sticky thread... have a read.

eneskilic
19th July 2010, 00:37
http://i29.tinypic.com/25z79f9.png

im not using any filter...

flebber
19th July 2010, 02:00
what set up do you have, is avisynth installed, is ffdshow installed, is haali installed?

Sharktooth
19th July 2010, 02:22
also post your script

DeWTurk
19th July 2010, 14:11
I got a muxe proplem. Waiting for two hours
At the end of the work failed

Details
http://i27.tinypic.com/17pu8g.jpg

http://i32.tinypic.com/4jazyq.jpg

Guest
19th July 2010, 14:17
@DeWTurk

Why are you hiding the filenames?

Sharktooth
19th July 2010, 14:24
indeed, it seems there is a problem with the filename

DeWTurk
19th July 2010, 14:25
@DeWTurk

Why are you hiding the filenames?

I think not important ads are being

here

http://i29.tinypic.com/9joh01.jpg

Sharktooth
19th July 2010, 14:32
that's just a part of the filename...
however, try to rename your input file to something simplier and shorter.

DeWTurk
19th July 2010, 14:37
that's just a part of the filename...
however, try to rename your input file to something simplier and shorter.

yep full file name "A.Takimi.A-Team.132"

edit:This problem is caused mkvmerge ?

Sharktooth
19th July 2010, 14:47
either MKVMerge or megui generating a wrong commandline for MKVMerge.
could you please try renaming the source file and see if it works?
also, please post the complete log, thanks

Zathor
19th July 2010, 19:11
You are using MeGUI 0.3.3 and MkvMerge 4.0.0 - these two versions are not compatible. Please update to MeGUI 0.3.5.

Sharktooth
19th July 2010, 20:25
LOL, true :) i didnt look at the version...

DeWTurk
26th July 2010, 23:23
ok my prople resolved. Thanks

I want to say anything

Megui 3.5 version hq- profile does not work up to 3.5 version my x264 profiles deleted.

Clumpco
31st July 2010, 04:48
I've used MeGUI for years (currently 0.3.5.0) and about 25% of the time when a job tries to mux SRT subtitles into a MKV output file I get this dialog box that says:

Error parsing idx file
<name of file>
Input string was not in a correct format

This stops the job queue until I click OK in this dialog box, after which it muxes the output just fine. My question is, is there something in a SRT file (created by Subrip) that causes this error so that I can try and avoid it?Hi,
Sorry that the answer is a bit late - hope I didn't miss someone else's answer in the intervening time.

This error is due to spurious data at the end of the srt file. Usually you get this with srt subs extracted from edited DVB streams, notably if you extract them with ProjectX. Just open up the srt file in a text file viewer (e.g. notepad) and delete any subtitles at the end of the file that have a begin (or end) timestamp after the end of the video stream. Also remove any spurious extra blank lines at the end of the file.

Alternatively, I am currently developing a simple Teletext Only DVB subtitle extractor. It does a cleaner and faster job than ProjectX; a very beta version can be found HERE (http://www.clumpton.com/uknwebimg/Subs/publish.htm) (Windows only, needs .Net 3.5).

footballer
1st August 2010, 00:13
Hello you all,

Is it possible to encode movie if source file is .mkv? I'm Windows 7 32bit user. Which codecs do i need?

Or is there any tutorial how to encode movies with MeGUI if you are Windows 7 user?

Thanks in advance. Great forum :)

Capsbackup
1st August 2010, 00:37
Install avisynth 2.58, haali, and ffdshow. You will be good to go!
You can encode .mkv, no problem.
XP, Vista, Windows 7... basically the same for MeGui. Just use search, and play around, you will learn pretty fast. :)
Start with small files, short movies, trailers, etc... until you get the hang of it. Change profiles per your liking and bitrates for your desired file size.
http://forum.doom9.org/showthread.php?t=112496

lchiu7
1st August 2010, 01:15
Unless things have changed a bit since when I installed x264 etc on Windows 7 to encode h.264 I also had to worry about DS Filters and used the tool discussed here

http://forum.doom9.org/showthread.php?t=146910

Then for decoding VC1 (not so common now it seems) you need the right version of the Haali splitter - the latest one online doesn't work properly. I am not sure which version works but possibly the one dated 11/01/2009. This caused me endless grief as my VC1 decodes ended up with flickering video.

But I also see a version

20/05/2010

* New Features:
o Added support for WebM files
* Fixed items:
o Fixed a lot of issues with mp4 muxer
o Better support for VC-1 in MPEG Transport streams

which might also have fixed the problem.

Floatingshed
1st August 2010, 21:53
Does anyone know how to start the megui thread using the windows task scheduler?
I often have my pc capturing tv until the early hours then when its done it would be useful to have megui start up and run a few jobs while I'm asleep...
Thanks.

kenpachi
2nd August 2010, 11:57
I'd like to request a new feature, but http://forum.doom9.org/showthread.php?p=1150587#post1150587
says new place for it is "sf tracker". Is it here or somewhere else?

Lighto
2nd August 2010, 12:13
I'd like to request a new feature, but http://forum.doom9.org/showthread.php?p=1150587#post1150587
says new place for it is "sf tracker". Is it here or somewhere else?

http://sourceforge.net/tracker/?group_id=156112&atid=798479

LigH
2nd August 2010, 15:32
I wonder if I misunderstand how to use the MeGUI to create an anamorphic x264 encode, or if there is a bug in version 0.3.5.6...

Windows XP SP3 german (decimalsep=comma, thousandsep=dot) - in case it is important...

I open a DVB PAL MPEG2 (720x576, 25 fps) via DGMPGDec 1.5.8 and a simple AviSynth 2.5.8 script, no resizing. Video preview displays it at 720x576 and shows AR=1.25.

I select AR=16:9 (1.7777778) - with or without "Show DAR" checked - and add the job ... but the stored job1.xml still contains: "<DAR> <ar>1.25</ar> </DAR>"; no sign of any stored 16:9 DAR or 16:11 SAR.

When the Video Preview window is closed and reopened, it is reset to SAR 1:1 (DAR 1.25).

Maybe I need to enforce it in the x264 "Config" dialog, "Misc" tab of the advanced settings? ... So there I set "Force SAR: 16:11". Queue cleared, job added ... same content?!

Well, I encode anyway ... now that is confusing, the log shows a command line similar to this: "{x264.exe ...} --sar 16:11 --sar 1:1 --output {*.264 *.avs}"

Now, what is keeping me from sending "--sar 16:11" to x264 with MeGUI 0.3.5.6 (DEV)?
__

Aha, my fault: I created the AviSynth script manually.

Without declaring the global variables "MeGUI_darx" and "MeGUI_dary"...

xxx666yyy777
2nd August 2010, 22:10
Hi There - not sure, if this is the right place, but i hope so:

I have encoded two movies to be used in iTunes (for syncing to an iPad). One move imports fine into iTunes and can be synced with no problem, the other movie however wil not even import into iTunes. I used the same video/audio settings for both files and am currently at a loss, as to why the different behavior. I have attached two mediainfo outputs below...maybe someone sees what the problem is. I am using MeGUI 0.3.5.0 and iTunes 9.1.1.

Cheers!

1. This file is working fine with iTunes:

General
Complete name : E:\good.mp4
Format : MPEG-4
Format profile : Apple iPhone
Codec ID : M4VP
File size : 1.26 GiB
Duration : 1h 53mn
Overall bit rate : 1 595 Kbps
Encoded date : UTC 2010-08-01 20:07:44
Tagged date : UTC 2010-08-01 20:07:44
desc : iPad

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 53mn
Bit rate mode : Variable
Bit rate : 1 431 Kbps
Maximum bit rate : 11.0 Mbps
Width : 1 024 pixels
Height : 432 pixels
Display aspect ratio : 2.35:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.135
Stream size : 1.13 GiB (90%)
Writing library : x264 core 98 r1649 c54c47d
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=10000 / vbv_bufsize=10000 / crf_max=0.0 / ip_ratio=1.40 / aq=1:1.00 / nal_hrd=none
Encoded date : UTC 2010-08-01 17:00:35
Tagged date : UTC 2010-08-01 20:08:41

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 : 1h 53mn
Bit rate mode : Variable
Bit rate : 160 Kbps
Maximum bit rate : 169 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Stream size : 130 MiB (10%)
Encoded date : UTC 2010-08-01 20:08:32
Tagged date : UTC 2010-08-01 20:08:41


2. This file is NOT working with iTunes:

General
Complete name : E:\bad.mp4
Format : MPEG-4
Format profile : Apple iPhone
Codec ID : M4VP
File size : 689 MiB
Duration : 1h 15mn
Overall bit rate : 1 281 Kbps
Encoded date : UTC 2010-08-01 21:01:25
Tagged date : UTC 2010-08-01 21:01:25

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 15mn
Bit rate mode : Variable
Bit rate : 1 117 Kbps
Maximum bit rate : 15.2 Mbps
Width : 1 024 pixels
Height : 400 pixels
Display aspect ratio : 2.560
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.114
Stream size : 600 MiB (87%)
Writing library : x264 core 98 r1649 c54c47d
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=10000 / vbv_bufsize=10000 / crf_max=0.0 / ip_ratio=1.40 / aq=1:1.00 / nal_hrd=none
Encoded date : UTC 2010-08-01 12:20:37
Tagged date : UTC 2010-08-01 21:01:50

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 : 1h 15mn
Bit rate mode : Variable
Bit rate : 160 Kbps
Maximum bit rate : 168 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Stream size : 86.0 MiB (12%)
Encoded date : UTC 2010-08-01 21:01:46
Tagged date : UTC 2010-08-01 21:01:50

Atak_Snajpera
2nd August 2010, 23:53
Maybe itunes does not like this
Width : 1 024 pixels
Height : 400 pixels

I have never seen movie with 2.56:1 aspect ratio! Valid aspect ratios are 4:3,16:9,1.85:1,2:35:1,2:40:1

Shevek
3rd August 2010, 00:09
Maybe itunes does not like this
Width : 1 024 pixels
Height : 400 pixels

I have never seen movie with 2.56:1 aspect ratio! Valid aspect ratios are 4:3,16:9,1.85:1,2:35:1,2:40:1

from wikipedia (http://en.wikipedia.org/wiki/Aspect_ratio_%28image%29#Previous_and_presently_used_aspect_ratios)

2.55:1 - Original aspect ratio of CinemaScope before optical sound was added to the film in 1954. This was also the aspect ratio of CinemaScope 55.
:rolleyes: :p

Lighto
4th August 2010, 15:52
http://i29.tinypic.com/25z79f9.png

im not using any filter...

Got that recently, solved it by renaming to a simple file name(1.mkv).

Triccotracco
5th August 2010, 05:34
Please update mkvmerge package to 4.2.0 because with 4.1.1 version I've no sound on my WD TV player with .mkv files (x264+AC3 streams)

Thank you
:)

nurbs
5th August 2010, 07:32
Did you test if it works with 4.2.0? If you don't have sound on a hardware player it's probably because Mosu turned on header removal compression per default (for AC3 in version 4.1.0). In 4.2.0 it's also on for H.264 video so your file probably won't play at all.

Zathor
5th August 2010, 10:38
With the next development build the header compression will be disabled. The change has been committed already.

Triccotracco
6th August 2010, 06:46
Did you test if it works with 4.2.0? If you don't have sound on a hardware player it's probably because Mosu turned on header removal compression per default (for AC3 in version 4.1.0). In 4.2.0 it's also on for H.264 video so your file probably won't play at all.

Yes, you are right now with 4.2.0 also video won't play. I understand also that is also a player issue, hoping a new fw from WD.

With the next development build the header compression will be disabled. The change has been committed already.

thanks.:)

Lyle_JP
6th August 2010, 07:05
I understand also that is also a player issue, hoping a new fw from WD.

Don't hold your breath. The WD user community has been begging for a new firmware to fix all the bugs introduced in the last firmware for over 8 months now. WD has abandoned them. They refuse to even acknowledge the bugs.

tebasuna51
6th August 2010, 13:05
Yes, you are right now with 4.2.0 also video won't play. I understand also that is also a player issue, hoping a new fw from WD.
You can remux your problematic mkv without header compression. Use MkvMergeGUI, or UsEac3to (http://forum.doom9.org/showthread.php?p=1421955#post1421955), or a batch file like:
@echo off
for %%a in (*.mkv) do "C:\Archivos de programa\MKVtoolnix\mkvmerge.exe" -o "%%a_m.mkv" --compression -1:none "%%a"
pause

mariush
7th August 2010, 02:23
Technically it's not really a bug but I think it should be caught and use be notified more nicely...

drag a mkv file with no audio tracks on the audio encoder section, select mp3 128 abr, queue, and when you start the job it fails..

Log says :


--[Error] An error occurred
---[NoImage] Exception message: Script error: Invalid arguments to function "Audiochannels"
---[NoImage] Stacktrace
----[NoImage] at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[Information] [8/7/2010 2:43:23 AM] Job completed


I accidentally dragged ep315.mkv instead of ep315.avs and for a moment I didn't realize the problem - for someone more noobish he may have some problems realizing the error.

Wouldn't it make sense to have some basic check when you a file is dragged on the audio input section? There are some checks when you drop audio files (for example mp3) on the video section (though I must admit it's a very long and scary message and one that wouldn't make sense to someone a bit rookie)

... Oh by the way, after clicking ok the mp3 file path still remains in the avysinth script text box on the video section so if someone clicks enqueue, you get error in avisynth message, bad script, unexpected character and so on...

/// MeGUI 0.3.5.0

7ekno
7th August 2010, 02:37
You can remux your problematic mkv without header compression.

That one won't do video (for 4.2.0) nor subs header compression ...

I wrote fixMKV as a BAT file to remove all header compression from all faulty MKVs:
http://forum.doom9.org/showthread.php?t=155976

7ek

tebasuna51
7th August 2010, 11:30
That one won't do video (for 4.2.0) nor subs header compression ...

Works for me also for video tracks.

Triccotracco
7th August 2010, 13:07
Works for me also for video tracks.

Yes, also for me now works, audio & video (x264 i.e.).

Pringles
10th August 2010, 11:25
Do you know what's the difference between aften AC-3 and FFmpeg AC-3? What would be the benefit to use one or another? Thanks!

tebasuna51
10th August 2010, 12:29
Do you know what's the difference between aften AC-3 and FFmpeg AC-3? What would be the benefit to use one or another? Thanks!
The developer of Aften is the same person than the maintainer of AC3 in ffmpeg, but I think he can't implement all the code in Aften to ffmpeg (maybe 64 bit float computations and all the parameters supported by Aften). So use Aften better.

footballer
10th August 2010, 17:18
Hey guys

I tried everything but i still don't know how to encode movie if input/source file is .x264/mkv or mp4!? Is that possible? I'm Windows 7 32x user. I have K-lite and xvid codecs, latest AviSynt, Megui is up to date... everything is fine with .avi/xvid inputs...

If anyone can help please post here, step by step, or give me helpful tutorial or something...

Thanks in advance.

Guest
10th August 2010, 17:31
@footballer

You cannot repost an issue already closed in another thread, per rule 16. You better start reading and following our rules or you will get suspended. I will not strike for this but I could have.

@all

No help on this issue. Thank you.

Jo-eL
10th August 2010, 21:23
When adding a mkv file into megui a new window opens.

"Please Choose your weapon"


And then 2 choices:

One click encoder or File indexer.

Not what I wanted.

Before the latest update it opened the windov avisynth script creator.

can sombody please help me get this option back

Zathor
10th August 2010, 21:52
"Tools\Avisynth Script Creator" and open the MKV there. But the File Indexer is the recommended way.

Jo-eL
10th August 2010, 21:57
"Tools\Avisynth Script Creator" and open the MKV there. But the File Indexer is the recommended way.
AAARRRHHH cool mate thanks.

But if I were to choose the recommended file indexer "How to use it then"

Zathor
10th August 2010, 22:40
Tools\File Indexer, select your media file and press on queue and run the job. As you are using 0.3.5.0 there is a small glitch with mkv files ([FileIndexer] disabled MKV indexing with DGAVCDec. Bug #3024329). Therefore you have to select FFMSIndex by yourself.

Rat Killer
11th August 2010, 21:04
I have been using avscript creater to re-encode for ages. You recommend opening the file with the indexer (I had previously only opend mpeg2 files there). Can you educate me just a bit on what is better about using the indexer rather than script creator?

Loading the mkv file with file indexer, is there a way to extract or direct megui to recode the audio from that point? I see the indexer recognizes the DTS audio but what does it do with it or how to use it from there?

Carpo
12th August 2010, 16:52
I have read back through the last 10 pages, but didn't find what i was after, i haven't used megui in a while but updated it today (dev latest) and noticed that all the profiles have changed, now i am a bit confused as to which is what and what is for whom ;-)

Normally i go from 1080p down to 720p, so i am guessing the profile named:

x264: Blu-ray 1080p24 - 720p24

Is the one i am looking to use, but are there any links to explain what the profiles themselves are best suited for? So i can do a bit of reading up

Also whats this issue with mkvmerge i have been reading? Is it not advised to mux with at them moment, i have 4.2.0

nurbs
12th August 2010, 18:27
I can't check right now, but my guess is that profile produces blu-ray compatible output if the resolution and framerate matches. (If the --nal-hrd switch is used and keyint is set to 24 my assumption is probably correct.) If you just want stuff that's generally compatible with DXVA and hardware players use the dxva profile (HD in your case).

New versions of mkvmergegui have header removal compression on by default which causes issues with hardware players and some software. If you use the mkv muxer in the latest megui version it will be deactivated so you should't have issues. You can also deactivate it in mkvmergegui, but you'll have to do it for each track individually.