PDA

View Full Version : Does MPC works with pixel aspect ratio or MKV aspect ratio?


Lagoon
15th March 2004, 18:16
I tried encoding a 712x548 Xvid @ 16:9 PAL PAR.

Then played the AVI in MPC = no good, its stretched 4:3.

Then tried muxing into MKV with 1012x548 playback size = no good either.

The weird thing is that it displays the correct MKV playback size on the xbox media center..

I tried looking for different setting but didn't find anything.

Using latest MPC 6.4.7.9 as well as latest MatroskaSplitter. I tried searching but it didn't come out with anything regarding this matter.


Thanks.

gatormac
15th March 2004, 18:41
I don't know about mkv as I dont use it (yet), but I do encode my movies using a PAR of 16:9 NTSC and they look great. I have tried them both in MPC and WMP9 and they both play back properly. I tried the same with using a 16:9 picture aspect ratio instead of pixel aspect ratio and it didn't play back right...it stayed squished.

Are you doing any resizing before encoding or are you keeping the original size (post crop)?

Lagoon
15th March 2004, 18:55
I'm using a quite basic script :

mpeg2source("dm.d2v")
Crop(4,14,712,548)

No resizing only cropping, and I'm using Pixel AR not the Picture AR.

However, I'm using ffdshow for the decoding, maybe I should use XviD Decoder, is that important ?

celtic_druid
15th March 2004, 20:22
XviD will resize the MKV.

Not weird at all about the XBox. For PC try mplayer or VLC for the same results.

gatormac
15th March 2004, 20:36
Originally posted by Lagoon
I'm using a quite basic script :

mpeg2source("dm.d2v")
Crop(4,14,712,548)

No resizing only cropping, and I'm using Pixel AR not the Picture AR.

However, I'm using ffdshow for the decoding, maybe I should use XviD Decoder, is that important ?

Sounds like you are doing it the way that I do. As far as ffdshow, I have no idea as I don't have it on my PC. I use the XVID decoder.

Lagoon
15th March 2004, 22:02
Turned out it was ffdshow unable to get the PAR information or something, it works fine with XviD as a decoder.

Thanks :)

mikeX
16th March 2004, 01:21
make sure you have 'use overlay mixer' checked in ffdshow for correct AR
:)

ChristianHJW
16th March 2004, 14:01
Originally posted by mikeX
make sure you have 'use overlay mixer' checked in ffdshow for correct AR
:) ... this will only help if the AR info is cming in the VIDEOINFOHEADER2 structure, like when playing a MKV with AR flag set. It doesnt help to support AR if the info is embedded in the MPEG4 Elementary Stream, like if you activate this during the encoding in XviD devAPI4 setup config ..... only XviD DirectShow decoder and mplayer/VLC ( which are both based on FFMPEG ) MPEG4 decoder will support this type of spec compliant AR info, at least for the time being ....