Commit graph

347 commits

Author SHA1 Message Date
Ronald S. Bultje
39a338d51c 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.
2004-01-01 22:45:57 +00:00
Thomas Vander Stichele
c3e13233b3 fix BBB's configure.ac changes
Original commit message from CVS:
fix BBB's configure.ac changes
2003-12-21 20:51:14 +00:00
Julien Moutte
58fee07b95 configure.ac: X_DISPLAY_MISSING is set to 1 if AC_PATH_XTRA fails to find X development files. I don't understand the...
Original commit message from CVS:
* configure.ac: X_DISPLAY_MISSING is set to 1 if AC_PATH_XTRA fails to
find X development files. I don't understand the previous tests and
they fail on my debian/ppc unstable. This one works.
* examples/gstplay/player.c: (main): Set the pipeline to READY before
exiting.
* gst-libs/gst/play/gstplay.c: (gst_play_get_length_callback),
(gst_play_set_video_sink), (gst_play_set_audio_sink),
(gst_play_set_visualization): Add some safety checks in set_ methods
and state_change. This was throwing some ugly CRITICAL messages when
pipeline was getting disposed and casts were failing.
2003-12-21 19:48:40 +00:00
Ronald S. Bultje
ae91d7c717 configure.ac: Improve mpeg2enc detection. This is for distributions that do ship mjpegtools, but without mpeg2enc. Al...
Original commit message from CVS:
2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* configure.ac:
Improve mpeg2enc detection. This is for distributions that do
ship mjpegtools, but without mpeg2enc. Also does object check
for might there ever be ABI incompatibility.
* ext/mpeg2enc/gstmpeg2enc.cc:
Add Andrew as second maintainer (he's helping me), and also add
an error if no caps was set. This happens if I pull before capsnego
and that's something I should solve sometime else.
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Fix time parsing.
* gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_link),
(gst_matroska_mux_track_header):
Add caps to templates.
* gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_sink_factory):
Add mpegversion=1 to prevent confusion with MPEG/AAC.
* gst/mpegstream/gstmpegdemux.c:
Remove layer since it causes warnings about unfixed caps.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Fix obvious typo (we error out if caps were set, we should of
course error out if *no* caps were set).
* sys/oss/gstosselement.c: (gst_osselement_convert):
Fix format conversion, we confused bits/bytes.
* sys/oss/gstosselement.h:
Improve documentation for 'bps'.
* sys/v4l/TODO:
Remove stuff about plugins that need removing - this was done
ages ago.
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init),
(gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_src_convert),
(gst_v4lsrc_src_query):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init),
(gst_v4l2src_src_convert), (gst_v4l2src_src_query):
Add get_query_types(), get_formats() and query() functions.
2003-12-21 18:44:34 +00:00
Thomas Vander Stichele
2eb0c5cd0b bump back to cvs versoin
Original commit message from CVS:
bump back to cvs versoin
2003-12-20 13:58:35 +00:00
Thomas Vander Stichele
f6b84f66e2 committing release stuff testing fdo cvs commits this mail should have the proper viewcvs links
Original commit message from CVS:
committing release stuff
testing fdo cvs commits
this mail should have the proper viewcvs links
2003-12-20 13:53:55 +00:00
Thomas Vander Stichele
7012697bc0 disable gdk_pixbuf by default
Original commit message from CVS:
disable gdk_pixbuf by default
2003-12-16 16:58:59 +00:00
Thomas Vander Stichele
a67a502e04 make sdl depend on X
Original commit message from CVS:
make sdl depend on X
2003-12-14 23:28:34 +00:00
Thomas Vander Stichele
7c399e62b5 distcheck fixes
Original commit message from CVS:
distcheck fixes
2003-12-14 19:09:23 +00:00
Thomas Vander Stichele
d76e13d7c2 not done yet
Original commit message from CVS:
not done yet
2003-12-14 17:28:47 +00:00
Thomas Vander Stichele
c7045abb3b trademark protection
Original commit message from CVS:
trademark protection
2003-12-14 17:13:29 +00:00
Julien Moutte
e0a0ff019c Adding a test app for libgstplay. It is a command line player.
Original commit message from CVS:
Adding a test app for libgstplay. It is a command line player.
2003-12-14 16:59:09 +00:00
Thomas Vander Stichele
47d0444174 make pixbuf loader dir configurable
Original commit message from CVS:
make pixbuf loader dir configurable
2003-12-14 16:51:39 +00:00
Christian Schaller
03b62d947f fix build wrt to autoplug test
Original commit message from CVS:
fix build wrt to autoplug test
2003-12-13 20:13:14 +00:00
Ronald S. Bultje
7625bd81d9 This is a first attempt at a wrapper for the lib'ified mpeg2enc of mjpegtools. Currently, there's a few release candi...
Original commit message from CVS:
This is a first attempt at a wrapper for the lib'ified mpeg2enc of
mjpegtools. Currently, there's a few release candidates for mjpegtools-1.6.2
available, but no stable version yet.
I've made 4 small subclasses to wrap input, output, options and generic
encoding model. The last .cc file is the GStreamer plugin element.

Note that it doesn't actually work yet, I'm doing something wrong with
header parsing and Andrew asked me to commit so he could help debugging
that. Apart from that, we should soon be able to make top-quality MPEG
encodes! :).

mpeg2enc licensing is tricky, btw, I don't even want to start discussing
that...
2003-12-11 21:07:25 +00:00
Christophe Fergeau
e37e791edd Committed fix for #128893 (properly detect too old libfaad installations)
Original commit message from CVS:
Committed fix for #128893 (properly detect too old libfaad installations)
2003-12-09 15:23:08 +00:00
Julien Moutte
c58758c843 Adding a new plugin: switch.
Original commit message from CVS:
Adding a new plugin: switch.

It takes N input and only has 1 output. You can "switch" the forwarded input through properties ("nb_sources", "active_source") and i will probably add tuner interface support soon.

It should be able to handle any kind of data passing through it.

It is still a work in progress don't consider it usable for production yet.
2003-12-08 20:01:00 +00:00
Ronald S. Bultje
45aff4bc9c Fix v4l detection (it requires X, but X is detected after v4l, so this needed to be swapped). Also add X requirement ...
Original commit message from CVS:
Fix v4l detection (it requires X, but X is detected after v4l, so this needed to be swapped). Also add X requirement to v4l2
2003-12-07 11:51:06 +00:00
Andy Wingo
e46d34995d remove copyright field from plugins
Original commit message from CVS:
remove copyright field from plugins
2003-12-04 10:37:38 +00:00
Thomas Vander Stichele
256a0bfc35 fix X dependencies
Original commit message from CVS:
fix X dependencies
2003-12-03 12:49:29 +00:00
Thomas Vander Stichele
b119aedc2f fixing up X test and general features test
Original commit message from CVS:
fixing up X test and general features test
2003-12-03 12:23:37 +00:00
Ronald S. Bultje
689af6c8be Add check for faad2 (faad1 was detected, too, but we don't want that)
Original commit message from CVS:
Add check for faad2 (faad1 was detected, too, but we don't want that)
2003-11-29 22:43:23 +00:00
Leif Johnson
de386a57d9 fixing bug #127984, we require a higher version of the alsa library
Original commit message from CVS:
fixing bug #127984, we require a higher version of the alsa library
2003-11-27 02:02:11 +00:00
Benjamin Otte
d8f78ea4a8 use GDK_PIXBUF_CONFDIR
Original commit message from CVS:
use GDK_PIXBUF_CONFDIR
2003-11-24 23:16:03 +00:00
Benjamin Otte
1c7db040a3 tagging stuff and build fixes. In detail:
Original commit message from CVS:
tagging stuff and build fixes. In detail:
- make gdk-pixbuf loader work when distchecking
- fix invalid syntax in ffmpeg Makefile. wildcards for EXTRA_DIST are not allowed. This broke builds where distdir != srcdir
- fix ffmpeg cvs grabbing when srcdir != distdir
- new id3tag plugin for id3 tag reading/writing (uses mad's libid3tag)
- mad and libid3tag require mad/libid3tag v0.15. Fixed configure to require that
- added ogg demuxer in ext/ogg. The demuxer does not handle events yet. Especially getting seeking right will require some effort or code copying from libvorbis.
- added raw vorbis detection to typefinding. oggdemux requires a typefind function to detect its contents.
- tags plugin in gst/tags. Provides API in <gst/tags/gsttagediting.h>. API includes tag matching GStreamer <=> ID3 and GStreamer <=> vorbis and writing/reading vorbiscomments or ID3v1 tags. Also included is a simple vorbiscomment reader/writer. Writing will not really work though until someone writes oggmux.
- various build fixes. Mostly missing (DIST)CLEANFILES.
- vorbisenc handles tag writing.

Now it's YOUR turn to fix and write more plugins that handle writing/reading of tags. :)
2003-11-24 04:08:47 +00:00
Jeremy Simon
ca3ca2e926 faad plugin needs the math library
Original commit message from CVS:
faad plugin needs the math library
2003-11-23 20:19:09 +00:00
Christian Schaller
fbcc4e0bd7 commit my batch of build and spec fixes
Original commit message from CVS:
commit my batch of build and spec fixes
2003-11-23 15:32:14 +00:00
David Schleef
d9b16783db Fix gdk_pixbuf installation directory (again)
Original commit message from CVS:
Fix gdk_pixbuf installation directory (again)
2003-11-23 00:51:02 +00:00
Ronald S. Bultje
521647fca9 Add faac build
Original commit message from CVS:
Add faac build
2003-11-22 12:40:19 +00:00
David Schleef
723d9baca9 fixes to make gdk_pixbuf loader install nicely
Original commit message from CVS:
fixes to make gdk_pixbuf loader install nicely
2003-11-22 04:10:10 +00:00
Ronald S. Bultje
29e9ebcfda Add C-based local matroska/EBML plugin, remove libmatroska/libebml c++ one
Original commit message from CVS:
Add C-based local matroska/EBML plugin, remove libmatroska/libebml c++ one
2003-11-21 21:34:27 +00:00
Ronald S. Bultje
e21d05a300 New libfaad (MPEG-2/4 AAC decoder) plugin
Original commit message from CVS:
New libfaad (MPEG-2/4 AAC decoder) plugin
2003-11-21 21:20:42 +00:00
Benjamin Otte
e1c1805a38 fix build system for X, XShm and Xv
Original commit message from CVS:
fix build system for X, XShm and Xv
2003-11-12 03:06:07 +00:00
Benjamin Otte
e853c4af2a add -lX11 to X_LIBS so ximagesink builds
Original commit message from CVS:
add -lX11 to X_LIBS so ximagesink builds
2003-11-12 00:13:46 +00:00
Thomas Vander Stichele
c72f2fd4ed test for regular shm instead of XShm
Original commit message from CVS:
test for regular shm instead of XShm
2003-11-11 11:11:36 +00:00
Benjamin Otte
81dab58a85 include macro for defining GST_FUNCTION, so debugging output from plugins gets function names, too
Original commit message from CVS:
include macro for defining GST_FUNCTION, so debugging output from plugins gets function names, too
2003-11-11 03:22:53 +00:00
Thomas Vander Stichele
07d08f2dcc test and define HAVE_XSHM build ximage plugin
Original commit message from CVS:
test and define HAVE_XSHM
build ximage plugin
2003-11-07 00:53:32 +00:00
Steve Baker
9753ca6859 this will make it easier to merge when you have uncommited plugins in your tree
Original commit message from CVS:
this will make it easier to merge when you have uncommited plugins in your tree
2003-11-06 05:36:06 +00:00
Benjamin Otte
8959dd7aed set default errorlevel to NONE. Make configure change it to ERROR (the current value) when running cvs builds. This s...
Original commit message from CVS:
set default errorlevel to NONE. Make configure change it to ERROR (the current value) when running cvs builds. This should make releases not output any debugging information at all
2003-11-06 02:32:42 +00:00
Benjamin Otte
8468a02e24 add initial version of gdkpixbuf loader for gtk that is capable of loading AVI and mpeg videos as GdkPixbufAnimation....
Original commit message from CVS:
add initial version of gdkpixbuf loader for gtk that is capable of loading AVI and mpeg videos as GdkPixbufAnimation. I'm not sure if such a thing would be useful or too much trouble, so I'll throw it at enough testers to figure it out ;) We might want to disable it by defualt though in the future. (Currently there is not even a configure switch implemented to disable it.)
This includes a fix to not use GError in gstgdkpixbuf's typefind function and to only return GST_TYPE_FIND_MINIMUM when doing typefinding via gdk as this breaks quite a bit with the GStreamer loader installed.
2003-11-05 03:24:54 +00:00
David Schleef
b41bb066ff Add -DG_DISABLE_DEPRECATED to $GST_ERROR
Original commit message from CVS:
Add -DG_DISABLE_DEPRECATED to $GST_ERROR
2003-11-03 20:14:03 +00:00
Benjamin Otte
4ac17766c8 first bunch of conversions to new plugin_init. Includes libs/gst, gst/id3, sys/oss, ext/gnomevfs, gst/typefind and ex...
Original commit message from CVS:
first bunch of conversions to new plugin_init. Includes libs/gst, gst/id3, sys/oss, ext/gnomevfs, gst/typefind and ext/mad.
You guessed it, everything Rhythmbox needs ;)
fixed BMP typefind and made gnomevfs one plugin instead of two while doing this
2003-10-31 20:03:30 +00:00
David Schleef
94fc04756e Remove mpeg2enc
Original commit message from CVS:
Remove mpeg2enc
2003-10-30 21:53:43 +00:00
David Schleef
9a8ac54fec Fix makefiles for GstPropertyProbe. Combine all interfaces into a single libgst-interface.
Original commit message from CVS:
Fix makefiles for GstPropertyProbe.  Combine all interfaces into
a single libgst-interface.
2003-10-30 02:36:41 +00:00
Benjamin Otte
c9ae463a4f 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:41 +00:00
Gernot Ziegler
c304cd6e1c added glsink directory
Original commit message from CVS:
added glsink directory
2003-10-28 18:55:07 +00:00
Ronald S. Bultje
5de12607be Update FFMPEG snapshot to this morning's. Asked for by apoc.
Original commit message from CVS:
Update FFMPEG snapshot to this morning's. Asked for by apoc.
2003-10-26 11:51:16 +00:00
David Schleef
ef72754586 bump version to 0.7.1.1
Original commit message from CVS:
bump version to 0.7.1.1
2003-10-20 22:48:06 +00:00
David Schleef
b7e6b334fa bump to 0.7.1
Original commit message from CVS:
bump to 0.7.1
2003-10-20 21:43:57 +00:00
Ronald S. Bultje
862d28a1b7 Some interface implementations for video4linux/video4linux2 plugins: a Tuner interface, with which one can select inp...
Original commit message from CVS:
Some interface implementations for video4linux/video4linux2 plugins:
* a Tuner interface, with which one can select inputs and stations. Audio
work is underway here, but unfinished.
* A Xoverlay interface with which one can do simple overlay. Similar to
the API of the v4l/Xv XFree86 extension. Widget implementation for
GTK-2.0 coming up in the sandbox.
* Colorbalance - for adapting colors (brightness, contrast, etc.) - pretty
basic and maybe somewhat overdesigned. But it'll do for now.

Apart from these interfaces, there's also a loadable library 'xwindowlistener'
that listenes to X for the movement of a window and the overlap of other
windows. This is partly copied from xawtv (and thus partly GPL :(), but it's
needed for the xoverlay interface implementation in the v4l/v4l2 elements.

Lastly, some small changes to remove redundant properties from the v4l/v4l2
elements since these can be done much simpler. Comments appreciated!
2003-10-10 12:47:42 +00:00