gstreamer/gst
Sanchayan Maity 248d2bb795 audiobuffersplit: Add support for specifying output buffer size
Currently for buffer splitting only output duration can be specified.
Allow specifying a buffer size in bytes for splitting.

Consider a use case of the below pipeline
appsrc ! rptL16pay ! capsfilter ! rtpbin ! udpsink

Maintaining MTU for RTP transfer is desirable but in a scenario
where the buffers being pushed to appsrc do not adhere to this,
an audiobuffersplit element placed between appsrc and rtpL16pay
with output buffer size specified considering the MTU can help
mitigate this.

While rtpL16pay already has a MTU setting, in case of where an
incoming buffer has a size close to MTU, for eg. with a MTU of
1280, a buffer of size 1276 bytes would be split into two buffers,
one of 1268 and other of 8 bytes considering RTP header size of
12 bytes. Putting audiobuffersplit between appsrc and rtpL16pay
can take care of this.

While buffer duration could still be used being able to specify
the size in bytes is helpful here.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1578>
2020-09-21 15:17:18 +00:00
..
accurip remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
adpcmdec Remove autotools build system 2019-10-14 13:54:27 +01:00
adpcmenc plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
aiff Remove autotools build system 2019-10-14 13:54:27 +01:00
asfmux asfmux: consistent sscanf args usage 2020-05-21 20:37:49 +00:00
audiobuffersplit audiobuffersplit: Add support for specifying output buffer size 2020-09-21 15:17:18 +00:00
audiofxbad docs: fix element names in section headers 2020-07-10 19:22:29 +00:00
audiolatency Remove autotools build system 2019-10-14 13:54:27 +01:00
audiomixmatrix plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
audiovisualizers plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
autoconvert gstautoconvert.c: fix clang warnings 2020-08-04 11:37:52 +00:00
bayer meson: add update-orc-dist target 2020-07-04 15:05:23 +01:00
camerabin2 docs: fix element names in section headers 2020-07-10 19:22:29 +00:00
coloreffects plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
debugutils docs: fix element names in section headers 2020-07-10 19:22:29 +00:00
dvbsubenc dvbsubenc: Add DVB Subtitle encoder 2020-06-17 12:50:13 +10:00
dvbsuboverlay documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
dvdspu documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
faceoverlay Remove autotools build system 2019-10-14 13:54:27 +01:00
festival documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
fieldanalysis meson: add update-orc-dist target 2020-07-04 15:05:23 +01:00
freeverb Remove autotools build system 2019-10-14 13:54:27 +01:00
frei0r documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gaudieffects meson: add update-orc-dist target 2020-07-04 15:05:23 +01:00
gdp Remove autotools build system 2019-10-14 13:54:27 +01:00
geometrictransform docs: mark more types as plugin API 2020-06-23 12:10:17 -04:00
id3tag documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
inter docs: fix element names in section headers 2020-07-10 19:22:29 +00:00
interlace interlace: Make caps writable before modifying them 2020-06-25 16:05:39 +03:00
ivfparse documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
ivtc docs: fix element names in section headers 2020-07-10 19:22:29 +00:00
jp2kdecimator docs: fix element names in section headers 2020-07-10 19:22:29 +00:00
jpegformat documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
librfb bad: use of g_value_dup_string 2019-12-30 14:13:03 +00:00
midi Remove autotools build system 2019-10-14 13:54:27 +01:00
mpegdemux mpegdemux: Add ignore-scr property to ignore broken SCR 2020-03-11 21:06:20 +09:00
mpegpsmux documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
mpegtsdemux tsdemux: Parse Audio Preselection Descriptor 2020-09-14 06:27:07 +00:00
mpegtsmux mpegtsmux: Make handling of sinkpads thread-safe 2020-09-09 02:25:40 +00:00
mxf mxfvanc: document new sink pad template 2020-06-25 06:59:18 +00:00
netsim plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
onvif onviftimestamp: Add missing break in set_property() 2020-05-10 11:17:19 +03:00
pcapparse documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
pnm documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
proxy proxysink: event_function needs to handle the event when it is disconnecetd from proxysrc 2020-08-13 14:21:05 +00:00
rawparse plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
removesilence documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
rist ristsrc: drop stream-start & eos messages posted from the internal udp sink(s) 2020-07-29 13:20:28 +00:00
rtmp2 rtmp2: Replace stats queue with stats lock 2020-09-09 06:34:51 +00:00
rtp rtpsrc: drop stream-start & eos messages posted from the internal udp sink(s) 2020-07-29 13:20:28 +00:00
sdp sdpdemux: fix klocwork issues 2020-05-21 15:14:32 +00:00
segmentclip docs: mark more types as plugin API 2020-06-23 12:10:17 -04:00
siren Remove autotools build system 2019-10-14 13:54:27 +01:00
smooth Remove autotools build system 2019-10-14 13:54:27 +01:00
speed Remove autotools build system 2019-10-14 13:54:27 +01:00
subenc Remove autotools build system 2019-10-14 13:54:27 +01:00
switchbin switchbin: Free path objects on finalize 2019-11-13 10:15:32 +00:00
timecode plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:40:42 +02:00
transcode rtmp, transcodebin: fix i18n header includes 2020-07-07 19:55:00 +01:00
videofilters docs: fix element names in section headers 2020-07-10 19:22:29 +00:00
videoframe_audiolevel Remove autotools build system 2019-10-14 13:54:27 +01:00
videoparsers h265parse: recognize more HEVC extension streams 2020-09-16 16:51:45 +00:00
videosignal Remove autotools build system 2019-10-14 13:54:27 +01:00
vmnc remove various useless linefeed in logs 2019-12-11 10:51:29 +01:00
y4m docs: fix element names in section headers 2020-07-10 19:22:29 +00:00
meson.build dvbsubenc: Add DVB Subtitle encoder 2020-06-17 12:50:13 +10:00