Commit graph

25 commits

Author SHA1 Message Date
Nirbheek Chauhan
5da10b4f57 playout: New example for seamless audio/video playback
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
2015-06-12 20:32:25 +01:00
Tim-Philipp Müller
5364e4a2ff Update .gitignore 2015-04-23 16:43:11 +01:00
Sebastian Rasmussen
d2895edf66 .gitignore: Ignore gcov intermediate files
https://bugzilla.gnome.org/show_bug.cgi?id=725481
2014-03-03 00:06:28 +00:00
Tim-Philipp Müller
b54637edc4 .gitignore: ignore new win32 config.h-new 2013-09-03 11:14:43 +01:00
Edward Hervey
8b24d5829b .gitignore: Update for new files to ignore 2013-08-14 13:59:27 +02:00
Tim-Philipp Müller
687bfde5ac tests: ignore new example binaries 2013-07-29 21:24:51 +01:00
Tim-Philipp Müller
97e93f8dd4 examples: ignore new test-uvch264 binary 2013-02-28 20:22:50 +00:00
Olivier Crête
d1023646f9 insertbin: Add bin to dynamically insert elements in a running pipeline
This element automatically links in any element added using it's
action signals. These elements must have a single source pad and a single
sink pad.
2013-01-23 21:13:03 -05:00
Matej Knopp
c6b0da9e1e .gitignore: add visual studio IDE files and OS X .DS_Store files
https://bugzilla.gnome.org/show_bug.cgi?id=667899
2012-05-16 08:11:17 +01:00
Tim-Philipp Müller
7e49dad23b Fix some more variable-set-but-not-used compiler warnings 2011-08-02 22:57:15 +01:00
Tim-Philipp Müller
cc705ed7dc tests: fix distcheck by disting new jack example directory
Also add test binary to ignores.
2010-09-07 00:20:56 +01:00
Tim-Philipp Müller
8486430ee5 0.10.19.3 pre-release 2010-08-11 17:19:57 +01:00
Tim-Philipp Müller
b1240c850a .gitignore: ignore gsettings xml schema file 2010-07-28 18:42:05 +02:00
Tim-Philipp Müller
d9bfa25728 .gitignore: ignore temporary orc files 2010-06-30 18:27:16 +01:00
Tim-Philipp Müller
7516719b72 .gitignore: ignore new shapewipe example binary 2009-05-31 20:24:25 +01:00
Edward Hervey
b4b10701b1 More files to ignore 2009-02-09 11:15:10 +01:00
Jan Schmidt
83ca36e07f Add more to the gitignores 2009-01-23 23:42:28 +00:00
Thomas Vander Stichele
f2afddb8de moap ignore
Original commit message from CVS:
moap ignore
2006-06-11 22:37:07 +00:00
Thomas Vander Stichele
e7d5159d5a ignore more
Original commit message from CVS:
ignore more
2006-04-01 10:16:28 +00:00
David I. Lehn
48f2759130 .cvsignore: Ignore generated file _stdint.h.
Original commit message from CVS:
* .cvsignore:
Ignore generated file _stdint.h.
2004-02-03 09:01:19 +00:00
Thomas Vander Stichele
16c8b080a6 adding files to be ignored
Original commit message from CVS:
adding files to be ignored
2004-02-02 13:03:56 +00:00
David I. Lehn
62cb26e89d exciting .cvsignore updates!
Original commit message from CVS:
exciting .cvsignore updates!
2002-12-31 18:14:08 +00:00
David I. Lehn
9a8329c064 catch the generated versioned .pc files
Original commit message from CVS:
catch the generated versioned .pc files
2002-12-12 09:44:11 +00:00
David I. Lehn
ad8b913f77 add more generated .pc files
Original commit message from CVS:
add more generated .pc files
2002-11-02 05:33:36 +00:00
Andy Wingo
625a9e6eb1 added a bunch of cvsignore stuff off of a fresh checkout and build i will win the race to max LOC changed ;-)
Original commit message from CVS:
added a bunch of cvsignore stuff off of a fresh checkout and build

i will win the race to max LOC changed ;-)
2002-03-25 05:01:00 +00:00