History | View | Annotate | Download (58.1 KB)
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
avio: deprecate url_feof
AVIOContext.eof_reached should be used directly instead.
mpegts: add all stream languages into metadata
This is used at least on some older DVB broadcasts for dual-mono audiotracks.
Flag DVB subtitles for the hard hearing appropriately using their component_type id.
This is based on the component_type definition in the DVB SI spec [1].
[1]: http://www.dvb.org/technology/standards/a038_DVB-SI_dEN300468v1.12.1.pdf
avio: deprecate url_fgetc and remove all it uses
avio: add avio_tell macro as a replacement for url_ftell
lavf: replace all uses of url_fskip with avio_seek
avio: avio_ prefix for url_fseek
avio: avio_ prefixes for get_* functions
In the name of consistency:get_byte -> avio_r8get_<type> -> avio_r<type>get_buffer -> avio_read
get_partial_buffer will be made private later
get_strz is left out becase I want to change it later to return...
avio: move init_put_byte() to a new private header and rename it
init_put_byte should never be used outside of lavf, sincesizeof(AVIOContext) isn't part of public ABI.
avio: rename ByteIOContext to AVIOContext.
mpegts: set st->disposition according to ISO 639 language descriptor
mpegts: remove unused macro MAX_SCAN_PACKETS
mpegts: remove get_pts duplicate of ff_parse_pes_pts.
Signed-off-by: Vasyl' Vavrychuk <vvavrychuk@gmail.com>Signed-off-by: Mans Rullgard <mans@mansr.com>
Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
This also lists the objects from those two libraries as internal (by addingthe ff_ prefix) so that they can then be hidden via linker scripts.
Set service_provider and service_name in mpegts demuxer
Set service_provider and service_name in mpegts demuxer, previouslyname and provider_name were set but since the muxer uses service_providerand service_name use them.
add ff_parse_mpeg2_descriptor; make MPEG2 descriptor parsing routines available to other modules.
Originally committed as revision 26125 to svn://svn.ffmpeg.org/ffmpeg/trunk
In ts demuxer, if pes packet size is < ts packet, honor pes packet and skip padded data.Fixes issue #2392.
Originally committed as revision 25841 to svn://svn.ffmpeg.org/ffmpeg/trunk
In TS demuxer, create the AVStream during pmt parsing if the pes stream does notyet have it, this can happen if the pes stream contain data but no pes headerhas been encoutered yet.Patch by Stephen D'Angelo, SDAngelo at evertz dot com.
Originally committed as revision 25823 to svn://svn.ffmpeg.org/ffmpeg/trunk
In TS demuxer, keep the pmt filter open to parse all pmt sections,based on patch by Stephen D'Angelo, SDAngelo at evertz dot com.
Originally committed as revision 25822 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove some warnings
Originally committed as revision 25808 to svn://svn.ffmpeg.org/ffmpeg/trunk
10l, fix memleak, forgot to free mp4_dec_config_descr
Originally committed as revision 25807 to svn://svn.ffmpeg.org/ffmpeg/trunk
In ts demuxer, support aac flexmux using extradata in iods, issue #2346
Originally committed as revision 25806 to svn://svn.ffmpeg.org/ffmpeg/trunk
mpegts: support LATM syntax
Originally committed as revision 25643 to svn://svn.ffmpeg.org/ffmpeg/trunk
rename LAVF_API_* defines to FF_API_* to clarify that it is not public API
Originally committed as revision 24825 to svn://svn.ffmpeg.org/ffmpeg/trunk
add LAVF_API_MAX_STREAMS define to disable the deprecated MAX_STREAMS API
Originally committed as revision 24817 to svn://svn.ffmpeg.org/ffmpeg/trunk
get rid of MAX_STREAMS limit in mpegts
Originally committed as revision 24753 to svn://svn.ffmpeg.org/ffmpeg/trunk
mpegts: Warn if unable to seek back
Originally committed as revision 24477 to svn://svn.ffmpeg.org/ffmpeg/trunk
Pass the composition and ancillary ID for DVB subtitles via extradata insteadof sub_id, this allows detecting when that information is not available andjust decode everything.In addition extradata is required for many codecs and thus in contrast tosub_id generally already passed on by any programs using libav*....
Fix grammar errors in documentation
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
Disable LATM AAC in mpegts, this is not supported and produce too manybug reports. Also warn the user about it.
Originally committed as revision 22947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Define AVMediaType enum, and use it instead of enum CodecType, whichis deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
rename av_program_add_stream_index to ff_program_add_stream_indexit is an internal function, not part of public API
Originally committed as revision 22561 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace last occurrence of the deprecated match_ext() withav_match_ext().
Originally committed as revision 22351 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix build
Originally committed as revision 21602 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
remove useless type declarations
Originally committed as revision 21206 to svn://svn.ffmpeg.org/ffmpeg/trunk
move code to avoid forward declaration
Originally committed as revision 20475 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
Support some LATM AAC streams (they can be decoded with MPlayer).
Originally committed as revision 20472 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
handle_packets takes number of packets as arg, avoid reading too much
Originally committed as revision 20288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Increase max resync size, fix demuxing of dvgrab-2009.03.28_19-07-22.m2tPrint error when max resync size is reached and return EAGAIN instead ofINVALIDDATA, so user can retry if wanted.
Originally committed as revision 20286 to svn://svn.ffmpeg.org/ffmpeg/trunk
Allow demuxing of E-AC3 (stream type 0x84) in MPEG-TS.
Originally committed as revision 20200 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
ensure pes buffer is set to avoid segv
Originally committed as revision 19836 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
Cosmetic changes in read_seek* routines.
Originally committed as revision 19723 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
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
Use generic multi-stream key frame finding routine to implement read_seek2 and mapread_seek to read_seek2.
Originally committed as revision 19681 to svn://svn.ffmpeg.org/ffmpeg/trunk
init pes dts and pts to AV_NOPTS_VALUE, fix issue #1297
Originally committed as revision 19546 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stop parsing in read_header only after finding pmt, anddo 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
Only set CODEC_ID_PROBE when a packet from a stream having a PES headeris read.
Originally committed as revision 19273 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
do not parse full header for private streams
Originally committed as revision 19075 to svn://svn.ffmpeg.org/ffmpeg/trunk
correctly handle maximum streams limit
Originally committed as revision 19074 to svn://svn.ffmpeg.org/ffmpeg/trunk
export data from private streams
Originally committed as revision 19073 to svn://svn.ffmpeg.org/ffmpeg/trunk
initialize pes state to skip
Originally committed as revision 19029 to svn://svn.ffmpeg.org/ffmpeg/trunk
print reg desc in a more friendly way
Originally committed as revision 19021 to svn://svn.ffmpeg.org/ffmpeg/trunk
give context to dprintf
Originally committed as revision 19020 to svn://svn.ffmpeg.org/ffmpeg/trunk
print registration descriptor in debug
Originally committed as revision 19019 to svn://svn.ffmpeg.org/ffmpeg/trunk
0x7a is E-AC3 descriptor
Originally committed as revision 19017 to svn://svn.ffmpeg.org/ffmpeg/trunk
set codec_tag to stream type, so user can deal with it
Originally committed as revision 19013 to svn://svn.ffmpeg.org/ffmpeg/trunk
set codec_tag to registration descriptor if present
Originally committed as revision 19012 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
remove no longer needed fake dvbsub stream type
Originally committed as revision 19010 to svn://svn.ffmpeg.org/ffmpeg/trunk
reindent
Originally committed as revision 19009 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove no longer needed init
Originally committed as revision 19008 to svn://svn.ffmpeg.org/ffmpeg/trunk
factorize
Originally committed as revision 19007 to svn://svn.ffmpeg.org/ffmpeg/trunk
simplify and merge
Originally committed as revision 19006 to svn://svn.ffmpeg.org/ffmpeg/trunk
move new_pes_av_stream to avoid forward declaration
Originally committed as revision 19005 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove defines
Originally committed as revision 19004 to svn://svn.ffmpeg.org/ffmpeg/trunk
rework stream type and codec identification
Originally committed as revision 19003 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetics, reindent, remove useless braces, whitespaces
Originally committed as revision 19002 to svn://svn.ffmpeg.org/ffmpeg/trunk
export all streams in ts demuxer
Originally committed as revision 19001 to svn://svn.ffmpeg.org/ffmpeg/trunk
support AVDISCARD_ALL in mpegts demuxer
Originally committed as revision 18964 to svn://svn.ffmpeg.org/ffmpeg/trunk
return error in mpegts_push_data and propagate it
Originally committed as revision 18963 to svn://svn.ffmpeg.org/ffmpeg/trunk
10l, forgot ';', fix compilation
Originally committed as revision 18962 to svn://svn.ffmpeg.org/ffmpeg/trunk
check that len is not negative
Originally committed as revision 18961 to svn://svn.ffmpeg.org/ffmpeg/trunk
demux whole PES packets from TS
Originally committed as revision 18960 to svn://svn.ffmpeg.org/ffmpeg/trunk
move DEBUG define before include to get dprintf
Originally committed as revision 18956 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove useless wrapper
Originally committed as revision 18465 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 18463 to svn://svn.ffmpeg.org/ffmpeg/trunk
replace DEBUG_SI with DEBUG and use dprintf
Originally committed as revision 18458 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
simplify registration descriptor parsing with bytestream get functions
Originally committed as revision 18456 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ok, ts demuxer is more complicated than I thoughtRevert r18454 and fix correctly #700Stop parsing if end of buffer is reached while readingpatch by Björn Axelsson, bjorn dot axelsson at intinor dot se
Originally committed as revision 18455 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix end of buffer check, fix hang_read_header.h264.ts
Originally committed as revision 18454 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
use new metadata API in mpegts demuxer
Originally committed as revision 17112 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix minor memory leak.Patch by Jindrich Makovicka, approved by mans.
Originally committed as revision 17021 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix probe & demuxing of Topfield 58XXPVR and 68XXPVR (topfield.rec)
Originally committed as revision 16968 to svn://svn.ffmpeg.org/ffmpeg/trunk