Commit graph

177 commits

Author SHA1 Message Date
Ronald S. Bultje
ead7233a5e 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:33 +00:00
Benjamin Otte
c9e2afbe42 fixes for ASF:
Original commit message from CVS:
fixes for ASF:
- merge asfdemux and asfmux into one plugin
- make gstasf a plugin and not a lib (it accidently was one before)
2003-12-19 02:39:38 +00:00
Ronald S. Bultje
0dd9705d85 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.
2003-12-18 09:31:50 +00:00
Ronald S. Bultje
e065aa572e More riff stuff that I forgot to commit first
Original commit message from CVS:
More riff stuff that I forgot to commit first
2003-12-07 23:05:58 +00:00
Ronald S. Bultje
77db559306 Riff, EBML, fourcc etc. work. Not fully finished, but better than what we used to have and definately worth a first b...
Original commit message from CVS:
Riff, EBML, fourcc etc. work. Not fully finished, but better than
what we used to have and definately worth a first broad testing.

I've revived rifflib. Rifflib used to be a bytestream-for-riff, which
just dup'ed bytestream. I've rewritten rifflib to be a modern riff-
chunk parser that uses bytestream fully, plus adds some extra functions
so that riff file parsing becomes extremely easy. It also contains some
small usability functions for strh/strf and metadata parsing. Note that
it doesn't use the new tagging yet, that's a TODO.

Avidemux has been rewritten to use this. I think we all agreed that
avidemux was pretty much a big mess, which is because it used all
sort of bytestream magic all around the place. It was just ugly.
This is a lot nicer, very complete and safe. I think this is far more
robust than what the old avidemux could ever have been. Of course, it
might contain bugs, please let me know.

EBML writing has also been implemented. This is useful for matroska.
I'm intending to modify avidemux (with a riffwriter) similarly. Maybe
I'll change wavparse/-enc too to use rifflib.

Lastly, several plugins have been modified to use rifflib's fourcc
parsing instead of their own. this puts fourcc parsing in one central
place, which should make it a lot simpler to add new fourccs. We might
want to move this to its own lib instead of rifflib.

Enjoy!
2003-12-07 20:00:33 +00:00
Andy Wingo
dbf9d697eb remove copyright field from plugins
Original commit message from CVS:
remove copyright field from plugins
2003-12-04 10:37:35 +00:00
Benjamin Otte
14b7f6edf3 fix crasher
Original commit message from CVS:
fix crasher
2003-12-03 02:45:13 +00:00
David Schleef
c7759cfe11 Change everyone to video/x-msvideo
Original commit message from CVS:
Change everyone to video/x-msvideo
2003-11-27 21:48:40 +00:00
Benjamin Otte
4495848883 add a rank to allow autoplugging
Original commit message from CVS:
add a rank to allow autoplugging
2003-11-24 15:25:22 +00:00
Leif Johnson
b71ed5aa7d + checking in plugin category changes
Original commit message from CVS:
+ checking in plugin category changes
2003-11-16 22:02:04 +00:00
Ronald S. Bultje
d83b5ad120 Oh no, we didn't break all plugins. Identity kept on working just fine.
Original commit message from CVS:
Oh no, we didn't break all plugins. Identity kept on working just fine.
2003-11-09 13:50:19 +00:00
Ronald S. Bultje
2081f9ad65 Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...
Original commit message from CVS:
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-11-07 12:46:51 +00:00
David Schleef
6ba330fbec add config.h
Original commit message from CVS:
add config.h
2003-11-06 22:16:19 +00:00
Jeremy Simon
9bd3716cd3 Read the stream specific data (if needed) when there is no audio correction error
Original commit message from CVS:
Read the stream specific data (if needed) when there is no audio correction error
2003-11-06 13:16:24 +00:00
Jeremy Simon
93493a1033 Handle the audio extradata
Original commit message from CVS:
Handle the audio extradata
Compute the 2 flags for ffmpeg wma codecs
2003-11-05 23:14:52 +00:00
Jeremy Simon
0c042596fe Update Correction GUID
Original commit message from CVS:
Update Correction GUID
Update some field name
2003-11-05 23:08:32 +00:00
Benjamin Otte
d7388d3864 do not set a rank or the autoplugger will use it
Original commit message from CVS:
do not set a rank or the autoplugger will use it
2003-11-04 22:35:37 +00:00
Benjamin Otte
02a374443e fix for new plugin system
Original commit message from CVS:
fix for new plugin system
2003-11-02 22:13:29 +00:00
Ronald S. Bultje
6f09b6c966 Realmedia streams can now be demuxed again, too
Original commit message from CVS:
Realmedia streams can now be demuxed again, too
2003-11-02 21:52:09 +00:00
Ronald S. Bultje
d71c0d2065 MPEG system streams work too, now
Original commit message from CVS:
MPEG system streams work too, now
2003-11-02 21:22:09 +00:00
Ronald S. Bultje
2869025b0a Whaaaaaaaaaaaaaaaaaaaaaack
Original commit message from CVS:
Whaaaaaaaaaaaaaaaaaaaaaack
2003-11-02 21:10:18 +00:00
Iain Holmes
32ec751c90 gstasfmux - updated for new changes
Original commit message from CVS:
gstasfmux - updated for new changes
2003-11-01 11:35:26 +00:00
Iain Holmes
5c66bb81bd Update demux for the new changes
Original commit message from CVS:
Update demux for the new changes
2003-11-01 11:28:53 +00:00
David Schleef
29fac961e0 switch to using new plugin init system
Original commit message from CVS:
switch to using new plugin init system
2003-11-01 01:11:05 +00:00
David Schleef
ec3c196db4 change gst/bytestream.h to gst/bytestream/bytestream.h
Original commit message from CVS:
change gst/bytestream.h to gst/bytestream/bytestream.h
2003-10-29 03:15:55 +00:00
Benjamin Otte
97bf62c74f 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
Jeremy Simon
23a756b6c8 The sample rate property needs 'sample_rate' not 'byte_rate'
Original commit message from CVS:
The sample rate property needs 'sample_rate' not 'byte_rate'
2003-10-26 13:55:13 +00:00
Ronald S. Bultje
87c829fb48 Fix ASF demuxing. It works for me now, but I only tested it on one file. Please continue testing.
Original commit message from CVS:
Fix ASF demuxing. It works for me now, but I only tested it on one file. Please continue testing.
2003-10-09 09:06:04 +00:00
Andy Wingo
6300f2611c /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-10-08 16:08:10 +00:00
David Schleef
02aca4e525 Fix endianness problems in caps. Fixes #124006
Original commit message from CVS:
Fix endianness problems in caps.  Fixes #124006
2003-10-07 18:52:16 +00:00
Ronald S. Bultje
0ea59b7a7b New typefind system: bytestream is now part of the core all plugins have been modified to use this new typefind syste...
Original commit message from CVS:
New typefind system:
* bytestream is now part of the core
* all plugins have been modified to use this new typefind system
* asf typefinding added
* mpeg video stream typefiding removed because it's broken
* duplicate typefind entries removed
* extra id3 typefinding added, because we've seen 4 types of files
(riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs
to work. Instead, I've added an id3 element and let it redo typefiding
after the id3 header. this needs a hack because spider only typefinds
once. We can remove this hack once spider supports multiple typefinds.
* with all this, mp3 typefinding is semi-rewritten
* id3 typefinding in flac/vorbis is removed, it's no longer needed
* fixed spider and gst-typefind to use this, too.
* Other general cleanups
2003-10-01 13:14:51 +00:00
Thomas Vander Stichele
e78672327e reverting error patch before making a branch.
Original commit message from CVS:
reverting error patch before making a branch.
2003-09-16 10:00:00 +00:00
Benjamin Otte
fde31ee83f converted gst_element_error to new format in gst/ - gettext pending
Original commit message from CVS:
converted gst_element_error to new format in gst/ - gettext pending
2003-09-15 00:34:47 +00:00
Ronald S. Bultje
2108c249bb Add mpegversion(1) to the caps
Original commit message from CVS:
Add mpegversion(1) to the caps
2003-09-12 11:39:52 +00:00
David Schleef
f402dffda4 Remove all locally-defined optimization flags
Original commit message from CVS:
Remove all locally-defined optimization flags
2003-09-11 19:57:59 +00:00
Ronald S. Bultje
90fd8e7b0d I lied. Streaming does work.
Original commit message from CVS:
I lied. Streaming does work.
2003-09-09 20:01:31 +00:00
Ronald S. Bultje
65442f491b and stream doesnt work yet, but it should be close now. Local playback works
Original commit message from CVS:
Well, separated the stream from the RTP bits... RTP is disabled for now (will work on that long-term), and stream doesnt work yet, but it should be close now. Local playback works
2003-09-09 19:36:11 +00:00
Ronald S. Bultje
7742e4797f Fix compile warning due to integer overflow on what should be a 64bit uint
Original commit message from CVS:
Fix compile warning due to integer overflow on what should be a 64bit uint
2003-09-01 12:06:06 +00:00
Ronald S. Bultje
1931927f08 ASF muxer, largely based on ffmpeg's one, but well-integrated in GStreamer. Demuxer still needs work.
Original commit message from CVS:
ASF muxer, largely based on ffmpeg's one, but well-integrated in GStreamer. Demuxer still needs work.
2003-08-26 19:28:20 +00:00
Ronald S. Bultje
0ba3f63b39 I'm too lazy to comment this
Original commit message from CVS:
Fix mpeg version identification bug. The field is 2 bits, not 4, which causes mpegs to sometimes be identified as mpeg1 while it was mpeg2. See #119372. Fix by <meiker@upb.de>
2003-08-13 21:15:03 +00:00
David Schleef
141645bc32 Remove redundant plugindir definition
Original commit message from CVS:
Remove redundant plugindir definition
2003-08-10 00:01:58 +00:00
Ronald S. Bultje
fabfd43f53 Fix weird leftovers from the old mimetype era and also implement duration support
Original commit message from CVS:
Fix weird leftovers from the old mimetype era and also implement duration support
2003-07-29 19:57:11 +00:00
Jan Schmidt
9ce42abf61 Make sure caps are fixed when creating a new video pad
Original commit message from CVS:
Make sure caps are fixed when creating a new video pad
2003-07-28 14:56:01 +00:00
Jan Schmidt
e4da6de082 Merged the 2 video_%02d pad templates, since no plugin should have 2 pad templates with the same name.
Original commit message from CVS:
Merged the 2 video_%02d pad templates, since no plugin should have 2 pad
templates with the same name.

Added caps for the subtitle pad as a quickfix to stop it calling
try_set_caps with NULL caps
2003-07-28 13:24:16 +00:00
Ronald S. Bultje
cbaec5cb87 Mplex apparently creates a private stream with padding 0x00 bytes... This normally triggers gst_pad_try_set_caps(), a...
Original commit message from CVS:
Mplex apparently creates a private stream with padding 0x00 bytes... This normally triggers gst_pad_try_set_caps(), and since our template is NULL, the argument is NULL too, which is invalid... So here's a quickfix
2003-07-26 10:13:30 +00:00
Joshua N. Pritikin
6dc7c1b621 Provide valuable diagnostics for seek events control by the GST_SEEK debug category.
Original commit message from CVS:
Provide valuable diagnostics for seek events control by the GST_SEEK
debug category.
2003-07-25 02:04:01 +00:00
David Schleef
d819df1b4c Add buffer length checks to every typefinding function
Original commit message from CVS:
Add buffer length checks to every typefinding function
2003-07-24 08:49:44 +00:00
Ronald S. Bultje
8ab9120751 Did this ever compile for anyone?
Original commit message from CVS:
Did this ever compile for anyone?
2003-07-15 19:05:30 +00:00
Thomas Vander Stichele
12558a9efb various spec file and build fixes agogo /me kicks ds in a friendly way
Original commit message from CVS:
various spec file and build fixes agogo
/me kicks ds in a friendly way
2003-07-12 12:49:14 +00:00
Benjamin Otte
2e8d2689e3 silence asfdemux
Original commit message from CVS:
silence asfdemux
2003-07-11 02:38:08 +00:00