[MPlayer-users] BUG: invalid bitrate information for ogg files and mkv video streams
Andrew Savchenko
Bircoph at list.ru
Thu Aug 31 06:04:16 CEST 2006
> > > > In the recent svn release (r19487) and in a lot of previous svn
> > > > releases mplayer provides broken bitrate information for ogg
> > > > files.
> >
> > Nope. 19406 and 19549 work well.
> > Does it happen with every file ?
>
> Firstly I thought that with every. Then I've discovered, that this
> happens with about 95% of my ogg files, but not with all. I can't
> clearly distinguish difference between these two groups (correct and
> broken bitrate info).
>
> I can upload to ftp an example of problem file, if this helps...
> Intresting feature: ogginfo displays proper information for all
> files.
>
> Here it is part of mplayer -v output for both type of files:
<skiped>
> Maybe it is problem somewhere in demux_ogg 'cause ogginfo provides
> proper informations for files with broken bitrate data in mplayer...
Yes. It was the problem in demux_ogg.c: it uses its own mechanism to
retrieve bitrate info into fixup_vorbis_wf(), but NOT standart function
vorbis_synthesis_headerin(). Moreover, this function is used in the
demux_ogg.c in demux_ogg_add_packet(), so I can't see any reason to
discard vorbis_synthesis_headerin() call into fixup_vorbis_wf().
Seems old bitrate info mechanism fails in rare cases, but
vorbis_synthesis_headerin() as replacement works fine for all files I
tested. So: appropriate patch will be sent to MP-dev ML soon ;-).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20060831/272e3732/attachment.pgp>
More information about the MPlayer-users
mailing list