summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_flv.c
AgeCommit message (Collapse)Author
2010-02-07Fix Flash video with aac not playing audio (HTTP etc.)Martin Jacobs
2010-01-26Fix AAC in FLV.Darren Salt
This bug appears to be a variety of aliasing bug, caused by the compiler not knowing that buffer is written to by ...->read(). On i386, the bug shows up because buffer[0] has to be re-read when extracting the sample rate etc.; on amd64, it works fine because the value was cached in a register. The problem is avoided by not read()ing into any storage more than once while it remains in scope.
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2008-09-05Updated FLV demuxer.Claudio Ciccani
- Added support for new formats introduced by Adobe's Video File Format Specification v9 (including H264 and AAC). - Fixed a problem with seeking when movie length is not specified in the headers.
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
The xine_xmalloc() function is going to be deprecated, as its behaviour is rarely needed as such, and it's thus misused. With this, almost all uses of xine_xmalloc() with static size (for instance the value returned by sizeof()) or with a size that is guaranteed not to be zero (like strlen()+1) are replaced with calls to either calloc(1, ...) or malloc(). malloc() is used whenever the allocated memory is going to be immediately overwritten, while calloc() is used in every other case, as it sets the whole memory area to zero. --HG-- extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
2008-03-23Replace various malloc(x*sizeof(y)) with calloc(x,sizeof(y)).Darren Salt
2008-03-23Check for failure of various memory allocations. (SA29484)Darren Salt
Ref. http://aluigi.altervista.org/adv/xinehof-adv.txt
2008-01-25Fixed parsing of keyframes indices (do not assume a specific order betwen ↵Claudio Ciccani
"times" and "filepositions"). Parse flv script data only once upon send_headers(). Use relative seeking instead of absolute seeking when seek_time-current_time is below 5 seconds. (transplanted from 689daba9823670864eaef213733987196be21acc) --HG-- extra : transplant_source : %3CA%D9%CBuM%14%DAR%F8%89K%EF%13%83%17%9A%F7%AB%8F
2007-12-17compileMatthias Kretz
2007-12-17add video/flv and application/x-flash-video MIME aliases as used by shared-mimeMatthias Kretz
2007-11-18Get filesize from metadata, when available.Claudio Ciccani
2007-11-18Implemented a faster method to seek to absolute position (seek+resync).Claudio Ciccani
Fixed interpretation of "videodatarate" variable. Export audio bitrate information when variable "audiodatarate" is found.
2007-11-17Send headers using script information as reference (when available).Claudio Ciccani
That should prevent xine from discarding the first keyframe on non-seekable stream.
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-10-18fix issue with non-seekable stream in demux_flvClaudio Ciccani
2007-06-16Rename the BE/LE/ME macros with a _X_ prefix, so they don't clash with ↵Diego 'Flameeyes' Pettenò
Solaris definitions.
2007-03-17When parsing flv metadata, do not assume that keywords are zero-terminated andClaudio Ciccani
compare the keyword's length too. CVS patchset: 8701 CVS date: 2007/03/17 11:29:43
2007-03-17Do not send duration extra info when framerate is not known.Claudio Ciccani
CVS patchset: 8700 CVS date: 2007/03/17 09:17:19
2007-02-20Fix a lot of format warnings in lprintf calls (mostly %ldd -> %"PRId64").Diego 'Flameeyes' Pettenò
CVS patchset: 8608 CVS date: 2007/02/20 00:34:55
2007-01-22Must check whether "key" is NULL when parsing flash vars.Claudio Ciccani
CVS patchset: 8541 CVS date: 2007/01/22 17:07:08
2007-01-22Parse the keyframes list for faster seek.Claudio Ciccani
CVS patchset: 8540 CVS date: 2007/01/22 16:25:08
2007-01-19Make get_description get_identifier get_extensions get_mimetypes return a ↵Diego 'Flameeyes' Pettenò
constant string, and make the extensions and mrl vaiables usually declared when testing extension demux strategy constants too. CVS patchset: 8523 CVS date: 2007/01/19 00:26:39
2007-01-14Support VP6 video.Claudio Ciccani
CVS patchset: 8508 CVS date: 2007/01/14 16:55:25
2006-12-23Fixed mimetype description string.Claudio Ciccani
CVS patchset: 8436 CVS date: 2006/12/23 14:43:16
2006-12-15Parse framerate information.Claudio Ciccani
Send bitmap info header to the decoder. Notify decoder about key frames. CVS patchset: 8419 CVS date: 2006/12/15 14:33:20
2006-12-15Added BUF_AUDIO_FLVADPCM (Flash ADPCM).Claudio Ciccani
CVS patchset: 8418 CVS date: 2006/12/15 11:31:28
2006-12-15Parse script objects and extract stream information.Claudio Ciccani
CVS patchset: 8417 CVS date: 2006/12/15 09:39:40
2006-12-14Fixed video codec parsing (NOTE: we need vp6 codec from ffmpeg).Claudio Ciccani
Added support for audio packet demuxing. Added support for seeking. CVS patchset: 8416 CVS date: 2006/12/14 18:29:02
2006-07-10Implement visibility support, available on GCC 4.0 and later and on some 3.4 ↵Diego 'Flameeyes' Pettenò
(through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway. CVS patchset: 8101 CVS date: 2006/07/10 22:08:12
2006-06-02Various static/const fixes from Gentoo.Darren Salt
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
2006-05-03Make various arrays and structures (mainly xine_plugin_info) const.Darren Salt
(Diego Pettenò) CVS patchset: 7985 CVS date: 2006/05/03 19:46:06
2005-02-06Added node_plugin_t pointer to the demux struct.Thibaut Mattern
Incremented demux API version. This is needed to unload plugins. CVS patchset: 7385 CVS date: 2005/02/06 15:26:00
2005-02-03**BUGFIX**František Dvořák
Fixed build on solaris: - use libresolv in hstrerror check - replace PRIiMAX and PRIXMAX by PRIdMAX and PRIxMAX Removed timezone struct for MinGW from public os_types.h, update header comment. Fixed build musepack library on some platforms using xine types. Thanks to Niki W. Waibel for reporting and testing. CVS patchset: 7378 CVS date: 2005/02/03 07:19:03
2004-09-17Warning patch for Win32 - casted off_t to intmax_t for printing.František Dvořák
CVS patchset: 6979 CVS date: 2004/09/17 19:21:33
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-16Priority support.Thibaut Mattern
0 for "raw" demuxers 10 for "normal" demuxers CVS patchset: 6553 CVS date: 2004/05/16 18:01:26
2004-03-09new Flash Video (FLV) demuxer; somewhat preliminary right now, but itMike Melanson
does demux basic videos CVS patchset: 6238 CVS date: 2004/03/09 04:14:11