Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2020-09-10v4l2object: plug memory-leakHavard Graff
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/718>
2020-08-12v4l2h264codec: Map newly defined profile/levelsNicolas Dufresne
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/697>
2020-08-12v4l2: Sync headers with kernel 5.9Nicolas Dufresne
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/697>
2020-08-11v4l2: use GstV4l2Error in gst_v4l2_open()Víctor Manuel Jáquez Leal
gst_v4l2_open() is called by gst_v4l2_device_provider_probe_device(), where the GstV4l2Object is created without an associated GstElement. If gst_v4l2_open() fails, it raises a bus message, but without an element, a precondition check fails on gst_element_message_full_with_details() generating a crash if running with fatal-warnings debug mode. GstV4l2Error is a helper to raise error bus messages when it is appropiated. This patch changes the direct bus messages to this helper, and the elements will actually send the error message. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/694>
2020-07-24rpicamsrc: hypothetical fix for data pointer calculationTim-Philipp Müller
mmal buffer header docs say data is valid for length bytes from offset. In practice offset always seems to be 0 so far though. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/682>
2020-07-24rpicamsrc: mark buffers as header and keyframe/delta-unitTim-Philipp Müller
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/682>
2020-07-24rpicamsrc: fix nal alignment of output buffersTim-Philipp Müller
We claim output buffers are nal-aligned, but that wasn't actually true: We would push out a partial nal in case the nal doesn't fit into the max encoder-selected output buffer size, and then the next buffer would not start with a sync marker. That's not right and makes h264parse unhappy. Instead accumulate buffers until we have a full frame (we can't rely on the NAL_END flag, it's always set). Fixes #768 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/682>
2020-07-23rpicamsrc: fix "Could not find component vc.ril.camera" on recent raspiosTim-Philipp Müller
Make extra sure all the required mmal libs such as libmmal_vc_client.so actually get linked and stay linked. Otherwise the above error happens it seems. buster (10.4) with meson 0.55 and pi ref 2020-05-27 pi-gen, 825107f04027269db77426046f5085475b1ea22f, stage5 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/682>
2020-07-23rpicamsrc: deviceprovider: hook up i18n properlyTim-Philipp Müller
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/682>
2020-07-23rpicamsrc: deviceprovider: advertise (M)JPEG as wellTim-Philipp Müller
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/682>
2020-07-23rpicamsrc: deviceprovider: also advertise constrained-baseline profileTim-Philipp Müller
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/682>
2020-07-22v4l2: enhance v4l2 control interface to support string type CIDHaihua Hu
add string type cid support for v4l2 implementation Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/676>
2020-07-10rpicamsrc: fix build with older meson versionsTim-Philipp Müller
assert() used to require two arguments. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/668>
2020-07-10rpicamsrc: flesh out docs and add to plugin docs cacheTim-Philipp Müller
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/667>
2020-07-10rpicamsrc: enable video orientation/direction unconditionallyTim-Philipp Müller
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/667>
2020-07-10rpicamsrc: remove mkenums template files which are no longer neededTim-Philipp Müller
They were still being used by the autotools build, but that's gone. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/667>
2020-07-10rpicamsrc: fix indentationTim-Philipp Müller
Not touching the Raspi* files. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/667>
2020-07-10rpicamsrc: fix and silence some compiler warningsTim-Philipp Müller
Some are in system headers, and in Raspi files we want to keep modifications to a minimum. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/667>
2020-07-10rpicamsrc: hook up to buildTim-Philipp Müller
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/667>
2020-07-10Merge branch 'plugin-move-rpicamsrc'Tim-Philipp Müller
Move rpicamsrc from https://github.com/thaytan/gst-rpicamsrc/ It's a useful little element and works well, so might as well make sure it's widely available so people can stop piping raspivid output into fdsrc. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/667>
2020-07-10rpicamsrc: sync autotools with glib-mkenum usage in meson buildTim-Philipp Müller
2020-07-10rpicamsrc: meson: use gnome.glib_mkenums_simple() and fix build as Meson ↵Tim-Philipp Müller
subproject While at it also fix up the type defines, e.g. GST_RPI_CAM_TYPE_RPI_CAM_SRC_EXPOSURE_MODE -> GST_RPI_CAM_SRC_TYPE_EXPOSURE_MODE
2020-07-10rpicamsrc: meson: drop map file and fix plugin symbol export with newer ↵Tim-Philipp Müller
gstreamer versions Use -fvisibility instead of a map file for symbol export, so that the right symbols get exported with newer gstreamer versions. Older GStreamer versions also still work of course. Fixes blacklisting/plugin-loading issues with GStreamer >= 1.14 Fixes https://github.com/thaytan/gst-rpicamsrc/issues/984, closes https://github.com/thaytan/gst-rpicamsrc/issues/94 and https://github.com/thaytan/gst-rpicamsrc/issues/67
2020-07-10rpicamsrc: Attempt to workaround MMAL timeout bugJan Schmidt
mmal_queue_timedwait() might spuriously return immediately if called at exactly the wrong instant due to an internal off-by-one bug. Attempt to work around that and just retry.
2020-07-10rpicamsrc: Improve timeout errorJan Schmidt
Propagate timeout errors so they're not reported generically
2020-07-10rpicamsrc: Don't destroy the camera component on startup errorJan Schmidt
Just disable the camera component when it fails to start. The most common reason is that the camera device is already in use, and if we just disable the mmal component correct cleanup will happen later
2020-07-10rpicamsrc: Expose constrained-baseline profileJan Schmidt
constrained-baseline is a useful profile for streaming to iOS devices, and seems to work in the firmware, so let's publish it
2020-07-10rpicamsrc: Add define and increase reported maximum FPS from 90 to 1000Jan Schmidt
2020-07-10rpicamsrc: Expand frame timeout from 100ms to 500msJan Schmidt
rpicamsrc on a normal rpi camera doesn't start up fast enough, and always fails the new 100ms timeout. A better solution might be to have a longer timeout for the first frame, but shorter once frames are running - but this quick fix will at least make rpicamsrc work again.
2020-07-10rpicamsrc: RaspiCapture: use mmal_queue_timedwait() for buffer queueingGeorgii Staroselskii
If an external camera was disconnected, there were no feedback in an application. It seems reasonable to wait on mmal_queue no longer than 100ms. If it's stuck we just return a FLOW_ERROR and let the application decide what to do later.
2020-07-10rpicamsrc: RaspiCapture: handle MMAL_EVENT_ERRORGeorgii Staroselskii
2020-07-10rpicamsrc: Implement use-stc property to disable STC timestampsJan Schmidt
If use-stc=false, then rpicamsrc won't apply the camera timestamping to outgoing buffers, instead relying on real-time timestamping by the GStreamer clock. It means slightly less accuracy and more jitter in timestamps, but might help on some CSI inputs with broken timestamping.
2020-07-10rpicamsrc: Fix the descriptions of text annotation colour propertiesJan Schmidt
The text annotation colour properties take an integer value corresponding to a VUY colour, not a text string like the copy-pasted description from raspivid suggests. Fixes https://github.com/thaytan/gst-rpicamsrc/issues/59
2020-07-10rpicamsrc: Implement dynamic bitrate updateJan Schmidt
Use mmal_port_set_parameter_uint32 to update the encoder bitrate. Fixes https://github.com/thaytan/gst-rpicamsrc/issues/60
2020-07-10rpicamsrc: Set outgoing buffer durations based on negotiated framerate.Jan Schmidt
make sure outgoing buffers have at least some duration set, otherwise it leads to strange situations, like qtmux writing out a file that doesn't include the final frame inside the playable segment, because no-duration = 0 duration there.
2020-07-10rpicamsrc: Destroy mmal pool on shutdown always.Jan Schmidt
Avoid hangs on the next run because we didn't clean up the mmal pool last time we shutdown.
2020-07-10rpicamsrc: Switch back to MJPEG codec for image/jpegJan Schmidt
The JPEG codec hangs, not sure why yet. The MJPEG codec doesn't provide a quality setting, and sometimes freezes on shutdown, but otherwise seems more reliable
2020-07-10rpicamsrc: Don't try and set H264 params with JPEG codecJan Schmidt
2020-07-10rpicamsrc: First attempt at implementing MJPEG and raw video supportJan Schmidt
2020-07-10rpicamsrc: Add experimental build using the Meson build systemTim-Philipp Müller
Builds in about 10 seconds vs. 77 seconds with autotools.
2020-07-10rpicamsrc: Implement GstVideoDirection interfaceXabier Rodriguez Calvar
Instead of implementing a custom property, we implement that interface.
2020-07-10rpicamsrc: MMAL gives buffers with nal alignment, not AUJan Schmidt
Fix the output caps, our buffers are not AU aligned, since the SPS / PPS are given in separate packets at the start.
2020-07-10rpicamsrc: Create orientation propertyXabier Rodriguez Calvar
Its behavior and choices are analog to the ones present in [gl]videoflip for the method property.
2020-07-10rpicamsrc: basesrc event handlers should not unrefJan Schmidt
Don't unref the passed event when handling events via the GstBaseSrc src pad event handler - basesrc does the unref. That breaks handling of upstream force-key-unit events by unreffing twice. Fixes https://github.com/thaytan/gst-rpicamsrc/issues/43
2020-07-10rpicamsrc: Add property getters for preview window position.Jan Schmidt
Add the lines in get_property() for the preview-x/y/w/h properties so the values can be retrieved without causing critical warnings. Fixes https://github.com/thaytan/gst-rpicamsrc/issues/42
2020-07-10rpicamsrc: Add preview-x/y/w/h propertiesJan Schmidt
Expose properties for setting the position of the preview window on the screen
2020-07-10rpicamsrc: Add properties for configuring annotation text size and colour.Jan Schmidt
Map the raspivid setting for annotation text size and colours to properties.
2020-07-10rpicamsrc: Changed awb-gain-blue use the correct enum PROP_AWB_GAIN_BLUE and ↵ibauer
not PROP_AWB_GAIN_RED
2020-07-10rpicamsrc: Fix buffer PTS calculationJan Schmidt
Timestamps from MMAL are in microseconds, so make sure to convert to nanoseconds before using them to adjust the GStreamer buffer time
2020-07-10rpicamsrc: Basic orientation interface supportPhilippe Normand
The (h,v)flip attributes are now supported through this interface. It should also be possible to support (h,v)center attributes using the ROI properties.