summaryrefslogtreecommitdiff
path: root/libavformat/flvdec.c
Commit message (Collapse)AuthorAge
* Add codec id for Flash screen codec v2 and hook it up in FLV demuxerDaniel Verkamp2009-11-20
| | | | Originally committed as revision 20563 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a channels field to MPEG4AudioConfig.Alex Converse2009-11-11
| | | | Originally committed as revision 20512 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check offset in flv_probe()Michael Niedermayer2009-09-15
| | | | Originally committed as revision 19858 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use all 32 bits of the timestamp when calculating flv duration.Martin Storsjö2009-09-07
| | | | | | | | | At the moment, duration is mainly set from the metadata packet. If that is not available, the fallback is checking the low 24 bits of the last packet. This is not enough for files over 4,6 hours in length, so read all 32 bits instead. patch by Martin Storsjö, martin martin st Originally committed as revision 19791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove fake Speex header creation from FLV demuxer. Having it there was not theJustin Ruggles2009-09-04
| | | | | | | correct solution to the problem. A better solution might be possible later once Speex is supported in muxers. Originally committed as revision 19761 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-26
| | | | Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flvdec: expose metadata through the generic metadata APIAurelien Jacobs2009-07-06
| | | | | | original patch from Art Clarke aclarke _at_ xuggle _dot_ com Originally committed as revision 19364 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flvdec: re-enable metadata parsingAurelien Jacobs2009-07-06
| | | | | | | 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
* flvdec: don't set format and codec context from metadata valuesAurelien Jacobs2009-07-06
| | | | | | | | 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
* flvdec: Build a Speex header during FLV demuxing using required andJustin Ruggles2009-06-24
| | | | | | | 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
* Downgrade message log level (from AV_LOG_ERROR to AV_LOG_DEBUG) aboutArt Clarke2009-06-16
| | | | | | | | 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
* Remove unused variable from flv_read_metabody() found by CSA.Michael Niedermayer2009-04-17
| | | | Originally committed as revision 18571 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable metadata reading. Yes, I would like to know what this code is good forMichael Niedermayer2009-04-12
| | | | | | | | 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
* Do not fail on zero packets.Michael Niedermayer2009-04-03
| | | | Originally committed as revision 18328 to svn://svn.ffmpeg.org/ffmpeg/trunk
* skip empty data packets in flv, fix input.flvBaptiste Coudurier2009-04-02
| | | | Originally committed as revision 18306 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace two 'return AVERROR(EAGAIN);' by continue. The latter are nicerMichael Niedermayer2009-03-03
| | | | | | 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
* parse aac extradata to fetch channels and sample rate, patch from NetgemBaptiste Coudurier2009-02-21
| | | | Originally committed as revision 17506 to svn://svn.ffmpeg.org/ffmpeg/trunk
* FLV demuxer: return AVERROR_EOF upon detection of end of file.Peter Ross2009-02-19
| | | | Originally committed as revision 17457 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a context to av_log() calls.Benoit Fouet2009-02-16
| | | | Originally committed as revision 17375 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement the reading of the video bitrate of flv movies out of the meta data,Stefan de Konink2009-02-02
| | | | | | | 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
* Use EAGAIN return, primarely intended as example of EAGAIN useage.Michael Niedermayer2009-01-22
| | | | Originally committed as revision 16719 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix detection of audio codec in K70707-ARIA229.flv.Michael Niedermayer2008-12-21
| | | | | | Fixes issue760. Originally committed as revision 16254 to svn://svn.ffmpeg.org/ffmpeg/trunk
* set pts in flv demuxerBaptiste Coudurier2008-11-16
| | | | Originally committed as revision 15841 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix endless loop when opening corrupt FLV files (issue 699).Andrew Wason2008-10-28
| | | | | | Patch by Andrew Wason, rectalogic A rectalogic D com Originally committed as revision 15738 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify sample rate code, flv_set_audio_codec already overrides it for ↵Baptiste Coudurier2008-10-24
| | | | | | nellymoser 8khz Originally committed as revision 15687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* force sample rate to 16khz for speex in flv, fix speexaudio.flvBaptiste Coudurier2008-10-24
| | | | Originally committed as revision 15678 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix for >2GB flv filesPascal Massimino2008-10-24
| | | | Originally committed as revision 15677 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 8HZ -> 8KHZ, cosmetics patch by Alexander Wichers development at wichersdot nuAlexander Wichers2008-10-18
| | | | Originally committed as revision 15632 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-08
| | | | | | | | | | | 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 be a change done here or there if some developer has some cleanup ideas and patches! Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* skip empty flv data packets, fix issue #602Baptiste Coudurier2008-08-29
| | | | Originally committed as revision 15042 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize packet skip codeBaptiste Coudurier2008-08-29
| | | | Originally committed as revision 15041 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify size handling codeBaptiste Coudurier2008-08-29
| | | | Originally committed as revision 15040 to svn://svn.ffmpeg.org/ffmpeg/trunk
* speex in flv demuxingBaptiste Coudurier2008-08-29
| | | | Originally committed as revision 15028 to svn://svn.ffmpeg.org/ffmpeg/trunk
* skip flv video info / command frame packets, fix issue #546Baptiste Coudurier2008-07-31
| | | | Originally committed as revision 14480 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.Stefano Sabatini2008-06-03
| | | | | | | 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
* aac and h264 in flv demuxingBaptiste Coudurier2008-05-26
| | | | Originally committed as revision 13439 to svn://svn.ffmpeg.org/ffmpeg/trunk
* in flv this field is dts finallyBaptiste Coudurier2008-05-23
| | | | Originally committed as revision 13268 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flv use 32 bit ptsBaptiste Coudurier2008-05-23
| | | | Originally committed as revision 13267 to svn://svn.ffmpeg.org/ffmpeg/trunk
* pts are unsigned according to specs, fix negative pts when 32bit pts are usedBaptiste Coudurier2008-04-25
| | | | Originally committed as revision 12949 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless code.Michael Niedermayer2008-04-14
| | | | Originally committed as revision 12814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Recommit r12809Michael Niedermayer2008-04-14
| | | | | | | | | | 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
* Use generic seeking code for flv. The removed code was a buggy duplicate.Michael Niedermayer2008-04-14
| | | | Originally committed as revision 12812 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert r12809Michael Niedermayer2008-04-14
| | | | | | | | | | 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
* Stop find_stream_info() searching for further streams if 2 streams haveMichael Niedermayer2008-04-13
| | | | | | been found. Originally committed as revision 12810 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10lMichael Niedermayer2008-04-13
| | | | | | | 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
* Additional checks for strange num_val in FLV metadataPascal Massimino2008-03-20
| | | | | | | | 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
* Fix issue357Michael Niedermayer2008-02-24
| | | | | | | | | | | | | | | | | 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 decoded according to the native byte ordering of the platform on which the encoder and Flash Player, respectively, are running. In Format 3, 16-bit samples are always encoded in little-endian order (least significant byte first), and are byte-swapped if necessary in Flash Player before playback. Format 0 is clearly disadvantageous because it introduces a playback platform dependency. For 16-bit samples, Format 3 is highly preferable to Format 0 for SWF version 4 or later. " Originally committed as revision 12184 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flv/swf do not have a big endian codec id, they only supportMichael Niedermayer2008-02-24
| | | | | | little endian and native endian. Originally committed as revision 12183 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentBenjamin Larsson2007-12-20
| | | | Originally committed as revision 11285 to svn://svn.ffmpeg.org/ffmpeg/trunk