Statistics
| Branch: | Revision:

ffmpeg / libavformat / raw.c @ 72415b2a

History | View | Annotate | Download (32.8 KB)

# Date Author Comment
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

4130f739 02/14/2010 07:00 PM Reimar Döffinger

Reindent

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

3adcfbbe 02/14/2010 06:59 PM Reimar Döffinger

Optimize h261_probe function, since it is far slower than all others.
About 5 times faster.

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

0cd55b0c 12/13/2009 10:12 PM Michael Niedermayer

Add CODEC_ID_DNXHD into the 25 fps case.
Merged from ffmbc.

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

b68a7679 12/08/2009 12:34 PM Michael Niedermayer

Raise threshold of h263 probe by 1 to avoid misdetection.
Fixes issue 1588.

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

f76eef99 12/08/2009 12:33 PM Michael Niedermayer

Add out commented av_log to debug h263_probe.

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

0f87b771 11/08/2009 11:48 PM Carl Eugen Hoyos

Use enum instead of integer types where appropriate.

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

79c07907 10/05/2009 09:19 AM Daniel Verkamp

Fix pcm_read_seek () when the position it calculates is greater than 2 GB.

pcm_read_seek() puts the return value of url_fseek() in an int and then
compares < 0 to see if an error occurred; if the position is greater
than 2 GB, the 32-bit signed int result will be < 0....

c3db0bc6 10/02/2009 06:40 AM Reimar Döffinger

Return any error return values from av_get_packet, get_buffer etc. unchanged
in the raw demuxers.
Also remove special handling of 0-size reads, if they are due to an error/eof,
these are already converted to the appropriate error by get_buffer.

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

22a7e19b 10/01/2009 05:32 PM Reimar Döffinger

Make rawvideo_read_packet return partial frames.
This is consistent with other demuxers and also fixes a memleak (memory
allocated for partial frame data was leaked).

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

8cb724c5 10/01/2009 05:26 PM Reimar Döffinger

Simplify: remove pointless {} and else

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

d4c1803e 10/01/2009 05:22 PM Reimar Döffinger

Remove pointless setting of pkt->size, av_get_packet already handles this.

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

c67031e7 10/01/2009 04:10 PM Reimar Döffinger

av_new_packet failing should return ENOMEM, not EIO.

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

4b4ac5c7 09/29/2009 10:23 AM Reimar Döffinger

Sync AC3 probe values with MP3 probe values, they have to avoid similar issues.
This fixes ffmpeg-generated files with -acodec ac3 being detected as raw ac3
instead of MPEG.

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

2a3caca2 09/15/2009 01:27 PM Michael Niedermayer

Make h261 and mpegvideo probe a little more robust so they dont fail with
slightly different probetest.

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

98487a5b 09/14/2009 09:50 PM Reimar Döffinger

Make dnxhd probe more strict, fail if we detect values in header that would
make our decoder fail anyway.
dnxhd probe now passes probetest.

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

89c4e176 09/14/2009 09:29 PM Michael Niedermayer

Rewrite h261_probe().
New code can detect h261 startcodes even when the first is damaged or not at the
begin. It also passes probetest v2 & v3.

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

05bdd33a 09/14/2009 08:28 PM Reimar Döffinger

Make DTS probe more robust against false positives (as e.g. probetest shows).
In particular check that the detected markers clearly indicate a specific DTS
format (a wild mixture of e.g. little- and big-endian markers is unlikely to be
a valid DTS file) and ensure the markers appear with sufficient frequency....

e4c01d40 09/14/2009 07:06 PM Michael Niedermayer

Rewrite h263_probe().
The new code should detect h263 even if the first startcode is damaged or
somewhere else than the first byte. It also passes probetest v2 as just
posted on ffmpeg-dev.

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

63613fe6 07/26/2009 12:20 PM Måns Rullgård

Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN

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

23251d75 07/24/2009 09:28 PM Aurelien Jacobs

fix compilation of cavsvideo demuxer

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

d52b90bd 06/19/2009 02:36 PM Patrick Dehne

Add support for id3 tag parsing for ADTS AAC streams

Patch by Patrick Dehne ( patrick mysonicweb com )

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

0e1ccdeb 04/22/2009 08:39 AM Andreas Öman

It should be #if, not #ifdef

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

9145021d 04/21/2009 11:23 PM Ramiro Polla

Add raw MLP muxer.

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

9106a698 04/13/2009 04:20 PM Stefano Sabatini

Rename bitstream.h to get_bits.h.

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

a3d23e15 04/12/2009 12:25 AM Baptiste Coudurier

fix 6 channels raw pcm demuxing, raw pcm now demux a fixed number of samples

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

23d9cc45 03/19/2009 09:46 PM Ramiro Polla

Support raw TrueHD files

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

bd36f175 03/14/2009 08:50 PM Reimar Döffinger

Make pcm_read_seek treat negative time stamps as 0, this avoids incorrectly
seeking before data_offset and is more consistent with how the generic index
seeking code handles it.

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

4022fe01 03/01/2009 03:48 AM Michael Niedermayer

Change the timebase of the raw demuxer to one that can represent the ts of fields.

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

81f052cb 02/28/2009 05:24 PM Justin Ruggles

Separate the raw FLAC demuxer from raw.c and put in a new file,
flacdec.c.

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

caee91f7 02/26/2009 02:21 AM Justin Ruggles

Separate the raw FLAC muxer from raw.c to its own file, flacenc.c.

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

b81350a8 02/22/2009 02:27 PM Stefan Gehrer

consistent naming of Chinese AVS raw demuxer

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

9f2fc126 02/21/2009 10:34 AM Stefan Gehrer

add raw demuxer for Chinese AVS elementary streams

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

ff9843ca 02/16/2009 04:09 PM Benoit Fouet

Add a context to av_log() call.

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

b4ee1d39 02/16/2009 01:55 AM Diego Biurrun

Make format long_names consistent.

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

bbfb80f3 01/27/2009 06:01 PM Benoit Fouet

Whitespace cosmetics to align return statements.

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

16f753f4 01/27/2009 06:00 PM Benoit Fouet

Check buffer is inside what is passed when probing for flac.

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

6cde949a 01/25/2009 12:16 AM David DeHaven

Handle ID3v2 tags in raw FLAC streams by skipping them.
Patch by David DeHaven (dave sagetv com)

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

ac3ef4a4 01/19/2009 09:54 PM Alex Converse

Fix probing of files with ID3v2 tags. Discussed at
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-January/059302.html

Originally committed as revision 16688 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

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

492322fc 12/14/2008 02:01 PM Michael Niedermayer

Remove silly FIXME comment.

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

2ba0cdd5 12/02/2008 03:43 PM Michael Niedermayer

ADTS AAC probe.
fixes issue400

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

bd09e8a7 10/24/2008 01:42 AM Baptiste Coudurier

raw dnxhd de/muxer

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

bf9067cf 10/18/2008 10:40 AM Michael Niedermayer

Assume mono if no other information for raw.
Should fix issue687

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

bc5c918e 10/03/2008 10:16 AM Diego Biurrun

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

e1a12934 09/14/2008 08:00 PM Justin Ruggles

write number of samples in FLAC extradata.
based on a patch by Mathieu Velten (matmaul gmail com).

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

bdf6972c 09/01/2008 05:20 PM Justin Ruggles

change back to using CONFIG_*_DEMUXER for ac3_eac3_probe(), but use it
correctly this time.

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

75198e7a 09/01/2008 03:31 PM Aurelien Jacobs

simplify ac3_probe() and eac3_probe(). patch by Aurelien Jacobs.

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

4d951ef8 09/01/2008 03:28 PM Justin Ruggles

check ENABLE_*_DEMUXER instead of CONFIG_*_DEMUXER

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

2988c93d 09/01/2008 02:33 PM Justin Ruggles

create a separate codec_id for E-AC-3

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

ee7948cb 08/23/2008 10:36 PM Peter Ross

Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.

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

4c00864f 08/15/2008 07:24 PM Diego Biurrun

Surround format-specific functions with matching preprocessor conditionals.

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

7402ee23 08/15/2008 05:28 PM Diego Biurrun

Surround AVInputFormat declarations with format-specific #ifdefs.

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

96445426 08/15/2008 04:54 PM Diego Biurrun

Replace generic CONFIG_MUXERS preprocessor condition around format-specific
functions by more appropriate format-specific preprocessor conditions.

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

bcb5430a 08/15/2008 04:48 PM Diego Biurrun

Replace generic CONFIG_MUXERS preprocessor conditions around AVOutputFormat
declarations by more specific CONFIG_FOOBAR_MUXER conditions.

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

082f7acf 08/15/2008 04:37 PM Diego Biurrun

cosmetics: Remove redundant #endif comments that are very close to the #ifdef
condition. This will make upcoming diffs smaller.

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

fb9f1117 08/15/2008 04:33 PM Diego Biurrun

cosmetics: misc spelling fixes

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

d701934b 07/31/2008 06:12 PM Baptiste Coudurier

check url_fseek return value

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

01037451 07/26/2008 06:54 PM Michael Niedermayer

Detect IDR less H.264 correctly.
Fixes maybeH264_dumpvideo

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

010acd8e 07/12/2008 07:50 PM Michael Niedermayer

h264_probe()

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

76d32428 07/07/2008 11:11 AM Diego Biurrun

Alphabetically order AVInputFormat/AVOutputFormat declarations.

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

900eb63d 07/07/2008 10:45 AM Diego Biurrun

Add a note to remind people to add new raw formats to the Makefile.

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

ac1ea66e 07/07/2008 10:37 AM Diego Biurrun

spelling cosmetics in PCM codec long names

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

9b64a036 06/19/2008 11:25 PM Baptiste Coudurier

remove useless close funcs

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

ffa5ed24 06/05/2008 03:03 PM Stefano Sabatini

cosmetics: s/Id/id/ in libavformat where Id refers to id Software.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13662 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

16e861e3 05/30/2008 04:05 PM Ramiro Polla

raw mlp demuxer
Based on patch by Jeff Muizelaar <jrmuizel <at> gmail.org>
http://article.gmane.org/gmane.comp.video.ffmpeg.devel/57797

Originally committed as revision 13558 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

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

fde8052e 05/03/2008 12:12 AM Benjamin Larsson

dts probe

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

17ac9f1c 05/02/2008 02:52 PM Luca Barbato

Import Dirac demuxer/muxer from SoC branch; written by Marco Gerards,
patch extracted by Anuradha Suraparaju anuradhaAtrdDoTbbcDoTcoDoTuk.

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

60711e95 04/28/2008 06:29 PM Michael Niedermayer

raw GSM demuxer (does not work yet as parser is missing)

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

a0af2fa4 04/28/2008 02:14 PM Baptiste Coudurier

set demuxers .value and use common audio_read_header function

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

55736cfb 04/22/2008 11:14 AM Bartlomiej Wolowiec

change ff_ac3_parse_header() to take a GetBitContext instead of const char*

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

c675ef70 04/21/2008 03:20 PM Andreas Öman

Compute AC3 frame CRC for stronger raw AC3 format probing.

Closes issue64.

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

63d86443 04/20/2008 08:28 PM Benjamin Larsson

Raw dts muxer

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

f5b41031 01/12/2008 12:24 AM Michael Niedermayer

Set pts/dts in raw (yuv,rgb,pcm) demuxers.

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

9de0be61 12/26/2007 10:28 PM Michael Niedermayer

Do not force fps unless the user actually specified one.
fixes issue309

Originally committed as revision 11322 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

7241a6bb 09/11/2007 09:27 AM Aurelien Jacobs

move unrelated functions declarations out of allformats.h

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

fbd69f51 08/10/2007 05:05 PM Michael Niedermayer

100000l (forgotten return)

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

d1a4544d 08/10/2007 04:12 PM Michael Niedermayer

remove unneeded buf_size check (see AVPROBE_PADDING_SIZE)

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

e020dbd2 08/10/2007 04:06 PM Michael Niedermayer

flac probe
closes issue83

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

2477ce23 08/05/2007 03:36 AM Justin Ruggles

10l to me. Revert recent changes to ac3_probe() which made misdetection as AC3 too probable.

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

7a97dd84 08/05/2007 12:47 AM Baptiste Coudurier

remove useless raw_write_header

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

ecc8fc11 08/05/2007 12:32 AM Justin Ruggles

additional tweaks to AC3 probe function. give a higher score to a single frame
at the start of the stream. also read all available data in the probe buffer.

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

c49c0223 08/04/2007 11:53 PM Justin Ruggles

increase the maximum AC3 probe buffer size and reduce the threshold for 50% reliability score to 2 frames. Fixes out.ac3 from [FFmpeg-devel] AC3 Format Detection unreliable.

Originally committed as revision 9920 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

769e10f0 07/19/2007 03:21 PM Panagiotis Issaris

Replace all occurrences of AVERROR_NOMEM with AVERROR.

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

c21f308e 07/08/2007 03:16 AM Roman Shaposhnik
  • Getting rid of the use of GCC language extensions

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

8c222bb4 07/07/2007 01:46 PM Måns Rullgård

kill uninitialised variable warning in ac3_probe()

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

7cf09995 06/27/2007 06:54 AM Vitor Sessak

remove empty write trailer functions
patch by Vitor: [vitor1001 gmail com]

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

755bfeab 06/12/2007 09:29 AM Diego Biurrun

misc spelling fixes

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

5faf2d36 05/23/2007 07:17 AM Benoit Fouet

add rgb suffix handling for demuxer

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

13dec857 05/09/2007 11:07 PM Vitor Sessak

RoQ muxer, patch by Vitor, vitor1001 gmail com
reference thread:
Subject: [FFmpeg-devel] [PATCH] RoQ muxer
Date: Wed, 09 May 2007 19:44:21 +0200

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

99ff31dc 05/08/2007 11:25 PM Aurelien Jacobs

move aac and ac3 parsers in their own files

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

5fd5d0ef 05/07/2007 11:57 AM Michael Niedermayer

improve mpeg4-es detection by rejecting streams with reserved startcodes (fixes 11-i_need_your_love-daw.mp3 detected as mpeg4)

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

b47f86c4 04/25/2007 09:01 AM Benoit Fouet

add rgb suffix to rawvideo muxer

Originally committed as revision 8805 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