Anton Khirnov
dfc2c4d900
lavf: use designated initialisers for all (de)muxers.
...
It's more readable and less prone to breakage.
14 years ago
Kostya Shishkov
2c4d7bf008
mxfenc: include needed header for ff_iso8601_to_unix_time() prototype
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
001d668d40
lavf: factor out conversion of ISO8601 string to unix time
14 years ago
Anton Khirnov
5f847bf61d
lavf: deprecate AVFormatContext.timestamp
...
It's replaced by 'creation_time' metadata tag.
14 years ago
Clément Bœsch
4d5e7ab5c4
mxfenc: fix ignored drop flag in binary timecode representation.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Clément Bœsch
19b6127365
mxfenc: small typo fix
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Diego Biurrun
6001dad6e2
Replace more FFmpeg references by Libav.
14 years ago
Anton Khirnov
8978fedaee
avio: introduce an AVIOContext.seekable field
...
Use it instead of url_is_streamed and AVIOContext.is_streamed.
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
b7f2fdde74
avio: rename put_flush_packet -> avio_flush
...
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
6b4aa5dac8
avio: avio_ prefix for url_fseek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
77eb5504d3
avio: avio: avio_ prefixes for put_* functions
...
In the name of consistency:
put_byte -> avio_w8
put_<type> -> avio_w<type>
put_buffer -> avio_write
put_nbyte will be made private
put_tag will be merged with avio_put_str
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
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
Baptiste Coudurier
6dc7dc08ed
In mxf muxer, check the return value of gmtime, fix #2494
...
Originally committed as revision 26343 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
f8a169ac8e
Add extern to mxf_d10_muxer forward declaration to avoid a redundant
...
redeclaration warning.
Originally committed as revision 24564 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
6f2c523c85
Fix a "function declaration isn't a prototype" warning.
...
Originally committed as revision 24480 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
29054fdd0a
In mxf muxer, fix last b frame temporal offset
...
Originally committed as revision 23967 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
576fb48e6d
Make ff_random_get_seed public, rename to av_get_random_seed, export the header
...
Keep an old ff_ named function for binary compatibility until the
next major bump.
Originally committed as revision 23254 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
Baptiste Coudurier
012dc2c426
Remove MAX_STREAMS usage in ogg and mxf muxers
...
Originally committed as revision 21526 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
80454494de
Use CODEC_ID_NONE instead of 0 for enum CodecID.
...
Originally committed as revision 20481 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
e07b882b4d
Improve amortized worst case speed of the muxers packet interleaving code
...
from O(packets_in_the_file) to O(num_of_streams).
Originally committed as revision 19887 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
4eba9cdd07
fix and simplify long gop mpeg codec ul computation
...
Originally committed as revision 19339 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
df1550f081
set index duration to 0 for cbr, specifying whole container coverage
...
Originally committed as revision 19338 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
76b092e207
use ber4 length for descriptors preferred by specs
...
Originally committed as revision 19337 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6a43aab01b
write profile and level local tag in mpeg descriptor
...
Originally committed as revision 19336 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
b399b932b7
cosmetics, change case and comments alignment
...
Originally committed as revision 19305 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
61f9e3c16a
correctly compute frame flags with closed gop
...
Originally committed as revision 19304 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
c43accabd3
remove useless include
...
Originally committed as revision 18906 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
df099252bb
reindent
...
Originally committed as revision 18835 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
58a830239d
remove unneeded length checks
...
Originally committed as revision 18834 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
ed6ae6a58b
use utc time for timestamp and do not set it if not specified
...
Originally committed as revision 17971 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
2261a952f9
do not parse timestamp if bitexact is set, should fix regression tests
...
Originally committed as revision 17967 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
f344ae8096
again 10l, typo, put_byte instead of put_buffer
...
Originally committed as revision 17933 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
cafdc1876a
attempt to try to generate an random umid
...
Originally committed as revision 17932 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
28c1720023
fix index edit rate, inverse num and den
...
Originally committed as revision 17583 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
e38badbc21
simplify, use codec->block_align
...
Originally committed as revision 17582 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
37653f0b93
set channel number even for inactive channels
...
Originally committed as revision 17581 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6df1deda30
do not set frame start bit since marked as not used and factorize
...
Originally committed as revision 17580 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
40284e9c8b
start track id at 2, track id 1 for timecode
...
Originally committed as revision 17545 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
7b05a81687
fix partition index byte count
...
Originally committed as revision 17424 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
454d53ed9e
always use multi track since timecode track is present
...
Originally committed as revision 17423 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6739fa54b8
fix preface version
...
Originally committed as revision 17421 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
ef33facdfe
start counting track number from 0
...
Originally committed as revision 17419 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
5bea4f6770
remove redundant comment
...
Originally committed as revision 17418 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
c3ff541baa
do not write slice count when muxing cbr
...
Originally committed as revision 17417 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
8ab94b524b
flush pending write in mxf_write_footer
...
Originally committed as revision 17416 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
659713bf86
use index 0 for timecode track and write it in source package also
...
Originally committed as revision 17415 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago