Opened 17 years ago

Last modified 14 years ago

#1063 new defect

H.263 3GP video aspect ratio is computed incorrectly

Reported by: rectalogic@… Owned by: reimar
Priority: normal Component: vd
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

This video (see url) is 128x96 3GP with H.263. Using MPlayer svn HEAD (-r26454) on MacOS and Linux, mplayer detects aspect ratio of 1.45:1 and scales the video to 140x96.

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh263] vfm: ffmpeg (FFmpeg H.263+ decoder)
[...]
VDec: vo config request - 128 x 96 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.45:1 - prescaling to correct movie aspect.
[...]
VO: [macosx] 128x96 => 140x96 Packed YUY2

This is also a problem when using mencoder with "-vf scale=0:0"

It looks like the sample_aspect_ratio is hardcoded to 12:11 in libavcodec/h263.c in h263_decode_picture_header()

Change History (2)

comment:1 by compn, 17 years ago

report it to http://roundup.mplayerhq.hu because its one of them libavcodec bugs :)

comment:2 by compn, 14 years ago

Owner: changed from r_togni@… to reimar
Note: See TracTickets for help on using tickets.