Statistics
| Branch: | Revision:

ffmpeg / libavformat / mpegtsenc.c @ 72415b2a

History | View | Annotate | Download (28.6 KB)

# Date Author Comment
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

83c2bc7a 03/10/2010 09:20 AM Baptiste Coudurier

In mpegts muxer, free adts context and temporary data

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

e3433702 03/10/2010 09:19 AM Baptiste Coudurier

reindent

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

8fdd542c 03/09/2010 12:18 AM Baptiste Coudurier

In mpegts muxer, write adts header if aac bitstream does not contain it

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

e17d77bb 03/08/2010 11:59 PM Baptiste Coudurier

In mpegts muxer, search for h264 aud nal, it might not be the first nal.
Improve ther error message when bitstream is malformated and tell user to use
the bitstream filter.

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

7082ea56 03/08/2010 11:46 PM Baptiste Coudurier

mpegts vbr muxing, activated when muxing rate is not supplied by the
user.

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

677a1144 03/08/2010 10:44 PM Baptiste Coudurier

Start continuity counter at 0 for pmt as well

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

d73a458f 03/08/2010 08:59 PM Baptiste Coudurier

Start continuity counter at 0 for streams

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

9169174f 03/08/2010 08:57 PM Baptiste Coudurier

10l typo, fix ts total bit rate computation

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

8d819221 02/24/2010 10:56 AM Yann Coupin

Correctly increment continuity_counter in PCR packets.

Patch by Yann Coupin, yann.coupin+ffmpeg gmail

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

a1f42882 01/13/2010 10:57 PM Baptiste Coudurier

revert wrongly commited hunk in r21205

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

dcc2220a 01/13/2010 10:50 PM Baptiste Coudurier

remove useless declarations from mpegts.h

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

33931016 01/13/2010 10:23 PM Baptiste Coudurier

use codec rc_max_rate if set and warn if bit rate is not set

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

01d6bd52 01/13/2010 10:21 PM Baptiste Coudurier

Do not split audio frames accross pes packets.
This was not supported by some equipment and cisco analyzer.

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

907d9166 01/13/2010 09:42 PM Mike Scheutzow

print more debug info about muxing parameters, patch by Mike Scheutzow, scheutzow at alcatel-lucent dot com

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

c054f372 01/13/2010 09:40 PM Mike Scheutzow

update mpegts_write_pes documentation, patch by Mike Scheutzow, scheutzow at alcatel-lucent dot com

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

4df3bbbc 01/13/2010 08:44 PM Mike Scheutzow

Insert null packets to keep pcr values correct, patch by Mike Scheutzow,
scheutzow at alcatel-lucent dot com and Niobos, niobos at dest-unreach dot be.

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

49f6fd8f 01/13/2010 08:30 PM Mike Scheutzow

move pcr/sdt/pat period computation after ts->mux_rate is set, patch by Mike Scheutzow, scheutzow at alcatel-lucent dot com

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

6b18a3f5 01/13/2010 08:26 PM Mike Scheutzow

output a pcr as soon as possible, patch by Mike Scheutzow, scheutzow at alcatel-lucent dot com

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

906c16a1 01/13/2010 08:20 PM Niobos

fix ts packet header size computation, patch by Niobos, niobos at dest-unreach dot be

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

080cabff 01/13/2010 08:14 PM Niobos

fix sdt, pat, pcr size computation, patch by Niobos, niobos at dest-unreach dot be

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

807e4e81 10/18/2009 09:41 PM Baptiste Coudurier

mux all stream types except audio as one pes packet per avpacket, issue #1374

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

9deba199 09/17/2009 07:07 PM Niobos

fix pes overhead computation, patch by Niobos, niobos at dest-unreach dot be

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

1aae3489 07/28/2009 05:51 PM Niobos

rename freq to period which is more correct, patch by Niobos, niobos dot be at gmail dot com

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

84df78b4 05/23/2009 06:25 AM Baptiste Coudurier

simplify pes timestamps fetching, based on a patch by corp186, chasedouglas at gmail dot com

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

c69d2241 05/23/2009 06:09 AM corp186

compute total bitrate more accurately, patch by corp186, chasedouglas at gmail dot com

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

24ac5052 05/11/2009 02:36 AM Baptiste Coudurier

move free data in the video case

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

e4358e70 05/11/2009 02:30 AM Baptiste Coudurier

write a single pes for video frames, some proprietary player needs it

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

b69017af 05/10/2009 01:57 AM Baptiste Coudurier

ensure first pts is set, according to specs

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

1e885788 05/10/2009 01:41 AM Baptiste Coudurier

remove useless max_payload_size variable

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

8f14cdee 05/10/2009 01:37 AM Baptiste Coudurier

do not write dts if pts is not set

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

31df40a1 05/10/2009 01:02 AM Baptiste Coudurier

fix total bitrate computation, based on patch by corp186, chasedouglas at gmail dot com

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

4b358c3e 02/18/2009 12:00 AM Aurelien Jacobs

use new metadata API in mpegts muxer

Originally committed as revision 17406 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

f3ba7c54 01/15/2009 01:47 AM Baptiste Coudurier

use delay for subs and dirac too

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

a57fb91c 01/15/2009 01:22 AM Baptiste Coudurier

add aud nal unit if not present in h264 bitstream

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

89ac55ad 01/14/2009 11:53 PM Baptiste Coudurier

consider other codecs packets contain only one access unit, not just audio

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

3d0a94f6 01/14/2009 11:49 PM Baptiste Coudurier

calculate pat, pmt and sdt exact size and adjust total bitrate

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

620b9df7 01/14/2009 11:30 PM Baptiste Coudurier

allow user to specify muxrate

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

811a0aa7 01/14/2009 10:40 PM Baptiste Coudurier

warn if dts < pcr which means TS is invalid

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

5541759f 01/14/2009 10:17 PM Baptiste Coudurier

only write dts if they differ from pts, according to specs

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

46911c7a 01/14/2009 10:14 PM Baptiste Coudurier

use delay to avoid negative dts

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

de34dc39 01/14/2009 09:57 PM Baptiste Coudurier

set pts and dts of pes packets exactly according to specs

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

b5931348 01/14/2009 02:20 AM Baptiste Coudurier

compute pcr more accurately, regression tests need update

Originally committed as revision 16596 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

67a38cee 08/14/2008 11:17 AM Anuradha Suraparaju

Change Dirac in MPEG-TS encapsulation to conform with spec changes.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 14753 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

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

d3ad044a 06/03/2008 12:55 AM Baptiste Coudurier

add pretty common .m2t as ts extension

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

3654a16d 06/03/2008 12:53 AM Baptiste Coudurier

fix continuity counter to start at 0

Originally committed as revision 13641 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

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

700b9711 03/02/2007 09:47 PM Måns Rullgård

write DTS, based on patch by Luca Abeni, lucabe72 email it

Originally committed as revision 8196 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

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

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

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

6d276a9e 01/19/2006 10:30 PM Gildas Bazin

Properly #ifdef muxer-specific parts.
Taken from a patch by Gildas Bazin < gbazin -- @@ -- altern -- . -- org >

Originally committed as revision 4869 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

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 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

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

8b475508 06/03/2005 02:05 PM Fabrice Bellard

buggy PCR output (just to keep HW decoders happy) - audio and subtitle language support - 'title' stream field sets the service name - fixed TS packet stuffing code - support for subtitle PES packets

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

0044a8f8 03/09/2005 02:12 AM Måns Rullgård

double free patch by (Måns Rullgård <mru inprovide com>)
"This free is handled in av_write_trailer() since Oct 1 2004, but apparently mpegts was missed at the time."

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

e928649b 05/29/2004 02:06 AM Michael Niedermayer

pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

Originally committed as revision 3168 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

69ef9450 09/16/2003 12:56 PM Fabrice Bellard

generate correct PTS in transport stream - use mpeg2 encoder by default

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

49057904 09/10/2003 10:37 PM Fabrice Bellard

64 bit pts for writing - more const usage

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

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