Statistics
| Branch: | Revision:

ffmpeg / libavformat / mpegts.c @ da9e6c42

History | View | Annotate | Download (54 KB)

# Date Author Comment
b74f67eb 05/18/2010 05:28 PM Janne Grunau

In ts demuxer, output pes packet as soon as they are complete.
This is needed for subtitles where packets are infrequent.
Patch by Janne Grunau, janne-ffmpeg at jannau dot net.

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

2ef6c124 04/25/2010 02:27 PM Stefano Sabatini

Mark av_metadata_set() as deprecated, and use av_metadata_set2()
in its place.

av_metadata_set() is going to be dropped at the next major bump.

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

0403c2e3 04/22/2010 08:34 PM Baptiste Coudurier

Disable LATM AAC in mpegts, this is not supported and produce too many
bug reports. Also warn the user about it.

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

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

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

588af13f 03/15/2010 11:14 PM Aurelien Jacobs

rename av_program_add_stream_index to ff_program_add_stream_index
it is an internal function, not part of public API

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

4837bb52 03/08/2010 11:46 PM Stefano Sabatini

Replace last occurrence of the deprecated match_ext() with
av_match_ext().

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

0694a009 02/01/2010 11:30 PM Måns Rullgård

Fix build

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

9125806e 02/01/2010 11:10 PM Alexis Ballier

Fix warnings about implicit function declaration when compiling rtpdec.c

Patch by Alexis Ballier, alexis D ballier A gmail

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

10061cd6 01/13/2010 10:52 PM Baptiste Coudurier

remove useless type declarations

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

609d8646 11/08/2009 03:27 AM Baptiste Coudurier

move code to avoid forward declaration

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

b3f9f7a3 11/08/2009 03:17 AM Baptiste Coudurier

Let pmt override stream info when encoutered later in the ts file.
Do not set codec id based on pes start code, this is unreliable.
Fix gazeta-20090408-1456-aa.ts

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

28f008a9 11/07/2009 11:44 PM Carl Eugen Hoyos

Support some LATM AAC streams (they can be decoded with MPlayer).

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

e58992e4 10/29/2009 10:46 AM Francesco Lavra

Support demuxing teletext in DVB streams.

Original patch by Francesco Lavra, francescolavra interfree it

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

45a49840 10/18/2009 08:11 PM Baptiste Coudurier

handle_packets takes number of packets as arg, avoid reading too much

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

1303d62d 10/18/2009 08:08 PM Baptiste Coudurier

Increase max resync size, fix demuxing of dvgrab-2009.03.28_19-07-22.m2t
Print error when max resync size is reached and return EAGAIN instead of
INVALIDDATA, so user can retry if wanted.

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

0096d766 10/10/2009 09:17 PM Carl Eugen Hoyos

Allow demuxing of E-AC3 (stream type 0x84) in MPEG-TS.

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

63380b5e 10/05/2009 08:38 AM Ian Caulfield

Allow the combined TrueHD/AC3 tracks on Blu-Ray discs to be demuxed as two separate streams.

Patch by Ian Caulfield, ian D caulfield A gmail

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

8bb7dda2 09/13/2009 08:08 PM Baptiste Coudurier

ensure pes buffer is set to avoid segv

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

8956f680 09/13/2009 08:06 PM Baptiste Coudurier

reset pes state to skip after flushing, avoid segv with dvgrab-2009.03.28_19-07-22.m2t

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

af8aae3f 09/06/2009 03:59 PM Ivan Schreter

disable new seeking code in mpeg-ts per #ifdef (use old read_seek by default)

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

608be2ac 08/26/2009 10:33 PM Ivan Schreter

Cosmetic changes in read_seek* routines.

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

5dd3707b 08/26/2009 10:10 PM Christian Schmidt

Decoder for LPCM as used in Bluray discs.

Patch by Christian Schmidt, schmidt digadd de

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

c58b82a2 08/25/2009 08:47 AM Stephen Backway

Add Bluray Subtitle Support

Patch by Stephen Backway, stev391 A exemail D com D au

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

cf5ec607 08/24/2009 09:42 PM Måns Rullgård

mpegts: change variable-length array to fixed length

The difference between 188 and 204 is not worth worrying about.

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

a8dd8dc6 08/22/2009 04:07 PM Ivan Schreter

Use generic multi-stream key frame finding routine to implement read_seek2 and map
read_seek to read_seek2.

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

0fd7cf11 07/30/2009 06:29 PM Baptiste Coudurier

init pes dts and pts to AV_NOPTS_VALUE, fix issue #1297

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

d46c84ea 07/29/2009 02:17 AM Baptiste Coudurier

Stop parsing in read_header only after finding pmt, and
do not close pat filter so further pmt can be parsed.
Fix issue #1294.

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

d23612ef 06/25/2009 07:01 PM Baptiste Coudurier

Only set CODEC_ID_PROBE when a packet from a stream having a PES header
is read.

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

896f2b32 06/20/2009 06:09 AM Wolfram Gloger

add 0-termination in table, patch by Wolfram Gloger, wmglo at dent dot med dot uni-muenchen dot de

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

b2984add 06/02/2009 07:53 AM Baptiste Coudurier

do not parse full header for private streams

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

617c4616 06/02/2009 07:30 AM Baptiste Coudurier

correctly handle maximum streams limit

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

1c4df2ab 06/02/2009 07:26 AM Baptiste Coudurier

export data from private streams

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

4a01b3c7 05/31/2009 08:47 AM Baptiste Coudurier

initialize pes state to skip

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

1f076543 05/31/2009 04:47 AM Baptiste Coudurier

print reg desc in a more friendly way

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

ad183ff4 05/31/2009 04:45 AM Baptiste Coudurier

give context to dprintf

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

fc72ad19 05/31/2009 04:41 AM Baptiste Coudurier

print registration descriptor in debug

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

84c7d45e 05/31/2009 04:35 AM Baptiste Coudurier

0x7a is E-AC3 descriptor

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

7103a77b 05/31/2009 04:10 AM Baptiste Coudurier

set codec_tag to stream type, so user can deal with it

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

5b3c4c8a 05/31/2009 04:04 AM Baptiste Coudurier

set codec_tag to registration descriptor if present

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

ffdbada6 05/31/2009 03:55 AM Baptiste Coudurier

add streams even if they are not present in PMT, fix #1092 and #835

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

e6eb74d8 05/31/2009 03:46 AM Baptiste Coudurier

remove no longer needed fake dvbsub stream type

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

f2c357d9 05/31/2009 03:45 AM Baptiste Coudurier

reindent

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

ed68efad 05/31/2009 03:44 AM Baptiste Coudurier

remove no longer needed init

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

6a2a50f8 05/31/2009 03:40 AM Baptiste Coudurier

factorize

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

f42d1d82 05/31/2009 03:35 AM Baptiste Coudurier

simplify and merge

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

08f94e98 05/31/2009 03:12 AM Baptiste Coudurier

move new_pes_av_stream to avoid forward declaration

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

2fef7b53 05/31/2009 03:02 AM Baptiste Coudurier

remove defines

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

8430f3ec 05/31/2009 02:56 AM Baptiste Coudurier

rework stream type and codec identification

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

40b0872a 05/31/2009 12:33 AM Baptiste Coudurier

cosmetics, reindent, remove useless braces, whitespaces

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

64ab5fa3 05/31/2009 12:31 AM Baptiste Coudurier

export all streams in ts demuxer

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

6c7c2f7b 05/27/2009 01:29 AM Baptiste Coudurier

support AVDISCARD_ALL in mpegts demuxer

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

bdfa9824 05/27/2009 12:56 AM Baptiste Coudurier

return error in mpegts_push_data and propagate it

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

64d88215 05/27/2009 12:48 AM Baptiste Coudurier

10l, forgot ';', fix compilation

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

a5685be5 05/27/2009 12:46 AM Baptiste Coudurier

check that len is not negative

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

0c137557 05/27/2009 12:44 AM Baptiste Coudurier

demux whole PES packets from TS

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

e9859317 05/26/2009 08:13 PM Baptiste Coudurier

move DEBUG define before include to get dprintf

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

c950c25a 04/12/2009 09:04 AM Baptiste Coudurier

remove useless wrapper

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

7b9677f6 04/12/2009 08:52 AM Baptiste Coudurier

remove useless wrapper

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

ebcf352a 04/12/2009 03:08 AM Baptiste Coudurier

replace DEBUG_SI with DEBUG and use dprintf

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

495b3766 04/12/2009 02:39 AM Baptiste Coudurier

Set stream type to ac3 if registration descriptor is present.
Based on patch by Nico Sabi, nicola dot sabbi at poste dot it

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

4f1db48e 04/12/2009 02:32 AM Baptiste Coudurier

simplify registration descriptor parsing with bytestream get functions

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

a4d2af9b 04/12/2009 02:19 AM Björn Axelsson

Ok, ts demuxer is more complicated than I thought
Revert r18454 and fix correctly #700
Stop parsing if end of buffer is reached while reading
patch by Björn Axelsson, bjorn dot axelsson at intinor dot se

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

2b97246e 04/12/2009 01:37 AM Baptiste Coudurier

fix end of buffer check, fix hang_read_header.h264.ts

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

5f01c125 03/22/2009 02:04 AM Baptiste Coudurier

avoid creating a new stream not referenced in pmt since it cannot be associated to a program, fix issue 835

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

4c6b49bf 02/28/2009 06:35 PM Ivan Schreter

Change TS seeking so it returns position/timestamp of a key frame.

Patch by Ivan Schreter, schreter gmx net

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

08681191 02/10/2009 12:25 AM Aurelien Jacobs

use new metadata API in mpegts demuxer

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

dcd913d9 02/06/2009 08:30 PM Jindřich Makovička

Fix minor memory leak.
Patch by Jindrich Makovicka, approved by mans.

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

1558d0b9 02/03/2009 11:01 AM Michael Niedermayer

Fix probe & demuxing of Topfield 58XXPVR and 68XXPVR (topfield.rec)

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

14120c95 01/23/2009 10:16 PM Baptiste Coudurier

set pts and dts when only pts is present, according to specs

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

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

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

6a5d31ac 01/11/2009 10:19 PM Diego Biurrun

Fix build: Add intreadwrite.h and bswap.h #includes where necessary.

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

8c39a758 12/13/2008 12:04 AM Måns Rullgård

mpegts: replace Program_t typedef with "struct Program"

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

ecfb51d1 12/03/2008 11:04 PM Diego Biurrun

Add necessary header for av_set_program_name and av_program_add_stream_index.

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

bad40637 12/03/2008 04:47 PM Diego Biurrun

Move declaration of av_set_program_name and av_program_add_stream_index
to a more sensible place.

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

9686df2b 12/03/2008 03:23 PM Diego Biurrun

Delete unnecessary 'extern' keywords.

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

910f02a0 10/02/2008 04:28 PM Diego Biurrun

spelling cosmetics

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

fb65d2ca 10/02/2008 04:03 PM Diego Pettenò

Use enum typers instead of int.
Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail

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

ff9c8d7c 08/15/2008 04:13 PM Michael Niedermayer

Add flag to mark demuxers that can output discontinuous timestamps.
(could also be added to muxers if someone wants)

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

f4bba201 08/13/2008 07:29 PM Anuradha Suraparaju

Dirac encapsulation in MPEG-TS
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

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

452a398f 07/27/2008 11:06 PM Michael Niedermayer

Fix misdetection of H.264 in mpegts as mpeg1video in mpegts.
Fixes maybeH264_dumpstream

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

c6002ea1 07/18/2008 01:07 AM Måns Rullgård

MPEGTS: Improve probe function

When a sync byte is found, check that transport_error_indicator is zero,
and adaptation_field_control is valid (non-zero).

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

72e043dd 07/08/2008 11:20 PM Erik Hovland

One-bit bitfields should probably be unsigned. Unfortunately, it is left
up to the compiler on how one bit fields are treated. gcc treats one-bit
bitfields as signed and allows for the -funsigned-field parameter. Other
compilers (like Sun C) treat one-bit bitfields as unsigned no matter what....

ade8d8b9 06/20/2008 05:22 PM Baptiste Coudurier

uniformize AVStream->priv_data freeing in av_close_input_stream

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

bde15e74 06/03/2008 04:20 PM Stefano Sabatini

Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me

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

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

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

ccd425e7 05/06/2008 09:16 AM Diego Biurrun

Remove unnecessary parentheses from return calls.

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

81d5ae6d 04/24/2008 10:16 PM Michael Niedermayer

Fixing memleaks.

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

5fd63f3c 04/23/2008 09:16 PM Michael Niedermayer

Ensure that the timestamp reading code used for seeking chooses a position
which is a multiple of the packet size from the last packet start instead
of the file start. This fixes some seek issues with randomly cut ts files
and the mysterious "4 byte PCR somehing MTS something bug"....

056f6b8f 04/15/2008 01:48 PM Michael Niedermayer

Using the same probe function in 2 formats is not a good idea.

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

a45b40c4 02/23/2008 10:57 AM Nico Sabbi

treat stream_type==0x82 as AUDIO_DTS when the program has a REGISTRATION_DESCRIPTOR with the value HDMV; approved by Mans

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

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