[Mplayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.30,1.31
Michael Niedermayer
michaelni at gmx.at
Sun Sep 7 03:16:29 CEST 2003
Hi
On Sunday 07 September 2003 03:03, Alex Beregszaszi wrote:
[...]
> > > Btw, I would remove the stream_count, file_size and length_in_msec
> > > fields from the main header. The demuxer should read startcodes and
> > > handle all the streamheaders it has found and the
> > > file_size/len_in_msec fields could be placed in an optional packet,
> > > or in the info packet.
> >
> > the stream_count may be usefull for allocating an array of streams
> > which some demuxers might do
> > but i agree that length_in_msec and file_size fields arent essential
> > and should be moved to a info packet
>
> It may be used for calculating avg bitrate, but we have a field for avg
> bitrate too. But what does uses these bitrate fields?
ur favourite p2p app might display them, they can also be used to decide which
stream to transmit (imagine some video encoded at different bitrates ...)
> Yes, stream_count may be useful, and it doesn't wastes much space.
>
> Attached the nut demuxer in g2 which uses my startcodes.
--
Michael
level[i]= get_vlc(); i+=get_vlc(); (violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535)
buf[i]= qp - buf[i-1]; (violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en
More information about the MPlayer-cvslog
mailing list