History | View | Annotate | Download (19.6 KB)
Fix support for flvtool2 "keyframes based" generated index in FLV format decoder
Current keyframes data parser unconditionally rewind metadata to the endat the end of function. As result ALL metadata located after keyframesindex not parsed,and as metadata object can have ANY placement inside metadata it can...
Merge remote branch 'qatar/master'
flvdec: fix segfault in amf_parse_object() due to NULL key
fixes Issue 2674
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avio: introduce an AVIOContext.seekable field
Use it instead of url_is_streamed and AVIOContext.is_streamed.
Move flv format #defines to common header so they can be used by the encoder too.
Cleanup flv keyframe index reading and add some saftey checks.
Merge remote-tracking branch 'newdev/master'
flvdec: read index stored in the 'keyframes' tag.
'keyframes' metatag is not part of the standard, it is justconvention to use such kind of metatag information for indexing.Structure is following, it allows to have it inconsistent:keyframes: times (array):...
avio: make av_url_read_fseek/fpause internal.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
Conflicts: Changelog doc/APIchanges doc/optimization.txt libavformat/avio.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense
avio: avio_ prefix for url_fsize
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>(cherry picked from commit 76aa876e69cf78a40821e66dec0a1006e4eb23ec)
avio: deprecate url_feof
AVIOContext.eof_reached should be used directly instead.
avio: add avio_tell macro as a replacement for url_ftell
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>(cherry picked from commit a2704c9712ad35cc22e7e0d8a79b581c07fa383b)
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>(cherry picked from commit e356fc57a2e9887370caec58d8aafeafd1f336dc)
avio: avio_ prefix for url_fseek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>(cherry picked from commit 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060)
avio: avio_ prefixes for get_* functions
In the name of consistency:get_byte -> avio_r8get_<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...
avio: rename ByteIOContext to AVIOContext.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>(cherry picked from commit ae628ec1fd7f54c102bf9e667a3edd404b9b9128)
Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008(cherry picked from commit dfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4)
dprintf clashes with POSIX.1-2008
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
This also lists the objects from those two libraries as internal (by addingthe ff_ prefix) so that they can then be hidden via linker scripts.(cherry picked from commit c6610a216ed2948885772154a2eed696e0cb4aca)
This also lists the objects from those two libraries as internal (by addingthe ff_ prefix) so that they can then be hidden via linker scripts.
Fix 16kHz Mono NellyMoser in flv.
Patch by Thierry Foucu, tfoucu gmail
Originally committed as revision 25667 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use ext sample from mpeg4audio config if set with AAC SBR
Originally committed as revision 23947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Mark av_metadata_set() as deprecated, and use av_metadata_set2()in its place.
av_metadata_set() is going to be dropped at the next major bump.
Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement librtmp seek support.
Implement flv_read_seek(), add a missing check on stream_indexand fix timestamp rounding in rtmp_read_seek().
Also add the flv_read_seek2() function, which is not enabled but isuseful as reference.To actually implement flv_read_seek2() correctly, there would need to...
Set audio bit rate.
Patch by Howard Chu, hyc highlandsun com
Originally committed as revision 22835 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix flvdec start-of-frame.Patch by Howard Chu hyc highlandsun com
Originally committed as revision 22757 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
Define AVMediaType enum, and use it instead of enum CodecType, whichis deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
fetch flv duration from file if it is set to 0 in metadata
Originally committed as revision 21329 to svn://svn.ffmpeg.org/ffmpeg/trunk
Revert flvdec.c part of r20836 Log: Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped arrays of fixed length. Code from ffmbc with changes to adapt to our metadata API.Reason: memleak & fix is not trivial
Originally committed as revision 20866 to svn://svn.ffmpeg.org/ffmpeg/trunk
FLV 8-bit PCM is unsigned, not signed
Fixes issue #1569
Originally committed as revision 20853 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strdupedarrays of fixed length.Code from ffmbc with changes to adapt to our metadata API.
Originally committed as revision 20836 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add codec id for Flash screen codec v2 and hook it up in FLV demuxer
Originally committed as revision 20563 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a channels field to MPEG4AudioConfig.
Originally committed as revision 20512 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check offset in flv_probe()
Originally committed as revision 19858 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use all 32 bits of the timestamp when calculating flv duration.At the moment, duration is mainly set from the metadata packet. If that is notavailable, the fallback is checking the low 24 bits of the last packet. This isnot enough for files over 4,6 hours in length, so read all 32 bits instead....
Remove fake Speex header creation from FLV demuxer. Having it there was not thecorrect solution to the problem. A better solution might be possible later onceSpeex is supported in muxers.
Originally committed as revision 19761 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
flvdec: expose metadata through the generic metadata APIoriginal 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 parsingduration and videodatarate values are actually usefuloriginal 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 valuesThis has proven to be useless and even harmfull since r18460 (expectfor 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 anddefault values. This is needed because FLV files with Speex do notcontain 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) aboutskipped 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.
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 forand this is the easiest way to. It would be a lot of messy code we can dropif 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.
Originally committed as revision 18328 to svn://svn.ffmpeg.org/ffmpeg/trunk
skip empty data packets in flv, fix input.flv
Originally committed as revision 18306 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace two 'return AVERROR;' by continue. The latter are nicerand 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 Netgem
Originally committed as revision 17506 to svn://svn.ffmpeg.org/ffmpeg/trunk
FLV demuxer: return AVERROR_EOF upon detection of end of file.
Originally committed as revision 17457 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a context to av_log() calls.
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,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.
Originally committed as revision 16719 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetics: Remove pointless period after copyright statement non-sentences.
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix detection of audio codec in K70707-ARIA229.flv.Fixes issue760.
Originally committed as revision 16254 to svn://svn.ffmpeg.org/ffmpeg/trunk
set pts in flv demuxer
Originally committed as revision 15841 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
force sample rate to 16khz for speex in flv, fix speexaudio.flv
Originally committed as revision 15678 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix for >2GB flv files
Originally committed as revision 15677 to svn://svn.ffmpeg.org/ffmpeg/trunk
8HZ -> 8KHZ, cosmetics patch by Alexander Wichers development at wichersdot nu
Originally committed as revision 15632 to svn://svn.ffmpeg.org/ffmpeg/trunk
Bump Major version, this commit is almost just renaming bits_per_sample tobits_per_coded_sample but that cannot be done seperately.Patch by Luca AbeniAlso reset the minor version and fix the forgotton change to libfaad.Note: The API/ABI should not be considered stable yet, there still may...
skip empty flv data packets, fix issue #602
Originally committed as revision 15042 to svn://svn.ffmpeg.org/ffmpeg/trunk
factorize packet skip code
Originally committed as revision 15041 to svn://svn.ffmpeg.org/ffmpeg/trunk
simplify size handling code
Originally committed as revision 15040 to svn://svn.ffmpeg.org/ffmpeg/trunk
speex in flv demuxing
Originally committed as revision 15028 to svn://svn.ffmpeg.org/ffmpeg/trunk
skip flv video info / command frame packets, fix issue #546
Originally committed as revision 14480 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.patch by Stefano Sabatini, stefano.sabatini-lala poste.italong 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 demuxing
Originally committed as revision 13439 to svn://svn.ffmpeg.org/ffmpeg/trunk
in flv this field is dts finally
Originally committed as revision 13268 to svn://svn.ffmpeg.org/ffmpeg/trunk
flv use 32 bit pts
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 used
Originally committed as revision 12949 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove useless code.
Originally committed as revision 12814 to svn://svn.ffmpeg.org/ffmpeg/trunk
Recommit r12809 Log: 10l Setting AVFMTCTX_NOHEADER if streams<2 so phantom streams are found. fixes WELCOMETOBELGRADE.flvAfter 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.
Originally committed as revision 12812 to svn://svn.ffmpeg.org/ffmpeg/trunk
revert r12809 Log: 10l Setting AVFMTCTX_NOHEADER if streams<2 so phantom streams are found. fixes WELCOMETOBELGRADE.flvAs 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 havebeen found.
Originally committed as revision 12810 to svn://svn.ffmpeg.org/ffmpeg/trunk
10lSetting 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 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
Fix issue357Do what the spec says, insane or not:" Format 0 (uncompressed) and Format 3 (uncompressed little-endian) are similar. Both encodeuncompressed audio samples. For 8-bit samples, the two formats are identical. For 16-bitsamples, the two formats differ in byte ordering. In Format 0, 16-bit samples are encoded and...
flv/swf do not have a big endian codec id, they only supportlittle endian and native endian.
Originally committed as revision 12183 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reindent
Originally committed as revision 11285 to svn://svn.ffmpeg.org/ffmpeg/trunk
Correctly handle FLV_CODECID_NELLYMOSER_8HZ_MONO files
Originally committed as revision 11284 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use dynamically allocated ByteIOContext in AVFormatContext
patch by: Björn Axelsson, bjorn d axelsson a intinor d sethread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
support flv with invalid headerfixes issue43
Originally committed as revision 10887 to svn://svn.ffmpeg.org/ffmpeg/trunk
factorize stream creation
Originally committed as revision 10886 to svn://svn.ffmpeg.org/ffmpeg/trunk
Nellymoser ASAO decoder
Originally committed as revision 10741 to svn://svn.ffmpeg.org/ffmpeg/trunk
use the VP6A codec
Originally committed as revision 10578 to svn://svn.ffmpeg.org/ffmpeg/trunk
revert r10527There 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