Commit graph

1997 commits

Author SHA1 Message Date
Sebastian Dröge
b409f71f49 mxf: Start implementing a central UL database and add some helper functions and use them 2009-03-21 10:19:49 +01:00
Sebastian Dröge
a19f0375ec mxfmux: Make sure to include a picture in the edit units when muxing MPEG2/MPEG4 2009-03-21 10:19:49 +01:00
Sebastian Dröge
992caf48ba mxfdemux: Remove accidentially committed g_assert_not_reached() 2009-03-21 10:19:49 +01:00
Sebastian Dröge
c6730cd223 mxf: Add support for muxing/demuxing subsampled YUV formats 2009-03-21 10:19:49 +01:00
Sebastian Dröge
c95ba980b2 mxfdemux: Use correct width/height for stride conversions 2009-03-21 10:19:49 +01:00
Sebastian Dröge
a31498d8d4 mxf: Implement stride transformations for raw video content for muxing and demuxing 2009-03-21 10:19:49 +01:00
Sebastian Dröge
b6bac882f9 mxfdemux: Simplify caps selection by using a lookup table 2009-03-21 10:19:49 +01:00
Sebastian Dröge
9aa16c2ea5 mxfmux: Add initial support for muxing raw picture essence 2009-03-21 10:19:48 +01:00
Sebastian Dröge
3d2f7c9ca0 mxfmux: Only add an essence container UL once to the partition and preface 2009-03-21 10:19:48 +01:00
Sebastian Dröge
1925b8e9f7 mxfdemux: Add support for AYUV and v308 YUV colorspaces 2009-03-21 10:19:48 +01:00
Sebastian Dröge
9fd64eee8d mxfmux: Use the correct edit rate instead of estimating it from the first buffer duration 2009-03-21 10:19:48 +01:00
Sebastian Dröge
6c126cbfdf mxfdemux: Error out directly if pushing a packet downstream failed 2009-03-21 10:19:48 +01:00
Sebastian Dröge
fc70fb1706 mxfmux: Add support for DV/DIF muxing and add framerate, etc to the caps when demuxing DV/DIF content 2009-03-21 10:19:48 +01:00
Sebastian Dröge
266736817d mxfmux: Add some debugging and error out on invalid input data 2009-03-21 10:19:48 +01:00
Sebastian Dröge
57ba515539 deinterlace: Fix uninitialized variable compiler warnings 2009-03-21 10:19:48 +01:00
Sebastian Dröge
c5c155884a mxfmux: Add support for muxing MPEG audio and video 2009-03-21 10:19:48 +01:00
Sebastian Dröge
28e4871217 mxfdemux: Use correct caps type for AC3 audio (audio/x-ac3 instead of audio/ac3) 2009-03-21 10:19:47 +01:00
Sebastian Dröge
654f0627e4 mxfmux: Add support for muxing JPEG2000 code streams 2009-03-21 10:19:47 +01:00
Sebastian Dröge
244c0a4707 mxfmux: Add support for muxing VC-3 (aka DNxHD) video 2009-03-21 10:19:47 +01:00
Sebastian Dröge
60d0dc07bf mxfmux: Add support for muxing A-Law audio 2009-03-21 10:19:47 +01:00
Sebastian Dröge
0a5dc919fb mxfmux: Add support for muxing raw audio 2009-03-21 10:19:47 +01:00
Sebastian Dröge
e50039897b mxf: Add MXF muxer
This muxer currently only supports OP1a and is
probably not yet 100% complying to the standards.
2009-03-21 10:19:47 +01:00
Jan Schmidt
cf4485133b mxfdemux: Fix build on GLib < 2.16 some more 2009-03-18 10:35:43 +00:00
Zaheer Merali
43117a8d86 mxf: Replace g_hash_table_get_values with code working with glib 2.6.
Fixes #575565
2009-03-16 17:33:45 +00:00
Tim-Philipp Müller
7a85af3ce6 xdgmime: make xdg typefinder more conservative
The whole raison d'etre of this typefinder is to help avoid false
positives when used in combination with our main typefinder in
-base. Its task is not really to typefind audio/video files, even
less so given that it detects *MIME* types, not GStreamer media
types. Therefore, if this typefinder detects an audio or video
type, don't even suggest it - our own typefinders are hopefully
better at this and detect the right type of type on top of that,
and even if they're not we really want to know about it and fix
it. Fixes #575157.
2009-03-13 22:53:21 +00:00
Wim Taymans
4bff4266d5 rtpbin: don't return FALSE on seek events
Silently ignore the seek event instead of returning FALSE.
2009-03-13 16:00:21 +01:00
Josep Torra
6cb429eb4f mpegpsdemux: workaround to fix playback of certain malformed clips
Added a workarround to permit play certain malformed clips where first
SCR is greater than last SCR. Fixes bug #454228
2009-03-13 10:07:18 +00:00
Josep Torra
bfdfc069aa mpegdemux: Fixed a bug in the TS scanner. Fixes #574009 2009-03-10 21:18:20 +01:00
Jan Schmidt
81a950ddf8 camerabin: Make the tests pass when the camerabin can't initialise.
The camerabin tests were throwing glib errors and hanging when
gst-plugins-good elements (jpegenc, videocrop) can't found.
2009-03-07 00:31:07 +00:00
Jan Schmidt
4814c3ca87 camerabin: Partly fix distcheck
Don't dist the generated marshal.h header by putting it in the headers
list.
2009-03-07 00:30:23 +00:00
Sebastian Dröge
6b51d475b5 mxfdemux: Store and use the seqnum of the currently running segment everywhere 2009-03-06 17:46:37 +01:00
Sebastian Dröge
424bb07965 mxf: Don't even try to serialize DM frameworks as it will cause an assertion until this is finished 2009-03-06 17:24:03 +01:00
Sebastian Dröge
b5e87b6517 mxf: Don't use NULL GstStructures to prevent warnings
Currently serializing of DM Frameworks is not supported
yet by DMS1 and will give us NULL.
2009-03-05 14:40:57 +01:00
Tim-Philipp Müller
3cfe16cc63 photography: declare interface as unstable API by means of a warning
Application developers won't know right away which module an interface comes from,
and may assume that it is covered by the usual GStreamer API guarantees, so make
it as clear as possible that this particular API is still subject to change
(should have done that with other libraries in -bad before too really).
2009-03-04 21:30:30 +00:00
Tim-Philipp Müller
c23834eab3 valve: rename plugin file from libfsvalve.* to libgstvalve.*
If you're running things uninstalled, you might need to manually
remove the registry to get the plugin's features to show up
correctly. Also, you probably want to do a make clean to get rid
of the old plugin file.
2009-03-04 20:41:10 +00:00
Edward Hervey
6a91eb2f48 gsreal: bring down the rank of the real decoders to MARGINAL.
Basically, at this point, the ffmpeg equivalent decoders perform way
better, so we'll make the ffmpeg equivalents PRIMARY and these
MARGINAL.
2009-03-04 20:02:04 +01:00
Josep Torra
ff1a6b4b22 mpegtsdemux: reset sync_lut_len to 0 on READY to NULL 2009-03-04 18:16:31 +00:00
Sebastian Pölsterl
12ac5763f9 mpegtsparse: fix memleak
Fix memleak in mpegts_packetizer_clear where MpegTSPacketizerStream is
not freed properly when using foreach_stream_clear function.
2009-03-03 19:08:28 +00:00
Josep Torra
84860befdf mpegtsdemux: dynamically adjust the sync LUT table
Make the sync LUT table adjusted dynamically according to the size
of scanned data. Fixes demuxing buffers of any size.
2009-03-03 18:28:10 +00:00
Olivier Crête
b02708a2f6 autoconvert: Import fsselector from gst-plugins-farsight as autoconvert
fsselector is too close to selector, so import is as autoconvert. Not importing
the history because the directory is also called gst/selector and it fails.
2009-03-03 18:53:11 +01:00
Edward Hervey
1068a40d6d qtmux: Be a bit more verbose in our debug message when failing to renegotiate 2009-03-03 10:12:34 +01:00
Sebastian Dröge
62dbf4b9bc mxfdemux: Use arrays instead of lists for the metadata registries 2009-03-02 17:00:41 +01:00
Sebastian Dröge
f429818589 xdgmime: Reduce probability to POSSIBLE 2009-03-02 16:29:01 +01:00
Sebastian Dröge
de61b45025 xdgmime: Add locking to the xdg_mime_* calls as it's not thread-safe 2009-03-02 16:27:55 +01:00
Sebastian Dröge
f957ee0aeb xdgmime: Use g_pattern_match_simple() instead of fnmatch() for Win32 compatibility 2009-03-01 20:18:30 +01:00
LRN
e571138ef6 xdgmime: Fix unused variable compiler warning 2009-03-01 20:13:31 +01:00
Sebastian Dröge
8c4584aa56 xdgmime: Don't warn if we have no MMAP support 2009-03-01 20:12:12 +01:00
Sebastian Dröge
39850d674e xdgmime: Use g_ntoh[ls] instead of the non-GLib functions for Win32 compatibility 2009-03-01 20:11:07 +01:00
Sebastian Dröge
b30926428d xdgmime: Use G_BYTE_ORDER instead of relying on LITTLE_ENDIAN to be defined 2009-03-01 20:09:24 +01:00
Tim-Philipp Müller
96a42c80d9 realdec: use gst_plugin_add_dependency() 2009-03-01 00:03:50 +00:00
Sebastian Dröge
ed72bba6a2 mxf: Fix memory leak
gst_structure_id_set() will copy GstStructures instead of taking
the ownership.
2009-02-28 20:42:49 +01:00
Sebastian Dröge
b5b2e44563 mxf: Store the metadata type ID inside the class structure 2009-02-28 20:39:42 +01:00
vanista
38dd0f6410 mpegtsdemux: Fix memory leaks when PUSI is missed due to packet loss
Fixes bug #573288.
2009-02-28 19:41:10 +01:00
Edward Hervey
38d3b76d1b nsf: Don't write further than the limits of the table (size is 75, as defined in the header)
gcc 4.3.3 found this one, I'm impressed.
2009-02-28 11:43:56 +01:00
Andrzej Polatyński
22a9d7577f videoanalyse: Fix brightness calculation to not only use the first rowstride
Fixes bug #573391.
2009-02-27 20:44:20 +01:00
Michael Smith
c0ad05cec4 mpeg4videoparse: Use correct values for checking VO startcode.
Fix compiler warning due to condition always being true - since we're
only looking at the final byte of the startcode (not the leading
0x000001), only check for < 0x1f, not < 0x11f
2009-02-27 11:36:58 -08:00
Sebastian Dröge
546bfbecb8 xdgmime: Use empty caps for registering the typefinders with old core versions
core before 0.10.22.1 produced assertions when storing typefind factories
with NULL caps in the registry.
2009-02-27 20:21:23 +01:00
Wim Taymans
41b65b421b mpeg4videoparse: handle more formats
We only need a Video Object Start code before we can start pushing out data.
Search for this code also instead of only looking for VOS and VOP.
Fixes #572551.
2009-02-27 13:08:15 +01:00
Stefan Kost
fab9dfa5d0 camerabin: rework signaling and tests
Revert the GString change. There are no marshallers for it. A better change is
now described in http://bugzilla.gnome.org/show_bug.cgi?id=573370.
Test should work again.
2009-02-27 12:35:14 +02:00
Stefan Kost
5f2d5aa5a5 baseparse: revert last change and properly fix
Baseparse internaly breaks the semantics of a _chain function by calling it with
buffer==NULL. The reson I belived it was okay to remove it was that there is
also an unchecked access to buffer later in _chain. Actually that code is wrong,
as it most probably wants to set discont on the outgoing buffer.
2009-02-27 12:27:14 +02:00
David Schleef
becb7fd02c Add v210 format 2009-02-26 12:49:03 -08:00
David Schleef
0964c00d2b Fix incorrect "pixel_aspect_ratio" in caps
Should be "pixel-aspect-ratio".
2009-02-26 12:49:03 -08:00
Olivier Crête
8961f43ec8 gstrtpbin: Don't forward revc events to sender
Don't send events from the receiver to the sender side.
Fixes #572900.
2009-02-26 13:10:29 +01:00
Stefan Kost
68cb1a84de baseparse: remove checks for buffer==NULL
Accordifn to docs for GstPadChainFunction buffer cannot be NULL. If we would
leave the check, we would also need more such check below.
2009-02-26 11:05:31 +02:00
Stefan Kost
53f975f63c docs: various doc fixes
No short-desc as we have them in the element details.
Also keep things (Makefile.am and sections.txt) sorted.
Reword ambigous returns. No text after since please.
2009-02-25 12:42:36 +02:00
Wim Taymans
9a0e1e0dca mpegdemux: don't ignore GstFlowReturn values
don't ignore the return value of pull_range because we only get a valid non-NULL
buffer when the return value is GST_FLOW_OK. Avoids a crash when the pipeline is
shutting down.
2009-02-25 11:34:45 +01:00
Stefan Kost
518d98899e camerabin: update signal marshaller and docs
Use GString instead of GPointer for the marshaller as this is what the callback uses.
Slightly reformat docs.
2009-02-25 11:41:36 +02:00
Lasse Laukkanen
c81bce2b21 camerabin: unblock correct pad in reset, support fakesink as view finder 2009-02-25 10:45:19 +02:00
Sebastian Dröge
ab1c576ec2 xdgmime: Add new typefinder based on xdgmime
This typefinder is mostly useful to filter out any false positives
by the other typefinders like the usual Word document misdetected as
MP3 file.
2009-02-24 15:26:27 +01:00
Edward Hervey
c2c1941ffc liveadder: Fix build on macosx 2009-02-23 15:25:03 +01:00
Lasse Laukkanen
bde8707b65 camerabin: Add aspect ratio capsfilter for view finder
If dealing with larger frame sizes than view finder sink element
accepts then maintain aspect ratio when scaling frames to fit.
2009-02-23 14:20:13 +02:00
Lasse Laukkanen
24d99bbe56 camerabin: Scale incoming frames if their size does not match requested size
If capture preparation in videosrc results in frame size different
from requested size, then we need to scale them.
2009-02-23 14:20:12 +02:00
Edward Hervey
6227900c71 dccp: Fix "non-void without return value" compilation issue. 2009-02-22 22:00:58 +01:00
Andoni Morales
7992233522 camerabin: Fix compilation on Windows with Visual Studio
Windows doesn't have strcasecmp so we should use
g_ascii_strcasecmp here instead.

Also Windows doesn't have sys/time.h so we first
need to check if it actually exists and if not
we should not include it.

Fixes bug #572315.
2009-02-22 18:41:08 +01:00
Olivier Crête
00a155333c Moved rtpmux from gst-p-farsight to -bad 2009-02-21 17:50:35 +01:00
Olivier Crête
ad4d98d70c Re-indent to Gst style 2009-02-21 17:48:57 +01:00
Olivier Crête
fe071273c4 [MOVED FROM GST-P-FARSIGHT] Document rtp muxer a bit 2009-02-21 17:48:57 +01:00
Laurent Glayal
0bff57a395 [MOVED FROM GST-P-FARSIGHT] Add signals before stream lock and after unlocking 2009-02-21 17:48:57 +01:00
Olivier Crête
a34534df79 [MOVED FROM GST-P-FARSIGHT] Let ssrc through getcaps 2009-02-21 17:48:57 +01:00
Olivier Crête
2c83849849 [MOVED FROM GST-P-FARSIGHT] Rename have_base to have_ts_base 2009-02-21 17:48:57 +01:00
Olivier Crête
7a222b560e [MOVED FROM GST-P-FARSIGHT] Protect the seqnum with object lock in rtpmux 2009-02-21 17:48:57 +01:00
Olivier Crête
d0c7c0fc6c [MOVED FROM GST-P-FARSIGHT] Remove unused sink_ts_base 2009-02-21 17:48:57 +01:00
Olivier Crête
f5a8eb59af [MOVED FROM GST-P-FARSIGHT] Have getcaps to force the same clockrate on all pads 2009-02-21 17:48:57 +01:00
Olivier Crête
44b6071bd7 [MOVED FROM GST-P-FARSIGHT] Validate RTP data in RTP Mux 2009-02-21 17:48:56 +01:00
Olivier Crête
4bfd3b4561 [MOVED FROM GST-P-FARSIGHT] Remove unused clock-rate property 2009-02-21 17:48:56 +01:00
Olivier Crête
10f623547f [MOVED FROM GST-P-FARSIGHT] Clarify locking in rtpdtmfmux 2009-02-21 17:48:56 +01:00
Laurent Glayal
31ba19c159 [MOVED FROM GST-P-FARSIGHT] Missing format parameter 2009-02-21 17:48:56 +01:00
Olivier Crête
a68ed1d223 [MOVED FROM GST-P-FARSIGHT] Remove .git-darcs-dir files 2009-02-21 17:48:56 +01:00
Håvard Graff
d5f589c82f [MOVED FROM GST-P-FARSIGHT] Update seqnum base in rtp muxer
With help from Wim
2009-02-21 17:48:56 +01:00
Håvard Graff
272f888d9c [MOVED FROM GST-P-FARSIGHT] Fix some more leaks 2009-02-21 17:48:56 +01:00
Håvard Graff
4749d03a1d [MOVED FROM GST-P-FARSIGHT] Fix leak 2009-02-21 17:48:56 +01:00
Olivier Crête
363861fac6 [MOVED FROM GST-P-FARSIGHT] Don't unref caps we don't know (thanks Wim) 2009-02-21 17:48:55 +01:00
Olivier Crête
9609426eda [MOVED FROM GST-P-FARSIGHT] Put per-buffer debug at level LOG 2009-02-21 17:48:55 +01:00
Olivier Crête
95ea8a98fb [MOVED FROM GST-P-FARSIGHT] Make debug print accurate 2009-02-21 17:48:55 +01:00
Olivier Crête
498635f9b1 [MOVED FROM GST-P-FARSIGHT] Set our caps on the buffers 2009-02-21 17:48:55 +01:00
Olivier Crête
fed3e1c5e8 [MOVED FROM GST-P-FARSIGHT] Take the clock-base stored from the last setcaps 2009-02-21 17:48:55 +01:00
Olivier Crête
1875f490c5 [MOVED FROM GST-P-FARSIGHT] Store the clock-base on setcaps 2009-02-21 17:48:55 +01:00
Olivier Crête
963cec9458 [MOVED FROM GST-P-FARSIGHT] Add padprivate to the request pads 2009-02-21 17:48:55 +01:00
Olivier Crête
4e110b544f [MOVED FROM GST-P-FARSIGHT] Remove whitespace in gstrtpmux 2009-02-21 17:48:55 +01:00
Olivier Crête
b2f71c2401 [MOVED FROM GST-P-FARSIGHT] Make indentation more correct 2009-02-21 17:48:54 +01:00