summaryrefslogtreecommitdiff
path: root/gst/transcode
Commit message (Collapse)AuthorAgeFilesLines
* Use gst_element_request_pad_simple...François Laignel2021-05-052-2/+2
| | | | | | Instead of the deprecated gst_element_get_request_pad. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2180>
* gst-plugins: allow per feature registrationStéphane Cerveau2021-04-116-28/+135
| | | | | | | | | | | | | Split plugin into features including dynamic types which can be indiviually registered during a static build. More details here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2110>
* transcodebin: Minor error message enhancementThibault Saunier2020-11-301-3/+7
|
* transcodebin: Unlock while setting decodebin capsThibault Saunier2020-11-301-0/+4
| | | | Otherwise it will deadlock recursing up to notify parent object property changes
* transcodebin: Avoid plugin converter if filter handles ANY capsThibault Saunier2020-11-301-5/+31
| | | | | | For example identity or clocksync or this kind of elements can be used with any data flow and we should not enforce decoding to row in that case.
* transcodebin: Add filter as soon as it is setThibault Saunier2020-11-301-1/+3
| | | | | | | | Instead of waiting so that we can simply use a clocksync element as filter, otherwise we won't know the pipeline is live as it won't return NO_PREROLL as one would expect in that case. Adding it right away shouldn't create any issue, both ways are fine.
* uritranscodebin: Add `setup-source` and `element-setup` signalsThibault Saunier2020-11-301-0/+59
| | | | The same way as playbinX does it as it is often quite useful
* transcode: Port to encodebin2Thibault Saunier2020-11-302-64/+182
| | | | This allows supporting muxing sinks like hlssink2 or splitmux
* transcodebin: Create the decodebin in _initThibault Saunier2020-10-291-66/+72
| | | | | | This way user can request pads right from the beginning Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1151>
* transcodebin: Accept more than one streamPhilippe Normand2020-10-291-4/+15
| | | | | | | | Look-up the stream matching the given ID also after building the stream list from the received collection. Without this change the transcoder would discard the second incoming stream. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1151>
* transcodebin: Port to decodebin3Thibault Saunier2020-10-292-42/+311
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1151>
* uritranscodebin: Move to using a urisourcebin for our source.Thibault Saunier2020-10-291-31/+60
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1151>
* rtmp, transcodebin: fix i18n header includesTim-Philipp Müller2020-07-072-3/+3
| | | | | | Fixes #1351 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1416>
* transcodebin: fix caps NULL unrefGuillaume Desmottes2020-04-161-1/+1
| | | | gst_pad_get_current_caps() can return a NULL pointer which was raisin a CRITICAL.
* transcodebin: Avoid elements name duplicationThibault Saunier2020-03-051-2/+2
| | | | By just letting GStreamer choose a good name
* transcodebin: add converters before filtersGuillaume Desmottes2020-03-041-8/+53
| | | | | | | User doesn't have any guarantee about the actual raw format decodebin will produce so their filters may or may not fit. Fix #1228
* transcodebin: fix logs when failing to link filterGuillaume Desmottes2020-03-041-3/+4
| | | | | | | - Display caps of the pad we actually tried to link. - Use the template caps as the filter is likely to not have any caps set yet. - Log pad name as well.
* transcodebin: mark properties as GST_PARAM_MUTABLE_READYGuillaume Desmottes2020-02-281-4/+8
| | | | | They are all used in the READY to PAUSED transition so should not be changed after.
* transcodebin: force decoding if a filter is definedGuillaume Desmottes2020-02-281-5/+21
| | | | | | | | Filter operates on raw data so don't allow decodebin to produce encoded data if one is defined. My use case here is keeping the video stream untouched but apply a filter on the audio one, while keeping the same audio format.
* transcodebin: logs when inserting, or not, a filterGuillaume Desmottes2020-02-281-9/+22
| | | | | It's not easy atm to figure out from the logs if a filter has actually be inserted or not.
* transcodebin: consider 'any' as no restrictionGuillaume Desmottes2020-02-261-1/+1
| | | | | gstreamer-rs set 'any' as default restriction which actually means 'no restriction' so handle it as the absence of restriction.
* transcodebin: fix caps leakGuillaume Desmottes2020-02-261-3/+5
| | | | encodecaps was leaked if the profile has restrictions.
* Import GstTranscoderSaunier Thibault2019-08-286-0/+1500