Statistics
| Branch: | Revision:

ffmpeg / libavformat / img2.c @ 4dcde00c

History | View | Annotate | Download (13.3 KB)

# Date Author Comment
2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

b7f2fdde 03/17/2011 02:59 AM Anton Khirnov

avio: rename put_flush_packet -> avio_flush

Signed-off-by: Ronald S. Bultje <>

66e5b1df 03/07/2011 10:20 PM Anton Khirnov

avio: deprecate url_feof

AVIOContext.eof_reached should be used directly instead.

Signed-off-by: Ronald S. Bultje <>

76aa876e 03/07/2011 04:03 PM Anton Khirnov

avio: avio_ prefix for url_fsize

Signed-off-by: Ronald S. Bultje <>

0abdb293 02/25/2011 07:38 PM Anton Khirnov

lavf: use a new ffio_wfourcc macro instead of put_tag() where possible

Signed-off-by: Ronald S. Bultje <>

22a3212e 02/23/2011 03:18 PM Anton Khirnov

avio: rename url_fopen/fclose -> avio_open/close.

Signed-off-by: Ronald S. Bultje <>

77eb5504 02/21/2011 07:25 PM Anton Khirnov

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 <>

b7effd4e 02/21/2011 04:23 PM Anton Khirnov

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...

ae628ec1 02/20/2011 01:37 PM Anton Khirnov

avio: rename ByteIOContext to AVIOContext.

Signed-off-by: Ronald S. Bultje <>

4fc9ff0a 01/28/2011 05:04 PM Stefano Sabatini

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 <>

c6610a21 01/26/2011 10:10 PM Diego Elio Pettenò

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.

85f56757 10/21/2010 10:07 PM Pascal Massimino

cosmetics: align fields, and remove useless ones, in img2.c

Originally committed as revision 25539 to svn://svn.ffmpeg.org/ffmpeg/trunk

ac6d020f 10/21/2010 12:57 AM Pascal Massimino

cleanup image2pipe_{de}muxer fields

Originally committed as revision 25531 to svn://svn.ffmpeg.org/ffmpeg/trunk

bba66fc7 07/07/2010 10:19 AM Carl Eugen Hoyos

Associate .tga with format image2.

Originally committed as revision 24079 to svn://svn.ffmpeg.org/ffmpeg/trunk

971c3c98 06/08/2010 11:55 AM Peter Ross

Add Pictor/PC Paint to image2 muxer/demuxer

Originally committed as revision 23533 to svn://svn.ffmpeg.org/ffmpeg/trunk

cc947f04 03/31/2010 12:29 PM Jean-Daniel Dupas

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

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

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

c5113129 03/22/2010 08:18 PM Michael Niedermayer

Dont senselessly fail on rawvideo that isnt 3 files per frame.

Originally committed as revision 22637 to svn://svn.ffmpeg.org/ffmpeg/trunk

ab5a0175 02/12/2010 08:35 PM Michael Niedermayer

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

90d0379f 01/28/2010 03:45 PM Jai Menon

Avoid using deprecated AVFormatParameters::[audio|video]_codec_id field.

Originally committed as revision 21511 to svn://svn.ffmpeg.org/ffmpeg/trunk

77df894a 12/01/2009 11:10 PM Baptiste Coudurier

print error message when image2 muxer fail to compute frame filename

Originally committed as revision 20694 to svn://svn.ffmpeg.org/ffmpeg/trunk

c671ac40 10/22/2009 04:27 PM Samuli Valo

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

e4b8d05d 07/30/2009 08:21 AM Baptiste Coudurier

return EOF in image2 demuxer

Originally committed as revision 19538 to svn://svn.ffmpeg.org/ffmpeg/trunk

a481293f 06/20/2009 02:51 PM Carl Eugen Hoyos

Revert unintended hunk of r19241.

Originally committed as revision 19242 to svn://svn.ffmpeg.org/ffmpeg/trunk

df028e8c 06/20/2009 02:47 PM Carl Eugen Hoyos

Revert r19239: It broke four conformance tests.

Originally committed as revision 19241 to svn://svn.ffmpeg.org/ffmpeg/trunk

9ed3afcb 06/20/2009 09:00 AM Jai Menon

Print meaningful error messages when url_fopen fails.

Originally committed as revision 19230 to svn://svn.ffmpeg.org/ffmpeg/trunk

94d3d6a4 06/12/2009 05:29 AM Jimmy Christensen

DPX (Digital Picture Exchange) image decoder
patch by Jimmy Christensen, jimmy ghost dk

Originally committed as revision 19163 to svn://svn.ffmpeg.org/ffmpeg/trunk

effcedf7 03/20/2009 05:23 PM Daniel Verkamp

PCX encoder that handles 1-, 8-, and 24-bpp pixfmts.

Patch by Daniel Verkamp, daniel drv nu

Originally committed as revision 18077 to svn://svn.ffmpeg.org/ffmpeg/trunk

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk

b4097b13 01/18/2009 01:48 AM Baptiste Coudurier

add jp2 formater in image2 muxer

Originally committed as revision 16664 to svn://svn.ffmpeg.org/ffmpeg/trunk

c91662ce 01/14/2009 01:21 AM Baptiste Coudurier

include intreadwrite.h, fix compilation, img2.c use AV_RL32

Originally committed as revision 16595 to svn://svn.ffmpeg.org/ffmpeg/trunk

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

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

8b2386dc 12/17/2008 11:22 AM Benoit Fouet

Add jp2 support to img2 demuxer.
On behalf of Jai Menon

Originally committed as revision 16187 to svn://svn.ffmpeg.org/ffmpeg/trunk

485cfbe8 12/04/2008 03:08 PM Carl Eugen Hoyos

Recognize pnm file as images.

Originally committed as revision 16004 to svn://svn.ffmpeg.org/ffmpeg/trunk

a8e41613 11/22/2008 09:24 PM Carl Eugen Hoyos

Add forgotten file format pgmyuv.

Originally committed as revision 15910 to svn://svn.ffmpeg.org/ffmpeg/trunk

6bbb5bf8 11/22/2008 08:36 PM Carl Eugen Hoyos

Support picture output without -f image2 for most codecs.

Originally committed as revision 15909 to svn://svn.ffmpeg.org/ffmpeg/trunk

37d3e066 10/21/2008 09:40 PM Aurelien Jacobs

uses FF_ARRAY_ELEMS() where appropriate

Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk

644b0c4c 09/26/2008 02:07 AM Michael Niedermayer

Prevent image2 from complaining about non monotone timestamps as
there are no timestamps in "raw" image2.

Originally committed as revision 15419 to svn://svn.ffmpeg.org/ffmpeg/trunk

8212568a 09/02/2008 10:45 PM Diego Biurrun

Replace generic CONFIG_MUXERS preprocessor conditionals by more specific
CONFIG_FOO_MUXER conditionals where appropriate.

Originally committed as revision 15158 to svn://svn.ffmpeg.org/ffmpeg/trunk

aecf157e 08/24/2008 05:24 PM Reimar Döffinger

Mark several libavformat arrays const

Originally committed as revision 14950 to svn://svn.ffmpeg.org/ffmpeg/trunk

bea91b8c 06/06/2008 05:02 PM Ramiro Polla

Remove useless img_read_close().

Originally committed as revision 13674 to svn://svn.ffmpeg.org/ffmpeg/trunk

23779221 06/06/2008 05:00 PM Ramiro Polla

Remove unneeded NULL at end of struct.

Originally committed as revision 13673 to svn://svn.ffmpeg.org/ffmpeg/trunk

bde15e74 06/03/2008 04:20 PM Stefano Sabatini

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

dd0f776c 05/30/2008 01:26 PM Quoc Cuong Pham

Detect "tif" suffix as TIFF.
Patch by Quoc Cuong Pham: Quoc-Cuong D PHAM AT cea D fr

Originally committed as revision 13557 to svn://svn.ffmpeg.org/ffmpeg/trunk

d9133126 05/12/2008 10:30 AM Carl Eugen Hoyos

Replace some occurrences of 0 with CODEC_ID_NONE.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 13135 to svn://svn.ffmpeg.org/ffmpeg/trunk

3375a6a5 05/12/2008 01:17 AM Diego Pettenò

Use strcasecmp() instead of re-inventing it.
Patch by Diego 'Flameeyes' Pettenò flameeyesATgmailPOINTcom

Originally committed as revision 13132 to svn://svn.ffmpeg.org/ffmpeg/trunk

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk

4e9b8211 03/14/2008 01:10 PM Baptiste Coudurier

useless null

Originally committed as revision 12441 to svn://svn.ffmpeg.org/ffmpeg/trunk

82213f68 03/14/2008 12:48 PM Baptiste Coudurier

remove useless img_write_trailer func

Originally committed as revision 12440 to svn://svn.ffmpeg.org/ffmpeg/trunk

042e0add 02/26/2008 10:21 AM Loren Merritt

decode mng color decorrelation

Originally committed as revision 12228 to svn://svn.ffmpeg.org/ffmpeg/trunk

d43df959 12/28/2007 01:07 PM Ivo van Poorten

Sun Rasterfile decoder

Originally committed as revision 11342 to svn://svn.ffmpeg.org/ffmpeg/trunk

b4abe1d1 12/26/2007 10:17 PM Ivo van Poorten

PC Paintbrush PCX image decoder

Originally committed as revision 11321 to svn://svn.ffmpeg.org/ffmpeg/trunk

899681cd 11/21/2007 07:41 AM Björn Axelsson

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

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk

75e61b0e 06/23/2007 11:10 PM Måns Rullgård

use new string functions
based on patch by Reimar Döffinger

Originally committed as revision 9401 to svn://svn.ffmpeg.org/ffmpeg/trunk

8d2fb333 05/08/2007 11:57 AM Ivo van Poorten

autodetect ptx files

Originally committed as revision 8938 to svn://svn.ffmpeg.org/ffmpeg/trunk

57004ff1 04/15/2007 01:51 PM Aurelien Jacobs

add an enum for need_parsing

Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk

2d99eed1 04/06/2007 06:29 PM Xiaohui Sun

SGI image decoder ported to the new image API.
patch by Xiaohui Sun, sunxiaohui dsp.ac cn

Originally committed as revision 8635 to svn://svn.ffmpeg.org/ffmpeg/trunk

8fa36ae0 02/13/2007 06:26 PM François Revol

This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed....

e825b500 12/20/2006 11:33 PM Joakim Plate

Fix a crash when probing img2 format with a NULL filename.
patch by elupus at ecce.se

Originally committed as revision 7335 to svn://svn.ffmpeg.org/ffmpeg/trunk

d1e8675c 12/04/2006 11:42 AM Baptiste Coudurier

probe with some success image files not containing number pattern but having recognized image extension

Originally committed as revision 7219 to svn://svn.ffmpeg.org/ffmpeg/trunk

79f7c32f 10/23/2006 01:17 PM Kostya Shishkov

Register .tga and .tiff image extensions

Originally committed as revision 6775 to svn://svn.ffmpeg.org/ffmpeg/trunk

6f9e492a 10/22/2006 03:07 PM Baptiste Coudurier

add gif support

Originally committed as revision 6761 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

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

5c07cf53 09/04/2006 09:57 AM Michel Bardiaux

Clarified API for numbered sequences, patch by Michel Bardiaux % mbardiaux A mediaxim P be %
Original thread:
Date: Aug 30, 2006 4:54 PM
Subject: [Ffmpeg-devel] [PATCH] Clarified API for numbered sequences

Originally committed as revision 6166 to svn://svn.ffmpeg.org/ffmpeg/trunk

5894e1bb 07/13/2006 09:13 PM Víctor Paesa

add loop_input to AVFormatContext, getting rid of old hack
patch by Víctor Paesa <wzrlpy at arsystel com>

Originally committed as revision 5729 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff70e601 07/10/2006 09:14 PM Måns Rullgård

allow individual selection of muxers and demuxers

Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk

d2a067d1 07/09/2006 11:40 PM Måns Rullgård

give AVInput/OutputFormat structs consistent names

Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk

c04c3282 03/11/2006 12:22 AM Michael Niedermayer

simplify AVFormatParameters NULL checks

Originally committed as revision 5146 to svn://svn.ffmpeg.org/ffmpeg/trunk

8228bff5 01/19/2006 11:36 PM Diego Biurrun

Put muxer-specific code parts in #ifdef CONFIG_MUXERS.
based on a patch by Luca Abeni < lucabe72 #@# email #.# it >

Originally committed as revision 4871 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

9fa62f2a 11/30/2005 01:40 AM Måns Rullgård

BMP image decoder

Originally committed as revision 4711 to svn://svn.ffmpeg.org/ffmpeg/trunk

01f4895c 07/17/2005 10:24 PM Michael Niedermayer

changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility

Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk

a965c478 05/19/2005 12:06 AM Aurelien Jacobs

drop most url_fileno() calls (allows to use ByteIOContext directly in caller apps instead of URLProtocol)

Originally committed as revision 4275 to svn://svn.ffmpeg.org/ffmpeg/trunk

c0df9d75 04/30/2005 09:43 PM Michael Niedermayer

switch to native time bases

Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk

644a9262 04/25/2005 06:29 PM Michael Niedermayer

PIX_FMT_NONE and related fixes

Originally committed as revision 4161 to svn://svn.ffmpeg.org/ffmpeg/trunk

2c34596f 04/13/2005 01:07 AM Michael Niedermayer

non 4:2:0 foobar.{Y,U,V} support

Originally committed as revision 4125 to svn://svn.ffmpeg.org/ffmpeg/trunk

88730be6 02/24/2005 07:08 PM Måns Rullgård

kill warnings patch by (Måns Rullgård <mru inprovide com>)

Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk

568e18b1 01/08/2005 02:21 PM Michael Niedermayer

integer overflows, heap corruption
possible arbitrary code execution cannot be ruled out in some cases
precautionary checks

Originally committed as revision 3813 to svn://svn.ffmpeg.org/ffmpeg/trunk

55cf1959 01/04/2005 01:27 PM Michael Niedermayer

.{Y,U,V} image2 support

Originally committed as revision 3802 to svn://svn.ffmpeg.org/ffmpeg/trunk

ae895a40 12/19/2004 08:25 PM Michael Niedermayer

10l (double free)

Originally committed as revision 3764 to svn://svn.ffmpeg.org/ffmpeg/trunk

b339fb00 11/16/2004 04:28 PM Michael Niedermayer

loop hack

Originally committed as revision 3687 to svn://svn.ffmpeg.org/ffmpeg/trunk

4d4f7158 11/12/2004 10:49 PM Michael Niedermayer

last packet size fix

Originally committed as revision 3673 to svn://svn.ffmpeg.org/ffmpeg/trunk

5b6d5596 11/11/2004 06:09 PM Michael Niedermayer

move p*m from image/lavf -> image2/lavc
video/audio_codec_id in AVFormatParameters to override/help demuxer
av_guess_codec() to guess the default codecs based upon muxer + filename

Originally committed as revision 3668 to svn://svn.ffmpeg.org/ffmpeg/trunk

4eff7cf4 11/09/2004 11:31 PM Michael Niedermayer

porting png support from -f image to -f image2

Originally committed as revision 3665 to svn://svn.ffmpeg.org/ffmpeg/trunk

146210ca 10/24/2004 10:39 PM Michael Niedermayer

image2pipe fix

Originally committed as revision 3635 to svn://svn.ffmpeg.org/ffmpeg/trunk

3ed02129 09/22/2004 09:25 PM Michael Niedermayer

10l

Originally committed as revision 3495 to svn://svn.ffmpeg.org/ffmpeg/trunk

61fb3183 07/15/2004 08:15 PM Michael Niedermayer

support single images, remove copy/paste junk

Originally committed as revision 3320 to svn://svn.ffmpeg.org/ffmpeg/trunk

03cfe134 07/15/2004 06:32 PM Michael Niedermayer

image2 / image API cleanup phase-1
with this its possible to encode&decode any video codec to individual (1 file per frame) files

Originally committed as revision 3319 to svn://svn.ffmpeg.org/ffmpeg/trunk