summaryrefslogtreecommitdiff
path: root/src/demuxers
AgeCommit message (Collapse)Author
2011-08-01demux_ts: removed unneeded check ((stream_id & 0xf0) == 0xe0 implies ↵Petri Hintukainen
stream_id >= 0xbc)
2011-07-18Removed unneeded checkPetri Hintukainen
2011-07-15Factorized known audio pid search codePetri Hintukainen
2011-07-15Removed unused parameterPetri Hintukainen
2011-07-22demux_ts: Removed unused and write-only variablesPetri Hintukainen
2011-05-15Better support for 24-bit lpcmChristopher Martin
First of all, it improves the qt demuxer, ensuring that 24-bit audio is marked appropriately, and detecting little vs. big endian audio. It also adjusts the buffer size when audio is 24-bit, ensuring that samples aren't chopped in half (8192 does not divide evenly into 3 byte samples). Secondly, in the lpcm decoder, the patch distinguishes between standard 24-bit lpcm (big and little endian) and special DVD-format 24-bit lpcm (see http://wiki.multimedia.cx/index.php?title=PCM) and now handles both, instead of only handling the DVD format. The result is that xine now correctly plays all the 24-bit lpcm samples I throw at it, whereas before only a few worked.
2011-03-20Check that we've found both AAC signaturesLorenzo Desole
demux_aac.c looks for 2 signatures in the given stream to detect if it is an AAC stream, however only the absence of the second signature is used to rule out a positive match. This may lead to false positives.
2010-11-30Check boundaries during MPEG TS stream detection.František Dvořák
2010-11-28Header stripping support in matroska demuxer.František Dvořák
Reserved space on the start of block_data for the headers during reading to avoid temporary memory buffers and memcpy()'s.
2010-10-30Using binary mode when writing raw data, in disabled debug code.František Dvořák
2010-10-23mingw32-w64 port: '-no-undefined' partFrantišek Dvořák
- use -no-undefined flag only for building shared libraries (libxine, plugins) - plugins LDFLAGS unification - move -no-undefined into LDFLAGS_NOUNDEFINED - attributes.m4 fix
2010-09-20Update Qt demuxer's extensions list.Darren Salt
2010-09-16Add f4v/f4a file extensions to the Qt demuxer's MIME tableBrad Smith
2010-07-29Spelling fixes.Darren Salt
Source: informational messages generated by lintian.
2010-07-19Fix a potential freeing of unallocated memory.Darren Salt
2010-07-19Explicitly report unhandled codecs (in Matroska).Darren Salt
2010-07-18Fix playback of the first file handled by the modplug demuxer.Darren Salt
2010-07-18Recognise ScreamTracker files. ST3 is untested.Darren Salt
2010-07-18Add audio/ac3.Darren Salt
2010-05-22Recognise and handle the WebM container format.Darren Salt
Currently, just treat it exactly as if it were Matroska.
2010-01-30BluRay subtitles in matroskaPetri Hintukainen
2010-04-29Minor C99ism.Darren Salt
2009-12-16TTA demux: use _x_demux_send_dataKelvie Wong
To reduce code duplication.
2010-04-09Minor indentation cleanup.Darren Salt
2010-04-09Add eac3 support to demux_tsJose Alberto Reguero
2010-04-02demux_tta: fix some dumb truncation errorsKelvie Wong
I don't know why I multiplied by integers _outside_ the parentheses. I blame late nights. Regardless, this fixes the skip every 24 seconds due to the truncation of FRAME_TIME. The input_time is also more accurate for e.g. stopping cue tracks.
2010-04-07Add video/mp2t (and the corresponding video/mp2p).Darren Salt
2010-03-23Demux EAC3 audio from matroskaPetri Hintukainen
(Sample: http://samples.mplayerhq.hu/Matroska/H264%2bEAC3.mkv )
2010-03-20demux: Fix the pts values for the TrueAudio demuxKelvie Wong
This makes seeking more accurate, I believe.
2010-03-22Add support for Ogg tag 'DISCNUMBER' and ID3 tag 'TPOS'.Darren Salt
2010-02-07Fix Flash video with aac not playing audio (HTTP etc.)Martin Jacobs
2010-02-04Extend Ogg metadata handling.Darren Salt
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.
2010-01-21Revert a038e9625e79 (breaks A/V sync).Darren Salt
2010-01-20demux_ts: pass each pts just once to buf (and to decoder)Reinhard Nißl
The content of large PES packets must be split into several input buffers. The current code attaches the PTS of the PES packet to all input buffers. A decoder must attach PTS to the image for example which starts next in the data. If the same PTS appears on several input buffers, a decoder might buffer the PTS and attach it to the next image for which the broadcaster didn't supply a PTS. Finally xine's metronom gets confused about those incorrect PTS and tries to correct that issue which usually makes things even more worse. By passing on PTS just once to the decoder it is less likely that the decoder behaves incorrect. I must admit that this is the second approach to fix this issue. The first approach slipped through into a totally different changeset and instead of passing the PTS just on the first buf, it passed it on the last buf of a PES packet which was totally wrong. This incorrect approach has been reverted recently.
2010-01-17"Fix" playback of 24-bit FLAC.Darren Salt
We pretend that it's 16-bit to avoid "audio device unavailable" (ALSA). Also, the clock is a bit fast.
2010-01-16Clean up properly after QTL parsing.Darren Salt
2010-01-16Added basic support for .qtl (Quicktime media link).Darren Salt
2010-01-12Demux BluRay DTS (stream 0x82)Petri Hintukainen
2010-01-12Do not reset decoder flags from parse_pes_header() when setting ↵Petri Hintukainen
BUF_FLAG_FRAME_END. Fixes BluRay PCM audio when PES payload size is less than 2048 bytes.
2010-01-06Ignore unsupported BluRay SPU streams (interactive (0x91) and text (0x92))Petri Hintukainen
2010-01-06Demux BluRay PCM audioPetri Hintukainen
2009-12-15TTA demux: Fix the calculation of the stream length.Kelvie Wong
Its resolution was in frames (+/- ~1 second), now it is calculated from the number of samples, as it should be.
2009-12-13TTA demux: Fix a buffer overflowKelvie Wong
It can be the case that the header is larger than buf->max_size (8 kilobytes), especially for slightly larger files. This sends them in parts so we don't overfill the buffer.
2009-12-11TTA demux: fix buffer->extra_info->total_timeKelvie Wong
Supposed to be in milliseconds; totalframes is only approx. total seconds.
2009-12-11TTA demux: don't read past the last frame.Kelvie Wong
I don't think whoever wrote this played a TTA file all the way to the end.
2009-12-06Finish implementing the TTA demuxerKelvie Wong
* Return the correct stream length * Return the current time * Implement seeking --- src/demuxers/demux_tta.c | 47 ++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 41 insertions(+), 6 deletions(-) --HG-- extra : transplant_source : D%27%B7%5C%C4%95Ra%90E%DD%99IG%CF%5D%21%27zN
2009-12-06Fix a couple of memory leaks.Kelvie Wong
--- src/demuxers/demux_flac.c | 1 + src/demuxers/demux_tta.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) --HG-- extra : transplant_source : C%21X%B8%E1p%D2%8E%E0%26%CA%3E%09%8B%09%16%19%C1CQ
2009-12-05Add mimetypes for the TTA demuxerKelvie Wong
I've noticed that a lot of the demuxers don't have mimetypes -- Nokia and KDE's Phonon (when using the Xine backend, and consequently this bothers all Amarok users) depend on the mimetypes to see what types of files it can process. This adds support for the True Audio data type, which scratches my itch; I'm sure there are several other demuxers that need a similar change.
2009-12-03Linkage error on minggw+msys when building demux_mpeg: libintl_printf is ↵Carlo Bramini
undefined.