summaryrefslogtreecommitdiff
path: root/libavformat/mpegtsenc.c
Commit message (Collapse)AuthorAge
...
* mpegtsenc: support CODEC_ID_AAC_LATMPeter Ross2011-01-28
| | | | | | | | | | | | | | | $subject. Have used this for loopback testing with mpegts.c. -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) [2. text/x-diff; 0001-mpegtsenc-support-CODEC_ID_AAC_LATM.patch] From 0f7f9db4b7da1793996af6dda84298507703759a Mon Sep 17 00:00:00 2001 From: Peter Ross <pross@xvid.org> Date: Sun, 9 Jan 2011 09:45:50 +1100 Subject: [PATCH] mpegtsenc: support CODEC_ID_AAC_LATM Signed-off-by: Mans Rullgard <mans@mansr.com>
* In mpegts "reserved_future_use" field must be set to 1 in SDT tableGeorgi Chorbadzhiyski2011-01-28
| | | | | | | | | | | According to EN 300 468 section 3.1 (Definitions): Unless otherwise specified within the present document all "reserved_future_use" bits is set to "1". This was not the case for SDT generation so this patch fixes it. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* mpegtsenc: set reserved bits to 1 in PCR fieldGeorgi Chorbadzhiyski2011-01-26
| | | | | | | The reserved bits between PCR base and extension fields must be set to 1. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegtsenc: remove unused variablesGeorgi Chorbadzhiyski2011-01-25
| | | | | | | | | | | | | Remove two variables that were not used and caused the following warnings: CC libavformat/mpegtsenc.o libavformat/mpegtsenc.c: In function 'mpegts_write_section': libavformat/mpegtsenc.c:72:18: warning: unused variable 'ts' libavformat/mpegtsenc.c: In function 'mpegts_insert_null_packet': libavformat/mpegtsenc.c:586:18: warning: unused variable 'ts' Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegtsenc: prefer metadata keyed with "service_name"Janne Grunau2011-01-20
| | | | | | title metadata is only used as fallback if no service_name is available. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Add service_provider and service_name metadataGeorgi Chorbadzhiyski2011-01-20
| | | | | | | | | | | | | | This patch adds support in mpegts muxer for using service_provider and service_name metadata to set service_provider_name and service_name fields in SDT. Example usage: ffmpeg -i file.ts -f mpegts -re -acodec copy -vcodec copy -f mpegts \ -metadata service_provider="Some provider" \ -metadata service_name="Some Channel" \ "udp://239.0.70.2:5000?pkt_size=1316&ttl=1" Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegtsenc: Improve PCR generation and outputTomas Härdin2010-12-03
| | | | | | | This fixes PCR drift due to accumulating TS_PACKET_SIZE*8*90000LL/ts->mux_rate each packet, due to rounding errors when mux_rate does not evenly divide 135360000. This patch also increases the PCR precision to 27 MHz from 90 kHz and takes the location of the PCR data into account (+11 bytes according to the spec). Originally committed as revision 25864 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mpegtsenc: IndentTomas Härdin2010-09-27
| | | | Originally committed as revision 25222 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mpegtsenc: Write subtitle extradata if setTomas Härdin2010-09-27
| | | | Originally committed as revision 25221 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In mpegts muxer, fix rbsp trailing bits in AUD nal, fixes issue #2122Baptiste Coudurier2010-07-23
| | | | Originally committed as revision 24449 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In mpegts muxer, print VBR instead of dummy 1 when displaying muxrateBaptiste Coudurier2010-07-08
| | | | Originally committed as revision 24125 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mpegtsenc: allocate correct size for PID tableMåns Rullgård2010-07-01
| | | | Originally committed as revision 23951 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow setting streamid when muxing mpegts.Mike Scheutzow2010-06-30
| | | | | | Patch by Mike Scheutzow, scheutzow alcatel-lucent com Originally committed as revision 23918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the internal function declarations in avformat.h to internal.h.Stefano Sabatini2010-04-11
| | | | Originally committed as revision 22843 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all remaining occurrences of AVERROR_NOMEM withStefano Sabatini2010-04-03
| | | | | | | | | AVERROR(ENOMEM). AVERROR_NOMEM is deprecated and will be dropped at the next libavutil major bump. Originally committed as revision 22791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In mpegts muxer, free adts context and temporary dataBaptiste Coudurier2010-03-10
| | | | Originally committed as revision 22428 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reindentBaptiste Coudurier2010-03-10
| | | | Originally committed as revision 22427 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In mpegts muxer, write adts header if aac bitstream does not contain itBaptiste Coudurier2010-03-09
| | | | Originally committed as revision 22355 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In mpegts muxer, search for h264 aud nal, it might not be the first nal.Baptiste Coudurier2010-03-08
| | | | | | | 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
* mpegts vbr muxing, activated when muxing rate is not supplied by theBaptiste Coudurier2010-03-08
| | | | | | user. Originally committed as revision 22352 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Start continuity counter at 0 for pmt as wellBaptiste Coudurier2010-03-08
| | | | Originally committed as revision 22350 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Start continuity counter at 0 for streamsBaptiste Coudurier2010-03-08
| | | | Originally committed as revision 22344 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l typo, fix ts total bit rate computationBaptiste Coudurier2010-03-08
| | | | Originally committed as revision 22343 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correctly increment continuity_counter in PCR packets.Yann Coupin2010-02-24
| | | | | | Patch by Yann Coupin, yann.coupin+ffmpeg gmail Originally committed as revision 22020 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert wrongly commited hunk in r21205Baptiste Coudurier2010-01-13
| | | | Originally committed as revision 21207 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless declarations from mpegts.hBaptiste Coudurier2010-01-13
| | | | Originally committed as revision 21205 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use codec rc_max_rate if set and warn if bit rate is not setBaptiste Coudurier2010-01-13
| | | | Originally committed as revision 21204 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not split audio frames accross pes packets.Baptiste Coudurier2010-01-13
| | | | | | This was not supported by some equipment and cisco analyzer. Originally committed as revision 21203 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print more debug info about muxing parameters, patch by Mike Scheutzow, ↵Mike Scheutzow2010-01-13
| | | | | | scheutzow at alcatel-lucent dot com Originally committed as revision 21201 to svn://svn.ffmpeg.org/ffmpeg/trunk
* update mpegts_write_pes documentation, patch by Mike Scheutzow, scheutzow at ↵Mike Scheutzow2010-01-13
| | | | | | alcatel-lucent dot com Originally committed as revision 21200 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Insert null packets to keep pcr values correct, patch by Mike Scheutzow,Mike Scheutzow2010-01-13
| | | | | | 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
* move pcr/sdt/pat period computation after ts->mux_rate is set, patch by Mike ↵Mike Scheutzow2010-01-13
| | | | | | Scheutzow, scheutzow at alcatel-lucent dot com Originally committed as revision 21198 to svn://svn.ffmpeg.org/ffmpeg/trunk
* output a pcr as soon as possible, patch by Mike Scheutzow, scheutzow at ↵Mike Scheutzow2010-01-13
| | | | | | alcatel-lucent dot com Originally committed as revision 21197 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix ts packet header size computation, patch by Niobos, niobos at ↵Niobos2010-01-13
| | | | | | dest-unreach dot be Originally committed as revision 21196 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix sdt, pat, pcr size computation, patch by Niobos, niobos at dest-unreach ↵Niobos2010-01-13
| | | | | | dot be Originally committed as revision 21195 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mux all stream types except audio as one pes packet per avpacket, issue #1374Baptiste Coudurier2009-10-18
| | | | Originally committed as revision 20292 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix pes overhead computation, patch by Niobos, niobos at dest-unreach dot beNiobos2009-09-17
| | | | Originally committed as revision 19902 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename freq to period which is more correct, patch by Niobos, niobos dot be ↵Niobos2009-07-28
| | | | | | at gmail dot com Originally committed as revision 19529 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify pes timestamps fetching, based on a patch by corp186, chasedouglas ↵Baptiste Coudurier2009-05-23
| | | | | | at gmail dot com Originally committed as revision 18910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* compute total bitrate more accurately, patch by corp186, chasedouglas at ↵corp1862009-05-23
| | | | | | gmail dot com Originally committed as revision 18909 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move free data in the video caseBaptiste Coudurier2009-05-11
| | | | Originally committed as revision 18793 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write a single pes for video frames, some proprietary player needs itBaptiste Coudurier2009-05-11
| | | | Originally committed as revision 18792 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ensure first pts is set, according to specsBaptiste Coudurier2009-05-10
| | | | Originally committed as revision 18781 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless max_payload_size variableBaptiste Coudurier2009-05-10
| | | | Originally committed as revision 18780 to svn://svn.ffmpeg.org/ffmpeg/trunk
* do not write dts if pts is not setBaptiste Coudurier2009-05-10
| | | | Originally committed as revision 18779 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix total bitrate computation, based on patch by corp186, chasedouglas at ↵Baptiste Coudurier2009-05-10
| | | | | | gmail dot com Originally committed as revision 18778 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new metadata API in mpegts muxerAurelien Jacobs2009-02-18
| | | | Originally committed as revision 17406 to svn://svn.ffmpeg.org/ffmpeg/trunk