Commit graph

884 commits

Author SHA1 Message Date
Benjamin Otte
d26aa5ad0b some fixes:
Original commit message from CVS:
some fixes:
- put back a fix to make generic audio caps fixed.
- read out all of the flags when constructing wma extradata
2003-11-10 14:15:38 +00:00
Jeremy Simon
7ffbef83dd Add a function that build the context extradata from caps property
Original commit message from CVS:
Add a function that build the context extradata from caps property
2003-11-07 19:59:28 +00:00
Jeremy Simon
f1d5413b05 Use caps properties to set additional data to ffmpeg context (for wma)
Original commit message from CVS:
Use caps properties to set additional data to ffmpeg context (for wma)
2003-11-05 23:19:38 +00:00
Benjamin Otte
fcdd84f558 fix GST_FF_AUD_CAPS_NEW to not include channels and rate in unfixed caps and make audio caps use them again. This ens...
Original commit message from CVS:
fix GST_FF_AUD_CAPS_NEW to not include channels and rate in unfixed caps and make audio caps use them again. This ensures that audio encoders set these properties when setting fixed caps and audio decoders can advertise fixed caps, too.  This should work in all cases. If not, change it back and ffdec_mp3 is broken again ;)
2003-11-05 03:06:10 +00:00
Benjamin Otte
4e9bb8eb6c random fixes to ffmpeg: decoding of mp3 now works, call parent_class->dispose
Original commit message from CVS:
random fixes to ffmpeg: decoding of mp3 now works, call parent_class->dispose
2003-11-04 22:31:05 +00:00
Benjamin Otte
7e8b50efaa fix ffmpeg by using an ugly hack (put data as GType 0 when there is no type available yet)
Original commit message from CVS:
fix ffmpeg by using an ugly hack (put data as GType 0 when there is no type available yet)
2003-11-02 19:07:41 +00:00
Ronald S. Bultje
28ba793266 Bla
Original commit message from CVS:
Bla
2003-11-02 13:12:14 +00:00
David Schleef
815423e05e Fix compile problem on gcc-2.95. Fixes #125635.
Original commit message from CVS:
Fix compile problem on gcc-2.95.  Fixes #125635.
2003-10-31 03:43:25 +00:00
David Schleef
454bcb58ac change gst/bytestream.h to gst/bytestream/bytestream.h
Original commit message from CVS:
change gst/bytestream.h to gst/bytestream/bytestream.h
2003-10-29 03:15:50 +00:00
Benjamin Otte
98063f8cd3 merge TYPEFIND branch. Major changes:
Original commit message from CVS:
merge TYPEFIND branch. Major changes:
- totally reworked type(find) system
- all typefind functions are in gst/typefind now
- more typefind functions then before
- some plugins might fail to compile now because I don't have them installed and they
a) require bytestream or
b) haven't had their typefind fixed.
Please fix those plugins and put the typefind functions into gst/typefind if they don't have dependencies
2003-10-28 20:52:31 +00:00
Ronald S. Bultje
c92678bb20 Re-enable realaudio codecs, improve decoder naming and add mpeg2aac decoder... Now to find out why it still doesn't l...
Original commit message from CVS:
Re-enable realaudio codecs, improve decoder naming and add mpeg2aac decoder... Now to find out why it still doesn't list itself after gst-register'ing...
2003-10-26 12:10:01 +00:00
Ronald S. Bultje
b34d003bfe < <-> > confusion
Original commit message from CVS:
< <-> > confusion
2003-10-26 12:00:25 +00:00
Ronald S. Bultje
8358d67b73 Make it compile against latest CVS of FFMPEG:
Original commit message from CVS:
Make it compile against latest CVS of FFMPEG:
* Put gst/gst.h above avcodec.h because it needs some types defined in glib.h
* Remove HQ (removed from lavc) property

Also add some functions to make SVQ1 decoding work:
* Add YUV9 colorspace
* Let lavc do its own buffer allocation and copy from there instead of using
our own buffer allocation functions. Somehow, that breaks. I don't know
why.
2003-10-26 11:30:18 +00:00
Ronald S. Bultje
5b255e085e FFMPEG-based colorspace conversion plugin
Original commit message from CVS:
FFMPEG-based colorspace conversion plugin
2003-10-25 16:29:13 +00:00
Ronald S. Bultje
86288171cb Fix stupid typo
Original commit message from CVS:
Fix stupid typo
2003-10-22 10:17:15 +00:00
Ronald S. Bultje
601a18b167 and small improvement in naming of the FFMPEG encoders. This makes their naming look slightly better in apps using el...
Original commit message from CVS:
Typo (> instead of <) in codec selection (we don't want raw audio to raw audio encoders), and small improvement in naming of the FFMPEG encoders. This makes their naming look slightly better in apps using element_factory->details->longname.
2003-10-20 08:24:39 +00:00
David Schleef
feed1dcd9c includes are in top_srcdir
Original commit message from CVS:
includes are in top_srcdir
2003-10-16 05:04:20 +00:00
David Schleef
33bc78bfe5 Trivial fixes for GstBuffer->GstData migration
Original commit message from CVS:
Trivial fixes for GstBuffer->GstData migration
2003-10-09 02:23:00 +00:00
Andy Wingo
8603e03fd5 /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-10-08 16:07:38 +00:00
Ronald S. Bultje
cc76e12bb9 New typefind system: bytestream is now part of the core all plugins have been modified to use this new typefind syste...
Original commit message from CVS:
New typefind system:
* bytestream is now part of the core
* all plugins have been modified to use this new typefind system
* asf typefinding added
* mpeg video stream typefiding removed because it's broken
* duplicate typefind entries removed
* extra id3 typefinding added, because we've seen 4 types of files
(riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs
to work. Instead, I've added an id3 element and let it redo typefiding
after the id3 header. this needs a hack because spider only typefinds
once. We can remove this hack once spider supports multiple typefinds.
* with all this, mp3 typefinding is semi-rewritten
* id3 typefinding in flac/vorbis is removed, it's no longer needed
* fixed spider and gst-typefind to use this, too.
* Other general cleanups
2003-10-01 13:14:43 +00:00
Thomas Vander Stichele
306d1a5ec4 reverting error patch before making a branch.
Original commit message from CVS:
reverting error patch before making a branch.
2003-09-16 09:59:53 +00:00
Benjamin Otte
c05cf86c52 converted gst_element_error to new format in ext/ - gettext pending
Original commit message from CVS:
converted gst_element_error to new format in ext/ - gettext pending
2003-09-15 01:08:36 +00:00
David Schleef
5c28dc809e Use ffmpeg libraries build by local automake Makefiles
Original commit message from CVS:
Use ffmpeg libraries build by local automake Makefiles
2003-09-11 19:53:57 +00:00
David Schleef
8a35cf6b64 Remove redundant plugindir definition
Original commit message from CVS:
Remove redundant plugindir definition
2003-08-09 23:56:29 +00:00
Benjamin Otte
9db37279fc use commas instead of newlines for author field (makes output greppable)
Original commit message from CVS:
use commas instead of newlines for author field (makes output greppable)
2003-07-08 19:48:54 +00:00
Ronald S. Bultje
1a7650c94b More compilation fixes from my latest commit
Original commit message from CVS:
More compilation fixes from my latest commit
2003-07-07 11:32:34 +00:00
Ronald S. Bultje
d1c36f17ef New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as descri...
Original commit message from CVS:
New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
2003-07-06 20:49:15 +00:00
Benjamin Otte
4c1d919cbf compatibility fix for new GST_DEBUG stuff.
Original commit message from CVS:
compatibility fix for new GST_DEBUG stuff.
Includes fixes for missing includes for config.h and unistd.h

I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
2003-06-29 19:45:00 +00:00
Ronald S. Bultje
e0b4b32a8e We hate double slashes.. I'm still disabling demux/mux in CVS, until I've got some working tests here
Original commit message from CVS:
We hate double slashes.. I'm still disabling demux/mux in CVS, until I've got some working tests here
2003-06-17 11:46:08 +00:00
Ronald S. Bultje
a617e29786 No quasi codecs
Original commit message from CVS:
No quasi codecs
2003-06-17 11:44:38 +00:00
Ronald S. Bultje
4a764a442d We also need raw video/audio caps for the demuxer/muxer, plus that caps_to_codecid() didn't exist (thanks for noticin...
Original commit message from CVS:
We also need raw video/audio caps for the demuxer/muxer, plus that caps_to_codecid() didn't exist (thanks for noticing, dave)
2003-06-17 11:44:11 +00:00
Ronald S. Bultje
f191f3dd03 Request pads don't have a number limit
Original commit message from CVS:
Request pads don't have a number limit
2003-06-17 11:42:38 +00:00
David Schleef
4343644704 Compilation fix. SOMEONE ELSE PLEASE FIX THIS CORRECTLY.
Original commit message from CVS:
Compilation fix.  SOMEONE ELSE PLEASE FIX THIS CORRECTLY.
2003-06-16 17:46:38 +00:00
Ronald S. Bultje
e8d306adb4 some first trial code for ffmux_* disable ffmux/ffdemux by default since they cause havoc
Original commit message from CVS:
* some first trial code for ffmux_*
* disable ffmux/ffdemux by default since they cause havoc

I'll enable them locally for testing purposes until I've got them working in a general setup, too.
2003-06-09 15:04:26 +00:00
Ronald S. Bultje
59d7f9b535 Fix compile error on gcc-3.x
Original commit message from CVS:
Fix compile error on gcc-3.x
2003-06-09 12:33:48 +00:00
Ronald S. Bultje
53064c6c57 Hm, I actually misunderstood this protocol thing, since ffmpeg provides an read/write indicator, too... Here's a semi...
Original commit message from CVS:
Hm, I actually misunderstood this protocol thing, since ffmpeg provides an read/write indicator, too... Here's a semi-rewrite that handles writings too
2003-06-08 14:35:32 +00:00
Ronald S. Bultje
52080fb443 Some modifications to make the demuxers work, plus moving typefinding over from separate plugin to the demuxers thems...
Original commit message from CVS:
Some modifications to make the demuxers work, plus moving typefinding over from separate plugin to the demuxers themselves
2003-06-08 13:31:53 +00:00
Ronald S. Bultje
fe266412d9 f it's an 'o', it's for output (muxing)
Original commit message from CVS:
Change protocol slightly, if the first char is an 'i', it's input (demuxing), if it's an 'o', it's for output (muxing)
2003-06-08 13:31:27 +00:00
Ronald S. Bultje
9b1645814e Remove typefinding as separate plugin, this is part of the demuxers now
Original commit message from CVS:
Remove typefinding as separate plugin, this is part of the demuxers now
2003-06-08 13:30:59 +00:00
Ronald S. Bultje
aede10be3e MPEG4AAC is MPEG-4 audio, not video, and implement a _formatid_to_caps() function which tracks a GstCaps to a format ...
Original commit message from CVS:
MPEG4AAC is MPEG-4 audio, not video, and implement a _formatid_to_caps() function which tracks a GstCaps to a format name (muxing format etc.), useful for setting caps on demuxers
2003-06-08 13:30:10 +00:00
Ronald S. Bultje
40deef896e Loop through input capses instead of just picking the first, and handle encoding errors
Original commit message from CVS:
Loop through input capses instead of just picking the first, and handle encoding errors
2003-06-07 21:06:05 +00:00
Ronald S. Bultje
49b22bcee6 Rewrite of gstffmpegenc
Original commit message from CVS:
Rewrite of gstffmpegenc
2003-06-07 20:46:24 +00:00
Ronald S. Bultje
c3b5d3f3fe Add a caps_to_codecid() function to read properties from a caps function for use in _connect() functions
Original commit message from CVS:
Add a caps_to_codecid() function to read properties from a caps function for use in _connect() functions
2003-06-07 20:45:56 +00:00
Ronald S. Bultje
b17e56216c Make some more use of the ffmpeg utils.c functions for buffer allocation (really handy)
Original commit message from CVS:
Make some more use of the ffmpeg utils.c functions for buffer allocation (really handy)
2003-06-07 20:45:13 +00:00
Ronald S. Bultje
2cc34e4c8f Dzjee, just found out ffmpeg has a function to calculate the buffer size for me, d'oh!
Original commit message from CVS:
Dzjee, just found out ffmpeg has a function to calculate the buffer size for me, d'oh!
2003-06-07 11:43:11 +00:00
Ronald S. Bultje
0139c8c671 nd remove the edge stuff (finally found out how to disable that)
Original commit message from CVS:
Rename GstFFMpegClassParams to ~DecClassParams (so that the encoder can use something similar, working on that), and remove the edge stuff (finally found out how to disable that)
2003-06-07 11:01:54 +00:00
Ronald S. Bultje
80924bdfdc remove gstffmpegdecall. This was a temporary hack to get around some issues with our video/avi-centered mimetype syst...
Original commit message from CVS:
* remove gstffmpegdecall. This was a temporary hack to get around
some issues with our video/avi-centered mimetype system. Now that
we use proper identifiers, we don't need that piece of cruft anymore.
* update ffmpeg codec map for ffdec_*, plus make the uncompressed stream
caps also be formed by the codec mapper (this is easier to handle imo).
* add audio support (untested, though :P).
* remove the copying of buffer content and add a get_buffer() handler
instead.
* add an int to ffmpegenc to make it compile and resolve the symbol. I'll
truely fix that later on.
* make mimetypes in the ffmpeg codec mapper conform to docs/random/mimetypes
* etc.

Oh, and let's not forget that it can play back DIVX5 et all nicely. Support
for SVQ1/3 is also there, so if someone completes qtdemux, we can watch
these, too.
2003-06-07 00:41:32 +00:00
Ronald S. Bultje
56ab463205 Use new ffmpeg revision
Original commit message from CVS:
Use new ffmpeg revision
2003-05-29 19:34:00 +00:00
Wim Taymans
51124a1514 - just skip the frame when there was a decoding error instead of failing.
Original commit message from CVS:
- just skip the frame when there was a decoding error instead of failing.
2003-04-19 12:09:36 +00:00
Wim Taymans
4e51fe4fb6 Make sure caps are reffed as we're still have a pointer to it.
Original commit message from CVS:
Make sure caps are reffed as we're still have a pointer to it.
2003-01-26 00:07:40 +00:00
Ronald S. Bultje
17f2e68a7b Add xvid
Original commit message from CVS:
Add xvid
2003-01-25 13:55:27 +00:00
David I. Lehn
3a0476127a check for type register failures
Original commit message from CVS:
check for type register failures
2003-01-20 18:22:00 +00:00
Wim Taymans
ee27cce6f3 Fix codecs
Original commit message from CVS:
Fix codecs
2003-01-19 23:39:59 +00:00
David I. Lehn
7e51a8b664 lower sample_rate property minimum value to -1 to accoutn for default of -1
Original commit message from CVS:
lower sample_rate property minimum value to -1 to accoutn for default of -1
2003-01-18 21:36:25 +00:00
Wim Taymans
ca19435d7a Fix dipose, removed g_print
Original commit message from CVS:
Fix dipose, removed g_print
2003-01-18 15:59:18 +00:00
Wim Taymans
dd34f1fefa Map XVID to mpeg4
Original commit message from CVS:
Map XVID to mpeg4
2003-01-18 15:54:25 +00:00
Iain Holmes
446e4c8d67 Lower the rank of ffmpeg
Original commit message from CVS:
Lower the rank of ffmpeg
2003-01-13 17:58:58 +00:00
Jan Schmidt
006c1836e0 Correcting typos in the mime types: "unkown/unkown" -> "unknown/unknown"
Original commit message from CVS:
Correcting typos in the mime types: "unkown/unkown" -> "unknown/unknown"
2003-01-13 13:56:31 +00:00
Wim Taymans
cb9f0ff232 Only close the codec if we opened it
Original commit message from CVS:
Only close the codec if we opened it
2003-01-12 01:05:29 +00:00
Thomas Vander Stichele
10706fe9ee more link fixes
Original commit message from CVS:
more link fixes
2003-01-10 23:03:07 +00:00
Thomas Vander Stichele
b914183d97 PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:12 +00:00
Thomas Vander Stichele
45c7badc47 another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so t...
Original commit message from CVS:
another batch of connect->link fixes
please let me know about issues
and please refrain of making them yourself, so that I don't spend double
the time resolving conflicts
2003-01-10 10:22:01 +00:00
Wim Taymans
cc46630cb2 Add missing codecs
Original commit message from CVS:
Add missing codecs
2003-01-07 20:42:56 +00:00
Ronald S. Bultje
1c7afe57e3 Adapts it slightly to work with spider, and adds one change suggested by the ffmpeg team
Original commit message from CVS:
Adapts it slightly to work with spider, and adds one change suggested by the ffmpeg team
2003-01-04 16:14:07 +00:00
Ronald S. Bultje
2d397aeedf fix mpeg1 playback
Original commit message from CVS:
fix mpeg1 playback
2002-12-29 22:59:45 +00:00
Ronald S. Bultje
d1c169e6ad Lets try something different (and then, the whole world collapsed - oops ;) )
Original commit message from CVS:
Lets try something different (and then, the whole world collapsed - oops ;) )
2002-12-29 22:20:41 +00:00
Wim Taymans
631ae96d59 Fix for latest ffmpeg
Original commit message from CVS:
Fix for latest ffmpeg
2002-12-28 00:11:56 +00:00
Thomas Vander Stichele
63c54e2350 slurp in ffmpeg a) please test b) please help me figure out how to portably link in a .a file in our .so plugin
Original commit message from CVS:
slurp in ffmpeg

a) please test
b) please help me figure out how to portably link in a .a file in our
.so plugin
2002-12-26 10:53:21 +00:00
Ronald S. Bultje
0d32d395f1 Update API to whatever ffmpeg changed the past few days
Original commit message from CVS:
Update API to whatever ffmpeg changed the past few days
2002-12-12 13:12:44 +00:00
Iain Holmes
306e1bffad Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
Original commit message from CVS:
Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
2002-12-08 17:20:31 +00:00
Thomas Vander Stichele
b1cb01eaec parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:49:20 +00:00
Ronald S. Bultje
a26304afaa Almost good, Thomas, just not good enough :P
Original commit message from CVS:
Almost good, Thomas, just not good enough :P
2002-12-02 22:45:25 +00:00
Thomas Vander Stichele
886f5cc0f8 peep
Original commit message from CVS:
peep
2002-12-02 22:34:25 +00:00
Thomas Vander Stichele
ff9f7c32ca fix ffmpeg to work with installd version as well
Original commit message from CVS:
fix ffmpeg to work with installd version as well
2002-11-26 14:50:05 +00:00
Wim Taymans
ba9ed9b9e4 More ffmpeg wrapping going on here
Original commit message from CVS:
More ffmpeg wrapping going on here
2002-11-25 21:37:26 +00:00
Wim Taymans
4996d4c7d2 Release early.. try to wrap more ffmpeg stuff, like muxers and demuxers.
Original commit message from CVS:
Release early.. try to wrap more ffmpeg stuff, like muxers and demuxers.
This thing needs a fix in ffmpeg (which I will send to the ffmpeg authors
eventually)
2002-11-06 23:53:46 +00:00
Christian Schaller
4af5086de4 plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:18 +00:00
Wim Taymans
9b5d3a77dd Some fixes, this at least compiles again and does decoding/encoding against latest ffmpeg CVS
Original commit message from CVS:
Some fixes, this at least compiles again and does decoding/encoding
against latest ffmpeg CVS
2002-06-03 22:48:11 +00:00
Andy Wingo
c8f838fd03 GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind.
Original commit message from CVS:
GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

same with *factory and typefind.

also, some -Werror fixes.
2002-04-11 20:42:00 +00:00
Andy Wingo
762502fd52 filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS:
* filter newlines out of GST_DEBUG statements to reflect new core behavior
* fixes to adder's caps, again
2002-03-24 22:06:46 +00:00
Andy Wingo
f2b9ef90a2 s/Gnome-Streamer/GStreamer/
Original commit message from CVS:
s/Gnome-Streamer/GStreamer/
2002-03-20 21:44:42 +00:00
Andy Wingo
16d56e8a03 removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
2002-03-19 04:09:41 +00:00
Wim Taymans
7e54c58ea6 Bring the plugins in sync with the new core capsnego system.
Original commit message from CVS:
Bring the plugins in sync with the new core capsnego system.
Added some features, enhancements...
2002-01-13 22:27:22 +00:00
Thomas Vander Stichele
428baadc62 adding ffmpeg, but it needs proper handling
Original commit message from CVS:
adding ffmpeg, but it needs proper handling
2001-12-23 13:25:04 +00:00