Anton Khirnov
b7f2fdde74
avio: rename put_flush_packet -> avio_flush
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-16 22:59:39 -04:00
Anton Khirnov
76aa876e69
avio: avio_ prefix for url_fsize
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-07 11:03:39 -05:00
Anton Khirnov
a2704c9712
avio: add avio_tell macro as a replacement for url_ftell
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-04 11:26:57 -05:00
Anton Khirnov
6b4aa5dac8
avio: avio_ prefix for url_fseek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-01 12:12:33 -05:00
Anton Khirnov
bbc413f943
lavf: replace remaining uses of put_tag with avio_write
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-25 14:38:56 -05:00
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>
2011-02-21 14:25:15 -05:00
Anton Khirnov
ae628ec1fd
avio: rename ByteIOContext to AVIOContext.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-20 08:37:15 -05:00
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.
2011-01-26 22:10:09 +00:00
Baptiste Coudurier
8a451afe7d
In gxf muxer, round up number of lines mod 16 in mpeg umf data, based patch by Reuben Martin, reuben dot m at gmail dot com
...
Originally committed as revision 25401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 19:41:04 +00:00
Baptiste Coudurier
c6d04addf6
In gxf muxer, fix number of flt entries based on patch by Reuben Martin, reuben dot m at gmail dot com
...
Originally committed as revision 25399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 19:35:55 +00:00
Reuben Martin
82ae56b3fa
In gxf muxer, write umf media for mpeg1video, patch by Reuben Martin, reuben dot m at gmail dot com
...
Originally committed as revision 25396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 19:17:06 +00:00
Reuben Martin
ad4c3c6840
In gxf muxer, fix flt entry offset, patch by Reuben Martin, reuben dot m at gmail dot com
...
Originally committed as revision 25395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 19:15:35 +00:00
Baptiste Coudurier
eeeae2bf05
gxf muxer only accepts pal or ntsc resolutions currently, so fail if resolution is something else
...
Originally committed as revision 25014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-01 00:04:47 +00:00
Thierry Foucu
591db22dff
gxfenc: Fix ES name in the UMF media description, by using strlen instead of sizeof
...
Patch by Thierry Foucu, tfoucu at gmail
Originally committed as revision 24379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 07:46:02 +00:00
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
2010-03-30 23:30:55 +00:00
Carl Eugen Hoyos
bc2d2a07d5
Make AVCodecTag.id enum CodecID and use CODEC_ID_NONE instead of 0.
...
Originally committed as revision 20250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 14:46:06 +00:00
Daniel Verkamp
1a40491ef2
Add ff_ prefixes to exported symbols in libavformat/riff.h.
...
patch by Daniel Verkamp, aniel drv nu
Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-22 23:09:34 +00:00
Baptiste Coudurier
c43accabd3
remove useless include
...
Originally committed as revision 18906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 03:05:56 +00:00
Baptiste Coudurier
af79f1ae78
reindent
...
Originally committed as revision 17898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 04:17:12 +00:00
Baptiste Coudurier
6b4fab72df
change path pattern to be similar to existing files, and remove useless buffer
...
Originally committed as revision 17896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 03:34:15 +00:00
Baptiste Coudurier
4070629dfa
merge struct declaration and definition
...
Originally committed as revision 17895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 02:49:47 +00:00
Baptiste Coudurier
0c8f772791
write map packet every 100 packets according to specs
...
Originally committed as revision 17894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 02:47:32 +00:00
Baptiste Coudurier
aaa43de31a
write flt packet, might need some tweaking but it works
...
Originally committed as revision 17893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 01:35:00 +00:00
Baptiste Coudurier
a96b1a903a
correctly interleave audio and video according to specs
...
Originally committed as revision 17892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 01:10:28 +00:00
Baptiste Coudurier
46a7e3ec14
write timecode track in gxf
...
Originally committed as revision 17890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 00:14:55 +00:00
Baptiste Coudurier
33605366ee
compute media info in write_header
...
Originally committed as revision 17889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:23:44 +00:00
Baptiste Coudurier
cd34fd9c8c
factorize write packet
...
Originally committed as revision 17888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:14:26 +00:00
Baptiste Coudurier
990287c468
remove unneeded and empty user data
...
Originally committed as revision 17886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:12:56 +00:00
Baptiste Coudurier
6b43d2d075
uniformize variable names and remove duplicating fields in private structs
...
Originally committed as revision 17884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 21:55:08 +00:00
Baptiste Coudurier
8b9c94e0bd
remove useless fields
...
Originally committed as revision 17883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 21:08:06 +00:00
Thierry Foucu
2ead1eb0ff
use correct field number for video according to specs, patch by Thierry Foucu, tfoucu at gmail dot com
...
Originally committed as revision 17214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 21:36:36 +00:00
Baptiste Coudurier
032d8aece2
cosmetics, rename nb_frames to nb_fields
...
Originally committed as revision 17213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 21:32:18 +00:00
Thierry Foucu
68a7aafff6
compute b_per_i_or_p value correctly, patch by Thierry Foucu, tfoucu at gmail dot com
...
Originally committed as revision 17166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 00:08:44 +00:00
Baptiste Coudurier
a88f0f16ab
rename wrongly named b_per_gop to b_per_i_or_p according to specs
...
Originally committed as revision 17165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 23:49:54 +00:00
Baptiste Coudurier
16e3b0b3e6
rename ff_audio_interleave to ff_audio_rechunk_interleave
...
Originally committed as revision 17103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 21:34:20 +00:00
Baptiste Coudurier
63601677fe
use new audio interleaving generic code
...
Originally committed as revision 17039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:33:53 +00:00
Baptiste Coudurier
5efa932d2c
use st->priv_data to store per stream context
...
Originally committed as revision 16904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 11:06:20 +00:00
Baptiste Coudurier
d972e56cf2
second try fixing time code in gxf
...
Originally committed as revision 16839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 23:44:11 +00:00
Baptiste Coudurier
e9338da87d
fix endianness of time code, and calculate it in fields, according to specs
...
Originally committed as revision 16730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 20:03:57 +00:00
Baptiste Coudurier
507ff760af
Do not use avctx->frame_number which might not be set,
...
this also fixes a side effect where its value was one too much.
Originally committed as revision 16701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:43:58 +00:00
Baptiste Coudurier
15a4e8b85a
set correct value for starting line
...
Originally committed as revision 16698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:25:50 +00:00
Baptiste Coudurier
fc94187857
fix gxf time code mark out value
...
Originally committed as revision 16697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:14:46 +00:00
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 15:46:40 +00:00
Reimar Döffinger
d77ac324fe
Avoid _t in gxf enum type names
...
Originally committed as revision 16112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 21:58:17 +00:00
Diego Biurrun
bc5c918ea8
Remove offset_t typedef and use int64_t directly instead.
...
The name offset_t is easily confused with the standard off_t type and
*_t is POSIX reserved namespace if any POSIX header is included.
Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-03 10:16:29 +00:00
Stefano Sabatini
bde15e74de
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 16:20:54 +00:00
Baptiste Coudurier
1234da4caf
use av_fifo_generic_write, old func is deprecated
...
Originally committed as revision 13455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 01:26:22 +00:00
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Björn Axelsson
899681cd1d
Use dynamically allocated ByteIOContext in AVFormatContext
...
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 07:41:00 +00:00
Baptiste Coudurier
9031aeb1cd
take care to use video track field number as duration
...
Originally committed as revision 10024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 17:18:59 +00:00
Aurelien Jacobs
b1dc5beb12
replaces hardcoded values by the equivalent enum definitions
...
Originally committed as revision 9801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-26 13:01:09 +00:00
Baptiste Coudurier
71daa04c86
Smartjog granted permission to relicense as LGPL 2.1
...
Originally committed as revision 9631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 17:15:56 +00:00
Baptiste Coudurier
51d2ff8044
round timestamps up, k2 broadcast server seems to need it
...
Originally committed as revision 9630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 17:06:58 +00:00
Baptiste Coudurier
2012121363
fix dts adjusting
...
Originally committed as revision 7982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 14:54:20 +00:00
Diego Biurrun
9688979c51
Fix some more license headers.
...
Originally committed as revision 7637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 01:16:42 +00:00
Michael Niedermayer
7caf0cc62c
add codec_id <-> codec_tag tables to AVIn/OutputFormat
...
Originally committed as revision 7593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 01:39:17 +00:00
Baptiste Coudurier
6a287fd7ce
readjust dts if negative
...
Originally committed as revision 7179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-28 15:34:18 +00:00
Baptiste Coudurier
99fd05cbdd
use AVFormatContext to log
...
Originally committed as revision 6731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-18 15:10:14 +00:00
Baptiste Coudurier
5b9d79bd77
avoid overwriting pkt
...
Originally committed as revision 6723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-17 17:44:06 +00:00
Baptiste Coudurier
31903634b6
quiet gcc about enum value not handled in switch
...
Originally committed as revision 6624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-10 09:17:51 +00:00
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Roman Shaposhnik
f5a478f65d
* Moving FifoBuffer out of libavformat/avformat.h and
...
libavformat/utils.c into libavutil
Originally committed as revision 6310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 07:31:53 +00:00
Baptiste Coudurier
afbbe5e34f
set correct first gop closed value
...
Originally committed as revision 6043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-21 15:49:08 +00:00
Baptiste Coudurier
2b7e230b10
rename closed_gop to first_gop_closed
...
Originally committed as revision 6042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-21 15:14:36 +00:00
Baptiste Coudurier
6a7eba1f07
init buffer
...
Originally committed as revision 6040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-21 13:57:12 +00:00
Baptiste Coudurier
201f1d4546
use packet dts as correct media field number and use av_interleave_pkt_per_dts
...
Originally committed as revision 5987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-12 00:18:58 +00:00
Baptiste Coudurier
76c9cb0a7a
parse mpeg frame to get pict type and closed gop flag
...
Originally committed as revision 5967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-09 10:48:32 +00:00
Baptiste Coudurier
0e15b7b0dd
negative to_pad won't provoke infinite loop
...
Originally committed as revision 5879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 10:00:12 +00:00
Baptiste Coudurier
3068f1c813
avoid reading beyond packet size
...
Originally committed as revision 5878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-01 09:56:27 +00:00
Baptiste Coudurier
86329cce04
GXF muxer
...
Originally committed as revision 5787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-19 09:38:22 +00:00