Reimar Döffinger
f1a0518524
Enable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many
...
seeks needed for binary search when seeking to a previously seen
location.
Originally committed as revision 23279 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
adc725b558
oggdec: Move warning about missing granule to the correct place
...
Originally committed as revision 22891 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
44a088eab7
oggdec: Fix duration calculation if the last page in a file has no granule
...
Originally committed as revision 22890 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
49c2d29089
oggdec: Remove write-only variable
...
Originally committed as revision 22889 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jean-Daniel Dupas
cc947f04cc
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
15 years ago
Stefano Sabatini
72415b2adb
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
15 years ago
James Darnley
66061a1220
Add VorbisComment writing to FLAC files.
...
Patch by James Darnley <james darnley at gmail>.
Originally committed as revision 22605 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
81b743eb10
oggdec: Pass packets to header() until the stream is done with them
...
This fixes some old ogm files that had the 3rd vorbis header after a data
packet in another stream. This is invalid in ogg, but this change shouldn't
affect the behaviour of any valid file.
Originally committed as revision 22478 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
d8b91fae1d
oggdec: Seek to keyframes
...
Originally committed as revision 22463 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
873d117e4b
oggdec: Determine pts and filepos on a packet basis in read_timestamp
...
This takes into account whether the granule defines the start or end times
of packets, and sets the correct file offset of the associated page.
Originally committed as revision 22462 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
6abaa27211
oggdec: Move PTS/DTS calculation to a function
...
Originally committed as revision 22461 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
77560b0ef1
oggdec: Fix duration calculation for streams with non-zero start
...
Originally committed as revision 22458 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
32ad869284
oggdec: Parse skeleton to determine the start time of each stream
...
Originally committed as revision 22457 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
dfaed51f04
oggdec: Move ogg_find_stream and ogg_gptopts to oggdec.h
...
(skeleton will need them)
Originally committed as revision 22455 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
50a9d32310
oggdec: Set data_offset to the right value
...
Otherwise it gets set automatically to a page midstream and prevents seeking
to the first page.
Originally committed as revision 22454 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
73823cb941
oggdec: Save offset of the page needed to reconstruct the current packet
...
Originally committed as revision 22453 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
be4a113264
Make sure the header value used to avoid repeating headers on seeking to the
...
start and to avoid initializing codecs with missing headers is set for all streams.
Fixes issue 1723.
Originally committed as revision 21693 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
ecc0027bc6
Fix playback with invalid files that don't set the continuation flag for
...
pages that continue packets started in prior pages.
Fixes issue1248
Originally committed as revision 21688 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
2d4970d88d
oggdec: Set dts when known
...
Originally committed as revision 21134 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
24ca518bd1
Add support for dirac in ogg
...
Originally committed as revision 21128 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
5e15c7d95b
Fix PTS for OGM codecs.
...
Fixes issue251
Originally committed as revision 20815 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
15299b3821
Calculate correct packet durations when demuxing Ogg/Speex. This involves
...
determining if there is any delay in the first packet and/or any truncation in
the final packet.
Originally committed as revision 20216 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c9da676de4
Disable parsing for ogg streams where no ogg header was found,
...
if no header was found the parser was not initialized and thus will
crash when trying to use it.
Originally committed as revision 20093 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
d7bb185f99
Add a VorbisComment metadata conversion table and use it in the FLAC and
...
Ogg demuxers.
Originally committed as revision 19186 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
ddd94932fb
Ensure that there's pages to read for duration calculation in the ogg demuxer
...
Originally committed as revision 18523 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
bad4a6bbb7
Use consistent indent style in oggdec.
...
Originally committed as revision 17227 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
77be08eeb1
OGG: untypedef demuxer structs
...
Originally committed as revision 15784 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bc5c918ea8
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
16 years ago
Reimar Döffinger
547ea47d4f
Add ff_ prefix to ogg_codec_t structs
...
Originally committed as revision 14951 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
cd34bc7617
Make ogg_codec_t descriptions const
...
Originally committed as revision 14948 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
dd7a68b6da
Remove start_time guessing code.
...
Originally committed as revision 13988 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
bde15e74de
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
17 years ago
Reimar Döffinger
cb4ddf7765
Add support for speex in ogg
...
Originally committed as revision 11878 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
2331e31c23
Add support for ogg text subtitles.
...
Originally committed as revision 11698 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ceeacce68b
use proper url_is_streamed() API
...
instead of messing with ByteIOContext internal is_streamed field
Originally committed as revision 11276 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
899681cd1d
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
17 years ago
Måns Rullgård
e1a794b272
set PKT_FLAG_KEY for Theora and OGM streams
...
Originally committed as revision 11002 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
a0ddef24ce
Rename ogg2.[ch] to oggdec.[ch].
...
Originally committed as revision 10943 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e282e5edb4
Remove disabled muxer skeleton, blessed by Mans.
...
Originally committed as revision 10942 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
ce3132be88
Remove ogg seek function, instead use generic seek via read_timestamp function
...
Originally committed as revision 10702 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
a1f29b959b
Add a read_timestamp function to ogg demuxer
...
Originally committed as revision 10701 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
880e3ef413
add support for old flac in ogg
...
fixes samples.mplayerhq.hu/flac/Yesterday.ogg
closes issue73
Originally committed as revision 10088 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
6f3e0b2174
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
...
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
769e10f068
Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).
...
Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
87e8788680
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
18 years ago
Diego Biurrun
1367cffd66
Ogg is not Vorbis.
...
Originally committed as revision 7966 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
e22f2aaf99
check for sane values in ogg_get_length(), fix lol-ffplay.ogm fuzz test
...
Originally committed as revision 7536 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
20be72c890
save/restore number of streams
...
Originally committed as revision 7535 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
595da759de
10l inverted condition check generated an endless loop
...
Originally committed as revision 6722 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
c26abfa541
Rename ABS macro to FFABS.
...
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago