[MPlayer-dev-eng] More File Demuxing Questions
Mike Melanson
melanson at pcisys.net
Fri Feb 1 06:39:42 CET 2002
Hi team,
I just committed a RoQ file demuxer and skeleton A/V decoders for
the format. Here's hoping I didn't break anything important.
The demuxer probably isn't perfect yet (won't know until I write
the decoders tomorrow night). I have some questions on this function:
void ds_read_packet(
demux_stream_t *ds, stream_t *stream, int len,
float pts, off_t pos, int flags);
First, what flags are possible? Alex, you made an annotation in my FLI
demuxer telling me to look for possible flags in demuxer.h. I didn't find
them. What are the possibly flags? Next, how does the pts field work for
an audio packet? I figured out that the proper value for a video pts is
current frame / (frames/sec). What does the value mean in the context of
audio? The current sample position divided by the sample rate?
Thanks...
--
-Mike Melanson
More information about the MPlayer-dev-eng
mailing list