Statistics
| Branch: | Revision:

ffmpeg / libavformat / mpegts.c @ 61dbf4e5

History | View | Annotate | Download (42.3 KB)

# Date Author Comment
3abe5fbd 01/04/2008 11:09 PM Aurelien Jacobs

improve CRC API
- don't export any global var
- provide either generated or hardcoded tables

Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk

899681cd 11/21/2007 07:41 AM Björn Axelsson

Use dynamically allocated ByteIOContext in AVFormatContext

patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk

28af284c 11/17/2007 03:14 AM Jeff Downs

When new streams are detected, look for old filters and close them out.
This avoids crashes seen when legitimate streams are found on PID 0x11 instead
of DVB SDT.
Fixes regression detailed in Roundup issue 138.

Originally committed as revision 11050 to svn://svn.ffmpeg.org/ffmpeg/trunk

aa237f45 10/20/2007 08:29 AM Nico Sabbi

associate to each AVProgram the indexes of the AVStreams contained in it

Originally committed as revision 10820 to svn://svn.ffmpeg.org/ffmpeg/trunk

172d1171 09/25/2007 08:58 PM Nico Sabbi

added structures and code to keep track of pids<->programs mapping: it's needed
to decide which pids to discard in order to feed to the caller only AVProgram(s)
that have the AV_DISCARD_ALL flag not set

Originally committed as revision 10581 to svn://svn.ffmpeg.org/ffmpeg/trunk

1d257254 09/25/2007 08:49 PM Nico Sabbi

replaced custom tracking of programs/services with calls to with av_new_program()

Originally committed as revision 10580 to svn://svn.ffmpeg.org/ffmpeg/trunk

6369638b 09/16/2007 11:00 PM Aurelien Jacobs

loosen dependencies over allformats.h

Originally committed as revision 10513 to svn://svn.ffmpeg.org/ffmpeg/trunk

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk

5b83843f 07/13/2007 12:49 AM Alex Beregszaszi

fix compilation with assert

Originally committed as revision 9619 to svn://svn.ffmpeg.org/ffmpeg/trunk

b474d1f3 07/08/2007 01:42 PM Måns Rullgård

update SectionCallback and PESCallback typedefs to match functions

Originally committed as revision 9542 to svn://svn.ffmpeg.org/ffmpeg/trunk

80fb8234 07/06/2007 09:32 AM Ronald S. Bultje

Use AV_RB* macros where appropriate.
patch by Ronald S. Bultje, rsbultje gmail com
thread: Re: [FFmpeg-devel] remove int readers
date: Sat, 23 Jun 2007 09:32:12 -0400

Originally committed as revision 9499 to svn://svn.ffmpeg.org/ffmpeg/trunk

b3e10436 06/08/2007 05:34 PM Michael Niedermayer

simplify

Originally committed as revision 9258 to svn://svn.ffmpeg.org/ffmpeg/trunk

2bb486a5 06/08/2007 05:26 PM Michael Niedermayer

remove now unused "global" pcr_pid

Originally committed as revision 9257 to svn://svn.ffmpeg.org/ffmpeg/trunk

dbf6b678 06/08/2007 05:21 PM Michael Niedermayer

proper per stream pcr_pid support by (Wolfram Gloger wmglo dent.med.uni-muenchen@de )

Originally committed as revision 9256 to svn://svn.ffmpeg.org/ffmpeg/trunk

e39291df 06/04/2007 10:23 PM Michael Niedermayer

partially revert r2931 (Support raw mpegts streams from dvr)
the change was wrong

Originally committed as revision 9219 to svn://svn.ffmpeg.org/ffmpeg/trunk

04ec18b8 06/04/2007 02:54 PM Michael Niedermayer

harmless typo

Originally committed as revision 9210 to svn://svn.ffmpeg.org/ffmpeg/trunk

28f03d04 06/04/2007 02:53 PM Michael Niedermayer

fix indention

Originally committed as revision 9209 to svn://svn.ffmpeg.org/ffmpeg/trunk

ad39abcd 06/04/2007 02:44 PM Michael Niedermayer

remove duplicate PAT scaning code and actual PAT scan
also disabling the nonsense 3yr old rawts change (it would after the
above chage totally break the demuxer if its left enabled)

Originally committed as revision 9208 to svn://svn.ffmpeg.org/ffmpeg/trunk

4dc8a963 06/04/2007 02:20 PM Michael Niedermayer

unused variables

Originally committed as revision 9207 to svn://svn.ffmpeg.org/ffmpeg/trunk

90d13e30 06/04/2007 02:17 PM Michael Niedermayer

dont rescan for information on each pid, but rather do it just once by
opening 1 filter for each at the same time

Originally committed as revision 9206 to svn://svn.ffmpeg.org/ffmpeg/trunk

ecc31d1d 06/04/2007 02:11 PM Michael Niedermayer

move structs and enums to top of file so they can be used

Originally committed as revision 9205 to svn://svn.ffmpeg.org/ffmpeg/trunk

4d9a577e 06/04/2007 01:57 PM Michael Niedermayer

passing MpegTSFilter to the filters instead of a random void *opaque
code is simler and the filters now know the pid they are filtering so one
filter callback can be used with more then one pid at the same time

Originally committed as revision 9204 to svn://svn.ffmpeg.org/ffmpeg/trunk

37dfd633 06/04/2007 12:19 PM Michael Niedermayer

do not perform SDT scan at the begin (this avoids a timeconsuming search for
optional info) instead fill SDT info in and update it as we stumble across it

Originally committed as revision 9201 to svn://svn.ffmpeg.org/ffmpeg/trunk

657ced8c 06/04/2007 11:46 AM Michael Niedermayer

make new_service() update existing info sanely

Originally committed as revision 9200 to svn://svn.ffmpeg.org/ffmpeg/trunk

0618bb1c 06/04/2007 11:25 AM Michael Niedermayer

remove fake service/provider names used for PAT
this allows us to distingush if the info came from SDT or PAT and will
allow to dyamically fill info in ...

Originally committed as revision 9199 to svn://svn.ffmpeg.org/ffmpeg/trunk

a45ec414 06/04/2007 08:53 AM Benoit Fouet

Indentation

Originally committed as revision 9197 to svn://svn.ffmpeg.org/ffmpeg/trunk

b91811af 06/02/2007 11:14 PM Michael Niedermayer

get rid of if(1)

Originally committed as revision 9179 to svn://svn.ffmpeg.org/ffmpeg/trunk

9deb6d71 06/02/2007 11:11 PM Michael Niedermayer

get rid of one layer of callback obfuscation

Originally committed as revision 9178 to svn://svn.ffmpeg.org/ffmpeg/trunk

b2292194 06/02/2007 11:04 PM Michael Niedermayer

kill completely idiotic code which hides all but 2 streams

Originally committed as revision 9177 to svn://svn.ffmpeg.org/ffmpeg/trunk

165f503a 06/02/2007 09:48 PM Michael Niedermayer

correct implementation of "try with auto_guess if first detection fails"
(untested)

Originally committed as revision 9175 to svn://svn.ffmpeg.org/ffmpeg/trunk

d287b04b 06/02/2007 09:44 PM Michael Niedermayer

revert r4802 (try with auto_guess if first detection fails)
this change is broken, 3/4 of the code added is unreachable, ill implement
it correctly in a moment

Originally committed as revision 9174 to svn://svn.ffmpeg.org/ffmpeg/trunk

38c48be2 06/02/2007 08:57 PM Michael Niedermayer

split mpeg2ts_raw mode into its own demuxer using such a flag is an incredibly dirty hack

Originally committed as revision 9173 to svn://svn.ffmpeg.org/ffmpeg/trunk

828bb5f1 05/29/2007 08:19 AM Glenn A. Serre

variable initialization (because of a gcc warning)
patch by Glenn A. Serre gaserre spiresoftware com

Originally committed as revision 9146 to svn://svn.ffmpeg.org/ffmpeg/trunk

57004ff1 04/15/2007 01:51 PM Aurelien Jacobs

add an enum for need_parsing

Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk

750f0e1f 03/12/2007 02:17 PM Panagiotis Issaris

Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
which use av_log() for logging instead of fprintf().

Originally committed as revision 8339 to svn://svn.ffmpeg.org/ffmpeg/trunk

8fa36ae0 02/13/2007 06:26 PM François Revol

This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed....

cf10ee18 02/09/2007 08:34 PM Nico Sabbi

demux VC1 in mpegts

Originally committed as revision 7902 to svn://svn.ffmpeg.org/ffmpeg/trunk

f0ee3ea6 01/31/2007 08:29 AM Michel Bardiaux

Add some context to av_log calls.
patch by Michel Bardiaux, mbardiaux mediaxim be

Originally committed as revision 7774 to svn://svn.ffmpeg.org/ffmpeg/trunk

e995cfca 01/23/2007 09:47 PM Daniel Kristjansson

mpegts-documentation-only.patch -- adds documentation patch by Daniel Kristjansson / danielk mrl.nyu edu
yes another 1 year old patch, this one though has one failed hunk

Originally committed as revision 7676 to svn://svn.ffmpeg.org/ffmpeg/trunk

2ddb79be 01/23/2007 09:41 PM Daniel Kristjansson

"converts printf's to avlog's" patch by Daniel Kristjansson / danielk mrl.nyu edu
another 1 year old patch forgoten by mans
trailing whitespace removial by me

Originally committed as revision 7674 to svn://svn.ffmpeg.org/ffmpeg/trunk

1ed1a122 11/11/2006 08:56 PM Måns Rullgård

make some symbols static

Originally committed as revision 6973 to svn://svn.ffmpeg.org/ffmpeg/trunk

7fbde343 10/23/2006 08:57 AM Aurelien Jacobs

replace coder/decoder file description in libavformat by muxer/demuxer

Originally committed as revision 6774 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

ec6913d2 08/27/2006 12:22 PM Nico Sabbi

scan s->probesize packets instead of MAX_SCAN_PACKETS (that is still the default value)

Originally committed as revision 6110 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff70e601 07/10/2006 09:14 PM Måns Rullgård

allow individual selection of muxers and demuxers

Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk

d2a067d1 07/09/2006 11:40 PM Måns Rullgård

give AVInput/OutputFormat structs consistent names

Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk

2eb1a65d 07/08/2006 04:25 PM Nico Sabbi

Etsi identifies DTS audio with stream_private+descriptor 0x7b (in the PMT).
This patch permits to recognize these streams but it's untested for
lack of samples.

Patch by Nico Sabbi <nicola_sabbi at fastwebnet it>

Originally committed as revision 5671 to svn://svn.ffmpeg.org/ffmpeg/trunk

7b49ce2e 06/18/2006 11:33 AM Stefan Huehner

Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org

Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk

9d9b432a 04/01/2006 07:02 PM Måns Rullgård

This patch simply adds demuxing support for AC-3 streams in DVB TS
files. In these streams AC-3 is given type 0x06 (private stream) and
includes a descriptor with either tag 0x6A or 0x7A. The code already
handles ATSC AC-3 which uses stream type 0x81. All the new patch does...

00a6b92b 04/01/2006 06:19 PM Måns Rullgård

fix memory leak on mpegts close
found by Andy Brown <abrown at daqtron com>

Originally committed as revision 5259 to svn://svn.ffmpeg.org/ffmpeg/trunk

43a80cce 03/06/2006 02:13 PM Michael Niedermayer

generic crc calculation code

Originally committed as revision 5115 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

27c748b5 01/02/2006 08:27 PM Nico Sabbi

try with auto_guess if first detection fails

Originally committed as revision 4802 to svn://svn.ffmpeg.org/ffmpeg/trunk

5d4d67e0 01/02/2006 08:13 PM Nico Sabbi

added support for DVHS (192) packet size

Originally committed as revision 4801 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

a9e35095 09/23/2005 12:25 AM Diego Biurrun

Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at
some point + support for this option in configure.

Originally committed as revision 4611 to svn://svn.ffmpeg.org/ffmpeg/trunk

79396ac6 09/06/2005 09:25 PM Måns Rullgård

Kill some compiler warnings. Compiled code verified identical after changes.

Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk

01f4895c 07/17/2005 10:24 PM Michael Niedermayer

changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility

Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk

c6ec28b1 07/17/2005 12:28 AM Michael Niedermayer

DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)

Originally committed as revision 4448 to svn://svn.ffmpeg.org/ffmpeg/trunk

2692067a 05/26/2005 08:17 PM Michael Niedermayer

AVPacket.pos

Originally committed as revision 4314 to svn://svn.ffmpeg.org/ffmpeg/trunk

41526404 05/06/2005 04:14 PM Wolfram Gloger

Correct number of bits for PTS.
Patch by Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>

Originally committed as revision 4188 to svn://svn.ffmpeg.org/ffmpeg/trunk

c0df9d75 04/30/2005 09:43 PM Michael Niedermayer

switch to native time bases

Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk

27bb1ed3 02/16/2005 11:04 PM Wolfram Gloger

Writing to freed memory in write_section_data() patch by (Wolfram Gloger <wmglo dent dot med dot uni-muenchen de>)

Originally committed as revision 3957 to svn://svn.ffmpeg.org/ffmpeg/trunk

3ba1438d 10/10/2004 10:05 PM Michael Niedermayer

use native timebase for seeking
direction flag for seeking

Originally committed as revision 3577 to svn://svn.ffmpeg.org/ffmpeg/trunk

23c99253 07/14/2004 01:32 AM Michael Niedermayer

libdts support by (Benjamin Zores <ben at geexbox dot org>)

Originally committed as revision 3310 to svn://svn.ffmpeg.org/ffmpeg/trunk

e05655fb 05/31/2004 04:57 PM Michael Niedermayer

fix playback of http://www.zonque.org/test-long.ps
better seeking, (not to keyframes but at least to the start of packets ...)

Originally committed as revision 3182 to svn://svn.ffmpeg.org/ffmpeg/trunk

cdd5034f 05/23/2004 04:26 PM Michael Niedermayer

store index for seeking in the native timebase of each stream
set correct timebase for nut
merge mpeg-ts seeking with existing seeking code
10l fix in mpegts (27mhz vs. 90khz)

Originally committed as revision 3152 to svn://svn.ffmpeg.org/ffmpeg/trunk

9ee91c2f 05/21/2004 08:43 PM Michael Niedermayer

move time_base (pts_num/pts_den) from AVFormatContext -> AVStream

Originally committed as revision 3148 to svn://svn.ffmpeg.org/ffmpeg/trunk

550f0a9b 04/13/2004 01:33 PM Wolfram Gloger

Off-by-two in mpegts.c patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)

Originally committed as revision 3011 to svn://svn.ffmpeg.org/ffmpeg/trunk

6fb316d5 03/26/2004 05:40 PM Wolfram Gloger

Support raw mpegts streams from dvr patch by (wmglo at dent dot med dot uni-muenchen dot de)

Originally committed as revision 2931 to svn://svn.ffmpeg.org/ffmpeg/trunk

2092bd75 02/20/2004 02:39 PM Gildas Bazin

avsync patch by (Gildas Bazin <gbazin at altern dot org>)

Originally committed as revision 2805 to svn://svn.ffmpeg.org/ffmpeg/trunk

ec7d0d2e 01/08/2004 07:01 PM Gildas Bazin

memleak patch by (Gildas Bazin <gbazin at altern dot org>)

Originally committed as revision 2678 to svn://svn.ffmpeg.org/ffmpeg/trunk

a0b8f70c 12/09/2003 12:17 AM Michael Niedermayer

better get_packet_size and probe

Originally committed as revision 2578 to svn://svn.ffmpeg.org/ffmpeg/trunk

278de475 11/12/2003 09:56 PM Måns Rullgård

support more codecs in MPEG-TS patch by (mru at kth dot se (Måns Rullgård))

Originally committed as revision 2511 to svn://svn.ffmpeg.org/ffmpeg/trunk

27f388aa 11/10/2003 06:47 PM Fabrice Bellard

seek support

Originally committed as revision 2501 to svn://svn.ffmpeg.org/ffmpeg/trunk

b45a7a18 10/29/2003 02:16 PM Fabrice Bellard

mpeg TS demux API (called from RTP layer) - raw mpeg TS reader (uses fake codec MPEG2TS)

Originally committed as revision 2446 to svn://svn.ffmpeg.org/ffmpeg/trunk

66535069 10/15/2003 06:06 PM Doug Larrick

Enable decoding of more mpeg-ts streams for pcHDTV patch by (Doug Larrick <doug at ties dot org>)

Originally committed as revision 2390 to svn://svn.ffmpeg.org/ffmpeg/trunk

764ef400 10/14/2003 04:15 AM Mike Melanson

disable encoders where appropriate (patch courtesy of BERO
<bero at geocities.co.jp>)

Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk

fc48fe84 07/15/2003 01:21 PM Fabrice Bellard

cosmetic change in resync code - added PAT scanning code if no SDT is found (in the futur it would be interesting to give an API to change channel - also useful for DV input number or TV grab tunning

Originally committed as revision 2043 to svn://svn.ffmpeg.org/ffmpeg/trunk

ec23a472 07/10/2003 09:04 AM Isaac Richards

- Looks a tiny bit harder in mpegps_probe() for a valid start code. This is
needed to detect some files produced by pvr-250/350 capture cards.
- Adds AC3 audio support to the mpegts demuxer, and makes it a little more
tolerant of bad files.
patch by (Isaac Richards <ijr at po dot cwru dot edu>)...

ce34182d 06/28/2003 11:44 PM Michael Niedermayer

try to filter all PATs if no SDT could be found patch by (<gbazin at altern dot org>)
+ mpegtsenc.c compile fix by me

Originally committed as revision 1995 to svn://svn.ffmpeg.org/ffmpeg/trunk

5dbafeb7 06/13/2003 02:28 PM Fabrice Bellard

mpeg ts demux uses DVB SI info and generates correct PTS info - added prototype mpeg ts mux

Originally committed as revision 1956 to svn://svn.ffmpeg.org/ffmpeg/trunk

6af6cf22 04/18/2003 02:35 PM François Revol

avoid detecting mpeg stream when other formats embed mp3 tracks.

Originally committed as revision 1788 to svn://svn.ffmpeg.org/ffmpeg/trunk

0c1a9eda 02/11/2003 04:35 PM Zdenek Kabelac
  • UINTX -> uintx_t INTX -> intx_t

Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk

abac6175 11/25/2002 07:07 PM Fabrice Bellard

renamed libav to libavformat

Originally committed as revision 1276 to svn://svn.ffmpeg.org/ffmpeg/trunk