[MPlayer-users] Re: changing aspect ratio in avi without reencoding
Arpi
arpi at thot.banki.hu
Mon Feb 17 01:22:18 CET 2003
Hi,
> Milan was recommending to 'abuse' some of AVIs comment tags to store the AR
> there. That way the value could be read before the playback graph is
> rendered and correct width/height be set on output. MPEG container does have
> such a flag and it will be read from MPEG DShow parser before building the
> graph, so it works fine for MPEG on DShow, but not for AVI.
wrong. AR is coded in the video frame headers for mpeg 1/2 too just like in
mpeg 4. so either they workarounded teh shit and they can launch the codec
first, decode header, get width & height (also coded in video frames only,
mpeg container has no a/v headers just random audio/video/sub streams and
some headers controlling the transmission (buffer sizes, bitrate)) & aspect
ratio and then launch teh filters and teh video output, or they
reimplemented part of video codec (the header parser) in the demuxer, just
like i did in mplayer's mpeg demuxer (video.c).
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
"However, many people beg for its inclusion in Debian. Why?" - Gabucino
"Because having new software in Debian is good." - Josselin Mouette
"Because having good software in Debian is new." - Gabucino
More information about the MPlayer-users
mailing list