Commit graph

13578 commits

Author SHA1 Message Date
Wim Taymans 5474532f57 midiparse: always seek back to beginning
We always need to seek back to the beginning because when we do a flushing seek,
we might have lost events downstream.
2013-03-22 13:49:49 +01:00
Wim Taymans 2bd4712efd fluidsynth: fix debug of segment structure 2013-03-22 13:48:26 +01:00
Wim Taymans f5230ab8ec fluidsynth: handle discont 2013-03-22 13:48:03 +01:00
Wim Taymans 803f564013 midiparse: implement seeking
Seek back to 0 for backward seeking and let things run and clip for forwards
seeking.
2013-03-22 12:25:16 +01:00
Wim Taymans 87041064f8 fluidsynth: reset on flush and state change 2013-03-22 12:16:45 +01:00
Wim Taymans d09a72029c fluidsynth: add properties
Add properties.
Try to find a good default soundfont when not specified.
2013-03-22 11:04:10 +01:00
Wim Taymans 30585c8f8e fluidsynth: log midi tick event 2013-03-22 08:54:54 +01:00
Wim Taymans 64498c576b fluidsynth: redirect logging to gst logging functions 2013-03-22 08:54:32 +01:00
Wim Taymans 661989bcb7 midiparse: simplify the callbacks
We only need one callback to send bytes out.
2013-03-21 18:18:29 +01:00
Wim Taymans a6e5a26be2 fluidsynth: improve debug 2013-03-21 18:17:40 +01:00
Wim Taymans 06e06b6159 midiparse: clean up tracks 2013-03-21 17:25:32 +01:00
Wim Taymans 7a14606b51 midiparse: don't leak midi data 2013-03-21 17:16:24 +01:00
Wim Taymans 5256b6bf89 fluidsynth: produce more accurate timestamps 2013-03-21 17:05:36 +01:00
Wim Taymans 15f07e7f12 midiparse: small cleanups in error paths 2013-03-21 16:06:46 +01:00
Wim Taymans adae7f1859 midiparse: duration is max of all track durations 2013-03-21 16:06:46 +01:00
Wim Taymans 7498d104a7 midiparse: fix klass 2013-03-21 16:06:46 +01:00
Sebastian Dröge 2b7446e2d2 opensles: Include string.h for memcpy() 2013-03-21 15:43:50 +01:00
Wim Taymans 5492631d84 midiparse: Update duration
Rework things a bit so that we can run over the midi events and fire callbacks
for each of them. We can then use that for calculating the duration and also for
doing playback.
Only parse as many tracks as specified in the header.
Fix default tempo;
Send MIDI tick events every 10ms
2013-03-21 15:00:16 +01:00
Wim Taymans 76080b78af fluidsynth: add more debug 2013-03-21 14:57:43 +01:00
Wim Taymans 76cd090503 midiparse: handle midi in RIFF 2013-03-21 09:30:41 +01:00
Wim Taymans a093d65310 midiparse: small fixes 2013-03-21 07:21:41 +01:00
Wim Taymans 10cb1a7a3a midi: set rank as marginal
Set the mark to marginal until we implement more features.
2013-03-21 07:21:41 +01:00
Wim Taymans 73824e0ea7 fluidsynth: add fluidsynth midi renderer
Add a fluidsynth element that converts midi events into raw
float samples.
2013-03-21 07:21:41 +01:00
Wim Taymans 235f2a962e midiparse: add basic midi parser
Parses midi files and outputs buffers with midi events.
2013-03-21 07:21:40 +01:00
Tim-Philipp Müller 3af6effcf2 ivtc: fix make dist 2013-03-20 15:29:51 +00:00
Tim-Philipp Müller f479401fd3 Dist hls as well 2013-03-20 15:25:55 +00:00
Tim-Philipp Müller f8bd1fd647 configure: actually build hls plugin 2013-03-20 15:19:15 +00:00
Tim-Philipp Müller d84ef611f0 decklinksink: fix some compiler warnings 2013-03-20 10:49:04 +00:00
David Schleef 160f996c2f combdetect,ivtc: code cleanup 2013-03-19 18:08:53 -07:00
David Schleef 9e7db27966 element-maker: remove sinkpad/srcpad fields
Information is in the base class anyway, plus pad creation was
done incorrectly.
2013-03-19 17:28:16 -07:00
David Schleef db40edff17 combdetect: output progressive video 2013-03-19 16:26:45 -07:00
David Schleef 16091ef422 combdetect: code cleanup 2013-03-19 16:26:45 -07:00
David Schleef f1993545cf combdetect: switch to zebra striping 2013-03-19 16:26:45 -07:00
David Schleef cac6b94922 ivtc: drop early fields 2013-03-19 16:26:45 -07:00
David Schleef 91310bd4c5 ivtc: new inverse telecine filter
This filter converts interlaced content that was originally
telecine'd from 24 fps (or similar) progressive content.  It works
approximately like videorate, but with awareness of interlacing.
It merges neighboring fields in the input interlaced stream with
the goal of minimizing combing artifacts, while keeping the output
framerate constant.  If it cannot avoid combing artifacts, it will
reconstruct the image from a single field.  Note that this filter
does not autodetect the framerate, but will automatically fixate
at 24 fps.
2013-03-19 16:26:45 -07:00
Sebastian Dröge 8f9c2e8e44 egl: Fix some return values in g_return_val_if_fail() 2013-03-19 14:32:30 +01:00
Wim Taymans 66d0d86e78 wildmidi: fix event and query handler
Call the default implementation for unknown events and queries.
Fix event leak.
2013-03-19 13:54:00 +01:00
Alessandro Decina d2d6798087 Make the hls plugin depend on gnutls and move to ext/hls/
gnutls is used to implement AES decryption
2013-03-19 10:54:18 +01:00
Alessandro Decina 5c77ef61ed hlsdemux: use gnutls instead of openssl 2013-03-19 10:26:54 +01:00
Alessandro Decina 7d982d3418 hlsdemux: support encrypted streams 2013-03-19 10:26:54 +01:00
Wim Taymans 4a44dc5ecf port wildmidi
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=696041
2013-03-19 10:15:05 +01:00
Mark Nauwelaerts 52908193b0 decklinksink: obtain class from object 2013-03-18 21:19:15 +01:00
Alessandro Decina 1f177beb33 hlsdemux: fix invalid free() introduced by last commit 2013-03-18 21:03:50 +01:00
Kevin Thornberry 72c5c70b90 mpegtsmux: fix creation of ADTS header for AAC audio in MPEG-TS
https://bugzilla.gnome.org/show_bug.cgi?id=695412
2013-03-18 10:31:51 +00:00
Alessandro Decina 175498434c hlsdemux: parse #EXT-X-KEY tags 2013-03-18 07:34:13 +01:00
Alessandro Decina 4ca7426f2a hlsdemux: factor out URI joining utility 2013-03-18 07:27:51 +01:00
Alessandro Decina cb7ee940d2 hlsdemux: fix URI parsing for absolute fragment paths 2013-03-18 07:02:54 +01:00
Tim-Philipp Müller a2f446fabc decklinksrc: set discont flag on first audio buffer too 2013-03-16 23:32:12 +00:00
Tim-Philipp Müller 929b0bc3e2 decklinksrc: aggregate audio and video flow returns
And pause task in some more cases where we should
pause the task.
2013-03-16 23:30:24 +00:00
Tim-Philipp Müller 5dfc7c4bce decklinksrc: add send_event handler so application can inject EOS event
This is needed to shut down a recording pipeline cleanly.

https://bugzilla.gnome.org/show_bug.cgi?id=680700
2013-03-16 23:17:24 +00:00