platform/upstream/gstreamer.git
20 years agoext/ffmpeg/gstffmpegcodecmap.c: Fix SVQ3 decoding on PPC
Jeremy Simon [Mon, 26 Jan 2004 21:04:32 +0000 (21:04 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Fix SVQ3 decoding on PPC

Original commit message from CVS:
2004-01-26  Jeremy Simon  <jesimon@libertysurf.fr>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_extradata):
Fix SVQ3 decoding on PPC

20 years agoAdd SVQ3 specific flags to qtdemux and ffmpeg
Jeremy Simon [Mon, 26 Jan 2004 20:01:36 +0000 (20:01 +0000)]
Add SVQ3 specific flags to qtdemux and ffmpeg

Original commit message from CVS:
2004-01-26  Jeremy Simon  <jesimon@libertysurf.fr>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_extradata), (gst_ffmpeg_caps_to_pixfmt):
* gst/qtdemux/qtdemux.c: (plugin_init), (qtdemux_parse_trak),
(qtdemux_video_caps):
* gst/qtdemux/qtdemux.h:
Add SVQ3 specific flags to qtdemux and ffmpeg

20 years agoext/ffmpeg/gstffmpegcodecmap.c: Fix wma caps property
Jeremy Simon [Tue, 20 Jan 2004 21:22:46 +0000 (21:22 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Fix wma caps property

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_extradata):
Fix wma caps property
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_audio_caps):
Fix typo (flags1 and flags2)

20 years agouse new error signal and classification
Thomas Vander Stichele [Sun, 18 Jan 2004 21:46:52 +0000 (21:46 +0000)]
use new error signal and classification

Original commit message from CVS:
use new error signal and classification

20 years agoext/ffmpeg/gstffmpegenc.c: Fix use of already-freed caps.
David Schleef [Fri, 16 Jan 2004 19:54:16 +0000 (19:54 +0000)]
ext/ffmpeg/gstffmpegenc.c: Fix use of already-freed caps.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect): Fix use of
already-freed caps.

20 years agoext/ffmpeg/gstffmpegenc.c: Link with right caps (else, it segfaults).
Ronald S. Bultje [Fri, 16 Jan 2004 14:10:44 +0000 (14:10 +0000)]
ext/ffmpeg/gstffmpegenc.c: Link with right caps (else, it segfaults).

Original commit message from CVS:
2004-01-16  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
Link with right caps (else, it segfaults).
* ext/mplex/gstmplexjob.cc:
Fix for slight API change in 1.6.1.93 release of mjpegtools.

20 years agoMake sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H
David Schleef [Mon, 12 Jan 2004 04:15:46 +0000 (04:15 +0000)]
Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c:
* ext/ffmpeg/gstffmpegcodecmap.c:
* ext/ffmpeg/gstffmpegdec.c:
* ext/ffmpeg/gstffmpegenc.c:
* ext/ffmpeg/gstffmpegprotocol.c:
* ext/gdk_pixbuf/gstgdkanimation.c:
* ext/jpeg/gstjpeg.c:
* ext/libpng/gstpng.c:
* ext/mpeg2dec/perftest.c:
* ext/speex/gstspeex.c:
* gst-libs/gst/resample/dtos.c:
* gst/intfloat/gstintfloatconvert.c:
* gst/oneton/gstoneton.c:
* gst/rtjpeg/RTjpeg.c:
* gst/rtp/gstrtp.c:
* sys/dxr3/dxr3init.c:
* sys/glsink/gstgl_nvimage.c:
* sys/glsink/gstgl_pdrimage.c:
* sys/glsink/gstglsink.c:
* testsuite/gst-lint:
Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H

20 years agoext/ffmpeg/gstffmpegcolorspace.c: Fixing the pad_alloc_buffer implementation to use...
Julien Moutte [Sun, 11 Jan 2004 22:52:28 +0000 (22:52 +0000)]
ext/ffmpeg/gstffmpegcolorspace.c: Fixing the pad_alloc_buffer implementation to use ->srcpad

Original commit message from CVS:
2004-01-11  Julien MOUTTE  <julien@moutte.net>

* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain): Fixing the
pad_alloc_buffer implementation to use ->srcpad
* ext/hermes/gstcolorspace.c: (gst_colorspace_chain): Fixing the
pad_alloc_buffer implementation to use ->srcpad
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):  Fixing the
pad_alloc_buffer implementation to use ->srcpad
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_chain), (gst_ximagesink_buffer_free),
(gst_ximagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep
a reference to everything we need.
* sys/ximage/ximagesink.h: adding a reference to the sink in the image.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep
a reference to everything we need.
* sys/xvimage/xvimagesink.h: adding a reference to the sink in the image

20 years agoext/ffmpeg/gstffmpegcodecmap.c: fix SVQ3 caps
Benjamin Otte [Sun, 11 Jan 2004 04:51:47 +0000 (04:51 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: fix SVQ3 caps

Original commit message from CVS:
2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
fix SVQ3 caps

20 years agoext/ffmpeg/gstffmpegcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized...
Julien Moutte [Fri, 9 Jan 2004 18:05:56 +0000 (18:05 +0000)]
ext/ffmpeg/gstffmpegcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized buffer allocation.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* gst-libs/gst/xoverlay/xoverlay.c:
(gst_x_overlay_got_desired_size): Updating doc for the xid being 0.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_init): Implementing
the bufferalloc_function to replace bufferpools, fixing the XOverlay
interface implementation to handle xid being 0 and fix some bugs
triggered by Benjamin's testcase.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc),
(gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_init): Implementing
the bufferalloc_function to replace bufferpools, fixing the XOverlay
interface implementation to handle xid being 0 and fix some bugs
triggered by Benjamin's testcase.

20 years agoext/ffmpeg/gstffmpegenc.c: Fix pad_link function to handle formats that ffmpeg return...
David Schleef [Fri, 9 Jan 2004 01:53:31 +0000 (01:53 +0000)]
ext/ffmpeg/gstffmpegenc.c: Fix pad_link function to handle formats that ffmpeg returns as multiple caps structures.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
Fix pad_link function to handle formats that ffmpeg returns
as multiple caps structures.
* gst/videofilter/gstvideofilter.c: (gst_videofilter_chain):
Only complain if source buffer is _smaller_ than expected.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_init),
(gst_videoscale_handle_src_event): Resize navigation events
when passing them upstream.
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
Rewrite many of the buffer painting functions to handle odd
sizes (for many formats, size%4!=0 or size%8!=0).  Most have
been verified to work with my video card.
* testsuite/gst-lint:  Add check for elements calling
gst_pad_get_caps() instead of gst_pad_get_allowed_caps().

20 years agofix compiler warning
David Schleef [Fri, 2 Jan 2004 23:42:14 +0000 (23:42 +0000)]
fix compiler warning

Original commit message from CVS:
fix compiler warning

20 years agoext/ffmpeg/gstffmpegenc.c: Negotiation fixes.
David Schleef [Fri, 2 Jan 2004 23:11:41 +0000 (23:11 +0000)]
ext/ffmpeg/gstffmpegenc.c: Negotiation fixes.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init),
(gst_ffmpegenc_connect):  Negotiation fixes.
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_negotiate_format):
Remove inappropriate gst_caps_free().
* sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect):
Reenable Ronald's internal resize code, since the core handles
it correctly now.

20 years agoRemove random stupidities from my last checkin. Doesn't specifically attempt to...
David Schleef [Fri, 2 Jan 2004 23:06:49 +0000 (23:06 +0000)]
Remove random stupidities from my last checkin.  Doesn't specifically attempt to negotiate passthru.

Original commit message from CVS:
Remove random stupidities from my last checkin.  Doesn't specifically
attempt to negotiate passthru.

20 years agoConvert elements to use gst_pad_use_explicit_caps() where appropriate.
David Schleef [Fri, 2 Jan 2004 07:09:20 +0000 (07:09 +0000)]
Convert elements to use gst_pad_use_explicit_caps() where appropriate.

Original commit message from CVS:
Convert elements to use gst_pad_use_explicit_caps() where appropriate.

20 years agoconfigure.ac: Fix configure check for mpeg2enc. We need 1.6.1.93 instead of 1.6.1...
Ronald S. Bultje [Thu, 1 Jan 2004 22:45:56 +0000 (22:45 +0000)]
configure.ac: Fix configure check for mpeg2enc. We need 1.6.1.93 instead of 1.6.1.92, since the pkg-config file of 1....

Original commit message from CVS:
2004-01-01  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* configure.ac:
Fix configure check for mpeg2enc. We need 1.6.1.93 instead of
1.6.1.92, since the pkg-config file of 1.6.1.92 is borked and
it therefore uses the wrong include paths. Too bad... Note
that 1.6.1.93 is not release yet. ;).
Also add a check for mplex, which is now using the lib'ified
mplex from mjpegtools, too.
* ext/ffmpeg/gstffmpegcodecmap.c:
Add codec_tag for 3ivx/xvid. For xvid, this should fix playback
issues. I don't think ffmpeg handles 3ivx correctly, so this
probably won't work. But it won't hurt either.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
(gst_ffmpegdec_chain):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect),
(gst_ffmpegenc_chain_audio):
Fix memleak in audio encoding. Close codec if open fails, this
calls the cleanup routines so we can re-use the context.
* ext/mpeg2enc/gstmpeg2enc.cc:
Fix pad template names/types, fix memory issue with getcaps().
* ext/mpeg2enc/gstmpeg2encoder.cc:
* ext/mpeg2enc/gstmpeg2encoder.hh:
Fix compile issue with new caps system (const thingy).
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
* ext/mpeg2enc/gstmpeg2encpicturereader.hh:
We read a first frame right on initing, so that we have a caps
when we init the output. This caps is cached in padprivate and
read as first frame.
* ext/mplex/Makefile.am:
* ext/mplex/gstmplex.cc:
* ext/mplex/gstmplex.h:
* ext/mplex/gstmplex.hh:
* ext/mplex/gstmplexibitstream.cc:
* ext/mplex/gstmplexibitstream.hh:
* ext/mplex/gstmplexjob.cc:
* ext/mplex/gstmplexjob.hh:
* ext/mplex/gstmplexoutputstream.cc:
* ext/mplex/gstmplexoutputstream.hh:
We wrap mjpegtools mplex. So I rewrote the plugin. The old plugin
had issues, didn't do capsnego, supported only a subset of the
mplex features and required a mplex fork in our local CVS. Plus
that it worked agaist a very old mplex version. Rewriting was
faster than updating it.
* gst-libs/ext/Makefile.am:
* gst-libs/ext/mplex/INSTRUCT:
* gst-libs/ext/mplex/Makefile.am:
* gst-libs/ext/mplex/README:
* gst-libs/ext/mplex/TODO:
* gst-libs/ext/mplex/ac3strm_in.cc:
* gst-libs/ext/mplex/audiostrm.hh:
* gst-libs/ext/mplex/audiostrm_out.cc:
* gst-libs/ext/mplex/aunit.hh:
* gst-libs/ext/mplex/bits.cc:
* gst-libs/ext/mplex/bits.hh:
* gst-libs/ext/mplex/buffer.cc:
* gst-libs/ext/mplex/buffer.hh:
* gst-libs/ext/mplex/fastintfns.h:
* gst-libs/ext/mplex/format_codes.h:
* gst-libs/ext/mplex/inputstrm.cc:
* gst-libs/ext/mplex/inputstrm.hh:
* gst-libs/ext/mplex/lpcmstrm_in.cc:
* gst-libs/ext/mplex/mjpeg_logging.cc:
* gst-libs/ext/mplex/mjpeg_logging.h:
* gst-libs/ext/mplex/mjpeg_types.h:
* gst-libs/ext/mplex/mpastrm_in.cc:
* gst-libs/ext/mplex/mpegconsts.cc:
* gst-libs/ext/mplex/mpegconsts.h:
* gst-libs/ext/mplex/mplexconsts.hh:
* gst-libs/ext/mplex/multplex.cc:
* gst-libs/ext/mplex/outputstream.hh:
* gst-libs/ext/mplex/padstrm.cc:
* gst-libs/ext/mplex/padstrm.hh:
* gst-libs/ext/mplex/stillsstream.cc:
* gst-libs/ext/mplex/stillsstream.hh:
* gst-libs/ext/mplex/systems.cc:
* gst-libs/ext/mplex/systems.hh:
* gst-libs/ext/mplex/vector.cc:
* gst-libs/ext/mplex/vector.hh:
* gst-libs/ext/mplex/videostrm.hh:
* gst-libs/ext/mplex/videostrm_in.cc:
* gst-libs/ext/mplex/videostrm_out.cc:
* gst-libs/ext/mplex/yuv4mpeg.cc:
* gst-libs/ext/mplex/yuv4mpeg.h:
* gst-libs/ext/mplex/yuv4mpeg_intern.h:
* gst-libs/ext/mplex/yuv4mpeg_ratio.cc:
We don't fork mjpegtools' mplex in our CVS anymore.
* gst/avi/gstavidemux.c: (gst_avi_demux_src_getcaps),
(gst_avi_demux_add_stream):
* gst/avi/gstavidemux.h:
Add getcaps() function for proper caps nego. This makes some
parts of AVI playback/reading work.
* sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect):
Resize window on new capsnego. This is probably wrong, but
I'm still committing it because with current capsnego, the
first successfull capsnego is auto-fixated, therefore rounded
down to the lowest values in the caps. this results in a 16x16
XWindow that is not reized when real capsnego finishes.
Dave, I see more cases of this, do you know a proper solution?
* tools/gst-launch-ext.in:
Fix MPEG-4 AAC (Apple iPod/iTunes) file commandline.

20 years agoNegotiation fixes.
David Schleef [Wed, 31 Dec 2003 08:02:04 +0000 (08:02 +0000)]
Negotiation fixes.

Original commit message from CVS:
Negotiation fixes.

20 years agoext/ffmpeg/: fix typo in RGB masks, and move back to "old" colorspace capsnego code...
Ronald S. Bultje [Wed, 24 Dec 2003 00:12:16 +0000 (00:12 +0000)]
ext/ffmpeg/: fix typo in RGB masks, and move back to "old" colorspace capsnego code until whoever wrote this new crap...

Original commit message from CVS:
2003-12-24  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/ffmpeg/gstffmpegcodecmap.c:
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps),
(gst_ffmpegcsp_srcconnect_func), (gst_ffmpegcsp_sinkconnect),
(gst_ffmpegcsp_srcconnect), (gst_ffmpegcsp_get_type),
(gst_ffmpegcsp_base_init), (gst_ffmpegcsp_class_init),
(gst_ffmpegcsp_init), (gst_ffmpegcsp_chain),
(gst_ffmpegcsp_change_state), (gst_ffmpegcsp_set_property),
(gst_ffmpegcsp_get_property), (gst_ffmpegcsp_register):
fix typo in RGB masks, and move back to "old" colorspace
capsnego code until whoever wrote this new crap has actually
tested it so that it works.
And yes, this works, keep it that way please.

20 years agoMerge CAPS branch
David Schleef [Mon, 22 Dec 2003 01:46:58 +0000 (01:46 +0000)]
Merge CAPS branch

Original commit message from CVS:
Merge CAPS branch

20 years agoSorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses...
Ronald S. Bultje [Thu, 18 Dec 2003 09:31:48 +0000 (09:31 +0000)]
Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding...

Original commit message from CVS:
Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding. This should fix mp3 playback.

20 years agoWell, hack to get this RGB thing truely right
Ronald S. Bultje [Thu, 18 Dec 2003 09:27:58 +0000 (09:27 +0000)]
Well, hack to get this RGB thing truely right

Original commit message from CVS:
Well, hack to get this RGB thing truely right

20 years agoFix small typo in RGB32LE red-mask check
Ronald S. Bultje [Wed, 17 Dec 2003 22:38:22 +0000 (22:38 +0000)]
Fix small typo in RGB32LE red-mask check

Original commit message from CVS:
Fix small typo in RGB32LE red-mask check

20 years agoRe-enable SVQ3, and also add a workaround for the fact that it writes to (read-only...
Ronald S. Bultje [Fri, 12 Dec 2003 15:40:59 +0000 (15:40 +0000)]
Re-enable SVQ3, and also add a workaround for the fact that it writes to (read-only) buffers. This effectively makes ...

Original commit message from CVS:
Re-enable SVQ3, and also add a workaround for the fact that it writes to (read-only) buffers. This effectively makes svq3 work

20 years agotweaks 'n' docs
Thomas Vander Stichele [Tue, 9 Dec 2003 17:29:20 +0000 (17:29 +0000)]
tweaks 'n' docs

Original commit message from CVS:
tweaks 'n' docs

20 years agosandbox to get ffmpeg to play nicely in all cases
Thomas Vander Stichele [Tue, 9 Dec 2003 15:59:48 +0000 (15:59 +0000)]
sandbox to get ffmpeg to play nicely in all cases

Original commit message from CVS:
sandbox to get ffmpeg to play nicely in all cases

20 years agofix compilation
Thomas Vander Stichele [Fri, 5 Dec 2003 16:01:23 +0000 (16:01 +0000)]
fix compilation

Original commit message from CVS:
fix compilation

20 years agoFix RGB better
Ronald S. Bultje [Fri, 28 Nov 2003 20:06:18 +0000 (20:06 +0000)]
Fix RGB better

Original commit message from CVS:
Fix RGB better

20 years agoChange everyone to video/x-msvideo
David Schleef [Thu, 27 Nov 2003 21:48:39 +0000 (21:48 +0000)]
Change everyone to video/x-msvideo

Original commit message from CVS:
Change everyone to video/x-msvideo

20 years agooops, got the RGB32 codecs wrong
Benjamin Otte [Tue, 25 Nov 2003 04:57:43 +0000 (04:57 +0000)]
oops, got the RGB32 codecs wrong

Original commit message from CVS:
oops, got the RGB32 codecs wrong

20 years agomake ffcolorspace work
Benjamin Otte [Tue, 25 Nov 2003 04:48:31 +0000 (04:48 +0000)]
make ffcolorspace work

Original commit message from CVS:
make ffcolorspace work

20 years ago- disable svq3 as it still crashes and spider tries to use it.
Benjamin Otte [Tue, 25 Nov 2003 02:18:12 +0000 (02:18 +0000)]
- disable svq3 as it still crashes and spider tries to use it.

Original commit message from CVS:
- disable svq3 as it still crashes and spider tries to use it.
- copy buffers if necessary before sending them for decode in SVQ1 case. The decoder writes to the data.

20 years ago+ checking in plugin category changes
Leif Johnson [Sun, 16 Nov 2003 22:01:30 +0000 (22:01 +0000)]
+ checking in plugin category changes

Original commit message from CVS:
+ checking in plugin category changes

20 years agoOops, some pretty bad memleaks
Ronald S. Bultje [Wed, 12 Nov 2003 11:27:40 +0000 (11:27 +0000)]
Oops, some pretty bad memleaks

Original commit message from CVS:
Oops, some pretty bad memleaks

20 years agoSeveral encoding changes: for video, double check the pix_fmt after opening the AVCod...
Ronald S. Bultje [Wed, 12 Nov 2003 10:42:36 +0000 (10:42 +0000)]
Several encoding changes: for video, double check the pix_fmt after opening the AVCodec. The pix_fmt will be changed ...

Original commit message from CVS:
Several encoding changes:
* for video, double check the pix_fmt after opening the AVCodec. The pix_fmt
will be changed to the preferred pix_fmt instead of that opening the
codec fails. We fail when it has changed (then, ffmpeg doesn't like it).
* for video, set the correct timestamp.
* for audio, do *not* set the frame_size: most codecs don't like it. Instead,
keep a cache of buffers and always give data of size "frame_size". Maybe
I should have used bytestream here, I'm not sure. This works, though.
I can now create mpeg1 video, mp2 and ac3 audio. I didn't test any others yet.
I also didn't start working on integration with any of the muxers yet, that's
all one big TODO. One thing at a time, please. :).

20 years agosome fixes:
Benjamin Otte [Mon, 10 Nov 2003 14:15:38 +0000 (14:15 +0000)]
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

20 years agoAdd a function that build the context extradata from caps property
Jeremy Simon [Fri, 7 Nov 2003 19:59:28 +0000 (19:59 +0000)]
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

20 years agoUse caps properties to set additional data to ffmpeg context (for wma)
Jeremy Simon [Wed, 5 Nov 2003 23:19:38 +0000 (23:19 +0000)]
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)

20 years agofix GST_FF_AUD_CAPS_NEW to not include channels and rate in unfixed caps and make...
Benjamin Otte [Wed, 5 Nov 2003 03:06:10 +0000 (03:06 +0000)]
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 ;)

20 years agorandom fixes to ffmpeg: decoding of mp3 now works, call parent_class->dispose
Benjamin Otte [Tue, 4 Nov 2003 22:31:05 +0000 (22:31 +0000)]
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

20 years agofix ffmpeg by using an ugly hack (put data as GType 0 when there is no type available...
Benjamin Otte [Sun, 2 Nov 2003 19:07:41 +0000 (19:07 +0000)]
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)

20 years agoBla
Ronald S. Bultje [Sun, 2 Nov 2003 13:12:14 +0000 (13:12 +0000)]
Bla

Original commit message from CVS:
Bla

20 years agoFix compile problem on gcc-2.95. Fixes #125635.
David Schleef [Fri, 31 Oct 2003 03:43:25 +0000 (03:43 +0000)]
Fix compile problem on gcc-2.95.  Fixes #125635.

Original commit message from CVS:
Fix compile problem on gcc-2.95.  Fixes #125635.

20 years agochange gst/bytestream.h to gst/bytestream/bytestream.h
David Schleef [Wed, 29 Oct 2003 03:15:50 +0000 (03:15 +0000)]
change gst/bytestream.h to gst/bytestream/bytestream.h

Original commit message from CVS:
change gst/bytestream.h to gst/bytestream/bytestream.h

20 years agomerge TYPEFIND branch. Major changes:
Benjamin Otte [Tue, 28 Oct 2003 20:52:31 +0000 (20:52 +0000)]
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

20 years agoRe-enable realaudio codecs, improve decoder naming and add mpeg2aac decoder... Now...
Ronald S. Bultje [Sun, 26 Oct 2003 12:10:01 +0000 (12:10 +0000)]
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...

20 years ago< <-> > confusion
Ronald S. Bultje [Sun, 26 Oct 2003 12:00:25 +0000 (12:00 +0000)]
< <-> > confusion

Original commit message from CVS:
< <-> > confusion

20 years agoMake it compile against latest CVS of FFMPEG:
Ronald S. Bultje [Sun, 26 Oct 2003 11:30:18 +0000 (11:30 +0000)]
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.

20 years agoFFMPEG-based colorspace conversion plugin
Ronald S. Bultje [Sat, 25 Oct 2003 16:29:13 +0000 (16:29 +0000)]
FFMPEG-based colorspace conversion plugin

Original commit message from CVS:
FFMPEG-based colorspace conversion plugin

20 years agoFix stupid typo
Ronald S. Bultje [Wed, 22 Oct 2003 10:17:15 +0000 (10:17 +0000)]
Fix stupid typo

Original commit message from CVS:
Fix stupid typo

20 years agoand small improvement in naming of the FFMPEG encoders. This makes their naming look...
Ronald S. Bultje [Mon, 20 Oct 2003 08:24:39 +0000 (08:24 +0000)]
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.

20 years agoincludes are in top_srcdir
David Schleef [Thu, 16 Oct 2003 05:04:20 +0000 (05:04 +0000)]
includes are in top_srcdir

Original commit message from CVS:
includes are in top_srcdir

20 years agoTrivial fixes for GstBuffer->GstData migration
David Schleef [Thu, 9 Oct 2003 02:23:00 +0000 (02:23 +0000)]
Trivial fixes for GstBuffer->GstData migration

Original commit message from CVS:
Trivial fixes for GstBuffer->GstData migration

20 years ago/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal...
Andy Wingo [Wed, 8 Oct 2003 16:07:38 +0000 (16:07 +0000)]
/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.

20 years agoNew typefind system: bytestream is now part of the core all plugins have been modifie...
Ronald S. Bultje [Wed, 1 Oct 2003 13:14:43 +0000 (13:14 +0000)]
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

20 years agoreverting error patch before making a branch.
Thomas Vander Stichele [Tue, 16 Sep 2003 09:59:53 +0000 (09:59 +0000)]
reverting error patch before making a branch.

Original commit message from CVS:
reverting error patch before making a branch.

20 years agoconverted gst_element_error to new format in ext/ - gettext pending
Benjamin Otte [Mon, 15 Sep 2003 01:08:36 +0000 (01:08 +0000)]
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

20 years agoUse ffmpeg libraries build by local automake Makefiles
David Schleef [Thu, 11 Sep 2003 19:53:57 +0000 (19:53 +0000)]
Use ffmpeg libraries build by local automake Makefiles

Original commit message from CVS:
Use ffmpeg libraries build by local automake Makefiles

20 years agoRemove redundant plugindir definition
David Schleef [Sat, 9 Aug 2003 23:56:29 +0000 (23:56 +0000)]
Remove redundant plugindir definition

Original commit message from CVS:
Remove redundant plugindir definition

21 years agouse commas instead of newlines for author field (makes output greppable)
Benjamin Otte [Tue, 8 Jul 2003 19:48:54 +0000 (19:48 +0000)]
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)

21 years agoMore compilation fixes from my latest commit
Ronald S. Bultje [Mon, 7 Jul 2003 11:32:34 +0000 (11:32 +0000)]
More compilation fixes from my latest commit

Original commit message from CVS:
More compilation fixes from my latest commit

21 years agoNew mimetypes gone into effect today - this commit changes all old mimetypes over...
Ronald S. Bultje [Sun, 6 Jul 2003 20:49:15 +0000 (20:49 +0000)]
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

21 years agocompatibility fix for new GST_DEBUG stuff.
Benjamin Otte [Sun, 29 Jun 2003 19:45:00 +0000 (19:45 +0000)]
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.

21 years agoWe hate double slashes.. I'm still disabling demux/mux in CVS, until I've got some...
Ronald S. Bultje [Tue, 17 Jun 2003 11:46:08 +0000 (11:46 +0000)]
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

21 years agoNo quasi codecs
Ronald S. Bultje [Tue, 17 Jun 2003 11:44:38 +0000 (11:44 +0000)]
No quasi codecs

Original commit message from CVS:
No quasi codecs

21 years agoWe also need raw video/audio caps for the demuxer/muxer, plus that caps_to_codecid...
Ronald S. Bultje [Tue, 17 Jun 2003 11:44:11 +0000 (11:44 +0000)]
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)

21 years agoRequest pads don't have a number limit
Ronald S. Bultje [Tue, 17 Jun 2003 11:42:38 +0000 (11:42 +0000)]
Request pads don't have a number limit

Original commit message from CVS:
Request pads don't have a number limit

21 years agoCompilation fix. SOMEONE ELSE PLEASE FIX THIS CORRECTLY.
David Schleef [Mon, 16 Jun 2003 17:46:38 +0000 (17:46 +0000)]
Compilation fix.  SOMEONE ELSE PLEASE FIX THIS CORRECTLY.

Original commit message from CVS:
Compilation fix.  SOMEONE ELSE PLEASE FIX THIS CORRECTLY.

21 years agosome first trial code for ffmux_* disable ffmux/ffdemux by default since they cause...
Ronald S. Bultje [Mon, 9 Jun 2003 15:04:26 +0000 (15:04 +0000)]
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.

21 years agoFix compile error on gcc-3.x
Ronald S. Bultje [Mon, 9 Jun 2003 12:33:48 +0000 (12:33 +0000)]
Fix compile error on gcc-3.x

Original commit message from CVS:
Fix compile error on gcc-3.x

21 years agoHm, I actually misunderstood this protocol thing, since ffmpeg provides an read/write...
Ronald S. Bultje [Sun, 8 Jun 2003 14:35:32 +0000 (14:35 +0000)]
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

21 years agoSome modifications to make the demuxers work, plus moving typefinding over from separ...
Ronald S. Bultje [Sun, 8 Jun 2003 13:31:53 +0000 (13:31 +0000)]
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

21 years agof it's an 'o', it's for output (muxing)
Ronald S. Bultje [Sun, 8 Jun 2003 13:31:27 +0000 (13:31 +0000)]
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)

21 years agoRemove typefinding as separate plugin, this is part of the demuxers now
Ronald S. Bultje [Sun, 8 Jun 2003 13:30:59 +0000 (13:30 +0000)]
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

21 years agoMPEG4AAC is MPEG-4 audio, not video, and implement a _formatid_to_caps() function...
Ronald S. Bultje [Sun, 8 Jun 2003 13:30:10 +0000 (13:30 +0000)]
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

21 years agoLoop through input capses instead of just picking the first, and handle encoding...
Ronald S. Bultje [Sat, 7 Jun 2003 21:06:05 +0000 (21:06 +0000)]
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

21 years agoRewrite of gstffmpegenc
Ronald S. Bultje [Sat, 7 Jun 2003 20:46:24 +0000 (20:46 +0000)]
Rewrite of gstffmpegenc

Original commit message from CVS:
Rewrite of gstffmpegenc

21 years agoAdd a caps_to_codecid() function to read properties from a caps function for use...
Ronald S. Bultje [Sat, 7 Jun 2003 20:45:56 +0000 (20:45 +0000)]
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

21 years agoMake some more use of the ffmpeg utils.c functions for buffer allocation (really...
Ronald S. Bultje [Sat, 7 Jun 2003 20:45:13 +0000 (20:45 +0000)]
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)

21 years agoDzjee, just found out ffmpeg has a function to calculate the buffer size for me,...
Ronald S. Bultje [Sat, 7 Jun 2003 11:43:11 +0000 (11:43 +0000)]
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!

21 years agond remove the edge stuff (finally found out how to disable that)
Ronald S. Bultje [Sat, 7 Jun 2003 11:01:54 +0000 (11:01 +0000)]
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)

21 years agoremove gstffmpegdecall. This was a temporary hack to get around some issues with...
Ronald S. Bultje [Sat, 7 Jun 2003 00:41:32 +0000 (00:41 +0000)]
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.

21 years agoUse new ffmpeg revision
Ronald S. Bultje [Thu, 29 May 2003 19:34:00 +0000 (19:34 +0000)]
Use new ffmpeg revision

Original commit message from CVS:
Use new ffmpeg revision

21 years ago- just skip the frame when there was a decoding error instead of failing.
Wim Taymans [Sat, 19 Apr 2003 12:09:36 +0000 (12:09 +0000)]
- 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.

21 years agoMake sure caps are reffed as we're still have a pointer to it.
Wim Taymans [Sun, 26 Jan 2003 00:07:40 +0000 (00:07 +0000)]
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.

21 years agoAdd xvid
Ronald S. Bultje [Sat, 25 Jan 2003 13:55:27 +0000 (13:55 +0000)]
Add xvid

Original commit message from CVS:
Add xvid

21 years agocheck for type register failures
David I. Lehn [Mon, 20 Jan 2003 18:22:00 +0000 (18:22 +0000)]
check for type register failures

Original commit message from CVS:
check for type register failures

21 years agoFix codecs
Wim Taymans [Sun, 19 Jan 2003 23:39:59 +0000 (23:39 +0000)]
Fix codecs

Original commit message from CVS:
Fix codecs

21 years agolower sample_rate property minimum value to -1 to accoutn for default of -1
David I. Lehn [Sat, 18 Jan 2003 21:36:25 +0000 (21:36 +0000)]
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

21 years agoFix dipose, removed g_print
Wim Taymans [Sat, 18 Jan 2003 15:59:18 +0000 (15:59 +0000)]
Fix dipose, removed g_print

Original commit message from CVS:
Fix dipose, removed g_print

21 years agoMap XVID to mpeg4
Wim Taymans [Sat, 18 Jan 2003 15:54:25 +0000 (15:54 +0000)]
Map XVID to mpeg4

Original commit message from CVS:
Map XVID to mpeg4

21 years agoLower the rank of ffmpeg
Iain Holmes [Mon, 13 Jan 2003 17:58:58 +0000 (17:58 +0000)]
Lower the rank of ffmpeg

Original commit message from CVS:
Lower the rank of ffmpeg

21 years agoCorrecting typos in the mime types: "unkown/unkown" -> "unknown/unknown"
Jan Schmidt [Mon, 13 Jan 2003 13:56:31 +0000 (13:56 +0000)]
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"

21 years agoOnly close the codec if we opened it
Wim Taymans [Sun, 12 Jan 2003 01:05:29 +0000 (01:05 +0000)]
Only close the codec if we opened it

Original commit message from CVS:
Only close the codec if we opened it

21 years agomore link fixes
Thomas Vander Stichele [Fri, 10 Jan 2003 23:03:07 +0000 (23:03 +0000)]
more link fixes

Original commit message from CVS:
more link fixes

21 years agoPadConnect -> PadLink
Thomas Vander Stichele [Fri, 10 Jan 2003 13:38:12 +0000 (13:38 +0000)]
PadConnect -> PadLink

Original commit message from CVS:
PadConnect -> PadLink

21 years agoanother batch of connect->link fixes please let me know about issues and please refra...
Thomas Vander Stichele [Fri, 10 Jan 2003 10:22:01 +0000 (10:22 +0000)]
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

21 years agoAdd missing codecs
Wim Taymans [Tue, 7 Jan 2003 20:42:56 +0000 (20:42 +0000)]
Add missing codecs

Original commit message from CVS:
Add missing codecs

21 years agoAdapts it slightly to work with spider, and adds one change suggested by the ffmpeg...
Ronald S. Bultje [Sat, 4 Jan 2003 16:14:07 +0000 (16:14 +0000)]
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

21 years agofix mpeg1 playback
Ronald S. Bultje [Sun, 29 Dec 2002 22:59:45 +0000 (22:59 +0000)]
fix mpeg1 playback

Original commit message from CVS:
fix mpeg1 playback

21 years agoLets try something different (and then, the whole world collapsed - oops ;) )
Ronald S. Bultje [Sun, 29 Dec 2002 22:20:41 +0000 (22:20 +0000)]
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 ;) )