Statistics
| Branch: | Revision:

ffmpeg / libavformat / flvdec.c @ 63613fe6

History | View | Annotate | Download (17.5 KB)

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

df2bd71a 07/06/2009 09:54 PM Aurelien Jacobs

flvdec: expose metadata through the generic metadata API
original patch from Art Clarke aclarke at xuggle dot com

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

09e54e1f 07/06/2009 09:49 PM Aurelien Jacobs

flvdec: re-enable metadata parsing
duration and videodatarate values are actually useful
original patch from Art Clarke aclarke at xuggle dot com

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

8caa0f06 07/06/2009 09:46 PM Aurelien Jacobs

flvdec: don't set format and codec context from metadata values
This has proven to be useless and even harmfull since r18460 (expect
for duration and videodatarate).
original patch from Art Clarke aclarke at xuggle dot com

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

c1c206b3 06/24/2009 10:10 PM Justin Ruggles

flvdec: Build a Speex header during FLV demuxing using required and
default values. This is needed because FLV files with Speex do not
contain a Speex header, which is necessary for stream copy.

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

e1d8d7bb 06/16/2009 11:14 PM Art Clarke

Downgrade message log level (from AV_LOG_ERROR to AV_LOG_DEBUG) about
skipped metadata packet in FLV demuxer.

Patch by Art Clarke a${surname} At xuggle - com.

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

4eec2606 04/17/2009 05:42 PM Michael Niedermayer

Remove unused variable from flv_read_metabody() found by CSA.

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

77daaf67 04/12/2009 04:01 AM Michael Niedermayer

Disable metadata reading. Yes, I would like to know what this code is good for
and this is the easiest way to. It would be a lot of messy code we can drop
if it is useless.
As a sideeffect this fixes issue977.

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

634b927f 04/03/2009 03:32 PM Michael Niedermayer

Do not fail on zero packets.

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

fcb4228c 04/02/2009 03:52 AM Baptiste Coudurier

skip empty data packets in flv, fix input.flv

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

ded01499 03/03/2009 08:24 PM Michael Niedermayer

Replace two 'return AVERROR;' by continue. The latter are nicer
and the EAGAIN were just added as example not because they made sense.

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

d2718187 02/21/2009 11:54 PM Baptiste Coudurier

parse aac extradata to fetch channels and sample rate, patch from Netgem

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

0e9602ef 02/19/2009 12:19 PM Peter Ross

FLV demuxer: return AVERROR_EOF upon detection of end of file.

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

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

Add a context to av_log() calls.

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

9a354fe3 02/02/2009 04:05 PM Stefan de Konink

Implement the reading of the video bitrate of flv movies out of the meta data,
to have the total bitrate available in the avformat structures.
Patch by Stefan de Konink stefan konink de

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

a308737b 01/22/2009 12:08 PM Michael Niedermayer

Use EAGAIN return, primarely intended as example of EAGAIN useage.

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

2f3d7ea9 12/21/2008 08:56 PM Michael Niedermayer

Fix detection of audio codec in K70707-ARIA229.flv.
Fixes issue760.

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

ebd61055 11/16/2008 02:56 AM Baptiste Coudurier

set pts in flv demuxer

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

8ff8de73 10/28/2008 11:49 PM Andrew Wason

Fix endless loop when opening corrupt FLV files (issue 699).

Patch by Andrew Wason, rectalogic A rectalogic D com

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

7f8cd075 10/24/2008 11:06 PM Baptiste Coudurier

simplify sample rate code, flv_set_audio_codec already overrides it for nellymoser 8khz

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

f96d0eef 10/24/2008 06:36 PM Baptiste Coudurier

force sample rate to 16khz for speex in flv, fix speexaudio.flv

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

4fe8a452 10/24/2008 04:46 PM Pascal Massimino

fix for >2GB flv files

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

88cb61bb 10/18/2008 12:08 PM Alexander Wichers

8HZ -> 8KHZ, cosmetics patch by Alexander Wichers development at wichersdot nu

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

dd1c8f3e 09/08/2008 02:24 PM Luca Abeni

Bump Major version, this commit is almost just renaming bits_per_sample to
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may...

ae58b54b 08/29/2008 10:10 PM Baptiste Coudurier

skip empty flv data packets, fix issue #602

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

3d9aecb0 08/29/2008 10:07 PM Baptiste Coudurier

factorize packet skip code

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

6298eb81 08/29/2008 10:03 PM Baptiste Coudurier

simplify size handling code

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

77b04435 08/29/2008 05:06 PM Baptiste Coudurier

speex in flv demuxing

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

22e7d9cc 07/31/2008 02:26 AM Baptiste Coudurier

skip flv video info / command frame packets, fix issue #546

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

04fd3e81 05/26/2008 10:01 PM Baptiste Coudurier

aac and h264 in flv demuxing

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

7ef94d22 05/23/2008 09:51 PM Baptiste Coudurier

in flv this field is dts finally

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

19719bc6 05/23/2008 09:47 PM Baptiste Coudurier

flv use 32 bit pts

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

07a47ae2 04/25/2008 09:08 AM Baptiste Coudurier

pts are unsigned according to specs, fix negative pts when 32bit pts are used

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

780169c3 04/14/2008 12:25 PM Michael Niedermayer

Remove useless code.

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

b41497e9 04/14/2008 12:24 PM Michael Niedermayer

Recommit r12809
Log:
10l
Setting AVFMTCTX_NOHEADER if streams<2 so phantom streams are found.
fixes WELCOMETOBELGRADE.flv
After seeking bug has been fixed.

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

0366654e 04/14/2008 12:22 PM Michael Niedermayer

Use generic seeking code for flv. The removed code was a buggy duplicate.

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

26d95a1e 04/14/2008 12:10 PM Michael Niedermayer

revert r12809
Log:
10l
Setting AVFMTCTX_NOHEADER if streams<2 so phantom streams are found.
fixes WELCOMETOBELGRADE.flv
As it unexpectly breaks seek regression tests.

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

a33cfa30 04/13/2008 11:47 PM Michael Niedermayer

Stop find_stream_info() searching for further streams if 2 streams have
been found.

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

749c9201 04/13/2008 10:58 PM Michael Niedermayer

10l
Setting AVFMTCTX_NOHEADER if streams<2 so phantom streams are found.
fixes WELCOMETOBELGRADE.flv

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

c04c52d3 03/20/2008 11:02 AM Pascal Massimino

Additional checks for strange num_val in FLV metadata
Avoids some "Unsupported audio codec (6)" message in FLVs, e.g.
Example of such problematic bitstream is 'bad_codec6.flv'
in ftp's /incoming directory.

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

58293e57 02/24/2008 01:04 AM Michael Niedermayer

Fix issue357
Do what the spec says, insane or not:
"
Format 0 (uncompressed) and Format 3 (uncompressed little-endian) are similar. Both encode
uncompressed audio samples. For 8-bit samples, the two formats are identical. For 16-bit
samples, the two formats differ in byte ordering. In Format 0, 16-bit samples are encoded and...

44de39f9 02/24/2008 12:57 AM Michael Niedermayer

flv/swf do not have a big endian codec id, they only support
little endian and native endian.

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

107b5f93 12/20/2007 11:22 AM Benjamin Larsson

Reindent

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

7b76c224 12/20/2007 11:21 AM Benjamin Larsson

Correctly handle FLV_CODECID_NELLYMOSER_8HZ_MONO files

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

018b6fb4 11/16/2007 12:09 AM Alex Beregszaszi

Honor the 8bit extension (now 32bit instaed 24bit) of the pts field introduced in FLV specification v9.

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

c8652b57 10/31/2007 10:10 PM Michael Niedermayer

support flv with invalid header
fixes issue43

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

6f910bcf 10/31/2007 09:35 PM Michael Niedermayer

factorize stream creation

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

636b13c5 10/15/2007 04:26 PM Benjamin Larsson

Nellymoser ASAO decoder

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

99904603 09/25/2007 07:30 PM Aurelien Jacobs

use the VP6A codec

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

df63f130 09/25/2007 07:25 PM Aurelien Jacobs

revert r10527
There is now a proper vp6a codec, so no need for this hack anymore.

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

f84c3573 09/18/2007 03:36 PM Aurelien Jacobs

Add support for VP6A in flv.
Those files really contain 2 standard VP6 video streams:
- the "normal" video stream
- the alpha plan video stream (which is a standard
YV12 video with it's U an V plans all set to 0)
closes issue166

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

7b94177e 07/05/2007 10:37 AM Diego Biurrun

Group all copyright and author notices together.

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

87e87886 04/08/2007 11:34 AM Michael Niedermayer

allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks

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

031311cb 03/07/2007 01:52 AM Alex Beregszaszi

workaround for broken flvtoolized files

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

683ab79c 01/23/2007 03:38 PM Michael Niedermayer

flv follows in movs footsteps and has random trash in the width/height fields

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

74248229 01/23/2007 03:23 PM Michael Niedermayer

improve probe and give it the max score

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

428cc588 12/12/2006 12:29 PM Allan Hsu

add FLV decoder metadata parsing
patch by Allan Hsu % allan A counterpop P net %
date: Dec 12, 2006 12:19 PM
subject: Re: [Ffmpeg-devel] [PATCH] FLV decoder metadata reading

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

15f14fc7 12/10/2006 05:53 PM Michael Niedermayer

move duration finding code into read_packet() so it can be skiped if duration has already been set

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

17fcb170 12/10/2006 05:38 PM Michael Niedermayer

use amf_get_string()

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

759dd138 12/10/2006 05:32 PM Michael Niedermayer

cosmetics

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

896bcd2e 12/10/2006 05:31 PM Michael Niedermayer

amf_get_string() by Allan Hsu allan aat counterpop doot net

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

4eb0c665 12/10/2006 05:25 PM Michael Niedermayer

get rid of AVFMTCTX_NOHEADER, create streams in read_header()

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

6cac3a3b 12/06/2006 12:23 AM Allan Hsu

Defines various common FLV format values between the FLV muxer and demuxer
in a common flv.h.
patch by Allan Hsu allan at counterpop.net

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

7fbde343 10/23/2006 08:57 AM Aurelien Jacobs

replace coder/decoder file description in libavformat by muxer/demuxer

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

ec996a63 10/23/2006 12:13 AM Aurelien Jacobs

fix flvdec.c file description comment

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

246f86a4 10/23/2006 12:10 AM Aurelien Jacobs

document the extradata protocol for VP6F

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

9e2424ce 10/22/2006 11:19 PM Aurelien Jacobs

use the adjustment value present in FLV to crop VP6 video

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

12b6992b 10/13/2006 06:21 PM Roberto Togni

flv files from myspace with mp3 audio require need_parsing because the
frames are fragmented.

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

aeb20f7f 09/17/2006 09:39 AM Nazo

FLV seeking patch by Nazo. lovesyao at aol com.

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

5ce117c3 09/09/2006 05:19 PM Aurelien Jacobs

VP5 and VP6 video decoder

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

0919e788 06/01/2006 07:31 AM Benjamin Larsson

Flash Screen Video decoder (fourcc:FSV1)

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

dbdaebe2 03/16/2006 05:04 PM Michael Niedermayer

extract duration

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

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

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

a254c574 07/19/2005 02:41 PM Michael Niedermayer

kill duplicated get/put_be24()

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

dd9f5916 07/19/2005 02:26 PM Michael Niedermayer

extract duration if available

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

2692067a 05/26/2005 08:17 PM Michael Niedermayer

AVPacket.pos

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

f3356e9c 03/17/2005 01:25 AM Michael Niedermayer

more fine grained discarding of packets

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

2f5132e7 02/25/2005 11:15 AM Alex Beregszaszi

proper handling of samplesize

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

ae26a016 02/21/2005 07:28 PM Alex Beregszaszi

support adpcm audio, also some more verbose messages

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

923bd441 02/21/2005 06:05 PM Alex Beregszaszi

correct pcm in flv handling

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

b9866ebc 01/22/2005 01:36 PM Michael Niedermayer

support discarding uninterresting packets

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

15bc38e5 12/19/2004 01:23 AM Michael Niedermayer

try to guess the fps if they are variable

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

d08f4bcb 10/18/2004 11:42 AM Alex Beregszaszi

report keyframes

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

0bd586c5 06/19/2004 03:59 AM Mike Melanson

sweeping change from -EIO -> AVERROR_IO

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

9ee91c2f 05/21/2004 08:43 PM Michael Niedermayer

move time_base (pts_num/pts_den) from AVFormatContext -> AVStream

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

068f2a22 04/17/2004 12:04 PM Michael Niedermayer

cleanup
fix streamcopy

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