Commit graph

479 commits

Author SHA1 Message Date
Matej Knopp
dc7b254805 videoencoder: Add gst_video_encoder_set_min_pts()
For streams with reordered frames this can be used to ensure that there
is enough time to accomodate first DTS, which may be less than first PTS

https://bugzilla.gnome.org/show_bug.cgi?id=740575
2015-06-12 17:17:25 -04:00
Tim-Philipp Müller
5f23fae367 Update .def file for new API 2015-06-12 19:58:34 +01:00
Jan Schmidt
7c1da700c4 video: Add multiview/stereo support
Add flags and enums to support multiview signalling in
GstVideoInfo and GstVideoFrame, and the caps serialisation and
deserialisation.

videoencoder: Copy multiview settings from reference input state

Add gst_video_multiview_* support API and GstVideoMultiviewMeta meta

https://bugzilla.gnome.org/show_bug.cgi?id=611157
2015-06-11 12:05:00 +10:00
Edward Hervey
53c5112b90 win32: Update defs file 2015-06-10 09:59:49 +02:00
Jan Schmidt
8a77ef9398 Update win32 exports 2015-06-09 22:03:56 +10:00
Sebastian Dröge
a2156638d5 Release 1.5.1 2015-06-07 10:04:41 +02:00
Sebastian Dröge
bf5d3bf868 rtcpbuffer: Improve documentation of new functions a bit
Also actually add them to the documentation.
2015-06-05 10:18:21 +02:00
Edward Hervey
3be76663af win32: Update def file for new encoding API 2015-06-02 12:28:19 +02:00
Jan Schmidt
d18aa5b741 video: Make gst_buffer_get_video_meta() a real function, Return lowest id
Instead of returning the first video meta found on a buffer, return the
one with the lowest id (which is usually the same thing, except on
multi-view buffers)
2015-05-30 01:11:47 +10:00
Sebastian Dröge
ec21fa6dea win32: Update exports 2015-05-20 15:41:06 +03:00
Tim-Philipp Müller
a5075a6ba8 win32: update .def file for new API 2015-05-19 19:48:54 +01:00
Mathieu Duponchelle
2e423dd129 discoverer: Add serialization methods.
[API] gst_discoverer_info_to_variant
[API] gst_discoverer_info_from_variant
[API] GstDiscovererSerializeFlags

+ Serializes as a GVariant
+ Adds a test
+ Does not serialize potential GstToc (s)

https://bugzilla.gnome.org/show_bug.cgi?id=748814
2015-05-19 18:48:07 +02:00
Jan Schmidt
bf683b9a6c video: Update win32 exports for new libgstvideo API 2015-05-10 10:51:09 +10:00
Jan Schmidt
14fafc74a3 video-color: Add gst_video_colorimetry_is_equal()
Add a function for comparing the equality of 2 colorimetry
structures.
2015-05-04 13:16:27 +10:00
Tim-Philipp Müller
44e571c5e9 navigation: sprinkle some since markers and add new API to .def file
https://bugzilla.gnome.org/show_bug.cgi?id=747245
2015-04-29 15:30:26 +01:00
Wim Taymans
b3db5883e1 video-info: expose InterlaceMode conversion to/from string
Expose the methods used to convert a GstVideoInterlaceMode to and
from a string.
2015-04-28 12:01:02 +02:00
Edward Hervey
ebf8ea4ed9 win32: Update defs for new API 2015-04-17 11:45:34 +02:00
Wim Taymans
c363ea5e48 defs: update 2015-03-19 13:31:21 +01:00
William Manley
7c10499ecd tcp: Add element socketsrc
`socketsrc` can be considered a source counterpart to `multisocketsink`.
It can be considered a generalization of `tcpclientsrc` and
`tcpserversrc`:  it contains all the logic required to communicate over
the socket but none of the logic for creating the sockets/establishing
the connection in the first place, allowing the user to accomplish this
externally in whatever manner they wish making it applicable to other
types of sockets besides TCP.

This commit essentially copies the implementation directly from
tcpserversrc.  Later patches will tidy the implementation up and
re-implement `tcpclientsrc` and `tcpserversrc` in terms of `socketsrc`.

See https://bugzilla.gnome.org/show_bug.cgi?id=739546
2015-03-13 20:05:00 +01:00
Tim-Philipp Müller
25abb5fd4d install-plugins: add new API to exports .def and to docs
https://bugzilla.gnome.org/show_bug.cgi?id=744465
2015-02-13 22:49:21 +00:00
Wim Taymans
cdd86d025a video-scaler: add 2d scaler
Make a convenience function that combines 2 scalers to perform a 2d
scale. This removes quite a bit of overhead in method calls when doing a
typical scale and it also can reuse a piece of unused memory in the
vertical scaler.
Use the 2d scaler in video-converter and remove the other scalers and
temp memory.
2015-02-11 13:32:25 +01:00
Tim-Philipp Müller
9b4ea3f5dd rtspmessage: add API to add and get custom headers
Add API to add and get custom headers that are not
covered by our header fields enum. This is backwards
compatible in that it will also work for our defined
fields, so if we ever add a new header field to the
enum, get_header_by_name() for the same header string
will still work.

API: gst_rtsp_message_add_header_by_name()
API: gst_rtsp_message_take_header_by_name()
API: gst_rtsp_message_remove_header_by_name()
API: gst_rtsp_message_get_header_by_name()
2015-02-09 17:50:14 +00:00
Wim Taymans
3e576abc54 defs: update 2015-01-28 17:37:35 +01:00
Thiago Santos
36a99922e4 audiodecoder: expose getcaps virtual function
Allows subclasses to do custom caps query replies.

Also exposes the standard caps query handler so subclasses can just
extend on top of it instead of reimplementing the caps query proxying.
2014-12-17 19:15:24 -03:00
Thiago Santos
8085352fb3 videodecoder: expose getcaps virtual function
Allows subclasses to do custom caps query replies.

Also exposes the standard caps query handler so subclasses can just
extend on top of it instead of reimplementing the caps query proxying.

https://bugzilla.gnome.org/show_bug.cgi?id=741263
2014-12-17 19:15:23 -03:00
Wim Taymans
49611eb364 defs: update defs file 2014-12-02 15:23:04 +01:00
Thibault Saunier
72c05d1cbb encodebin: Add a way to disable caps renegotiation for output stream format
In some cases, the user might want the stream outputted by encodebin to
be in the exact same format during all the stream. We should let the
user specify when this is the case. This commit add some API in the
GstEncodingProfile to determine whether the format can be renegotiated
after the encoding started or not.

API:
    gst_encoding_profile_set_allow_dynamic_output
    gst_encoding_profile_get_allow_dynamic_output

https://bugzilla.gnome.org/show_bug.cgi?id=740214
2014-11-28 16:56:32 +01:00
Edward Hervey
f87fc916f6 win32: Update defs file 2014-11-20 15:53:48 +01:00
Wim Taymans
3112335cd6 defs: update defs and docs 2014-11-11 16:19:03 +01:00
Tim-Philipp Müller
969c9bced6 Update libgstvideo.def for resampler -> video_resample renaming 2014-10-30 11:33:17 +00:00
Wim Taymans
90dca4b3dc defs: update defs 2014-10-29 17:14:51 +01:00
Wim Taymans
98c42dc5e4 video: convertor -> converter 2014-09-24 16:19:30 +02:00
Wim Taymans
b2fd20c416 video: move videoconvert code to video library
Move the conversion code used in videoconvert to the video library
and expose a simple but generic API to do arbitrary conversion. It can
currently do colorspace conversion but the plan is to add videoscale to
it as well.

See https://bugzilla.gnome.org/show_bug.cgi?id=732415
2014-09-24 15:59:39 +02:00
Wim Taymans
0c40b83ed4 video-color: add gst_video_color_matrix_get_Kr_Kb()
Move the function to get the color matrix coefficients from
videoconvert to the video library.
2014-09-24 15:59:39 +02:00
Nicola Murino
617f72b526 appsrc: Add push_sample() convenience function for easy appsink -> appsrc use
https://bugzilla.gnome.org/show_bug.cgi?id=728379
2014-09-12 14:07:49 +03:00
Thiago Santos
568ef481c5 gstvideo: add missing entry to win32 .def
gst_video_guess_framerate
2014-08-14 17:22:08 -03:00
Sebastian Dröge
f029448d54 Release 1.4.0 2014-07-19 17:04:57 +02:00
Sebastian Dröge
0c171fbef3 Release 1.3.91 2014-07-11 11:21:29 +02:00
Wim Taymans
b108aad77b mikey: make message and payload mini-objects
Make the MIKEY message and payload objects miniobjects so that they have
a GType and are refcounted.
We can reuse the dispose method to clear our payload objects.
Add some annotations.
Implement a copy function for the MIKEY message.
Fix the unit test.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732589
2014-07-02 15:44:12 +02:00
Sebastian Dröge
ae464e4704 Release 1.3.90 2014-06-28 11:20:44 +02:00
Sebastian Dröge
988f53ed18 Release 1.3.3 2014-06-22 18:07:57 +02:00
Sebastian Dröge
1917400691 Release 1.3.2 2014-05-21 13:06:34 +02:00
Luis de Bethencourt
35f25433f1 win32: Update defs file
commit 622007e7db added the function
gst_discoverer_info_get_missing_elements_installer_details (). It needs to be
added to the defs file.
2014-05-05 23:29:44 -04:00
Sebastian Dröge
68f5350c66 Release 1.3.1 2014-05-03 17:50:10 +02:00
Tim-Philipp Müller
740258acf6 win32: fix export files again
Revert unintended parts of d8a0927930
2014-04-29 10:59:02 +01:00
Christian Fredrik Kalager Schaller
d8a0927930 Add mikey.h file 2014-04-29 11:39:18 +02:00
Wim Taymans
675d0400e1 mikey: Fix the KEMAC payload
The KEMAC payload actually needs to have subpayloads and the key should
go into the KEY_DATA subpayload. Add support for subpayloads and
implement the KEY_DATA payload.
Add some pointers to the conversion functions that allow us to add
encryption and decryption later.
2014-04-04 17:40:58 +02:00
Göran Jönsson
a483e90955 rtspconnection: Added gst_rtsp_watch_set_flushing to list.
Added gst_rtsp_watch_set_flushing to list in file
libgstrtsp.def
2014-04-03 13:30:33 +02:00
Wim Taymans
83888d6b13 mikey: add MIKEY parsing helpers
MIKEY is defined in RFC 3830 and is used to exchange SRTP encryption
parameters between a sender and a receiver in a secure way.
This library implements a subset of the features, enough to implement
RFC 4567, using MIKEY in SDP and RTSP.
2014-03-24 17:12:52 +01:00
Göran Jönsson
0b30fdbfbe rtspconnection: gst_rtsp_watch_wait_backlog
New method that wait until there is room in backlog queue.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725898
2014-03-10 17:28:40 +01:00
Aleix Conchillo Flaqué
e8d58b432e defs: update for new rtspconnection symbols 2014-02-20 20:06:37 +01:00
Sebastian Dröge
87829debe4 videodecoder: Add API to get the currently pending frame size for parsing
https://bugzilla.gnome.org/show_bug.cgi?id=719890
2014-01-18 13:54:22 +01:00
Tim-Philipp Müller
103bb93154 win32: add new API to .def file 2014-01-13 16:29:50 +00:00
Wim Taymans
2d98528af3 defs: update for new symbols 2014-01-07 15:01:14 +01:00
Stefan Sauer
28ce2c4053 riff: remove new parse_ncdt api again
This chunk is avi specific, no need to expose this as public api.
2014-01-05 21:39:52 +01:00
Stefan Sauer
f1c233b625 win32: export new riff api 2014-01-04 22:30:33 +01:00
Sebastian Dröge
5acc099479 videodecoder: Add API to allow subclasses to specify that they needs caps before any buffers 2013-12-05 11:36:54 +01:00
Mark Nauwelaerts
5218956e8b videodecoder: add new API to docs and defs 2013-12-01 12:38:10 +01:00
Sebastian Dröge
4aafc3d39f rtspconnection: Add new API to the docs and .def file 2013-11-01 17:02:22 +01:00
Edward Hervey
99067e86e2 win32: Update defs file 2013-10-02 13:06:03 +02:00
Sreerenj Balachandran
9ffaaddcbe pbutils: Add codec-utility funtions to support H265
https://bugzilla.gnome.org/show_bug.cgi?id=708921
2013-10-02 11:37:39 +02:00
Sebastian Dröge
1867c079bf Release 1.2.0 2013-09-24 14:16:22 +02:00
Sebastian Dröge
e729148b0c Release 1.1.90 2013-09-19 10:49:58 +02:00
Sebastian Dröge
a13f44fb1e Release 1.1.4 2013-08-28 12:41:42 +02:00
Sebastian Dröge
48ecb46241 Release 1.1.3 2013-07-29 13:37:00 +02:00
Changbok Chea
bdbfa45296 appsrc: Add "current-level-bytes" property
https://bugzilla.gnome.org/show_bug.cgi?id=704774
2013-07-26 11:03:08 +02:00
Vincent Penquerc'h
ee088c6b3f codec-utils: add a gst_codec_utils_aac_get_index_from_sample_rate
It maps a sample rate to a well known AAC sample rate index.
2013-07-26 09:24:50 +01:00
Sebastian Dröge
95605a79c9 videometa: Add to the docs and make function names more consistent with others 2013-07-16 10:09:27 +02:00
Sebastian Dröge
96f686fc1f Release 1.1.2 2013-07-11 15:30:23 +02:00
Branko Subasic
71fa8f945b win32: add missing rtp buffer methods 2013-07-10 09:21:42 +02:00
Sebastian Dröge
ff5d3313d4 Release 1.1.1 2013-06-05 18:31:27 +02:00
Sebastian Dröge
5065e76b1c audio: Add gst_audio_info_is_equal() 2013-05-30 23:56:52 +02:00
Wim Taymans
0b933ff87b rtsp: add method to get the TLS connection 2013-05-30 17:31:13 +02:00
Wim Taymans
0c60f0daa4 video-chroma: add chroma resampler
Add functions to up/downsample chroma in horizontal and vertical
directions. These functions work in-placeand are meant to be used on the
input/output of the pack/unpack functions.
2013-05-27 11:05:07 +02:00
Wim Taymans
942bb8226a def: update with new sdp symbols 2013-04-24 13:50:54 +02:00
Jose Antonio Santos Cadenas
ba1e693853 sdp: add boxed type for GstSDPMessage
Also added some tests of this improvement.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697808
2013-04-15 14:27:47 +02:00
Sebastian Dröge
9ce0818c7d decodebin: Don't add a children to a decode group twice
This can happen if a demuxer does not provide fixed caps from the
beginning but only sets them later.
2013-03-30 11:49:42 +01:00
Wim Taymans
c62df3adaa defs: add new methods 2013-03-11 10:49:58 +01:00
Sebastian Dröge
d405dddd50 allocators: Add .def file with all exports 2013-02-19 10:05:38 +01:00
Wim Taymans
cb7a7cd05c video-format: add method to get palette
Make a new method to get the default palette for paletted formats.
2013-02-04 15:06:07 +01:00
Tim-Philipp Müller
f1948e21ae win32: update .def file for new rtsp API 2012-12-23 15:32:02 +00:00
Tim-Philipp Müller
42f971c5eb encoding-profile: add gst_encoding_profile_get_file_extension()
API: gst_encoding_profile_get_file_extension()

https://bugzilla.gnome.org/show_bug.cgi?id=636753
2012-12-23 15:26:59 +00:00
Tim-Philipp Müller
08bd6a2de9 win32: add new encoding profile API to .def file 2012-12-09 22:36:32 +00:00
Tim-Philipp Müller
b72d274fdb win32: update .def for new API 2012-11-30 12:15:48 +00:00
Tim-Philipp Müller
b307bb5782 win32: update .def file for new rtsp API 2012-11-21 20:51:37 +00:00
Sebastian Dröge
15ee41dfc9 discoverer: Add support for getting the stream-id
https://bugzilla.gnome.org/show_bug.cgi?id=654830
2012-11-20 14:57:42 +01:00
Sebastian Dröge
6228872df7 videodecoder: Rename from get_qos_info() to get_qos_proportion()
And only return the proportion. The earliest time already can be
retrieved from get_max_decode_time() and by renaming we allow this
to be more extensible in the future.
2012-11-20 12:08:26 +01:00
Andoni Morales Alastruey
5f55ea1ef3 videodecoder: add getter for QoS proportion and earliest_time
Add a getter for the QoS proportion and earliest_time to help
subclasses do better estimations based on the proportion.

API: gst_video_decoder_get_qos_info()

https://bugzilla.gnome.org/show_bug.cgi?id=687991
2012-11-19 23:57:43 +00:00
Wim Taymans
5607b3a8b7 win32: add new header extension methods 2012-11-06 09:18:54 +01:00
Tim-Philipp Müller
d8b42ae80c Back to feature development 2012-10-25 12:19:46 +01:00
Tim-Philipp Müller
b4772b4c9f Release 1.0.2 2012-10-25 00:54:24 +01:00
Tim-Philipp Müller
dc35816c98 Back to development (bug fixing) 2012-10-07 16:52:27 +01:00
Tim-Philipp Müller
011d299b9f Release 1.0.1 2012-10-07 15:11:10 +01:00
Tim-Philipp Müller
b0baf45355 Back to development (bug fixing) 2012-09-24 16:46:44 +01:00
Tim-Philipp Müller
146ca8e3bf Release 1.0.0 2012-09-24 13:38:11 +01:00
Tim-Philipp Müller
993014c8f5 Release 0.11.99 2012-09-17 17:57:19 +01:00
Tim-Philipp Müller
f7c6aa5abd Release 0.11.94 2012-09-14 02:47:54 +01:00
Stefan Sauer
2fb27fa463 xmptag: migrate to the _full version of the API and drop the _full postfix
Fix up all invocations.
2012-09-12 21:32:04 +02:00
Tim-Philipp Müller
ad3c72c327 win32: add new ringbuffer API to exports file 2012-09-10 21:20:17 +01:00
Tim-Philipp Müller
72edcd33b5 win32: update .def file for video overlay API additions 2012-09-09 18:20:45 +01:00