Log in

View Full Version : .ts stream to xvid aspect ratio problem


sander815
6th May 2006, 16:55
i am capping a daily show on my sat receiver. The material is pal 704x576. I don't resize it, and convert it to xvid with avisynth and VD. The resulting file has different aspect ratio of 11:9 instead of the 4:3 the mpeg2 had? How does this happen? I don't resize the file

SeeMoreDigital
6th May 2006, 17:14
Did you remember to add "aspect ratio signalling" to your XviD encode?

What software media player are you using for playing back your XviD encodes?

Do you know what type of MPEG-4 direct-show decoder (DSdec) filter it's using?

XviD (latest build) has MPEG-4 DSdec filters can detect anamorphic signalling correctly. As does FFdshow (but you may find it quite complicated to set-up).

So if you have any other types of MPEG-4 DSdec filters installed I suggest you remove them and use XviD's instead. You can get it from here: http://www.koepi.org/XviD-Decoder-1.2.-127.exe

Contrary to popular belief, you don't need loads of different types of MPEG-4 DSdec filters.... You just need one good one!


Hope that helps

sander815
6th May 2006, 17:42
how do i add aspect ratio signalling in xvid then?

MrTroy
6th May 2006, 18:03
You could add it by using mencoder:

mencoder input.avi -o output.avi -ovc copy -oac copy -force-avi-aspect 1.33

SeeMoreDigital
6th May 2006, 18:46
how do i add aspect ratio signalling in xvid then?With MPEG4 Modifier (http://forum.doom9.org/showthread.php?t=78050) ;)

sander815
6th May 2006, 20:14
can't that be done when encoding the xvid?
i can see with that tool that all my vids have square pixel as aspect ratio

SeeMoreDigital
6th May 2006, 20:31
can't that be done when encoding the xvid?Yes... aspect ratio signalling can be set "directly" in XviD ;)

i can see with that tool that all my vids have square pixel as aspect ratioIf MPEG4 Modifier detects "Square Pixels".... then your streams really don't contain any aspect ratio signalling.... And you'll need to add some!