Anton Khirnov
03700d399b
Export metadata in the generic format. Deprecate old conversion API.
...
patch by Anton Khirnov anton _at_ khirnov _dot_ net
Originally committed as revision 25493 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
324d22b2b4
nutenc: fix unstable floating-point calculations
...
Originally committed as revision 25095 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Chinen
603e5c0b71
move ff_get_v_length and ff_put_v from nutenc.c to internal.h/aviobuf.c
...
patch by Micheal Chinen < mchinen gmail >
Originally committed as revision 24140 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Chinen
f8280ff4c0
rename get_length to ff_get_v_length and put_v to ff_put_v
...
patch by Michael Chinen < mchinen gmail >
Originally committed as revision 24139 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
Stefano Sabatini
fa58643993
Make write_streamheader() log a message if there is no codec tag
...
defined.
Originally committed as revision 23434 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
ffd5f09844
Make write_streamheader() return a meaningful error code if no codec
...
tag is defined, rather than return -1.
Originally committed as revision 23433 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
fc0c41240e
Make write_header() and write_headers() return an error code in case of
...
error.
Originally committed as revision 23432 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
da9e6c4295
Make write_streamheader() and write_headers() accept an
...
AVFormatContext * in input rather than a NUTContext *, which allows to
log messages with av_log().
Originally committed as revision 23431 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2e01def0fe
Define ff_nut_video_tags and make Nut muxer and demuxer set it in
...
codec_tag.
Originally committed as revision 23259 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
Vitor Sessak
f990f6e3f7
Fix NUT (de)muxer warnings:
...
CC libavformat/nutdec.o
libavformat/nutdec.c: In function ‘read_seek’:
libavformat/nutdec.c:862: warning: passing argument 3 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘int (*)(void *, const void *)’ but argument is of type ‘int (*)(struct Syncpoint *, struct Syncpoint *)’
libavformat/nutdec.c:871: warning: passing argument 3 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘int (*)(void *, const void *)’ but argument is of type ‘int (*)(struct Syncpoint *, struct Syncpoint *)’
libavformat/nutdec.c:879: warning: passing argument 3 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘int (*)(void *, const void *)’ but argument is of type ‘int (*)(struct Syncpoint *, struct Syncpoint *)’
CC libavformat/nutenc.o
libavformat/nutenc.c: In function ‘write_packet’:
libavformat/nutenc.c:680: warning: passing argument 3 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘int (*)(void *, const void *)’ but argument is of type ‘int (*)(struct Syncpoint *, struct Syncpoint *)’
Originally committed as revision 22707 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
4b83fc0fe4
Plug memory leak in NUT muxer and demuxer
...
Originally committed as revision 22174 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
8a4d067dfc
Revert r22119 and partially revert 22120.
...
Originally committed as revision 22135 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
27dbc47c05
Plug some memory leaks in NUT muxer and demuxer
...
Originally committed as revision 22120 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
43382b5f13
Introduce metadata conversion table for NUT muxer and demuxer.
...
Patch by Anton Khirnov (wyskas, do no evil mail)
Thread "[PATCH] nut metadata conversion table"
Originally committed as revision 22015 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
16 years ago
Aurelien Jacobs
73914d56d9
use new metadata API in nut muxer
...
This is only a straight conversion of current code, so for now, it won't
mux generic metadata. It will only mux Title, Author and Copyright.
Originally committed as revision 17653 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
2591821213
Add AVFMT_VARIABLE_FPS to specify which muxers do not need duplicated frames.
...
Originally committed as revision 17554 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
1bf6e565dd
cosmetics: 'const static' --> 'static const' to avoid warnings of the type
...
"'static' is not at beginning of declaration" with -Wextra.
Originally committed as revision 17391 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
6a5d31ac25
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
...
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
52afa376b8
remove _t for POSIX compatibility.
...
Originally committed as revision 16057 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
c18545929e
Change codec_tag type from const struct AVCodecTag ** to const struct AVCodecTag * const *
...
Originally committed as revision 14947 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
5972945197
convert every muxer/demuxer to write/read sample_aspect_ratio from/to
...
the corresponding AVStream instead of AVCodecContext
Originally committed as revision 14933 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
2d47c3de98
remove a comment which is no longer true
...
Originally committed as revision 14522 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f53dd4682c
Prevent invalid timestamps from being stored.
...
Originally committed as revision 13983 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
7ce6892373
misc spelling fixes
...
Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Evgeniy Stepanov
90c2295b24
Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
...
of matroska and nut.
Originally committed as revision 12358 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1326621c1a
Subtitle support. (untested)
...
Originally committed as revision 12330 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a048febdc4
subtitles (codec tag tables still missing ...)
...
Originally committed as revision 12292 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e942293db1
It appears last_pts was not set ...
...
Originally committed as revision 11939 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a712d725c0
Header elision muxing support.
...
This only removes 2 bytes from MP3 and MP2 currently.
Up to 4 could be removed from MP3/MP2 though this might need a 2pass muxer.
Primitive code to remove headers from MPEG-1/2/4 is there too but for the
single file I tried it on (the one in the regression tests), it was a loss
because all video frames were >4096 byte, so that it is disabled ATM.
Originally committed as revision 11936 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oded Shimon
4ddcc983b4
back_ptr calculation used wrong timebase when searching for back syncpoint
...
Originally committed as revision 11856 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oded Shimon
02c986a8d6
Fix intented algo in syncpoint writing before keyframes in NUT muxer
...
Originally committed as revision 11855 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oded Shimon
82badd27f1
nut->max_distance was not set at all anywhere in the NUT muxer
...
Originally committed as revision 11854 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4cf97abb98
Missing const found by -Wwrite-strings.
...
Originally committed as revision 11841 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
175e23e875
Consider initial EOR in the back_ptr calculation.
...
Originally committed as revision 11550 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Baptiste Coudurier
992e78f5f2
rename av_crc04C11DB7_update to ff_crc04C11DB7_update and move it to aviobuf.c so it can be reused by other (de)muxers
...
Originally committed as revision 10873 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
93951943ec
spelling/wording cosmetics
...
Originally committed as revision 10131 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
63dd9d0ee3
simplify
...
Originally committed as revision 10068 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d2062ff64d
do not remove FLAG_CODED
...
Originally committed as revision 10067 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0e6472fdcb
remove useless code, found by oded
...
Originally committed as revision 10066 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0a5790d1a9
ensure that the aspect ratio is spec compliant
...
Originally committed as revision 10056 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1b0353be6d
disable TRACE
...
Originally committed as revision 10053 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago