Diego Biurrun
2e15305b70
Remove some disabled printf debug cruft.
14 years ago
Diego Biurrun
045dd4b928
Replace some commented-out debug printf() / av_log() messages with av_dlog().
14 years ago
Anton Khirnov
761ad42968
lavf: remove FF_API_MAX_STREAMS cruft
14 years ago
Jindrich Makovicka
e006d71fa8
mpegts: propagate avio EOF in read_packet()
...
Allows distinguishing between EOF and IO error in read_packet return code.
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
45a8a02a41
lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
66e5b1df36
avio: deprecate url_feof
...
AVIOContext.eof_reached should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anssi Hannula
6a7e074eb9
mpegts: add all stream languages into metadata
...
This is used at least on some older DVB broadcasts for dual-mono audio
tracks.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Hendrik Leppkes
789936dbbd
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
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
e51975392d
avio: deprecate url_fgetc and remove all it uses
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
a2704c9712
avio: add avio_tell macro as a replacement for url_ftell
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
e356fc57a2
lavf: replace all uses of url_fskip with avio_seek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
6b4aa5dac8
avio: avio_ prefix for url_fseek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
b7effd4e83
avio: avio_ prefixes for get_* functions
...
In the name of consistency:
get_byte -> avio_r8
get_<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
something useful.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
e731b8d872
avio: move init_put_byte() to a new private header and rename it
...
init_put_byte should never be used outside of lavf, since
sizeof(AVIOContext) isn't part of public ABI.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
ae628ec1fd
avio: rename ByteIOContext to AVIOContext.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anssi Hannula
60e7306643
mpegts: set st->disposition according to ISO 639 language descriptor
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Vladimir Pantelic
f4c79d1e0b
mpegts: remove unused macro MAX_SCAN_PACKETS
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Vasyl' Vavrychuk
665132e620
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>
14 years ago
Luca Barbato
dfd2a005eb
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
14 years ago
Diego Elio Pettenò
c6610a216e
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
...
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.
14 years ago
Georgi Chorbadzhiyski
e8315e7881
Set service_provider and service_name in mpegts demuxer
...
Set service_provider and service_name in mpegts demuxer, previously
name and provider_name were set but since the muxer uses service_provider
and service_name use them.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Peter Ross
cc9038e95c
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
14 years ago
Baptiste Coudurier
74f726209f
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
14 years ago
Stephen D'Angelo
c538eb51c6
In TS demuxer, create the AVStream during pmt parsing if the pes stream does not
...
yet have it, this can happen if the pes stream contain data but no pes header
has 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
14 years ago
Baptiste Coudurier
b795ff97e5
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
14 years ago
Baptiste Coudurier
8ee764b020
Remove some warnings
...
Originally committed as revision 25808 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
175272cb07
10l, fix memleak, forgot to free mp4_dec_config_descr
...
Originally committed as revision 25807 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
798c6facb7
In ts demuxer, support aac flexmux using extradata in iods, issue #2346
...
Originally committed as revision 25806 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Janne Grunau
915bfa33d1
mpegts: support LATM syntax
...
Originally committed as revision 25643 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
54036be11a
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
14 years ago
Aurelien Jacobs
072e3efd1b
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
14 years ago
Aurelien Jacobs
6b2b337657
get rid of MAX_STREAMS limit in mpegts
...
Originally committed as revision 24753 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
8dd25c52cb
mpegts: Warn if unable to seek back
...
Originally committed as revision 24477 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
b834becdae
Pass the composition and ancillary ID for DVB subtitles via extradata instead
...
of sub_id, this allows detecting when that information is not available and
just decode everything.
In addition extradata is required for many codecs and thus in contrast to
sub_id generally already passed on by any programs using libav*.
Also ask for a sample if we encounter a stream with multiple/changing IDs.
Originally committed as revision 24238 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Janne Grunau
b74f67eb17
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
15 years ago
Stefano Sabatini
2ef6c1242a
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
15 years ago
Baptiste Coudurier
0403c2e3e4
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
15 years ago
Stefano Sabatini
72415b2adb
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
15 years ago
Aurelien Jacobs
588af13fee
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
15 years ago
Stefano Sabatini
4837bb52d2
Replace last occurrence of the deprecated match_ext() with
...
av_match_ext().
Originally committed as revision 22351 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
0694a009b6
Fix build
...
Originally committed as revision 21602 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alexis Ballier
9125806e34
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
15 years ago
Baptiste Coudurier
10061cd648
remove useless type declarations
...
Originally committed as revision 21206 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
609d864611
move code to avoid forward declaration
...
Originally committed as revision 20475 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
b3f9f7a333
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
15 years ago
Carl Eugen Hoyos
28f008a9d3
Support some LATM AAC streams (they can be decoded with MPlayer).
...
Originally committed as revision 20472 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Francesco Lavra
e58992e41f
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
15 years ago
Baptiste Coudurier
45a49840f3
handle_packets takes number of packets as arg, avoid reading too much
...
Originally committed as revision 20288 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago