summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mpgaudio.c
AgeCommit message (Collapse)Author
2004-06-13implement steps 1, 2, 3 and 4 of the seeking proposal:Miguel Freitas
http://article.gmane.org/gmane.comp.video.xine.devel/9532 it is now up to demuxers to decide what the 0..65535 position means. demuxers tested: ogg, voc, flac, rm, asf, vqa, vob, avi, y4m, au, mov, ts, mp3, mpg, wav, ra, mve CVS patchset: 6686 CVS date: 2004/06/13 21:28:52
2004-05-05simple protection...Thibaut Mattern
CVS patchset: 6490 CVS date: 2004/05/05 22:37:46
2004-05-04- Shoutcast packet handling cleanup.Thibaut Mattern
- Support streaming of NSV files. test streams: hTtP://xxx.inlive.co.kr:8000/;stream.nsv http://lsac1-0-s01.shoutcast.net:8012/;file.nsv - Remove an old hack to force mpeg audio demuxer selection. CVS patchset: 6484 CVS date: 2004/05/04 22:26:13
2004-04-22do the same as newest libmad: don't stop on reserved emphasisMiguel Freitas
CVS patchset: 6421 CVS date: 2004/04/22 00:37:52
2004-03-03An id3 parsing error is not a reason to not play the mp3 stream.Thibaut Mattern
Should fix some bugs reported on irc and sf bugreport system. CVS patchset: 6207 CVS date: 2004/03/03 00:39:15
2004-03-01check if there is enough bytes in the buffer before reading.Thibaut Mattern
CVS patchset: 6199 CVS date: 2004/03/01 21:03:19
2003-12-07- Move ID3 parsing code to id3.h/id3.cThibaut Mattern
- Add ID3v2.3 parser ID3v2.4 is not done yet. CVS patchset: 5863 CVS date: 2003/12/07 23:05:41
2003-12-06Discard MPEG video in content detection.Thibaut Mattern
Set audio decoder meta info as suggested by Mike some time ago (report vbr/cbr info). CVS patchset: 5855 CVS date: 2003/12/06 19:06:31
2003-12-05cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's ↵Daniel Caujolle-Bert
relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... CVS patchset: 5844 CVS date: 2003/12/05 15:54:56
2003-11-26oops, wrong bit.Thibaut Mattern
fix Xing header parsing with mpeg 2 streams. CVS patchset: 5800 CVS date: 2003/11/26 22:40:25
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
2003-11-26!= is evaluated _before_ &, so this is not doing what it's supposed toMichael Roitzsch
(thanks to gcc for issuing a warning) CVS patchset: 5790 CVS date: 2003/11/26 19:26:59
2003-11-23Implement seek timeout in RIP and drop input capability INPUT_CAP_SLOW_SEEK.František Dvořák
Check for seek success in mp3 and avi demuxers. CVS patchset: 5775 CVS date: 2003/11/23 23:20:56
2003-11-16New stream/meta info (safe) stuff.Daniel Caujolle-Bert
BIG NOTE: use helpers to access to these informations (get/set/reset): _x_{stream,meta}_info_{get,set,reset}() are for internal use, don't use *_public() ones from inside the beast ;-) Some wrongly names "xine_" fonction renaming. CVS patchset: 5757 CVS date: 2003/11/16 23:33:42
2003-11-15change demux api:Miguel Freitas
- demuxers should not access stream->demux_thread_running - remove deprecated get_video_frame/got_video_frame_cb CVS patchset: 5732 CVS date: 2003/11/15 14:00:35
2003-11-13define FOURCC only onceMarco Zuehlke
CVS patchset: 5729 CVS date: 2003/11/13 15:23:00
2003-11-11rename internal API function (_x_<function>).Daniel Caujolle-Bert
CVS patchset: 5721 CVS date: 2003/11/11 18:44:50
2003-11-01Fix a bug in ID3v2.2 parsing.Thibaut Mattern
hadess: you can play your stream now. CVS patchset: 5660 CVS date: 2003/11/01 01:44:54
2003-10-30use info_helper functions.Thibaut Mattern
CVS patchset: 5638 CVS date: 2003/10/30 00:49:07
2003-10-27Use info_helper functionsThibaut Mattern
CVS patchset: 5622 CVS date: 2003/10/27 23:23:29
2003-10-13Fix my stupid bug, id3 tag should work with seekable inputs now.František Dvořák
CVS patchset: 5516 CVS date: 2003/10/13 18:31:34
2003-10-13Don't find out id3 info in mp3 files saved by RIP from non-seekable inputs.František Dvořák
CVS patchset: 5507 CVS date: 2003/10/13 14:52:53
2003-10-11Fix mpeg 2 frame parsing.Thibaut Mattern
Should fix Mike's problems. CVS patchset: 5481 CVS date: 2003/10/11 15:20:22
2003-10-10avoid FPE error with 0 length files, use xine_demux_check_extension()Daniel Caujolle-Bert
CVS patchset: 5479 CVS date: 2003/10/10 22:17:18
2003-10-05Fix buffer overrun.Robin KAY
CVS patchset: 5448 CVS date: 2003/10/05 16:15:49
2003-10-05Better content detection.Thibaut Mattern
If an id3v2 is detected, skip it and check if a valid mp3 frame follows the tag. id3v2 tags are not mp3 specific. thanks hadess ;) CVS patchset: 5447 CVS date: 2003/10/05 15:03:30
2003-10-04do not use id3v2 to detect mp3.Thibaut Mattern
fix a segfault with flac files. CVS patchset: 5438 CVS date: 2003/10/04 17:24:10
2003-10-04fix time seeking with cbr streams.Thibaut Mattern
CVS patchset: 5432 CVS date: 2003/10/04 10:54:14
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