summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mpgaudio.c
AgeCommit message (Collapse)Author
2003-09-28Get meta infos from ID3 version 2.2 tagsThibaut Mattern
CVS patchset: 5421 CVS date: 2003/09/28 23:53:32
2003-09-28Revisited mpeg audio demuxer.Thibaut Mattern
- remove duplicated frame parsing code - parse each mpeg audio frame => generate accurate pts, the viz plugin hack to get things in sync is no more needed - parse the full xing header => compute the length (in s) of the stream without "magic" stuff => use the Xing TOC to seek "accurately" in vbr streams. - prepare id3v2 tags parsing I think this big change was needed. Don't hesitate to blame me for bugs. CVS patchset: 5420 CVS date: 2003/09/28 14:16:00
2003-09-22- Fix a bug introduced by the previous commit. The id3v2 tag identifier was ↵Thibaut Mattern
recognized as a mp3 header and the bitrate was computed from this identifier ! - Detect all id3v2 version, not only 2.3 - 1 kbit is 1000 bits, not 1024 - remove all funny BE_32() clones - some cleanups CVS patchset: 5410 CVS date: 2003/09/22 23:16:14
2003-08-31Fix .mp3 content detection for .mp3 files with a header or ID3.James Courtier-Dutton
Info from www.id3.org CVS patchset: 5320 CVS date: 2003/08/31 16:37:32
2003-08-25Reduce GCC verbosity (various prototype declaration fixes). ffmpeg, wine and ↵Daniel Caujolle-Bert
fft*post are untouched (fft: for now). CVS patchset: 5310 CVS date: 2003/08/25 21:51:37
2003-08-10apply Frantisek patches to handle end of streams betterMiguel Freitas
CVS patchset: 5267 CVS date: 2003/08/10 16:03:21
2003-08-05- correctly use the Xing header in some VBR MP3s to get the correct bitrate ↵Bastien Nocera
and hence the correct length of songs, fix calculation of the bitrates (with 1 kbps = 1024 bps) CVS patchset: 5254 CVS date: 2003/08/05 18:23:56
2003-07-25small housekeeping: demuxer api seeks in milisecondsMiguel Freitas
CVS patchset: 5211 CVS date: 2003/07/25 21:02:04
2003-04-26bumping up demux plugin interface version numbers, update copyright noticesGuenter Bartsch
CVS patchset: 4691 CVS date: 2003/04/26 20:15:52
2003-03-26patch by Andriy Marchenko <adv@adv.org.ua> to fix 8 bit chars in ID3 tagsMichael Roitzsch
CVS patchset: 4490 CVS date: 2003/03/26 15:16:55
2003-03-21remove reference of removed variable (wow)Daniel Caujolle-Bert
CVS patchset: 4460 CVS date: 2003/03/21 14:37:40
2003-03-19removing a segfault ;)Stefan Holst
CVS patchset: 4452 CVS date: 2003/03/19 23:22:17
2003-03-18parse the preview buffer (max 256 bytes) to find the matching pattern (sorry ↵Daniel Caujolle-Bert
Bastien, that revert the offset recent adding, but you agreed) CVS patchset: 4443 CVS date: 2003/03/18 16:29:44
2003-03-18- try going 2 bytes deep into the file before checking for the RIFF headerBastien Nocera
CVS patchset: 4442 CVS date: 2003/03/18 15:42:04
2003-03-18- fix the MP3 detection for streams from live365.comBastien Nocera
CVS patchset: 4441 CVS date: 2003/03/18 13:31:22
2003-03-09remove my debuggingMichael Roitzsch
CVS patchset: 4387 CVS date: 2003/03/09 12:18:01
2003-03-09for seekable, non-blocked input (like files), the demuxer reads only 4 bytes,Michael Roitzsch
but dives in much deeper during content detection, which made it falsely claim to handle some AVIs here CVS patchset: 4386 CVS date: 2003/03/09 11:49:01
2003-02-27- Don't read data from non-seekable input plugin in the open() function.Thibaut Mattern
- Change the RIFF parsing to use preview data, this way it works even with non-seekable but previewable input plugins like http. CVS patchset: 4300 CVS date: 2003/02/27 23:34:24
2003-02-14ok, it doesn't make sense to play mp3 with -A null...Miguel Freitas
but at least we may get metainfo. CVS patchset: 4160 CVS date: 2003/02/14 18:50:04
2003-01-31- MAX_PREVIEW_SIZE = 4096Miguel Freitas
- new fb driver with zero copy CVS patchset: 4058 CVS date: 2003/01/31 14:06:03
2003-01-26reject RIFF-CDXA files and remove <pthread.h>Mike Melanson
CVS patchset: 4010 CVS date: 2003/01/26 15:58:36
2003-01-10have length in miliseconds tooMiguel Freitas
fix some intermediate calculation CVS patchset: 3856 CVS date: 2003/01/10 21:10:50
2003-01-10internal input_time is miliseconds nowMiguel Freitas
CVS patchset: 3851 CVS date: 2003/01/10 11:57:15
2003-01-04add 2 demuxer groups (audio and games) with multiple plugins at theMiguel Freitas
same shared library (reduce loading time). demuxer api increased so old ungrouped plugins won't be loaded. Bill Fink patch to enable playback of live rawdv streams. obs: non-regular files are now supposed non-seekable. CVS patchset: 3771 CVS date: 2003/01/04 14:48:11
2002-12-21- add buf->decoder_info_ptr: portability for systems where pointer hasMiguel Freitas
different sizeof than integer. - add extra_info structure to pass informations from input/demuxers down to the output frame. this can be used, for example, to pass the frame number of a frame (when known by decoder). also, immediate benefict is that we now have a slider which really shows the current position of the playing stream. new fields can be added to extra_info keeping binary compatibility - bumpy everybody's api versions CVS patchset: 3603 CVS date: 2002/12/21 12:56:44
2002-12-12fix stdin plugin, cosmetic cleanups in mp3 demuxerGuenter Bartsch
CVS patchset: 3493 CVS date: 2002/12/12 12:00:23
2002-12-08- get xine_demux_control_headers_done() out of the demuxers.Miguel Freitas
i want to make sure we have a 1:1 mapping of sending and waiting for BUF_CONTROL_HEADERS_DONE.) - bring asf demuxer into a saner state when seeking. that fixes the problem of wrong audio pts and hanging audio_out on huge sleeps (at least for asf). CVS patchset: 3465 CVS date: 2002/12/08 21:43:50
2002-11-28automatically detecting MP3 in RIFF files is great, but be sure toMike Melanson
always disqualify AVI files CVS patchset: 3387 CVS date: 2002/11/28 18:42:25
2002-11-28Extended demuxer API with the methods get_capabilities() and ↵Peter Liljenberg
get_optional_data(). Bumped API version to 18. Added calls to these methods in xine_get_{spu,audio}_lang(). Added DVBSUB support in demux_ts.c CVS patchset: 3386 CVS date: 2002/11/28 10:21:05
2002-11-20engine modifications to allow post plugin layer:Michael Roitzsch
* new public output interface xine_{audio,video}_port_t instead of xine_{ao,vo}_driver_t, old names kept as aliases for compatibility * modified the engine to allow multiple streams per output * renaming of some internal structures according to public changes * moving SCR out of per-stream-metronom into a global metronom_clock_t residing in xine_t and therefore easily available to the output layer * adapting all available plugins (note to external projects: the compiler will help you a lot, if a plugin compiles, it is adapted, because all changes add new parameters to some functions) * bump up all interface versions because of xine_t and xine_stream_t changes CVS patchset: 3312 CVS date: 2002/11/20 11:57:38
2002-11-13more mime typesGuenter Bartsch
CVS patchset: 3253 CVS date: 2002/11/13 00:14:27
2002-11-09beginnings of the get_video/audio_frame apiGuenter Bartsch
CVS patchset: 3215 CVS date: 2002/11/09 23:22:32
2002-11-09less noiseMichael Roitzsch
CVS patchset: 3209 CVS date: 2002/11/09 13:52:32
2002-11-07bugfixes by Howdy PierceGuenter Bartsch
CVS patchset: 3197 CVS date: 2002/11/07 03:04:31
2002-11-03fixed icecast support - next one who breaks my online radios I'll ... erm, ↵Guenter Bartsch
uohm ... you don't want to find out >:-> CVS patchset: 3167 CVS date: 2002/11/03 20:09:30
2002-11-01new content detection method METHOD_EXPLICIT for demuxer given in MRLMichael Roitzsch
CVS patchset: 3126 CVS date: 2002/11/01 17:41:02
2002-11-01use pts values only internallyGuenter Bartsch
CVS patchset: 3120 CVS date: 2002/11/01 01:47:51
2002-10-28hey, i want to join xine breakage party! (what do you wanna break today? tm)Miguel Freitas
- time to cleanup demuxer mess... no more pthread stuff on any demuxer. of course i haven't tested all demuxers, but they at least compile. (sorry Mike, we will need to move a few variables around to make most of your demuxers work again - not big deal i think) - make api more consistent by providing xine_open/xine_close and xine_start/xine_stop. CVS patchset: 3058 CVS date: 2002/10/28 03:24:42
2002-10-27another demuxer with broken status reportingGuenter Bartsch
CVS patchset: 3033 CVS date: 2002/10/27 00:27:26
2002-10-26make demuxers return their status so xine engine can check if demuxers fail ↵Guenter Bartsch
to send headers CVS patchset: 3026 CVS date: 2002/10/26 22:00:49
2002-10-21Fix read_id3_tags (segfault)Thibaut Mattern
CVS patchset: 2901 CVS date: 2002/10/21 22:25:50
2002-10-20important: call demuxer_stop from demuxer_disposeGuenter Bartsch
CVS patchset: 2893 CVS date: 2002/10/20 23:54:20
2002-10-20demux_mpgaudio ported to new api, small fixesGuenter Bartsch
CVS patchset: 2891 CVS date: 2002/10/20 21:15:07
2002-10-12While the demuxer mutex is unlocked, relinquish the processor in the mainJuergen Keil
demuxer loop, otherwise (on solaris) demux_*_stop() has no chance to lock the mutex and change the demuxer status variable for interrupting the demuxer. Fixes xine_stop() problems on solaris. CVS patchset: 2815 CVS date: 2002/10/12 17:11:58
2002-10-06Workaround for code generation bug in gcc on SPARC. Mike's endian macros now ↵Robin KAY
moved to bswap.h CVS patchset: 2794 CVS date: 2002/10/06 03:48:13
2002-10-05Backing out changes to endian translation macrosRobin KAY
CVS patchset: 2788 CVS date: 2002/10/05 21:09:18
2002-10-05Fixed segmentation faults in endian translation macros (SPARC, gcc 3.2)Robin KAY
CVS patchset: 2785 CVS date: 2002/10/05 14:39:24
2002-10-02mark some global arrays that must never be changed (multiple pluginMichael Roitzsch
instances) as const CVS patchset: 2769 CVS date: 2002/10/02 15:54:51
2002-09-18make new plugin loader check api versions, fix api versions for adapted ↵Guenter Bartsch
demux plugins, remove dvd plugin from build while it doesn't compile CVS patchset: 2696 CVS date: 2002/09/18 22:12:16
2002-09-18first steps towards implementing stream/meta infoGuenter Bartsch
CVS patchset: 2680 CVS date: 2002/09/18 00:51:33