Log in

View Full Version : Ffdshow is ignoring AR setting in divx/xvid


madman1980
14th October 2006, 03:54
All my divx/xvid files that have a different aspect ratio than the pixel ratio are now displayed according to the pixel ratio, meaning the picture is shown wrong. It seems that ffdshow is ignoring the AR setting that is stored in the file. I just upgraded from an old ffdshow to the latest version on x264.nl.

Does anyone know how I can get ffdshow to read the AR information? And is there any reason why it doesn't? If a file has a different AR stored than the pixel ratio, it is only logical to use it.

celtic_druid
14th October 2006, 04:10
The installer could have reset your output settings.

madman1980
14th October 2006, 04:14
Do you know which settings I should use? I remember looking for settings that had to do with AR a few years ago, but I believed ffdshow had implemented it by default now.

madman1980
15th September 2007, 11:40
Is there any news on this? I have several avis with aspect ratio set in the file, but ffdshow won't use anything else that pixel ratio.

Valeron
15th September 2007, 14:18
r u playing some encoded files(avi, mkv, mp4...etc)?

ffdshow help nothing in the DARed output, MPC will help if there's DAR flag in the container afaik.

madman1980
15th September 2007, 15:10
Yes it is mainly avi files, with varying codecs i suppose. I use ffdshow and mpc with standard settings.

clsid
15th September 2007, 16:27
Enable the following two options in ffdshow video decoder output settings:
- set pixel aspect ratio in output media type
- allow output format changes during playback

Then it should work. If not, try the Overlay renderer in Media Player Classic.

madman1980
15th September 2007, 16:52
The ffdshow settings did nothing, but when I changed from the default (Overlay) to VMR9 in MPC it suddenly worked. Problem solved! :thanks:

Is there anyway this can be applied in ffdshow so that it works this way by default? I can't see any reason not to use the AR flag that is included in the file. If there is none, pixel ratio is logical, but if there actually is stored an AR in the file, it is meant to be used.

Leak
15th September 2007, 17:29
The ffdshow settings did nothing, but when I changed from the default (Overlay) to VMR9 in MPC it suddenly worked. Problem solved! :thanks:
It works fine for me in MPC with just about every renderer available in MPC.

Make sure you select either "Keep aspect ratio" or "No aspect ratio correction" on ffdshow's "Resize & aspect" page and also make sure you check "View > Video frame > Keep aspect ratio" in MPC.

np: Mike Shannon - Bathing In Microwaves (Possible Conclusions To Stories That Never End)

madman1980
15th September 2007, 18:09
It works fine for me in MPC with just about every renderer available in MPC.

Make sure you select either "Keep aspect ratio" or "No aspect ratio correction" on ffdshow's "Resize & aspect" page

Keep is default, and i tried the other one now. With overlay in MPC, both settings result in the pixel AR, not the one that is specified in the file (for the file I'm testing now (xvid) I've verified that the AR is 4:3 with Mpeg4modifier, while pixel AR is 1.55:1).

and also make sure you check "View > Video frame > Keep aspect ratio" in MPC.

That one has been default all along. So this is no-go with overlay in MPC here. VMR9 solves it though. VLC also detects the correct AR. But I think it is a shame that it doesnt work by default with ffdshow+MPC.

ToS_Maverick
18th September 2007, 12:02
i had the same problem. try "Use overlay mixer" in the ffdshow output settings.

Leak
18th September 2007, 12:54
i had the same problem. try "Use overlay mixer" in the ffdshow output settings.
Or rather "Set pixel aspect ratio in output media type", as said option was renamed months ago, along with "Allow output format changes during playback".

ToS_Maverick
18th September 2007, 13:52
oh, i'm sorry, i had an old version installed (march 07).

leak, you are perfectly right ;)