Commit graph

1132 commits

Author SHA1 Message Date
Ronald S. Bultje
e767ac4c48 Some final fixes for the v4lsrc elements. remove software sync thread (use GST_ELEMENT_THREAD_SUGGESTED instead) make...
Original commit message from CVS:
Some final fixes for the v4lsrc elements.

* remove software sync thread (use GST_ELEMENT_THREAD_SUGGESTED instead)
* make all src elements threadsafe
* fix num_buffer argument setting in v4l2src (VIDIOC_S_PARM)
* re-add bufsize (RO) for v4lmjpegsrc
* fix the A/V sync calculation in all elements (spvf=GST_SECOND/fps, not GST_SECOND*fps)
* probably some more crap....

With all this, it actually works quite well. The TODO files describes the
next steps in order to make a full-featured video recorder based on these
elements and GStreamer (bottom). Making a simple recorder should be fairly
easy now, btw.
2003-05-21 06:33:18 +00:00
David Schleef
40998b3018 Fix typo in last checkin
Original commit message from CVS:
Fix typo in last checkin
2003-05-20 21:55:28 +00:00
David Schleef
3a70d95a84 Fix typo (incorrect pointer dereference). Change the magic number for little-endian streams to match with /etc/magic.
Original commit message from CVS:
Fix typo (incorrect pointer dereference).  Change the magic number
for little-endian streams to match with /etc/magic.
2003-05-20 21:19:42 +00:00
David Schleef
4bbccefb68 remove creation of makefile in nonexistent (sys/x11) directory
Original commit message from CVS:
remove creation of makefile in nonexistent (sys/x11) directory
2003-05-19 21:55:11 +00:00
Jeremy Simon
97a0ea7fe6 update libflac check
Original commit message from CVS:
update libflac check
2003-05-19 18:36:53 +00:00
Benjamin Otte
8e3c67b6df make wavparse not segfault when somebody puts data at the end of the file
Original commit message from CVS:
make wavparse not segfault when somebody puts data at the end of the file
2003-05-17 16:09:59 +00:00
Ronald S. Bultje
01d4e568c6 Hm, one more little endian fix
Original commit message from CVS:
Hm, one more little endian fix
2003-05-14 22:04:20 +00:00
Ronald S. Bultje
5a77a54a5a PCM data in AVI is always little endian
Original commit message from CVS:
PCM data in AVI is always little endian
2003-05-14 21:59:18 +00:00
Benjamin Otte
82f3d59000 fixed gst-launch-ext to use new pipelines (bug 111108)
Original commit message from CVS:
fixed gst-launch-ext to use new pipelines (bug 111108)
2003-05-14 00:05:29 +00:00
Ronald S. Bultje
8f25f8971d wavenc supports 8 bits too
Original commit message from CVS:
wavenc supports 8 bits too
2003-05-13 12:26:51 +00:00
Thomas Vander Stichele
453d871f36 fixes 107967
Original commit message from CVS:
fixes 107967
2003-05-12 15:08:49 +00:00
Christian Schaller
8b93fc5c06 Some bugfixes:
Original commit message from CVS:
Some bugfixes:
- Add missing .h file to videoscale disting
- Remove http plugin from build
2003-05-12 13:17:11 +00:00
Ronald S. Bultje
c1097e5080 I'm too lazy to comment this
Original commit message from CVS:
Move wav parser into correct category. Thanks, Ross Burton <r.burton@180sw.com> - #112829
2003-05-12 12:17:40 +00:00
Jeremy Simon
72750b9f25 Oups I forgot gstflacenc.h
Original commit message from CVS:
Oups I forgot gstflacenc.h
2003-05-11 17:19:00 +00:00
Jeremy Simon
7cd177077c _ Change from StreamEncoder to SeekableStreamEncoder _ Add a seek callback to fill STREAMINFO blocks correctly _ Add ...
Original commit message from CVS:
_ Change from StreamEncoder to SeekableStreamEncoder
_ Add a seek callback to fill STREAMINFO blocks correctly
_ Add metadata (vorbis comments)
2003-05-11 17:18:17 +00:00
Thomas Vander Stichele
bc5cced5e1 fixes #112657
Original commit message from CVS:
fixes #112657
2003-05-10 16:57:38 +00:00
Ronald S. Bultje
a3a051705a This implements filtered-caps negotiation for all the v4l*src elements, and removes the accompanying properties since...
Original commit message from CVS:
This implements filtered-caps negotiation for all the v4l*src elements, and removes the accompanying properties since they're no longer needed
2003-05-10 14:36:34 +00:00
Benjamin Otte
d1e45d83b9 properly get rid of clocks on disposal - be parent of own clock
Original commit message from CVS:
properly get rid of clocks on disposal - be parent of own clock
2003-05-10 11:35:59 +00:00
David Schleef
d271f13fd1 remove bashisms
Original commit message from CVS:
remove bashisms
2003-05-09 08:09:38 +00:00
Ronald S. Bultje
2f88880149 See #112579
Original commit message from CVS:
See #112579
2003-05-08 16:07:30 +00:00
David Schleef
8de562cd70 Found more problems. Refix #112329.
Original commit message from CVS:
Found more problems.  Refix #112329.
2003-05-05 21:26:01 +00:00
David Schleef
dc32c94af9 Fix off-by-one allocation problem in gst_aasink_dither_get_type().
Original commit message from CVS:
Fix off-by-one allocation problem in gst_aasink_dither_get_type().
Fixes #112329.
2003-05-05 21:15:08 +00:00
Ronald S. Bultje
cbd4b72d7c Implement element synchronization (#108301)
Original commit message from CVS:
Implement element synchronization (#108301)
2003-05-02 21:16:56 +00:00
Benjamin Otte
98cfd56ea3 bugfixes:
Original commit message from CVS:
bugfixes:
- seek correctly on SEEK_METHOD_END
- don't emit a warning when mp3's in wav's have no width information
- use BYTES format on discontinuous events and omit timestamp when invalid (mp3 anyone?)
2003-04-29 21:54:47 +00:00
Jeremy Simon
bd1013b086 Add metadata (only vorbis comment)
Original commit message from CVS:
Add metadata (only vorbis comment)
2003-04-27 12:00:41 +00:00
Benjamin Otte
4f40d61f7c fixes:
Original commit message from CVS:
fixes:
- wrong type of 0
- only write data into buffer if buffer is big enough
- write data into a buffer which we actually may write
2003-04-26 01:55:53 +00:00
Christian Schaller
422fd7c1f3 Removing avifile and http plugins, also fixing some disting issues
Original commit message from CVS:
Removing avifile and http plugins, also fixing some disting issues
2003-04-23 19:42:11 +00:00
Ronald S. Bultje
7172747bf7 Added corresponding divx/xvid decoders and fixed some first-hand encoder bugs
Original commit message from CVS:
Added corresponding divx/xvid decoders and fixed some first-hand encoder bugs
2003-04-22 14:55:09 +00:00
Ronald S. Bultje
f514af0295 Adds divx/xvid encoders. divx encoder is based on divx4linux (commercial, closed-source)
Original commit message from CVS:
Adds divx/xvid encoders.
* divx encoder is based on divx4linux (commercial, closed-source)
* xvid encoder is based on xvidcore (http://www.xvid.org/, GPL - Christian? ;) )

Both use a GstCaps that doesn't conform with what we currently use, I might fix that later on or so. For now, it doesn't matter, it's just a test. We're also missing corresponding decoders (ffmpeg can decoded this too, but that's not the point), these might come later too.
2003-04-21 21:54:26 +00:00
David Schleef
a8c67e6c9e Fix compilation errors
Original commit message from CVS:
Fix compilation errors
2003-04-16 07:23:02 +00:00
Benjamin Otte
f49ab8e25e we do not destroy anything anymore. Not even unwanted pads
Original commit message from CVS:
we do not destroy anything anymore. Not even unwanted pads
2003-04-15 17:11:42 +00:00
Benjamin Otte
fe00dae6d4 added support for alaw/mulaw audio - yes, I have alaw encoded AVIs here
Original commit message from CVS:
added support for alaw/mulaw audio - yes, I have alaw encoded AVIs here
2003-04-14 02:18:46 +00:00
Benjamin Otte
06c7783da2 Added initial version of audioconvert, a generic converter of integer audio/raw formats.
Original commit message from CVS:
Added initial version of audioconvert, a generic converter of integer audio/raw formats.
It currently supports conversion of
- channels (mono/stereo only, until someone tells me how to mix other channels)
- endianness (little/bi endian)
- signedness
- width (8, 1, 24 and 32 bits)
- depth (1 - width bits)
missing:
- enough testing (I intend to write a testsuite for this, but that's pending)
- samplerate conversion
- other goodies like format conversion etc
Expect bugs when using it.

problems this should solve:
- encoding wav files on big endian machines
- goom working with mono audio files in gst-player
- Iain's soundcard (that one is a problem in itself)
- complaints about missing conversion
- too many age old, nearly unmaintained plugins (stereo2mono etc.)
Have fun.
2003-04-14 01:19:11 +00:00
David Schleef
4088af940a Change autoconf_2.52d_check to 2_52 to make bash happy
Original commit message from CVS:
Change autoconf_2.52d_check to 2_52 to make bash happy
2003-04-13 20:13:58 +00:00
Wim Taymans
533d9c6860 - handle mono audio too
Original commit message from CVS:
- handle mono audio too
- better caps negotiation
- goom_close() in dispose
2003-04-13 18:40:34 +00:00
Ronald S. Bultje
a1c77f33ab Update dvdnav plugin to latest version
Original commit message from CVS:
Update dvdnav plugin to latest version
2003-04-13 11:24:54 +00:00
Benjamin Otte
f3f29fbb98 fixes to wavparse:
Original commit message from CVS:
fixes to wavparse:
- endianness is G_LITTLE_ENDIAN and not G_BYTE_ORDER
- support the law formats
- error out on unknown format, don't try to go on (fixes #110516)
- check buffer size before typefinding
2003-04-11 21:52:18 +00:00
Ronald S. Bultje
82d791c335 This one needs to be adapted too
Original commit message from CVS:
This one needs to be adapted too
2003-04-07 22:02:55 +00:00
Ronald S. Bultje
2977ffd8cc Port some changes from 0.6.0/0.6.1 back to HEAD (.pc files moved to pkg-config/, .m4 file moved from plugins to core)
Original commit message from CVS:
Port some changes from 0.6.0/0.6.1 back to HEAD (.pc files moved to pkg-config/, .m4 file moved from plugins to core)
2003-04-07 21:34:28 +00:00
David Schleef
bb9387fde2 Convert some of the broken fourcc printing to GST_FOURCC_FORMAT
Original commit message from CVS:
Convert some of the broken fourcc printing to GST_FOURCC_FORMAT
2003-04-07 20:47:29 +00:00
David Schleef
af874cb250 Fix a bunch of endianness conversions that were done as long instead of int32. Should go into 0.6.1.
Original commit message from CVS:

Fix a bunch of endianness conversions that were done as long instead of
int32.  Should go into 0.6.1.
2003-04-07 18:43:20 +00:00
Ronald S. Bultje
a1fa51068b Fixup for bug 109797 and 109094
Original commit message from CVS:
Fixup for bug 109797 and 109094
2003-04-06 22:20:42 +00:00
Wim Taymans
edf080d727 - Better state change function
Original commit message from CVS:
- Better state change function
- fail when negotiation was not performed
- removed properties that are implied by caps
- only open device in negotiation
2003-04-06 13:04:20 +00:00
David Schleef
24cdffaf18 Fix the QCAM detection. (Correctly, this time.) Should go into 0.6.1
Original commit message from CVS:
Fix the QCAM detection.  (Correctly, this time.)  Should go into 0.6.1
2003-04-05 20:09:05 +00:00
David Schleef
f42b10da50 Correct fix for #109048. Disable qcamsrc plugin if non-i386.
Original commit message from CVS:
Correct fix for #109048.  Disable qcamsrc plugin if non-i386.
2003-04-04 22:22:15 +00:00
Ronald S. Bultje
cb0e1dd5d8 I'm too lazy to comment this
Original commit message from CVS:
Fix #106709 - waiting for approval in 0.6.1 - patch thanks to Peter N Lundblad <lundblad@linux.nu>
2003-04-04 21:02:18 +00:00
Ronald S. Bultje
8307214acf implement clocking set clock counter back to zero on ready->paused move open/close to ready/null instead of paused/re...
Original commit message from CVS:
* implement clocking
* set clock counter back to zero on ready->paused
* move open/close to ready/null instead of paused/ready.
* add random typos
2003-03-30 21:19:08 +00:00
Julien Moutte
74fc60e9c8 Added gst_gconf function to render visualisation plugin from GConf key "default/visualisation"
Original commit message from CVS:
Added gst_gconf function to render visualisation plugin from GConf key "default/visualisation"
Enjoyed that commit to document those functions and remove commented functions
2003-03-29 19:48:38 +00:00
Benjamin Otte
3999f7ce09 wav is little endian
Original commit message from CVS:
wav is little endian
2003-03-25 20:12:20 +00:00
Benjamin Otte
51b189fe1e I bet you didn't try if the fix worked, BBB ;)
Original commit message from CVS:
I bet you didn't try if the fix worked, BBB ;)
Fixed it the right way now.
2003-03-24 04:06:08 +00:00