mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
5e2214d309
Implement 2 new elements - splitmuxsink and splitmuxsrc. splitmuxsink is a bin which wraps a muxer and takes 1 video stream, plus audio/subtitle streams, and starts a new file whenever necessary to avoid overrunning a threshold of either bytes or time. New files are started at a keyframe, and corresponding audio and subtitle streams are split at packet boundaries to match video GOP timestamps. splitmuxsrc is a corresponding source element which handles the splitmux:// URL and plays back all component files, reconstructing the original elementary streams as it goes.
46 lines
1.8 KiB
Makefile
46 lines
1.8 KiB
Makefile
|
|
plugin_LTLIBRARIES = libgstmultifile.la
|
|
|
|
libgstmultifile_la_SOURCES = \
|
|
gstmultifilesink.c \
|
|
gstmultifilesrc.c \
|
|
gstmultifile.c \
|
|
gstsplitfilesrc.c \
|
|
gstsplitmuxsink.c \
|
|
gstsplitmuxpartreader.c \
|
|
gstsplitmuxsrc.c \
|
|
gstsplitutils.c \
|
|
patternspec.c
|
|
libgstmultifile_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS)
|
|
libgstmultifile_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_API_VERSION@ $(GST_BASE_LIBS) $(GST_LIBS) $(GIO_LIBS)
|
|
libgstmultifile_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstmultifile_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
|
|
|
noinst_HEADERS = gstmultifilesrc.h gstmultifilesink.h gstsplitfilesrc.h gstsplitmuxsink.h \
|
|
gstsplitmuxsrc.h gstsplitmuxpartreader.h gstsplitutils.h patternspec.h
|
|
|
|
noinst_PROGRAMS = test-splitmux-part-reader
|
|
|
|
test_splitmux_part_reader_SOURCES = \
|
|
test-splitmuxpartreader.c \
|
|
gstsplitmuxpartreader.c \
|
|
gstsplitmuxsrc.c \
|
|
gstsplitutils.c \
|
|
patternspec.c
|
|
test_splitmux_part_reader_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS)
|
|
test_splitmux_part_reader_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_API_VERSION@ $(GST_BASE_LIBS) $(GST_LIBS) $(GIO_LIBS)
|
|
test_splitmux_part_reader_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
Android.mk: Makefile.am $(BUILT_SOURCES)
|
|
androgenizer \
|
|
-:PROJECT libgstmultifile -:SHARED libgstmultifile \
|
|
-:TAGS eng debug \
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
|
-:SOURCES $(libgstmultifile_la_SOURCES) \
|
|
-:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstmultifile_la_CFLAGS) \
|
|
-:LDFLAGS $(libgstmultifile_la_LDFLAGS) \
|
|
$(libgstmultifile_la_LIBADD) \
|
|
-ldl \
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
|
LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
|
|
> $@
|