PDA

View Full Version : How to tell AviSynth the aspect ration?


AlexeyS
24th December 2005, 06:35
I want to encode one of my DVDs with original aspect ratio (I do not want resize picture but I want encode with non-quare pixel). Is this possible to tell to AVS which AR it should use?

stickboy
24th December 2005, 08:29
Why would AviSynth care? A pixel is a pixel.

I suppose you could argue that a spatial filter would be stronger along one axis than along another, but in most cases I can't imagine that's really a problem.

redfordxx
24th December 2005, 21:57
In other words...
don't tell AviSynth, tell the encoder.

AlexeyS
24th December 2005, 22:43
In other words...
don't tell AviSynth, tell the encoder.
Yes, but how I can tell to encoder? I must do this in AviSynth, because I use Nero Recode to encode my DVDs.

Mug Funky
26th December 2005, 03:55
is there an interpret footage or similar command in nero?

i can see it would be useful for avisynth to pass this info to NLE programs, because it's sometimes a pain to go through a list of clips and set aspect ratios for them. info like field dominance would also be no problem to pass on i'd have thought. but it's also easy to set a NLE project to square pixels as well...

AlexeyS
26th December 2005, 06:20
is there an interpret footage or similar command in nero?

Do you mean AR set feature? No, there is no such feature in Recode. :(

Anonymouses
26th December 2005, 06:46
I want to encode one of my DVDs with original aspect ratio (I do not want resize picture but I want encode with non-quare pixel). Is this possible to tell to AVS which AR it should use?

No need to do anything in Avisynth. You can just encode the unresized video and then use MPEG4 Modifier to set the PAR and DAR.

AlexeyS
26th December 2005, 07:07
No need to do anything in Avisynth. You can just encode the unresized video and then use MPEG4 Modifier to set the PAR and DAR.
But it works with AVIs only.

redfordxx
26th December 2005, 11:29
But it works with AVIs only.
MKVMerge would set AR for matroska and I hope MP4Box for mp4.

AlexB17
26th December 2005, 12:23
When i put my encode in mkv with AR, only one player displays it correctrly(expand horisonally) - Nero Showtime! MPC, BSPlayer, LA show not stretched picture, and when i set AR manually in player - image shrinks by height!!! Which player also can do AR correctly like Nero Showtime?

bond
26th December 2005, 12:44
MKVMerge would set AR for matroska and I hope MP4Box for mp4.yes, mp4box does that

AlexeyS
26th December 2005, 13:45
yes, mp4box does that
I've used MP4Box some time ago and had a lot of bugs. For example, I could not mux HDTV AVC video with AAC audio wihtout big A/V desync.

So, it's not possible to tell AR to AviSynth?

bond
26th December 2005, 13:50
I've used MP4Box some time ago and had a lot of bugs. For example, I could not mux HDTV AVC video with AAC audio wihtout big A/V desync. try again

So, it's not possible to tell AR to AviSynth? the ar is calculated by the width and height of the video, which avisynth of course passes to the encoder, and can be changed by resizing, which you said you dont want to do

what you are talking about is SAR (sample or pixel aspect ratio) and avisynth doesnt have anything to do with this

as it has been mentioned if you want anamorphic resize you should tell the sar the encoder or set it via mp4box (afaik mkvmerge doesnt change the sar) on an already existing stream

foxyshadis
26th December 2005, 23:14
When i put my encode in mkv with AR, only one player displays it correctrly(expand horisonally) - Nero Showtime! MPC, BSPlayer, LA show not stretched picture, and when i set AR manually in player - image shrinks by height!!! Which player also can do AR correctly like Nero Showtime?
Zoom Player will, as long as you set the aspect ratio option to "derived" and in your case, uncheck "restrict aspect ratio adjustments to height". You have to have a recent version of Haali's, too, older versions had some AR problems.

I have no clue how other players work.

redfordxx
27th December 2005, 17:09
When i put my encode in mkv with AR, only one player displays it correctrly(expand horisonally) - Nero Showtime! MPC, BSPlayer, LA show not stretched picture, and when i set AR manually in player - image shrinks by height!!! Which player also can do AR correctly like Nero Showtime?I am sure that
BSPlayer+FFDshow+XviD+Matroska+Anamorphic DVD
worked for me 3/4 year ago. The video is auto-resized correctly when loaded.

AlexB17
27th December 2005, 17:47
I am sure that
BSPlayer+FFDshow+XviD+Matroska+Anamorphic DVD
worked for me 3/4 year ago. The video is auto-resized correctly when loaded.
I have BSPlayer Pro 1.36 Build 825, CelticDruid ffdshow-20051103, latest Matroska splitter&toolnix - i set AR in mkvmerge and in MeGUI - not working!

redfordxx
28th December 2005, 17:04
I have BSPlayer Pro 1.36 Build 825, CelticDruid ffdshow-20051103, latest Matroska splitter&toolnix - i set AR in mkvmerge and in MeGUI - not working!
maybe some settings somewhere

charleski
28th December 2005, 17:37
I have BSPlayer Pro 1.36 Build 825, CelticDruid ffdshow-20051103, latest Matroska splitter&toolnix - i set AR in mkvmerge and in MeGUI - not working!I had the same problem. I can't remeber exactly how I fixed it, but I'm pretty sure it was a function of setting the rendering mode correctly. Try VMR9.

DigitalDeviant
28th December 2005, 18:02
If you are using ffdshow to decode you may need to enable the overlay mixer in the output configuration to get anamorphic resizing, at least in matroska.

starkebn
3rd January 2006, 06:01
If you are using ffdshow to decode you may need to enable the overlay mixer in the output configuration to get anamorphic resizing, at least in matroska.

This fixes it