xboxscene.org forums

Author Topic: Aspect Ratio Messed Up For Some Video Files  (Read 66 times)

strangeduck

  • Archived User
  • Newbie
  • *
  • Posts: 6
Aspect Ratio Messed Up For Some Video Files
« on: June 29, 2004, 11:29:00 PM »

Some AVI files that I watch in XBMC don't seem to display correctly - like, the aspect ratio is messed up. For example:

method.and.red.102.pdtv-lol.avi
The resolution is 640x352 (according to GSpot) and it displays fine in XBMC.

method.and.red.101.pdtv-lol.avi
The resolution is 624x352 (according to GSpot), a smaller width of 16 pixels - but, when the video is rendered, the width is significantly higher (almost to the top of my screen, despite the fact that it's a widescreen rip) than the other AVI mentioned above, so all the people look really skinny etc. It looks completely normal playing it on my PC.

Zoom/stretch are off. I can't think of what else to do to fix this. Ideas?  <
Logged

solidus1299

  • Archived User
  • Newbie
  • *
  • Posts: 7
Aspect Ratio Messed Up For Some Video Files
« Reply #1 on: July 01, 2004, 12:03:00 AM »

try screen calibration  <
Logged

nimbles

  • Archived User
  • Hero Member
  • *
  • Posts: 513
Aspect Ratio Messed Up For Some Video Files
« Reply #2 on: July 01, 2004, 05:56:00 AM »

may be that you need to change from using ffmpeg to xvid for your video playback (thats a new release, and likely to have been encoded with xvid 1.0+, so xvid may be the better option- i had a similar problem with one of the later simpsons pdtv rips), the change needs to be made in the codecs.conf file, in the mplayer folder.

unfortunately the xbmc help forum is down that had info on how to edit the files, i'm not at home at the moment so can't remember off the top of my head what the ammendment is, if you trawl through the threads on here i think someone posted the required ammendments here too

its essentially removing a ";" thats infront of xvid,xvix.... in the xvid section, and adding  a ";" infront of the same line thats in the ffmpeg section (directly above the xvid section), in the codecs.conf file (edit it with any text editor) sorry i couldn't be more specific  :(   <
Logged

nimbles

  • Archived User
  • Hero Member
  • *
  • Posts: 513
Aspect Ratio Messed Up For Some Video Files
« Reply #3 on: July 01, 2004, 06:56:00 AM »

ok xbmc forum is up here is the "how to"- posted by Gamester17

QUOTE

Edit the /mplayer/codecs.conf file with a text editor (ex. Notepad) like this;

Change:

QUOTE

videocodec ffodivx
info "FFmpeg MPEG-4"
status working
fourcc DIVX,divx
fourcc DIV1,div1 divx
fourcc MP4S,mp4s; ISO MPEG-4 Video V1
fourcc M4S2,m4s2
fourcc xvid,XVID,XviD,XVIX
fourcc DX50,dx50,BLZ0 DX50
fourcc mp4v,MP4V
format 0x4
fourcc UMP4
fourcc 3IV2,3iv2  ; 3ivx Delta 4 
format 0x10000004  ; mpeg 4 es
driver ffmpeg
dll mpeg4;opendivx
out YV12,I420,IYUV


to

QUOTE

videocodec ffodivx
info "FFmpeg MPEG-4"
status working
fourcc DIVX,divx
fourcc DIV1,div1 divx
fourcc MP4S,mp4s; ISO MPEG-4 Video V1
fourcc M4S2,m4s2
fourcc DX50,dx50,BLZ0 DX50
fourcc mp4v,MP4V
format 0x4
fourcc UMP4
fourcc 3IV2,3iv2  ; 3ivx Delta 4 
format 0x10000004  ; mpeg 4 es
driver ffmpeg
dll mpeg4;opendivx
out YV12,I420,IYUV




and then change:
QUOTE

videocodec xvid
info "XviD (MPEG-4)"
status working
fourcc DIVX,divx
fourcc xvid,XVID,XviD
format 0x4
driver xvid
out YV12
out I420
out YUY2
out UYVY
out YVYU
out BGR32,BGR24,BGR16,BGR15
dll "libxvidcore.a"


to:
QUOTE

videocodec xvid
info "XviD (MPEG-4)"
status working
fourcc xvid,XVID,XviD,XVIX
fourcc DIVX,divx
format 0x4
driver xvid
out YV12
out I420
out YUY2
out UYVY
out YVYU
out BGR32,BGR24,BGR16,BGR15
dll "libxvidcore.a"


PS! Got confirmation from Elupus that XviD 1.0.0 Final has indeed been implemented into XBMC CVS a couple of days ago by Elupus himself


This post has been edited by nimbles: Jul 1 2004, 01:58 PM <
Logged

strangeduck

  • Archived User
  • Newbie
  • *
  • Posts: 6
Aspect Ratio Messed Up For Some Video Files
« Reply #4 on: July 03, 2004, 06:25:00 PM »

Sweet, I'll give that a shot. I don't have the offending file anymore (disk space issues) but that sounds like it'd fix it. Thanks a ton for the help.  <
Logged