[MPlayer-dev-eng] demuxer documentation
Arpi
arpi at thot.banki.hu
Mon Feb 18 11:26:49 CET 2002
Hi,
> appears to not actually ever do anything, because mux_a->timer never
> increments. What causes this to increment in other muxers cases?
it's incremented by mencoder, by the value of audio stream bitrate.
so you probably didn't set sh_audio->i_bps / o_bps values well.
> All im really doing is creating ds_add_packets()'s, but im not sure what to
> do
> with the members of the structure other than the buffer. pts Im guessing is
> a
> frame counter, but not sure how its really used to set it properly, same iwt
> h
> pos..
nope.
pts means presentation time stamp, just like in most movie formats.
it's time in seconds 9float) when teh given packet should be "presented"
(viewed/heared). in your case, for TV, it should be something like
gettimeofday() + buffer_delay (if your tv/audio card does buffeing).
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