[MPlayer-dev-eng] [PATCH][Preversion]flac support

Dmitry Baryshkov mitya at school.ioffe.ru
Mon Sep 1 13:48:01 CEST 2003


Hello!
Here is patch, which adds flac support into MPlayer.
If nobidy objects I'll commit it in a week. (Currently it depends on 
libFLAC, but I suppose I can
integrate necessary parts of libFLAC into MPlayer)
However, there are some problems (or misunderstanding of MPlayer 
internal's):
1) Is it enough to return -1 in decode_audio to stop decoding of current 
file? (It's written so, but is
 doesn't always work)
2) Can I set timing of current fragment not in demuxer?
3) There is problem with flac-integrated-in-ogg. If I use dump_ogg from 
G2, it sucessfully dumps
  flac stream, but demux_ogg return eof afeter some first packets. Could 
somebody help with this
  problem?
4) With flac is possible to have bits-per-sample from 4 to 32. However 
MPlayer (IIUC) allow bps to be
   only 8, 16, or 32 bits per s. How should I deal with this? How should 
I deal with this problem? (E.g. is
   recoding in the codec acceptable?)
-- 
With best wishes
Dmitry Baryshkov

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: flac.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030901/de41e79e/attachment.asc>


More information about the MPlayer-dev-eng mailing list