Anton Khirnov
c3f9ebf743
lavf: make av_set_pts_info private.
...
It's supposed to be called only from (de)muxers.
13 years ago
Joseph Wecker
d31c68a7ed
removes spurious warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
905de11907
flvenc: use first packet delay as global delay.
...
This keeps the streams sychronized. The packets must be interleaved per-DTS.
13 years ago
Justin Ruggles
ef74e39799
flvenc: store delay and last_ts per-stream.
13 years ago
Justin Ruggles
4ee247a2bd
flvenc: check packet duration in speex using timestamps
...
Using AVCodecContext.frame_size is not reliable.
13 years ago
Justin Ruggles
52375ba567
flvenc: adjust for negative DTS for all codecs, not just H.264
13 years ago
Martin Storsjö
cad0c375d9
flvenc: Write the right metadata entry count
...
No application rely on this count being correct as far as
I know, but if we write a nonzero count value, it might just
as well be the right one.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
714517b26a
flvenc: Ignore metadata that has special values and is stored already based on
...
more correct values.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Joseph Wecker
4ee53d7e86
flvenc: Correctly encode data stream into in-band metadata frames.
13 years ago
Joseph Wecker
30bcd6a945
flv: Ammon's changes migrated from 0.6.0 - I believe for the android broadcaster.
13 years ago
Nicolas George
1c58264e62
flvenc: use avcodec_get_name to report unsupported codecs.
13 years ago
Luca Barbato
7f5bf4fbaf
flvenc: use int64_t to store offsets
...
Metadata currently is written only at the start of the file in normal
cases, when transcoding from a rtmp source metadata could be
written later and the offset recorded can exceed 32bit.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
dfc2c4d900
lavf: use designated initialisers for all (de)muxers.
...
It's more readable and less prone to breakage.
14 years ago
Mans Rullgard
ee8aecd23a
Do not include intfloat_readwrite.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
d2d67e424f
Remove all uses of now deprecated metadata functions.
14 years ago
Luca Barbato
0e28e9ca8f
flvenc: propagate error properly
...
avio_flush can fail, in particular when used with the rtmp/librtmp
protocol.
14 years ago
Baptiste Coudurier
c22f2527ed
In mov and flv muxer, check aac bitstream validity.
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
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
384c9c2fa7
avio: add avio_tell macro as a replacement for url_ftell
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit a2704c9712
)
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
f59d8ff8cd
avio: avio_ prefix for url_fseek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 6b4aa5dac8
)
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
a1b7979261
lavf: replace remaining uses of put_tag with avio_write
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit bbc413f943
)
14 years ago
Anton Khirnov
bbc413f943
lavf: replace remaining uses of put_tag with avio_write
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
e9eb8d0bce
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>
(cherry picked from commit 77eb5504d3
)
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
471fe57e1a
avio: rename ByteIOContext to AVIOContext.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ae628ec1fd
)
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ò
66355be3c3
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.
(cherry picked from commit c6610a216e
)
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
Stefano Sabatini
b9f9e59afc
Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the
...
corresponding AVMEDIA_TYPE_* symbols.
Originally committed as revision 25201 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tomás Touceda
16f825085a
FLV Metadata
...
Patch by Tomás Touceda, chiiph gentoo org
Originally committed as revision 25101 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Thierry Foucu
df4f1d5108
Add AVC EOS tag to H264-encoded FLV files.
...
Patch by Thierry Foucu, tfoucu gmail
Originally committed as revision 24820 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Francesco Lavra
80b39e1ca6
Move AVCodecTag from riff.h into internal.h.
...
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 23250 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jean-Daniel Dupas
cc947f04cc
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
...
Patch by Jean-Daniel Dupas, devlists shadowlab org
Originally committed as revision 22744 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
Justin Johnson
c5e1e9827d
Guess the duration before converting video and write guessed duration
...
into flv header.
Patch by Justin Johnson, justin D johnson3 A gmail
Originally committed as revision 21615 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Daniel Verkamp
8e9efe4392
FLV 8-bit PCM is unsigned, not signed
...
Fixes issue #1569
Originally committed as revision 20853 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Daniel Verkamp
1b88277bd9
FLV muxer support for Flash screen codec v2
...
Originally committed as revision 20564 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
68677dd8ed
Log a clearer warning message when muxing FLV with Speex containing more than
...
8 frames per packet.
Originally committed as revision 20247 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
046c400103
Add Speex support to the FLV muxer.
...
Originally committed as revision 20245 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
e458dd0be0
Flv should be AVFMT_VARIABLE_FPS.
...
Originally committed as revision 19873 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Yoshihisa Uchida
3f3f3ba799
Fix onMetaData property count in flv files (issue 1206).
...
Patch by Yoshihisa Uchida, yoshihisa D uchida A gmail
Originally committed as revision 19236 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan de Konink
426a6f34a0
Splits the totalbitrate in a videodatarate and audiodatarate part.
...
Patch by Stefan de Konink stefan konink de
Originally committed as revision 16944 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
71e685b018
use ff_avc_parse_nal_units_buf because output size might differ from input size
...
Originally committed as revision 16626 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
ca93bc175a
Reindent after last commit
...
Originally committed as revision 16617 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
0a63a676ec
Do not reallocate AVPacket's data when muxing a packet
...
Originally committed as revision 16616 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago