[MPlayer-dev-eng] PVA format demuxer
Arpi
arpi at thot.banki.hu
Tue Sep 3 15:59:22 CEST 2002
Hi,
> Hi all.
> I wrote a demuxer for the PVA format, and as A'rpi had told me on -users
> some days ago I wrote it so that it produces two MPEG-ES streams, one
> for MPEG2 video and one for MPEG layer II audio. The audio is working
> OK. I'm having problems with the video, though. Most notably, I think
> they are related to the incorrect filling (my fault of course) of the
> sh_video_t structure (demuxer->video->sh). Which are the fields that the
> demuxer *has* to fill?
> If, as I think, it has to fill in the disp_w and disp_h fields, where
> can I obtain this information?
no, for mpeg you don't have, it'll be done by mpeg-es demuxer later
just set sh->format to 0x10000002 for mpeg2, see demux_mpeg.c
or send me the patch and upload sample .pva file i'll fix it
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list