James Almer
d890db5f53
oggdec: add support for VP8 demuxing
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Nicolas George
ecab1c7741
oggdec: add support for Opus in Ogg demuxing
11 years ago
Vignesh Venkatasubramanian
23637f98f4
lavf/ogg: Support for end trimming Opus
...
Adding support for end trimming Opus embedded in Ogg container.
Signed-Off By: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
c5cf58d4b9
oggdec: resync from the last page.
...
Previously we re synced from where we where which cam lead
to loosing pages.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Luca Barbato
d894f74762
oggdec: make sure the private parse data is cleaned up
12 years ago
Michael Niedermayer
d3ef2da59d
oggdec: add missing () for OGG_NOGRANULE_VALUE
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Luca Barbato
d1f05dd183
ogg: calculate the start position once all the headers are parsed
...
The fisbone packets can be muxed in any order as long the last one
comes before the first data packet.
12 years ago
Luca Barbato
7751e4693d
ogg: check that the expected number of headers had been parsed
...
Not having the header for a codec is a tell-tale of a broken file.
12 years ago
Clément Bœsch
ea5bd7ea6f
lavf/oggdec: check for begin-of-stream flag in case of chained streams.
...
Fix Ticket #1617 , revealing a regression I introduced in 8f3eebd
.
We need to make sure no stream is added in between Ogg context save and
restore operations (because it would likely lead to a mismatch between
ogg->nstreams and AVFormatContext->nb_streams after the restore op).
This is the reason the ogg->state check is added in ogg_new_stream().
Before this patch, checking for ogg->headers was preventing this:
ogg->headers is always set before any ogg save/restore (though, it was
also preventing from creating the stream when necessary).
12 years ago
Nicolas George
e62fd6619f
oggdec: add support for Opus codec.
...
This patch also introduces CODEC_ID_OPUS.
13 years ago
Nicolas George
4ca59d1948
oggdec: add support for Xiph's CELT codec
...
This patch also introduces CODEC_ID_CELT.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Michael Niedermayer
d2cab951e3
oggdec: Make sure start time correction is applied once to each stream
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
d2d67e424f
Remove all uses of now deprecated metadata functions.
14 years ago
Nicolas George
e61b83d29e
Ogg: add support for Xiph's CELT (Opus) codec.
...
This patch also introduces CODEC_ID_CELT.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
14 years ago
Clément Bœsch
8f3eebd663
oggdec: simplify audio chained ogg streams support
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Clément Bœsch
47dec30edb
oggdec: fix demuxing chained audio streams
...
Chained ogg served by icecast and mpd should demux
properly now.
Fixes issue2337
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 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
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
533c30fced
Const correctness for vorbis_comment
...
Originally committed as revision 22474 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
b53cde48bd
oggdec: Metadata is per-stream; don't merge multiple streams' together
...
Originally committed as revision 22473 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
e4d2d8c5d7
Add ff_ prefix to vorbis_comment
...
Originally committed as revision 22472 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
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
296bdf9cf1
oggdec: Check that we have a codec in gptopts (needed for skeleton)
...
Originally committed as revision 22456 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
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
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
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
Daniel Verkamp
fc430e8fab
Warning fix: Make ogg_stream.codec const
...
This matches the return value of ogg_find_codec and fixes
"libavformat/oggdec.c:333: warning: assignment discards qualifiers from
pointer target type"
Patch by Daniel Verkamp (daniel - drv . nu)
Originally committed as revision 18769 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
1fa9726cf6
Document ogg_codec's header function
...
Originally committed as revision 18100 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 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
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 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
c5e56a813b
Revert r14497
...
Log:
Add missing header #includes.
Policy violation (change not approved by maintainer)
and while discussions where ongoing and no consensus has been reached.
Originally committed as revision 14500 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
2e11268ea9
Add missing header #includes.
...
Originally committed as revision 14497 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
c901197693
String pointers of ogg_codec_t should have const attribute.
...
Originally committed as revision 11860 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5f359c8d3e
cosmetics: sort ogg_codec_t list
...
Originally committed as revision 11810 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
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
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
52703a6459
Use filename as multiple inclusion guard.
...
Originally committed as revision 10760 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago