PDA

View Full Version : MeGUI trouble - Not listening to my resizing settings


bmnot
29th August 2008, 03:16
Hi everyone. I'm having some trouble with MeGUI.

Two things actually:

1. I demuxed my source video (mkv). Audio format was some dolby format which I later transcoded to .mp4, video file extension was .h264. No problems there. But when I went into MeGUI's AVISynth Script Creator, it wouldn't let me import the .h264 file.. yet it lets me import the .mkv file which contains the same .h264 file. Bizarre, but it works. This could be part of my problem..

2. In the AVISynth Script Creator, I tell it to resize my video to 960x400 (exactly half of the source dimensions of 1920x800). I run the bitrate calculator and apply my settings and queue it up. When it encodes, the output video ends up being 1163x400 instead of 960x400 and the video comes out stretched horizontally. Anyone know why this is? I've tried numerous profiles seeing if that would help to no avail.


I'd appreciate any help.

Thank you.

Sharktooth
29th August 2008, 03:25
1. you cant just import a raw stream... since you havent a directshow source filter for it.

2. post your avisynth script

bmnot
29th August 2008, 03:33
Thanks for replying. My script is attached.

Or, if this is all you prefer:
DirectShowSource("D:\video\tnes\tl-tnes.mkv",fps=23.9759856527702,audio=false)
#deinterlace
#crop
LanczosResize(960,400) # Lanczos (Sharp)
#denoise


There's nothing else in my script file, that's it.

Sharktooth
29th August 2008, 03:39
the script is correct... should be something else...
is your source anamorphic?

bmnot
29th August 2008, 03:49
What do I use to find that out? I'm pretty new to all of this.

Does this help?


(MKVInfo) + EBML head at 0
(MKVInfo) |+ Doc type: matroska at 5
(MKVInfo) |+ Doc type version: 1 at 16
(MKVInfo) |+ Doc type read version: 1 at 20
(MKVInfo) + Segment, size 8533652304 at 24
(MKVInfo) |+ Seek head at 36
(MKVInfo) | + Seek entry at 41
(MKVInfo) | + Seek ID: 0x15 0x49 0xa9 0x66 (KaxInfo) at 44
(MKVInfo) | + Seek position: 4099 at 51
(MKVInfo) | + Seek entry at 56
(MKVInfo) | + Seek ID: 0x16 0x54 0xae 0x6b (KaxTracks) at 59
(MKVInfo) | + Seek position: 4313 at 66
(MKVInfo) | + Seek entry at 71
(MKVInfo) | + Seek ID: 0x11 0x4d 0x9b 0x74 (KaxSeekHead) at 74
(MKVInfo) | + Seek position: 8533554589 at 81
(MKVInfo) | + Seek entry at 89
(MKVInfo) | + Seek ID: 0x1c 0x53 0xbb 0x6b (KaxCues) at 92
(MKVInfo) | + Seek position: 8533529107 at 99
(MKVInfo) |+ EbmlVoid (size: 4025) at 107
(MKVInfo) |+ Segment information at 4135
(MKVInfo) | + Timecode scale: 1000000 at 4141
(MKVInfo) | + Muxing application: libebml v0.7.7 + libmatroska v0.8.1 at 4148
(MKVInfo) | + Writing application: mkvmerge v2.2.0 ('Turn It On Again') built on Mar 4 2008 12:58:26 at 4186
(MKVInfo) | + Duration: 5636.756s (01:33:56.756000000) at 4255
(MKVInfo) | + Date: Sat Aug 09 07:36:51 2008 UTC at 4262
(MKVInfo) | + Title: The Neverending Story at 4273
(MKVInfo) | + Segment UID: 0xba 0x22 0x9e 0xc7 0x97 0x5d 0x43 0xcc 0x9b 0x9c 0xac 0xb3 0xad 0xef 0x64 0xe2 at 4330
(MKVInfo) |+ Segment tracks at 4349
(MKVInfo) | + A track at 4355
(MKVInfo) | + Track number: 1 at 4358
(MKVInfo) | + Track UID: 3498233494 at 4361
(MKVInfo) | + Track type: video at 4368
(MKVInfo) | + Enabled: 1 at 4371
(MKVInfo) | + Default flag: 1 at 4374
(MKVInfo) | + Forced flag: 0 at 4377
(MKVInfo) | + Lacing flag: 0 at 4381
(MKVInfo) | + MinCache: 1 at 4384
(MKVInfo) | + Timecode scale: 1.000000 at 4388
(MKVInfo) | + Max BlockAddition ID: 0 at 4396
(MKVInfo) | + Codec ID: V_MPEG4/ISO/AVC at 4400
(MKVInfo) | + Codec decode all: 1 at 4417
(MKVInfo) | + CodecPrivate, length 39 at 4420
(MKVInfo) | + Default duration: 41.708ms (23.976 fps for a video track) at 4462
(MKVInfo) | + Language: und at 4470
(MKVInfo) | + Name: The Neverending Story at 4477
(MKVInfo) | + Video track at 4501
(MKVInfo) | + Pixel width: 1920 at 4503
(MKVInfo) | + Pixel height: 800 at 4507
(MKVInfo) | + Interlaced: 0 at 4511
(MKVInfo) | + Display width: 1920 at 4514
(MKVInfo) | + Display height: 800 at 4519
(MKVInfo) | + A track at 4524
(MKVInfo) | + Track number: 2 at 4526
(MKVInfo) | + Track UID: 3260871852 at 4529
(MKVInfo) | + Track type: audio at 4536
(MKVInfo) | + Enabled: 1 at 4539
(MKVInfo) | + Default flag: 1 at 4542
(MKVInfo) | + Forced flag: 0 at 4545
(MKVInfo) | + Lacing flag: 1 at 4549
(MKVInfo) | + MinCache: 0 at 4552
(MKVInfo) | + Timecode scale: 1.000000 at 4556
(MKVInfo) | + Max BlockAddition ID: 0 at 4564
(MKVInfo) | + Codec ID: A_DTS at 4568
(MKVInfo) | + Codec decode all: 1 at 4575
(MKVInfo) | + Language: eng at 4578
(MKVInfo) | + Name: DTS at 4585
(MKVInfo) | + Audio track at 4591
(MKVInfo) | + Sampling frequency: 48000.000000 at 4593
(MKVInfo) | + Channels: 6 at 4599
(MKVInfo) |+ EbmlVoid (size: 1024) at 4602
(MKVInfo) |+ Cluster at 5629


Specifically the part where it says:
(MKVInfo) | + Video track at 4501
(MKVInfo) | + Pixel width: 1920 at 4503
(MKVInfo) | + Pixel height: 800 at 4507
(MKVInfo) | + Interlaced: 0 at 4511
(MKVInfo) | + Display width: 1920 at 4514
(MKVInfo) | + Display height: 800 at 4519

poisondeathray
29th August 2008, 04:06
Do you have any other filters in the directshow filter chain? eg. you might have some postprocessing filters checked off in the ffdshow configuration that conflicts

What version of MeGUI? Is it up to date?

bmnot
29th August 2008, 04:25
I got it working.

The guide I was reading to do this told me to put "--sar 40:33" into the advanced settings in the script creator. I completely forgot about that and I removed it and now it's working just peachy. Sorry to trouble you guys. Thanks for your help.

One last question: Which preset would you recommend for optimal quality that doesn't take 10 hours to encode? I've been using "x264 Unrestricted 1 pass lossless" which seems to look pretty good and only takes about 90 minutes to encode a 90 minute video.

Sharktooth
29th August 2008, 05:04
lossless is just lossless.. it will be identical to the source, but much bigger.
try DXVA or Unrestricted balanced presets.