mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
5da10b4f57
An example app that takes video URIs as command line arguments and switches between them seamlessly one after the other using compositor and audiomixer. Both audio-video and video-only media files are valid inputs, but mixing files of both types in a single invocation is cumbersome to support, and hence does not work. The example attempts to keep the audio stream moving along perfectly, and duplicates video frames where necessary to cover gaps in the video timestamps using the 'ignore-eos' videoaggregator pad property. Ensuring seamless (and mostly-glitch-free) switching is harder than it sounds, and hence the example contains plenty of pad probes and running time calculations to make things work. The GPtrArray play_queue contains items that are being played back, have been prepared for playback, and will be played back in the future. The queue itself is mutable besides the first two items (playing and prepared). The item that has been prepared should not be edited or removed since it has been prepared in advance to be activated immediately on the current item's EOS. The example also has support for switching to the next item in the queue prematurely; see the --switch-after/-s flag to the application. Note: the output video is hard-coded at 1280x720, and input video is scaled as needed to fit this size. Set OUTPUT_VIDEO_WIDTH/HEIGHT to change this. https://bugzilla.gnome.org/show_bug.cgi?id=748947
75 lines
1.1 KiB
Text
75 lines
1.1 KiB
Text
aclocal.m4
|
|
autom4te.cache
|
|
config.h
|
|
config.h.in
|
|
config.log
|
|
config.status
|
|
config.guess
|
|
config.sub
|
|
config.rpath
|
|
configure
|
|
gst-plugins-bad.spec
|
|
gstreamer-libs-uninstalled*.pc
|
|
gstreamer-libs*.pc
|
|
gstreamer-play-uninstalled*.pc
|
|
gstreamer-play*.pc
|
|
libtool
|
|
stamp-h
|
|
stamp-h.in
|
|
stamp-h1
|
|
gst-element-check-*.m4
|
|
ltmain.sh
|
|
missing
|
|
mkinstalldirs
|
|
compile
|
|
install-sh
|
|
depcomp
|
|
autoregen.sh
|
|
ABOUT-NLS
|
|
/INSTALL
|
|
_stdint.h
|
|
gst-plugins-bad-*.tar.*
|
|
|
|
.deps
|
|
.libs
|
|
.dirstamp
|
|
*.lo
|
|
*.la
|
|
*.o
|
|
*~
|
|
/m4
|
|
Makefile.in
|
|
Makefile
|
|
*.gir
|
|
*.typelib
|
|
*.gc??
|
|
|
|
tmp-orc.c
|
|
gst*orc.h
|
|
|
|
/ext/gsettings/org.freedesktop.gstreamer.default-elements.gschema.xml
|
|
/ext/gsettings/org.freedesktop.gstreamer-0.10.default-elements.gschema.valid
|
|
/ext/gsettings/org.freedesktop.gstreamer-0.10.default-elements.gschema.xml
|
|
|
|
/tests/check/orc
|
|
/tests/examples/shapewipe/shapewipe-example
|
|
/tests/examples/jack/jack_client
|
|
/tests/examples/opencv/gstmotioncells_dynamic_test
|
|
/tests/examples/uvch264/test-uvch264
|
|
/tests/examples/mpegts/tsparser
|
|
/tests/examples/opencv/gsthanddetect_test
|
|
/tests/examples/playout
|
|
|
|
Build
|
|
*.user
|
|
*.suo
|
|
*.ipch
|
|
*.sdf
|
|
*.opensdf
|
|
*.DS_Store
|
|
|
|
/test-driver
|
|
*.log
|
|
*.trs
|
|
|
|
/win32/common/config.h-new
|