Jan Schmidt
d78502deb1
splitmuxsink: Don't accumulate more than 2 GOPs
...
Don't allow large amounts of data to queue up - we only need
the GOP we're writing, and the GOP we're accumulating.
2015-06-08 18:58:43 +10:00
George Kiagiadakis
97c03449a4
splitmuxsink: do not access property variable without the object lock, use the local stack copy instead
2015-04-15 13:30:19 +02:00
George Kiagiadakis
1954726328
splitmuxsink: add probe on the multiqueue's sink pad instead of the ghost pad
...
because _release_pad tries to release it from ctx->sinkpad, which is
multiqueue's sink pad, and currently fails because the probe is not
installed there
2015-04-15 13:30:19 +02:00
Vincent Penquerc'h
a862db33b6
splitmuxsink: fix mutex leak
2015-04-09 13:01:23 +01:00
Jan Schmidt
b0ce43cde3
splitmuxsink: Protect property variables with the object lock.
...
Use the object lock instead of the splitmux lock to protect
internal property variables, so they're not locked when
switching to a new file.
https://bugzilla.gnome.org/show_bug.cgi?id=744420
2015-03-07 00:55:47 +11:00
Tim-Philipp Müller
f5b511b42b
multifile: attempt to fix docs build issue on build bot
2015-02-26 19:48:33 +00:00
Luis de Bethencourt
4af5a2b760
splitmuxsin: remove dead code
...
Every instance of goto beach has buf_info equal NULL. Don't check
for a condition that never happens.
CID #1268399
2015-02-16 13:59:17 +00:00
Tim-Philipp Müller
3f5b690e78
splitmuxsink: flag as sink from the start
2015-02-13 20:40:48 +00:00
Tim-Philipp Müller
90badeebad
splitmuxsink: fix example pipeline properly
...
x264enc might not have a max-key-int property, but it
has a key-int-max property...
2015-02-10 16:00:07 +00:00
Luis de Bethencourt
12aa2428e0
splitmux: update example pipeline
...
Element x264enc doesn't have a max-key-int property
2015-02-10 14:56:23 +00:00
Luis de Bethencourt
0373fd8f65
splitmux: fix memory leak
...
If execution goes to the beach in line 981, buf_info goes out of scope without
the memory being free'd. Handle this case.
CID #1268403
2015-02-10 13:33:09 +00:00
Jan Schmidt
8ceb58122e
splitmux: Add unit test for file splitting
...
Add a unit test for file splitting, and fix the leaks in the
splitmuxsink it found
2015-02-07 03:58:30 +11:00
Jan Schmidt
5e2214d309
splitmux: Implement new elements for splitting files at mux level.
...
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.
2015-02-06 04:26:59 +11:00