Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
1st January 2006, 18:50 | #1 | Link |
Registered User
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
|
MKV aspect ratio
Hello,
I have problem with playback of MKV files with non-square pixels. I did a simple test - I put a 4:3 AVI into MKV and set the AR to 16:9 (in MKVToolnix 1.5). If I try to play the file, it always plays as 4:3. I tried MPC with internal a Haali's splitter and ViPlay with Haali's splitter. I used FFDShow and DivX for decoding the video stream. Why doesen't this work? Is it because of a splitter or decoder mistake? Or did I make a mistake in creating the file? Thank you, Vlada |
1st January 2006, 20:46 | #3 | Link |
Registered User
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
|
I tried to enable it, but it didn't help (FFDShow 21/12/05). It works in VLC.
In fact how should it work in DirectShow? I think the splitter should read the information about aspect ratio and should forward it to video decoder, right? Can I somehow check if FFDShow got this information or not? Or does FFDShow prefer information stored in MPEG-4 video stream? It shouldn't IMHO. |
1st January 2006, 21:36 | #4 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
I do know that the latest versions of mmg removes aspect signalling from the mpeg-4 stream specifically to get around this. If yours isn't up-to-date it could be that.
FFdshow doesn't actually decode with aspect ratio, it just forwards it to the player (unless there's a switch to do just that that I don't know of). |
2nd January 2006, 00:06 | #6 | Link | |
Registered User
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
|
Quote:
Anyway I found out I have checked in MPC "Keep Aspect Ratio" and this was causing the problem. Now it finally works in MPC, but it still doesen't work in ViPlay. I believe it will be the same case with most other DS players. If FFDShow is only signalling the AR to a player, the player has to support it. So this will be probably the reason why it will only work in a few players. Wouldn't it be better if FFDShow would resize the movie to the correct AR? Thak you guys, Vlada Last edited by vlada; 2nd January 2006 at 00:08. |
|
3rd January 2006, 18:38 | #7 | Link |
Registered User
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
|
I did some more tests with AR. I found out, that if I disable "Keep Aspect Ratio" then I don't have right AR for DVDs. So I either have correct AR for MKV or DVD, but not both.
I also wanted to do some tests with AR in m4v stream. I modified a test file with MPEG4 Modifier, but it seems to me the program is not working correctly. GSpot still says that PAR is 1:1 and if I try to load the file in MPEG4 Modifier, the AR is different to what I have set. So my conclusion from these experiences is not to use non-square pixels if possible. It is still not working flawlesly. |
3rd January 2006, 19:12 | #8 | Link | |
Registered User
Join Date: Feb 2004
Location: Virginia, USA
Posts: 334
|
Quote:
__________________
moitah.net |
|
3rd January 2006, 20:44 | #9 | Link |
Registered User
Join Date: Apr 2003
Location: Czech Republic
Posts: 752
|
Thank you Moitah,
I did a mistake in reading the information in your porgram. One file was an AVI compressed using DivX 5, I thought the displayed value is DAR, but it was PAR. So the file was modified correctly. The other file was an AVI/DivX 3. So it probably won't work because it is MPEG-4 SP. Unfortunately the problem with playback remains. FFDShow and DivX ignore the PAR, only XviD decoder works. But again only in MPC with checked "Keep Aspect Ratio". It also works in VLC. This is strange, because I thought FFDShow supports reading PAR. But it probably doesen't :-( P.S. I use FFDShow 05/12/21 |
3rd January 2006, 21:37 | #10 | Link |
Registered User
Join Date: May 2005
Location: Russia
Posts: 18
|
I test one file with incorrect AR.
Matroska File, Mpeg4 AVC (native). Mkvtoolnix 1.6.5, HaaliSplitter 02.01.06. MPC "Keep Aspect Ratio" on&Off VLC - (ok) CoreAVC - WMP, MPC - (ok), graphedt - (incorrect) FFdshow (overlay off) - WMP, MPC - (ok), graphedt - (ok) FFdshow (overlay on ) - WMP, MPC - (ok), graphedt - (ok) Nero Decoder - WMP, MPC - (ok), graphedt - (ok) |
3rd January 2006, 21:44 | #11 | Link | |
Registered User
Join Date: Feb 2004
Location: Virginia, USA
Posts: 334
|
Quote:
__________________
moitah.net |
|
4th January 2006, 11:29 | #12 | Link |
Registered User
Join Date: May 2005
Location: Russia
Posts: 18
|
Matroska File, Mpeg4 ASP (xvid)
I set AR in Mkvtoolnix 1.6.5, HaaliSplitter 02.01.06 MPC "Keep Aspect Ratio" on&Off -VFW- VLC - (ok) FFdshow (overlay off) - WMP, MPC, graphedt - (ok) FFdshow (overlay on ) - WMP, MPC, graphedt - (ok) Xvid Decoder - WMP, MPC, graphedt - (ok) Divx Decoder - WMP, MPC, graphedt - (incorrect) -native- VLC - (ok) FFdshow (overlay off) - WMP, MPC, graphedt - (ok) FFdshow (overlay on ) - WMP, MPC, graphedt - (ok) Nero Decoder - WMP, MPC, graphedt - (ok) For me all works fine. (Divx is evil) |
7th February 2006, 17:19 | #13 | Link |
20-35 a win for Revolver.
Join Date: Mar 2004
Location: FR.26
Posts: 221
|
I have same problem :
> x264 > AC3 or DTS in a MKV file ( mux by MKVToolnix 1.6.5 ) video stream is a DVD anamorphic with just "top&bottom" crop ... no resize > example : on a PAL DVD my AR is for example 1024*416 ( for an 720*416 video ) ... so I entry 1024*416 in AR when muxing ... But since I have re-install my computer ( XP SP2 ), AR don't work anymore ... And this movies works in soon past ... I use MPC + FFdShow and my aspect ratio is not used ... ... I thing I have last release of this tools ... So what is needed t for AR works fine ??? I've read about "third state" in ffdshow ??? ... what about this ?!! |
7th February 2006, 18:15 | #14 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
|
If it help... In the past I've used VirtualDubMod and AVI-Mux GUI to generate MKV muxes with MPEG-4 video streams containing AR signalling.
Both muxes play back at the correct aspect ratio using FFdshow's filters (without Haali).... so it is possible to do EDIT: However, when both the above mentioned MKV muxes are played in VLC player, the AVI-Mux GUI mux is correctly displayed but the VirtualDubMod mux is incorrectly displayed Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
Last edited by SeeMoreDigital; 7th February 2006 at 18:51. |
7th February 2006, 19:12 | #15 | Link |
sidekick
Join Date: Apr 2004
Location: old Europe
Posts: 610
|
@Seb26:
in mpc try right click: Video Frame: "Touch video from inside" and "keep aspect ratio". Under Pan&Scan don't tick anything.. ffdshow, output: tick "overlay mixer" and "allow output format changes during playback" if the AR is set properly in mmg then vlc and mplayer should display it fine...
__________________
greets, kurt. Pioneer PDP-427 XA | Popcorn Hour NMT C-200 | Sony STR-DB 840 QS | Canton Ergo 91 DC |
8th February 2006, 10:07 | #16 | Link | ||
20-35 a win for Revolver.
Join Date: Mar 2004
Location: FR.26
Posts: 221
|
Quote:
Quote:
Thanks !!! |
||
9th February 2006, 12:11 | #19 | Link |
20-35 a win for Revolver.
Join Date: Mar 2004
Location: FR.26
Posts: 221
|
OK ... MKV work fine wih AR ! ... Thanks
BUT ... now, my DVD are displayed like inverse anamorphic resize is done twice ! ( I use the internal MPC DVD decoder + FFDShow ) ... once in MPC, and once in FFDshow ... Picture is very flat ... The way to correct this is to set "Pan&Scan>AspectRatio>16/9" manually, "default" don't work for DVD ... but with 16/9, my mkv don't work good ... ( for all DVD, not only 1 or 2 with bad flags ... ) Life is hard ... Any idea ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|