Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Mashiat Sarker Shakkhar
f57d2f587b
image2: Add "start_number" private option to the demuxer
...
Currently if a pattern is given we look for up to the fifth file name in
the sequence. This option sets that limit to an arbitrary number.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Paul B Mahol
15b4b505c2
img2: split muxer and demuxer into separate files
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
3f486e0dae
img2: Use ff_guess_image2_codec(filename) shorthand where appropriate.
13 years ago
Aneesh Dogra
d7840529b6
avcodec: add a Sun Rasterfile encoder
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Anton Khirnov
6dc345555f
lavf: remove disabled FF_API_LOOP_INPUT cruft
13 years ago
Anton Khirnov
64f6f6f836
lavf: remove disabled FF_API_GUESS_IMG2_CODEC cruft
13 years ago
Anton Khirnov
6e9651d106
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
13 years ago
Paul B Mahol
27ed027bcd
XWD encoder and decoder
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Diego Biurrun
da9cea77e3
Fix a bunch of common typos.
13 years ago
Anton Khirnov
c3f9ebf743
lavf: make av_set_pts_info private.
...
It's supposed to be called only from (de)muxers.
13 years ago
Martin Storsjö
9d77a8faf9
avformat: Use avio_open2, pass the AVFormatContext interrupt_callback onwards
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Reimar Döffinger
bb3244dee2
Replace all usage of strcasecmp/strncasecmp
...
All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
3b3bbdd3e6
lavf,lavd: replace av_new_stream->avformat_new_stream part I.
...
Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
13 years ago
Anton Khirnov
145f741e11
AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*
13 years ago
Anton Khirnov
a4ea00d021
lavc/lavf: use unique private classes.
...
This is needed by the new AVOptions API.
13 years ago
Anton Khirnov
c14fe6bc99
lavf,lavd: remove all usage of AVFormatParameters from demuxers.
...
AVFormatParameters are converted into corresponding private options in
av_open_input_file/stream() compat wrappers, so accessing them from
demuxers is redundant.
13 years ago
Anton Khirnov
6002fdef5e
img2: add loop private option.
...
Deprecate AVFormatContext.loop_input.
14 years ago
Kamil Nowosad
a304a83362
riff/img2: Add JPEG 2000 codec IDs.
14 years ago
Peter Ross
a31d4b3a99
img2: add .dpx to the list of supported file extensions.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
abcedfac60
img2: add framerate private option.
14 years ago
Anton Khirnov
a915bf64cc
img2: add video_size private option.
14 years ago
Anton Khirnov
f33e2a51d9
img2: add pixel_format private option.
14 years ago
Stefano Sabatini
55815edca0
prefer avio_check() over url_exist()
...
The problem with url_exist() is that it tries to open a resource in
RDONLY mode. If the file is a FIFO and there is already a reading
client, the open() call will hang.
By using avio_check() with access mode of 0, the second reading
process will check if the file exists without attempting to open it,
thus avoiding the lock.
Fix issue #1663 .
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
59d96941f0
avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols
...
Make AVIO_FLAG_ access constants work as flags, and in particular fix
the behavior of functions (such as avio_check()) which expect them to
be flags rather than modes.
This breaks API.
14 years ago
Anton Khirnov
a9bf9d8e53
lavf: make av_guess_image2_codec internal
...
It doesn't look very useful as a public function.
14 years ago
Anton Khirnov
f87b1b373a
avio: AVIO_ prefixes for URL_ open flags.
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
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
Anton Khirnov
76aa876e69
avio: avio_ prefix for url_fsize
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
0abdb29317
lavf: use a new ffio_wfourcc macro instead of put_tag() where possible
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
22a3212e32
avio: rename url_fopen/fclose -> avio_open/close.
...
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
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
ae628ec1fd
avio: rename ByteIOContext to AVIOContext.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Stefano Sabatini
4fc9ff0ad6
Make the image2 demuxer log more verbose
...
Add an error message in case the user requests to write more than one file
and the path does not contain a "%d" or "%0Nd" pattern.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
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
Pascal Massimino
85f56757b4
cosmetics: align fields, and remove useless ones, in img2.c
...
Originally committed as revision 25539 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Pascal Massimino
ac6d020ffa
cleanup image2pipe_{de}muxer fields
...
Originally committed as revision 25531 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
bba66fc7be
Associate .tga with format image2.
...
Originally committed as revision 24079 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Peter Ross
971c3c98b0
Add Pictor/PC Paint to image2 muxer/demuxer
...
Originally committed as revision 23533 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
Michael Niedermayer
c51131290c
Dont senselessly fail on rawvideo that isnt 3 files per frame.
...
Originally committed as revision 22637 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
ab5a0175f5
Add flag so muxers not needing width/height can signal this.
...
Add this flag to img2 (fixes -vcodec copy to image2 in some cases)
Originally committed as revision 21773 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
90d0379f5e
Avoid using deprecated AVFormatParameters::[audio|video]_codec_id field.
...
Originally committed as revision 21511 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
77df894aed
print error message when image2 muxer fail to compute frame filename
...
Originally committed as revision 20694 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Samuli Valo
c671ac40f5
Fixes detection and error reporting of non-existing files in img2.c.
...
Patch by Samuli Valo: name surname picturall com
Originally committed as revision 20346 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
e4b8d05d47
return EOF in image2 demuxer
...
Originally committed as revision 19538 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago