Thomas Vander Stichele [Wed, 11 Feb 2004 17:44:11 +0000 (17:44 +0000)]
sync with upstream
Original commit message from CVS:
sync with upstream
Benjamin Otte [Wed, 11 Feb 2004 08:38:26 +0000 (08:38 +0000)]
ext/ffmpeg/: fix memleaks
Original commit message from CVS:
2004-02-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init):
fix memleaks
David Schleef [Wed, 4 Feb 2004 21:40:49 +0000 (21:40 +0000)]
Make sure set_explicit_caps() is called before adding pad.
Original commit message from CVS:
Make sure set_explicit_caps() is called before adding pad.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
* gst/id3/gstid3types.c: (gst_id3types_loop):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead):
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream):
Jeremy Simon [Mon, 2 Feb 2004 22:37:33 +0000 (22:37 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Fix SVQ3 caps flag properties
Original commit message from CVS:
2004-02-02 Jeremy Simon <jesimon@libertysurf.fr>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_extradata):
Fix SVQ3 caps flag properties
Use glib macro for bytes swap
David Schleef [Mon, 2 Feb 2004 20:27:13 +0000 (20:27 +0000)]
Fix memory leaks:
Original commit message from CVS:
reviewed by: David Schleef <ds@schleef.org>
Fix memory leaks:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
Thomas Vander Stichele [Mon, 2 Feb 2004 17:23:27 +0000 (17:23 +0000)]
change NULL to (NULL) for GST_ELEMENT_ERROR
Original commit message from CVS:
change NULL to (NULL) for GST_ELEMENT_ERROR
Make sure errors end with "."
Benjamin Otte [Fri, 30 Jan 2004 03:51:03 +0000 (03:51 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: removee video/x-theora from vp3 decoder, it doesn't handle raw theora streams
Original commit message from CVS:
2004-01-30 Benjamin Otte <in7y118@public.uni-hamburg.de>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
removee video/x-theora from vp3 decoder, it doesn't handle raw
theora streams
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_init):
fix bug with finalizing element that never went to PAUSED
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query):
length and position queries were swapped
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init),
(vorbis_dec_from_granulepos), (vorbis_dec_src_query),
(vorbis_dec_src_event):
implement querying time and bytes
Thomas Vander Stichele [Thu, 29 Jan 2004 23:20:39 +0000 (23:20 +0000)]
GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
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
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
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)
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
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.
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.
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
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
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
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.
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().
David Schleef [Fri, 2 Jan 2004 23:42:14 +0000 (23:42 +0000)]
fix compiler warning
Original commit message from CVS:
fix compiler warning
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.
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.
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.
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.
David Schleef [Wed, 31 Dec 2003 08:02:04 +0000 (08:02 +0000)]
Negotiation fixes.
Original commit message from CVS:
Negotiation fixes.
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.
David Schleef [Mon, 22 Dec 2003 01:46:58 +0000 (01:46 +0000)]
Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
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.
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
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
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
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
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
Thomas Vander Stichele [Fri, 5 Dec 2003 16:01:23 +0000 (16:01 +0000)]
fix compilation
Original commit message from CVS:
fix compilation
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
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
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
Benjamin Otte [Tue, 25 Nov 2003 04:48:31 +0000 (04:48 +0000)]
make ffcolorspace work
Original commit message from CVS:
make ffcolorspace work
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.
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
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
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. :).
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
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
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)
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 ;)
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
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)
Ronald S. Bultje [Sun, 2 Nov 2003 13:12:14 +0000 (13:12 +0000)]
Bla
Original commit message from CVS:
Bla
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.
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
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
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...
Ronald S. Bultje [Sun, 26 Oct 2003 12:00:25 +0000 (12:00 +0000)]
< <-> > confusion
Original commit message from CVS:
< <-> > confusion
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.
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
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
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.
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
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
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.
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
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.
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
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
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
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)
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
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
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.
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
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
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)
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
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.
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.
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
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
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
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)
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
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
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
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
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
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)
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!
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)
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.
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
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.
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.
Ronald S. Bultje [Sat, 25 Jan 2003 13:55:27 +0000 (13:55 +0000)]
Add xvid
Original commit message from CVS:
Add xvid
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
Wim Taymans [Sun, 19 Jan 2003 23:39:59 +0000 (23:39 +0000)]
Fix codecs
Original commit message from CVS:
Fix codecs
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
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
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
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
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"