Mark Nauwelaerts
b175d1cbc4
flvmux: properly determine final duration
...
... which can be authoratively obtained from our own written timestamps.
2011-12-19 17:45:07 +01:00
Mark Nauwelaerts
fa5c02b211
flvmux: only write full metadata at start
...
... rather than having (potentially) unnecessary duplicates written all over,
or even contradictory varying filesize info, or duration info that will not
be rewritten upon header rewrite.
2011-12-19 17:45:04 +01:00
Mark Nauwelaerts
8c32195d51
flvmux: use GstCollectPads2 buffer callback and running time clipper
...
... since the default collection heuristics suffice.
2011-12-19 17:45:01 +01:00
Mark Nauwelaerts
0c7a491a6f
qtmux: use GstCollectPads2 buffer callback and running time clipper
...
... since default collection heuristics suffice.
2011-12-19 17:44:57 +01:00
Mark Nauwelaerts
f06d741633
matroskamux: bring a few debug statements up to specs
...
... and minor spelling fix.
2011-12-19 17:44:55 +01:00
Mark Nauwelaerts
0626724262
matroskamux: additional subtitle support
2011-12-19 17:44:52 +01:00
Mark Nauwelaerts
0845a3718a
matroskamux: additional buffer handling cleanup
2011-12-19 17:44:43 +01:00
Mark Nauwelaerts
7723d64a73
matroskamux: use GstCollectPads2 buffer callback and running time clipper
2011-12-19 17:44:41 +01:00
Vincent Penquerc'h
16a4c596eb
aacparse: parse LOAS variant
...
The LOAS variant seems to have three different subvariants itself,
only one of them is implemented as my two samples happen to be
using that one.
The sample rate is not always reported correctly, as the "main"
sample rate is apparently sometimes half what it should be (both
of my samples report 24000 Hz there), and there are two other
parts of the subvariant with different sampling rates. One of them
is parsed, but not the other, as it's located after some other
large amount of variable data that needs parsing first, and there
seems to be a LOT of it, which is useless for our needs here.
This ends up being rather inconsequential, as ffdec_aac_latm,
which is the only decoder that can decode such streams, does not
need the sample rate on the caps anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=665394
2011-12-19 11:39:44 +00:00
Mark Nauwelaerts
50be1d5dae
flvmux: use GstCollectPads2 event callback
...
... in stead of local HACK.
2011-12-15 16:49:41 +01:00
Mark Nauwelaerts
f6b38f2c39
matroskamux: use GstCollectPads2 event callback
...
... in stead of local HACK.
2011-12-15 16:31:36 +01:00
Mark Nauwelaerts
97391f1402
avimux: use GstCollectPads2 event callback
...
... in stead of local HACK.
2011-12-15 16:31:33 +01:00
Mark Nauwelaerts
7480b4407e
qtmux: use GstCollectPads2 event callback
...
... in stead of local HACK.
2011-12-15 16:31:29 +01:00
Vincent Penquerc'h
994dbb4c39
smpte: port to GstCollectPads2
2011-12-14 19:13:21 +00:00
Vincent Penquerc'h
738ee836f3
multipartmux: port to GstCollectPads2
2011-12-14 19:10:53 +00:00
Vincent Penquerc'h
c422a4e2e6
matroskamux: port to GstCollectPads2
2011-12-14 19:07:23 +00:00
Vincent Penquerc'h
79a6e23c1f
qtmux: port to GstCollectPads2
2011-12-14 19:02:23 +00:00
Vincent Penquerc'h
3135cab5a3
interleave: port to GstCollectPads2
2011-12-14 18:55:36 +00:00
Vincent Penquerc'h
44d001346a
flxmux: port to GstCollectPads2
2011-12-14 18:52:37 +00:00
Vincent Penquerc'h
a89e2b7e48
avimux: port to GstCollectPads2
2011-12-14 18:38:09 +00:00
Mark Nauwelaerts
ebfc77da19
matroskademux: filter bogus index entries with missing block number
...
... to avoid contradictory information resulting in seeks sending more
downstream than needed for the corresponding segment.
2011-12-13 18:20:49 +01:00
Mark Nauwelaerts
00ed34d2eb
matroskademux: cater for safer arithmetic with global start time
2011-12-13 18:20:47 +01:00
Mark Nauwelaerts
fd88096577
matroskademux: tweak final closing segment sending
...
... to avoid it interfering with (sparse) stream syncing.
2011-12-13 18:20:44 +01:00
Thiago Santos
4a5364d7f6
qtmux: make debug message more useful
...
Add information about the taglist and which pad received the
tag event on the debug logging.
2011-12-13 10:21:31 -03:00
Vincent Penquerc'h
ecec3859d8
wavparse: avoid using floating point unnecessarily
...
https://bugzilla.gnome.org/show_bug.cgi?id=665911
2011-12-13 13:01:03 +00:00
Vincent Penquerc'h
b612550379
wavparse: fix format specifier signedness
...
Use unsigned specifiers for all unsigned values.
A lot of the values used here are unsigned, and some can take
high enough values that their signed counterpart will be negative.
https://bugzilla.gnome.org/show_bug.cgi?id=665911
2011-12-13 13:01:03 +00:00
Vincent Penquerc'h
734e352b73
wavparse: add a ignore-length property
...
This allows playing broken streams which write an incorrect
length in their data chunks (such as, at least, one streaming
camera).
https://bugzilla.gnome.org/show_bug.cgi?id=665911
2011-12-13 13:01:03 +00:00
Mark Nauwelaerts
581ca6ce4e
matroskademux: mind (un)signed in some timestamp arithmetic
...
... to avoid ending up with invalid (negative) duration.
2011-12-12 15:23:50 +01:00
Mark Nauwelaerts
ed3f89fad5
qtdemux: increase parse tolerance for fuzzy file cases
2011-12-12 15:23:33 +01:00
Tim-Philipp Müller
b8b8454bcb
Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly
...
GStaticRecMutex is part of our API/ABI, not much we can do here
in 0.10 for most of these.
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
330d984288
Use g_thread_try_new() instead of g_thread_crate() with newer glib versions
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
f60eb9ae2c
alpha: use new glib API for static mutex if available
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
66f6e12888
Work around deprecated thread API in glib master
...
Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We'll change these
over to the new API once we depend on glib >= 2.32.
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
c363ae8254
matroskamux: stream-format=raw goes with aac caps, not mp3 caps
2011-12-08 11:00:45 +00:00
Stefan Sauer
b5324c288b
docs: add add the two enum values that were just added too
2011-12-06 16:47:25 +01:00
Stefan Sauer
64dd9f18a7
multifilesink: expose the enum property docs for splitting mode.
...
Fixes #665666 .
2011-12-06 16:16:12 +01:00
Sebastian Rasmussen
c090201ca5
rtpjpegpay: Ceil jpeg dimensions, instead of floor
...
A JPEG image inside an RTP stream has a preceeding RFC2435 header that
conveys width/height. The dimensions in this header are limited to be
multiples of 8. Since JPEG uses an MCU of 8x8 pixels any image must
already indirectly have image data dimensions that are rounded up in
order to contain enough data to render the image. Therefore this fix
safely rounds the image dimensions in the RFC2435 header up to the
closest multiple of 8.
2011-12-05 10:48:54 +01:00
Vincent Penquerc'h
0249a73a3e
flacparse: ensure we only check for sample/block mixup at start
...
Otherwise we might trigger at some point within the file, but the
check is only making sense for the second block.
2011-12-04 12:50:57 +00:00
Vincent Penquerc'h
3e2b23280e
matroskaparse: warn if accumulating headers after they were pushed
...
https://bugzilla.gnome.org/show_bug.cgi?id=665412
2011-12-03 18:44:39 +00:00
David Schleef
94b8f0b74e
matroskaparse: fix parsing
...
Mark more parts as belonging to streamheaders.
2011-12-03 10:40:03 -08:00
Vincent Penquerc'h
7a7db8cbaf
flvdemux: fix discontinuity threshold check when timestamps go backwards
...
Since unsigned types are used, a negative value would show as very, very
positive.
Fixes A/V sync on some... less than well made files where timestamps go
backwards.
2011-12-03 17:30:10 +00:00
Tim-Philipp Müller
337533ee84
matroska-mux: fix name of new property and the unit test
...
https://bugzilla.gnome.org/show_bug.cgi?id=654379
2011-12-01 13:22:42 +00:00
Tim-Philipp Müller
ab96fb7cdb
multifilesink: add basic buffer list handling
...
We assume for now that all buffers in a buffer list
should end up in the same file (so we can group GOPs
in buffer lists, for example). Could optimise this
a bit to avoid the memcpy.
2011-12-01 12:50:58 +00:00
Tim-Philipp Müller
82ac47f33f
multifilesink: write stream-headers when switching to the next file in max-size mode
2011-12-01 12:50:58 +00:00
Tim-Philipp Müller
bced3c218a
multifilesink: add new 'max-size' mode for switching to the next file
2011-12-01 12:50:58 +00:00
Tim-Philipp Müller
5ffee06f14
multifilesink: add "max-file-size" property for new next-file mode
2011-12-01 12:50:58 +00:00
Sebastian Dröge
6ec601fa12
matroskademux: Don't forget SSA subtitles in last commit
2011-12-01 13:38:06 +01:00
Sebastian Dröge
588734b291
matroskademux: Only check for markup and escape if necessary for plaintext subtitles
...
Otherwise we break USF and ASS/SSA subtitles.
2011-12-01 13:35:54 +01:00
Alessandro Decina
91834bf80b
multifile: fix build in uninstalled setup
...
Add -base libs includes to CFLAGS, fix order of LIBS <cit>.
2011-12-01 13:25:45 +01:00
Alessandro Decina
ed98755241
multifilesink: add flag to cut after a force key unit event
2011-12-01 13:25:45 +01:00