Stefan Kost
ab7e974dab
jpegparse: extract comment and post as metadata
2010-02-01 17:16:16 +02:00
Stefan Kost
e1dd998bd0
jpegformat: code cleanups
...
Move the jpeg marker defines to a header (to be used for jifmux). Rewrite some
comments. Use gst_element_class_set_details_simple(). Add more logging.
2010-02-01 17:15:38 +02:00
Stefan Kost
8bd0f42017
jpegformat: move plugin part to speparate file, so that we can add the jifmux
2010-01-29 12:25:08 +02:00
Arnout Vandecappelle
bb5331e272
jpegparse: new jpeg parser element. FIxes #583098
...
Parse JPEG images, extracts its metadata, set caps and
packetize an image per buffer.
2010-01-29 11:41:15 +02:00
Stefan Kost
b0533bfdff
camerabin: don't log NULL caps, also downgrade to DEBUG as it is very verbose
...
This debug log entry was also not ment to be used in the failure case.
2010-01-28 14:57:50 +02:00
Tim-Philipp Müller
2cc409861c
dataurisrc: add start function so we can error out properly if no uri is set
...
Also save a set URI after it has been parsed successfully, so that _get_uri()
actually works.
2010-01-28 00:08:16 +00:00
Tim-Philipp Müller
766c52766e
dataurisrc: don't post error message when setting the URI failed
...
There's a gboolean return for that, and the messages don't really
add anything useful.
2010-01-28 00:08:16 +00:00
Tim-Philipp Müller
61c6c38bd0
dataurisrc: must release the object lock before using GST_ELEMENT_ERROR
2010-01-28 00:08:16 +00:00
Mark Nauwelaerts
a42e890470
qtmux: streamline moov data memory storage
...
In particular, use arrays rather than (double) linked lists.
2010-01-27 12:56:18 +01:00
Mark Nauwelaerts
87eb6333da
audioparsers: rename baseparse GType name to avoid possible conflicts
2010-01-27 12:45:57 +01:00
Mark Nauwelaerts
df4c4cc703
h264parse: use correct h264_parse prefix in function name
2010-01-27 12:41:57 +01:00
Thiago Santos
f815c46f5b
qtmux: g_free is NULL safe
2010-01-26 13:44:04 -03:00
Thiago Santos
2dded0fceb
rtpasfpay: Fix packet length semantics
...
Following the ed4d08189ea6e19a50e029e60da52d3583c39fbb
commit, this one fixes rtpasfpay to use packet length
as the payloaded data length, but also accepting it
as the full packet size for compatibility with
other implementations due to the lack of clarity of the
spec in this part.
2010-01-25 19:32:15 -03:00
Håkon Skjelten
0a90963fcf
asfmux: Compatibility with WMSP in WMP
...
Makes the asfmux content compatible with WMSP and does
some hacks to make it playable in WMP, it doesn't accept
data objects with 0 size indicating that we don't know
its size, though the spec says it should be possible.
Fixes #607555
2010-01-25 19:32:15 -03:00
Stefan Kost
be12317653
camerabin: ref element before removing from the bin to resurrect
...
This function is not supposed to dispose the element in the case of failure
as the caller is using the elements name in the error message. Also add
some more input parameter checks in the form of g_return_val_if_fail
2010-01-25 23:04:38 +02:00
Sebastian Dröge
c51c3ad21c
Revert "inputselector: Protect g_object_notify() with the object's mutex"
...
This reverts commit 7e067615ff
, it's causing
deadlocks with playbin2.
2010-01-25 12:21:34 +01:00
Sebastian Dröge
00e5076b3a
dataurisrc: Remove role attribute from links
2010-01-25 12:12:32 +01:00
Sebastian Dröge
828af08490
dataurisrc: Add docs and integrate into build system
...
Fixes again bug #596885 .
2010-01-25 11:56:33 +01:00
Sebastian Dröge
926decbecb
dataurisrc: Add data: URI source element
...
This is slightly based on the WebKit data: URI source
but supports more parts of RFC 2397.
Fixes bug #596885 .
2010-01-25 11:15:16 +01:00
Sebastian Dröge
b56436e793
dataurisrc: Add directory for data: URI source
2010-01-25 11:15:16 +01:00
Stefan Kost
b96d57b870
mxf: add a return to fix the build when turning assert off
2010-01-25 11:49:46 +02:00
Stefan Kost
76daceadca
Revert "mxf: add a return to fix the build when turning assert off"
...
This reverts commit 68ca62b369
.
2010-01-25 11:48:29 +02:00
Stefan Kost
68ca62b369
mxf: add a return to fix the build when turning assert off
2010-01-25 09:54:27 +02:00
Kipp Cannon
7e067615ff
inputselector: Protect g_object_notify() with the object's mutex
...
This works around the thread unsafety of g_object_notify()
Fixes bug #607513 .
2010-01-24 20:53:56 +01:00
Tim-Philipp Müller
e9732ef902
pnm: use same media type as other elements
...
gdkpixbuf and our new typefinder in -base use image/x-portable-*.
2010-01-22 02:25:44 +00:00
Tim-Philipp Müller
b2ce6fe6d5
pnm: make element details a bit more descriptive
2010-01-22 02:25:44 +00:00
Tim-Philipp Müller
4de86d4d12
pnm: add copyright notice
2010-01-22 02:25:44 +00:00
Tim-Philipp Müller
232a1dc6d0
pnm: move typefinding into -base
2010-01-22 02:25:44 +00:00
Sebastian Dröge
454b1931bc
mxf: Correctly initialize memory
2010-01-21 15:58:59 +01:00
Benjamin Otte
89d9aaee48
[cleanup] Various style and cleanups
...
Various fixes for gtk-doc warnings and making functions without
arguments take void as parameter.
2010-01-20 13:30:48 +01:00
Sebastian Dröge
b263ae123c
cdxaparse: Fix buffer leak
...
Fixes bug #607285 .
2010-01-18 10:58:39 +01:00
Sebastian Dröge
b95eda9c9a
frei0r: Make sure that property names always start with a letter
...
Otherwise GLib throws assertions
2010-01-16 17:02:52 +01:00
Sebastian Dröge
e476ff9883
shapewipe: Replace floating point arithmetic in the inner processing loops by integer arithmetic
2010-01-16 16:52:11 +01:00
Julien Moutte
f33344ab0c
mpeg4videoparse: don't set an invalid framerate.
...
When fixed_vop_rate is not set we can not set a framerate based on
vop_time_increment_resolution as it would most likely be wrong.
Don't set any framerate on the caps in that case.
2010-01-15 21:34:02 +01:00
Thiago Santos
774b7b33cc
qtmux: Actually use new caps info on renegotiation
...
Following the previous qtmux commit, this patch tries
to use the new info added to the caps to fill the 'trak'
atom's fields and children atoms. This way qtmux will
use the late added 'codec_data' when h264parse adds
it in the following pipeline:
videotestsrc num-buffers=200 ! x264enc byte-stream=true ! \
h264parse output-format=0 ! qtmux ! \
filesink location=test.mov
2010-01-14 19:09:44 -03:00
Thiago Santos
0b4c0890a5
qtmux: Do caps renegotiation when it only adds fields
...
Qtmux can accept caps renegotiation if the new caps is a
superset of the old one, meaning upstream added new info to
the caps. This patch still doesn't make qtmux update any
atoms info from the new info, but at least it doesn't
reject the new caps anymore.
A pipeline that reproduces this use case is:
videotestsrc num-buffers=200 ! x264enc byte-stream=true ! \
h264parse output-format=0 ! qtmux ! \
filesink location=test.mov
2010-01-14 19:09:44 -03:00
Mark Nauwelaerts
dbc1f9f2d6
qtmux: provide request pads under wider conditions
...
Fixes #606859 .
2010-01-13 19:30:45 +01:00
Thiago Santos
5a605b883b
qtmux: Only accept avc-sample h264
...
qtmux and mp4mux should only accept h264 in avc-sample
format
2010-01-13 10:35:57 -03:00
Thiago Santos
eba1357244
h264parse: Add stream-format to caps
...
Adds the new stream-format field to h264parse caps
Fixes #606662
2010-01-13 10:35:57 -03:00
Thiago Santos
ba06eddb40
h264parse: Correctly rewrite all nal prefixes
...
When converting to byte-stream do not forget to rewrite
all nal prefixes instead of only the first one.
2010-01-12 18:18:39 -03:00
Thiago Santos
6e1f2cf392
mpegtsmux: Fix mistake on previous commit
...
Use the correct variables and variable format in the warning
message
2010-01-12 15:21:29 -03:00
Edward Hervey
58b9479423
flacparse: Initialize variables.
...
Fixes build on $#@*( macosx
2010-01-12 18:55:53 +01:00
Thiago Santos
e6ab078785
h264parse: remove codec_data if output is bytestream
...
codec_data should be removed from the src pad caps if the
output is in bytestream format
Fixes #606657
2010-01-12 09:58:48 -03:00
Thiago Santos
ddeb6e17fd
mpegtsmux: Do not crash on misinterpreted h264
...
Avoid crashing when bytestream h264 is interpreted as avc format
h264
Fixes #606657
2010-01-12 09:37:34 -03:00
b3f0b029f3
win32: Include config.h before anything else. Fix mpegdemux LIBADD
...
Because config.h defines __MSVCRT_VERSION__, which should be defined
before inclusion of any system header.
Also fixes mpegdemux Makefile.am LIBADD typo.
Fixes #606665
2010-01-12 12:31:56 +01:00
Руслан Ижбулатов
d61abce8e4
librfb: port rfbsrc to MinGW
...
Fixes #606677
2010-01-12 00:29:57 +00:00
Thiago Santos
08d13fd191
aacparse: Also add stream-format to template caps
...
Do not forget to add stream-format to template caps
off aacparse
2010-01-11 13:42:49 -03:00
Thiago Santos
a428ad82c7
Rename aac's stream-format 'none' to 'raw'
...
Renames aac's stream-format from previous commits from none to
raw
2010-01-11 13:42:48 -03:00
Thiago Santos
7cfe3643db
aacparse: Add stream-format to output caps
...
Adds stream-format field to output caps
2010-01-11 11:01:10 -03:00
Thiago Santos
5b8b363310
qtmux: Only accept stream-format='none' aac
...
Only accept raw aac streams (stream-format=none) to avoid
generating invalid files.
Fixes #604925
2010-01-11 11:01:10 -03:00
Tim-Philipp Müller
ee65cabbb3
vmnc: use existing macros to avoid alignment issues
2010-01-11 01:01:46 +00:00
Tim-Philipp Müller
904a4e0f48
rfbsrc: use existing macros to avoid alignment issues
2010-01-11 00:58:12 +00:00
Tim-Philipp Müller
64c6ee0b4e
asfmux: fix alignment and endianness issue
2010-01-11 00:24:59 +00:00
Linqiang Pu
d68c2d4ab9
mpegdemux: fix allignment issue
...
Use GST_READ_UINT32_BE instead of GUINT32_FROM_BE to
fix int allignment issues on ARM
Fixes #606371
2010-01-10 10:09:55 -03:00
Marc-André Lureau
67e5d76d08
mpegtsmux: only video can have non-delta-unit
2010-01-08 16:06:38 +00:00
Thomas Vander Stichele
5fab65aafb
mpegtsmux: mark delta-unit on outgoing buffers
...
Signed-off-by: Marc-André Lureau <mlureau@flumotion.com>
2010-01-08 13:07:53 +01:00
Mark Nauwelaerts
4067cd13c2
h264parse: optimize src caps updating
2010-01-07 19:00:14 +01:00
Mark Nauwelaerts
51aaa30fab
h264parse: fix framerate calculation
...
... and also remove a superfluous duplicate debug statement.
2010-01-07 19:00:00 +01:00
Mark Nauwelaerts
997ec65cdf
h264parse: fix regression in output buffer timestamping
...
Specifically, properly mark a buffer (NALU or AU) to start a frame or not.
2010-01-07 18:59:58 +01:00
Michael Smith
e2da34e6b6
mpeg4videoparse: avoid crash if vos < 5 bytes.
2010-01-06 11:20:41 -08:00
Tim-Philipp Müller
ec0c87486f
fpsdisplaysink: fix typo in property description
2010-01-06 01:57:13 +00:00
Tim-Philipp Müller
b32305d015
mpegtsdemux: fix language extraction
...
The descriptor contains ISO 639-2 language codes, but we want
two-letter ISO 639-1 codes in GST_TAG_LANGUAGE.
2010-01-06 01:57:01 +00:00
Mark Nauwelaerts
e63fc68628
audioparsers: documentation fixes
2010-01-05 17:50:40 +01:00
Mark Nauwelaerts
51a28ed325
ac3parse: add documentation
2010-01-05 17:50:36 +01:00
Mark Nauwelaerts
d517e1c034
flacparse: add documentation
2010-01-05 17:46:31 +01:00
Mark Nauwelaerts
59855f35a7
flacparse: perform additional frame checks when resyncing
2010-01-05 17:46:15 +01:00
Mark Nauwelaerts
9009899176
flacparse: fix (multiple channel) frame parsing
2010-01-05 17:46:01 +01:00
Mark Nauwelaerts
79acb0b4cc
flacparse: declare unparsed input and parsed output
2010-01-05 17:45:56 +01:00
Mark Nauwelaerts
660cdc4679
ac3parse: fix scanning for next syncword
2010-01-05 17:45:54 +01:00
Mark Nauwelaerts
3f5b4ee67f
baseparse: adjust seek handling and newsegment sending
...
Perform sanity check on type of seek, and only perform one that is
appropriately supported. Adjust downstream newsegment event
to first buffer timestamp that is sent downstream.
2010-01-05 17:45:48 +01:00
Mark Nauwelaerts
a885f80fd3
baseparse: minor refactor cleanup
...
Also add some debug logging.
2010-01-05 17:45:45 +01:00
Mark Nauwelaerts
ebe8c69cc2
flacparse: locate next sync code more efficiently
2010-01-05 17:45:42 +01:00
Mark Nauwelaerts
e6f840690d
flacparse: baseparse takes care of handling leftover pieces
2010-01-05 17:45:32 +01:00
Mark Nauwelaerts
90c86c600b
baseparse: implement leftover draining in pull mode
2010-01-05 17:45:29 +01:00
Mark Nauwelaerts
c4db8697d7
flacparse: set _OFFSET and _OFFSET_END on outgoing buffers
2010-01-05 17:40:07 +01:00
Mark Nauwelaerts
8c67702b84
audioparsers: move 'flacparse' into it
2010-01-05 17:40:02 +01:00
Mark Nauwelaerts
a3f7b8527e
baseparse: provide default conversion using bps if no fps available
...
Also store estimated duration as such, rather than pretending otherwise
(e.g. set by subclass).
2010-01-05 17:39:59 +01:00
Arnaud Patard
24965dc415
mpegtsdemux: Handle eac3 in PMT
...
When the stream type is set to private data, gst-mpegtsdemux is trying to find
audio descriptors in PMT and look for AC3 (tag 0x6a) but doesn't look for EAC3
(tag 0x7a). Handle this case too.
Fixes bug #605904 .
2010-01-04 10:15:29 +01:00
Alessandro Decina
52f5f42da0
h264parse: fix caps handling in _update_src_caps.
2009-12-30 21:50:32 +01:00
Stefan Kost
80aa8e70ec
qtmux: also add .h file changes to unbreak the build
2009-12-28 11:34:35 +02:00
Stefan Kost
48111e3f18
qtmux: use correct names from template for request pads
...
The pads where names pad0, pad1, ...
2009-12-27 23:51:50 +02:00
Stefan Kost
be0d7470cf
qtmux: move errors _new_pad to the end
2009-12-27 23:32:58 +02:00
Thiago Santos
f822f65f34
qtmux: Accept non-paired uint tags
...
Adds support for unpaired unsigned interger tags
2009-12-21 13:58:30 -03:00
Thiago Santos
80a192b825
qtmux: Adds new tags
...
Maps more tags that are already posted by qtdemux
Fixes #599759
2009-12-21 12:05:37 -03:00
Mark Nauwelaerts
a61183fe29
baseparse: check for remaining data when draining in push mode
2009-12-18 13:32:07 +01:00
Mark Nauwelaerts
d51d8ca35c
baseparse: fix pull mode cache size comparison
2009-12-18 13:32:00 +01:00
Edward Hervey
83c7b38a10
ac3parse: Fix unitialized variable.
2009-12-18 13:01:17 +01:00
Thiago Santos
87bfdef683
fpsdisplaysink: Internal sink improvements
...
Does some general improvements with the internal sink handling.
1) Do not remove and re-add the ghostpad when changing
internal sink
2) Only instantiate the default sink when changing from NULL
to READY if there is no other available
3) Avoid changing the internal sink if not on NULL state
Fixes #598682
2009-12-17 20:39:24 -03:00
Thiago Santos
a4f30d5f3d
fpsdisplaysink: Minor fixes
...
Downgrade a warning message to debug. Remove an
already fixed FIXME and add a note about (not-)using
fpsdisplaysink in autovideosink. Change the created
ghostpad to use the name "sink" as it is advertised in
the pad template.
2009-12-17 20:26:30 -03:00
Christian Schaller
86c2660d8d
Update spec file and fix ac3parser header listing in Makefile.am
2009-12-17 14:46:01 +00:00
Thiago Santos
d2dce72c60
fpsdisplaysink: fix setting sync on child bin
...
Use GST_IS_BIN instead of G_OBJECT_TYPE to check if the
internal sink is a bin. Using the later won't work when
the sink is not a bin directly (but inherits from one, like
autovideosink).
Fixes #604280
2009-12-16 18:36:15 -03:00
Philippe Normand
9c03149e7b
fpsdisplaysink: check the sync property exists on embedded sink(s)
...
Follow-up on 4111d6321f
, the video
sink(s) used by fpsdisplaysink might not have the sync property. So we
check its existence to avoid warning from g_object_set() at runtime.
Fixes #604280
2009-12-16 18:35:58 -03:00
Thiago Santos
1b2e0eae67
qtmux: support more of j2k
...
Reads the new caps added to qtdemux by commit
c917d65e6d
and adds its corresponding atoms.
Also adds support for image/x-jpc as it is the same
as image/x-jp2, except that the buffers need to be
boxed inside a jp2c isom box before muxing. To solve
this the QTPads now have a function that (if
not NULL) is called when a buffer is collected. This
function returns a replacement to the current collected
buffer.
Fixes #598916
2009-12-14 20:20:11 -03:00
Thiago Santos
c996ac4c53
qtmux: Maps 'classification' tag for 3gpp files
...
Adds the mapping of 'classification' tags to writing of
'clsf' atoms for gppmux.
Based on a patch by: Lasse Laukkanen <ext-lasse.2.laukkanen@nokia.com>
2009-12-14 08:41:48 -03:00
Philippe Normand
4111d6321f
fpsdisplaysink: expose video sink using a property
...
Exposes the internally used sink as video-sink property and
makes the default one to be autovideosink instead of
the hardcoded xvimagesink
Fixes #604280
2009-12-12 16:50:33 -03:00
Peter van Hardenberg
4aded03c5e
adpcmenc: add new adpcm encoder element.
2009-12-11 16:32:48 -08:00
Michael Smith
2dec1de420
audioparse: fix a format string as reported on irc.
2009-12-11 10:25:16 -08:00
Michael Smith
4232bbb4e1
adpcmdec: make power of 2 more accurate.
2009-12-10 10:12:24 -08:00
Mark Nauwelaerts
ed058d7542
h264parse: fix caps parameters setting
...
Also consider PPS when selecting SPS to pick parameters from.
Only update caps when settings actually changed, and when these are valid.
2009-12-10 12:58:03 +01:00
Sebastian Dröge
05e8934311
shapewipe: Don't do pointer dereferences in the processing loop
...
Lowers the time taken there in my testcase from 6.91% to 6.20%
as measured by callgrind.
2009-12-10 10:41:23 +01:00
unknown
397da35350
rtpmux: update the current_ssrc from the caps
...
Fixes #604101
2009-12-09 15:00:53 +01:00
Håvard Graff
97ef05cbac
rtpmux: release pads when disposing
...
Because of an allocated priv (GstRTPMuxPadPrivate), the element will
leak memory if not gst_rtp_mux_release_pad() is called. This would
previously only happen if release_request_pad() was called explicitly,
somthing that should not be neccesary.
Fixes #604099
2009-12-09 14:47:00 +01:00
Wim Taymans
b678101611
dtmfmux: method name cleanups
2009-12-09 14:47:00 +01:00
Michael Smith
830187fc0d
qtmux: remove c++ comments and add some more comments.
2009-12-08 17:59:04 -08:00
Michael Smith
dd8d704bb9
qtmux: add ima adpcm support
2009-12-08 17:56:24 -08:00
Mark Nauwelaerts
c5847abf30
ac3parse: ensure sufficient data available for parsing
2009-12-08 16:06:31 +01:00
Mark Nauwelaerts
f3dbcb668a
ac3parse: extract and use some more details for Enhanced Ac-3 streams
2009-12-08 16:06:31 +01:00
Mark Nauwelaerts
8f8f97dd2d
baseparse: custom bufferflag indicates not to count frame in stats
2009-12-08 16:06:31 +01:00
Mark Nauwelaerts
9eae24835e
ac3parse: perform additional frame checks when resyncing
2009-12-08 16:06:31 +01:00
Mark Nauwelaerts
bb8085a348
ac3parse: inform base parser of frame duration
2009-12-08 16:06:30 +01:00
Mark Nauwelaerts
8e91b3b3c5
ac3parse: improve src caps settings
2009-12-08 16:06:30 +01:00
Mark Nauwelaerts
eccffea369
ac3parse: initial version
...
MARGINAL rank for now; might take some time for some (useful)
framed=true/false to appear here and there.
2009-12-08 16:06:30 +01:00
Mark Nauwelaerts
15f1b7e97f
amrparse: use (default) time handling of baseparser class
2009-12-08 16:06:30 +01:00
Mark Nauwelaerts
502011501b
audioparsers: move 'amrparse' into it
2009-12-08 16:06:27 +01:00
Mark Nauwelaerts
186344c397
audioparsers: reference GstBaseParse now lives here
2009-12-08 16:05:26 +01:00
Mark Nauwelaerts
3441a41f83
audioparsers: rename 'aacparse' plugin to generic 'audioparsers' plugin
2009-12-08 16:05:26 +01:00
Mark Nauwelaerts
e3e4ba4f9e
aacparse: separate plugin registration and rename plugin
2009-12-08 16:05:26 +01:00
Mark Nauwelaerts
d80b3e2f3b
aacparse: ensure sufficient data available before accessing
2009-12-08 16:05:26 +01:00
Mark Nauwelaerts
64d6d5554e
aacparse: use (default) time handling of baseparser class
2009-12-08 16:05:26 +01:00
Mark Nauwelaerts
d4c89e2492
aacparse: fixup comments to C-style
2009-12-08 16:05:26 +01:00
Mark Nauwelaerts
48f7d4e0c9
baseparse: reset passthrough mode to default (disabled) on activation
2009-12-08 16:05:25 +01:00
Mark Nauwelaerts
ea0dd8151b
baseparse: ensure buffer metadata is writable
2009-12-08 16:05:25 +01:00
Mark Nauwelaerts
4b040d9a37
baseparse: fix/enhance DISCONT marking
...
In particular, consider DISCONT == !sync, and allow subclass to query
sync state, as it may want to perform additional checks depending
on whether sync was achieved earlier on.
Also arrange for subclass to query whether leftover data is being drained.
2009-12-08 16:05:25 +01:00
Mark Nauwelaerts
59614d02e7
baseparse: add timestamp handling, and default conversion
...
In particular, (optionally) provide baseparse with a notion of frames per second
(and therefore also frame duration) and have it track frame and byte counts.
This way, subclass can provide baseparse with fps and have it provide default
buffer time metadata and conversions, though subclass can still install
callbacks to handle such itself.
2009-12-08 16:05:25 +01:00
Mark Nauwelaerts
252cc9b36f
baseparse: documentation fixes
2009-12-08 16:05:25 +01:00
Mark Nauwelaerts
9cc33340d7
baseparse: use_fixed_caps for src pad
...
After all, stream is as-is, and there is little molding to downstream's
taste that can be done. If subclass can and wants to do so, it can
still override as such.
2009-12-08 16:05:25 +01:00
Teemu Katajisto
62ddc73623
camerabin: photography interface properties. Fixes #573370 (partially)
...
Added GObject properties to photography interface and implemented
them in camerabin. Changed zooming to check if video-source has
zoom property.
2009-11-27 15:10:57 +02:00
Teemu Katajisto
7dac3659c6
camerabin: add flags property. Fixes #573370 (partially)
...
Adds flags property to enable runtime configuration of
conversion and scaling elements. Also adds flag for disabling
audio completely.
2009-11-27 11:42:36 +02:00
Teemu Katajisto
7d65643656
camerabin: remove timeoverlay build-time definition
2009-11-27 11:41:59 +02:00
Thiago Santos
b343536de0
qtmux: replace _scale with _scale_round
...
Use the rounding version for improved sync between streams.
Small variations in the duration when muxing might lead to
cumullative wrong timestamping when demuxing.
Fixes #602936
2009-11-25 21:41:27 -03:00
Thiago Santos
379931cc6e
qtmux: use timestamps for muxing
...
Try to use timestamps even when the stream has out of order
timestamps, only fall back to durations when we detect an
out of order buffer. Improves sync between streams.
2009-11-25 21:37:17 -03:00
Xavier Queralt Mateu
b6b1658e97
Expose lang codes in pmt
2009-11-24 10:14:49 +00:00
Mark Nauwelaerts
b4d9b81b8a
h264parse: optional transforming from bytestream to sample format (or vice versa)
2009-11-23 14:44:46 +01:00
Mark Nauwelaerts
7f291456e7
h264parse: refactor a bit into a reset function
2009-11-23 14:44:46 +01:00
Mark Nauwelaerts
f3a153eecb
h264parse: provide w/h from stream in src caps if not in sink caps
2009-11-23 14:44:46 +01:00
Mark Nauwelaerts
291f45b383
h264parse: parse SPS some more (e.g. for width/height)
2009-11-23 14:44:46 +01:00
Mark Nauwelaerts
47041f610d
h264parse: optionally output AUs rather than NALUs
...
That is, Access Units (frames/fields) instead of (possibly) parts thereof.
2009-11-23 14:44:45 +01:00
Tim-Philipp Müller
c49cdd59ff
Clean up LDFLAGS, LIBS, CFLAGS
...
Fix order, fix variables that don't exist, like GST_LIBS_LIBS,
use $(LIBM) instead of -lm, and move _LIBS from LDFLAGS to LIBADD.
Spotted by Havard Graff.
2009-11-22 19:30:58 +00:00
Tim-Philipp Müller
0909982636
librfb: include our own _stdint.h not stdint.h
2009-11-22 19:04:43 +00:00
Julien Moutte
676bd995b0
frei0r: Fix compilation warnings.
2009-11-20 17:33:21 +01:00
Julien Moutte
1f47dee944
amrparse: Fix compilation warnings
2009-11-20 17:32:44 +01:00
Julien Moutte
ae6ad7554c
aacparse: Fix compilation warnings
2009-11-20 17:32:13 +01:00
Olivier Crête
3865aadb65
dtmf: Use _stdint.h from configure
...
https://bugzilla.gnome.org/show_bug.cgi?id=602465
2009-11-20 10:31:47 -05:00
Olivier Crête
33108dec82
dtmf: Update dtmfdetect to make it MSVC friendly
...
https://bugzilla.gnome.org/show_bug.cgi?id=602465
2009-11-19 20:33:07 -05:00
Thiago Santos
c883c2511c
qtmux: fix missing debug argument
...
Adds a missing debug argument
2009-11-19 18:29:41 -03:00
Stefan Kost
7f1ac755e4
realaudiodec: reindent and make valgrind happy
...
The state-change tests reported access to uninitialized memory.
2009-11-19 21:11:36 +02:00
Mark Nauwelaerts
469446c7a4
qtmux: fix misinforming debug statement
2009-11-19 11:47:08 +01:00
Mark Nauwelaerts
a0851ebcbf
qtmux: ensure writable buffer metadata before setting caps
2009-11-19 11:47:06 +01:00
Thiago Santos
51d5f9d6dd
asfmux: improving debug messages
...
Improves debug messages for asfmux
2009-11-18 20:06:06 -03:00
Thiago Santos
edea30e303
qtmux: support for SVQ3
...
Adds support for muxing SVQ3 content. Usually this format
has decoder info that must be passed in the 'seqh' field
in the caps. It is also good to add the gama atom to make
quicktime not crash.
Fixes #587922
2009-11-18 17:27:38 -03:00
Edward Hervey
32126979cf
aiff: Raise rank of muxer to PRIMARY
2009-11-18 17:58:39 +01:00
Edward Hervey
3e8fa62765
mve: Raise rank of muxer to PRIMARY
2009-11-18 17:57:59 +01:00
Edward Hervey
3d2cc4c82e
asfmux: Raise rank to PRIMARY
2009-11-18 17:57:25 +01:00
Jan Schmidt
6b45854967
resindvd, dvdspu: Use new still-frame API from gst-plugins-base
...
Replace the current custom DVD still-frame events with new event
creation/parsing API from libgstvideo.
2009-11-18 03:10:32 +00:00
Jan Schmidt
2b25e97bef
Revert "aiff: Disable aiff muxer for this release."
...
This reverts commit 7426be70ff
.
Re-enable the aiff muxer now that gst-plugins-bad 0.10.17 is out
and we can rely on gst-plugins-base from git.
2009-11-18 03:10:31 +00:00
Thiago Sousa Santos
48a2bbd6ad
asfmux: handle streams with different start times
...
Prevents losing sync when remuxing streams with different
start times. The smallest start time is selected as
the base time and all timestamps are subtracted
from it to get the actual time to be used when
muxing and building indexes
Fixes #586848
2009-11-17 23:04:54 -03:00
Thiago Sousa Santos
d70afdccd1
qtmux: do not leak a string
...
Frees a string after use. Also does some code organization
2009-11-17 23:04:54 -03:00
Thiago Sousa Santos
b53243fed3
qtmux: do not add size to the pointer variable
...
Do not wrongly add the result of the function to the
pointer to the buffer size. Instead, check the result
to see if the serialization was ok.
Based on a patch by: "Carsten Kroll <car@ximidi.com>"
Fixes #602106
2009-11-17 23:04:53 -03:00
Thiago Santos
1d155a6357
qtmux: handle 'late' streams
...
When muxing streams, some can start later than others. qtmux
now handle this by adding an empty edts entry with the
duration of the 'lateness' to the stream's trak.
It tolerates a stream to be up to 0.1s late.
Fixes #586848
2009-11-17 23:04:53 -03:00
Thiago Santos
1f7626f2f5
qtmux: adds the EDTS and ELTS atoms to atoms.c
...
These atoms will be useful for signaling streams
that start later in the file. As well for adding
edit lists if needed sometime later.
2009-11-17 23:04:53 -03:00
Michael Smith
dde31f09bd
adpcmdec: decode adpcm without explicit length, as found in qt.
2009-11-17 18:00:27 -08:00
Jan Schmidt
181786f8bf
dvdspu: Forward the still frame event downstream
...
Forward still-frame events downstream so elements like deinterlace
can use them.
2009-11-18 01:58:34 +00:00
Jan Schmidt
7426be70ff
aiff: Disable aiff muxer for this release.
...
The aiff muxer relies on GstByteWriter API added after 0.10.25. Disable
it for this release.
Revert this commit after gst-plugins-bad 0.10.17
2009-11-09 19:08:49 +00:00
Jan Schmidt
f4201f9e30
asfmux: Uncomment --disable-static flag
...
For some reason that libtool flags line that prevents building
the static lib was commented out. Reported by Mart Raudsepp on IRC.
2009-11-09 14:11:30 +00:00
Sebastian Dröge
d64c99e138
inputselector: Remove useless variables and fix a uninitialized variable compiler warnings
...
Merged from gst-plugins-base, dfd51aa82a
.
2009-11-09 11:49:47 +01:00
Sebastian Dröge
9a627f1106
inputselector: Make sure that running_time->timestamp calculation never becomes negative
...
Merged from gst-plugins-base, f365385458
.
2009-11-09 11:49:47 +01:00
Sebastian Dröge
729c62263f
inputselector: Use the start time (i.e. timestamp) as the last stop
...
Using the end time makes it impossible to replace buffers, which is
a big problem for subtitles that could have very long durations.
Merged from gst-plugins-base, 27034be461
.
2009-11-09 11:49:47 +01:00
Sebastian Dröge
9a62107e94
inputselector: Improve debugging
...
Merged from gst-plugins-base.
2009-11-09 11:49:47 +01:00
Thiago Santos
fb9d7630e1
qtmux: Adding some ifs for protection
...
Adding somes ifs to protect against warning conditions
that might happen when upstream element is not sane
Fixes #600895
2009-11-06 00:46:12 -03:00
Thiago Santos
892555955a
scaletempo: properly update new segments
...
Scaletempo was missing an update of 'stop' in
new segment parameters when pushing it downstream,
which caused files to end earlier when rate < 1.
Fixes #599903
Based on patch by: Bastian Hecht <hechtb@gmail.com>
2009-11-05 21:41:01 -03:00
Olivier Crête
d1db40df6e
dtmfdetect: Add DTMF tone detector
...
It looks at raw audio data and emits messages when DTMF is detected.
The dtmf detector is the same Goertzel implementation used in FreeSwitch
and Asterisk. It is in the public domain.
2009-11-05 10:39:37 -05:00
Wim Taymans
5c30f3f954
Revert "inputselector: use get_caps_reffed()"
...
This reverts commit 49ec4f796a
.
We can't use this new function yet.
2009-11-05 13:53:46 +01:00
Wim Taymans
49ec4f796a
inputselector: use get_caps_reffed()
2009-11-05 13:29:55 +01:00
Olivier Crête
64eb516283
dtmfsrc: Reject empty caps
2009-11-04 22:44:26 -05:00
Olivier Crête
7089b452dd
dtmfsrc: Use log level for repeated debug messages
2009-11-04 22:44:26 -05:00
Olivier Crête
da0d9810af
dtmfsrc: Allow for any samplerate
2009-11-04 20:05:17 -05:00
Jan Schmidt
f46c247757
autoconvert: Fix previous commit: ensure we take a ref on the features
2009-11-04 23:32:07 +00:00
Jan Schmidt
7d53c39237
resindvd,autoconvert: Avoid depending on 0.10.26 API
...
Wait until after the next release to bump the core requirement.
Until then, don't use gst_plugin_feature_list_copy and
gst_pad_peer_get_caps_refed.
2009-11-04 23:17:33 +00:00
Edward Hervey
ba460f587a
mpegdemux: Fix pointer-differences printout
...
There is unfortunately no G_*_FORMAT conversion specifier for differences of
pointers in glib, and we can't rely either on all platforms being 64bit.
So let's just cast the difference to a gint and be done with it.
2009-11-04 17:45:34 +01:00
Stefan Kost
e1e9be6dbe
inputselector: also add inline to the proto to fix the build
2009-11-04 00:21:19 +02:00
Edward Hervey
aaba1b1d26
gst: Remove dead assignments and resulting unused variables
...
Merged from gst-plugins-base, 8cd1b5209b
.
2009-11-03 18:14:12 +01:00
Sebastian Dröge
8ebd2e1be7
inputselector: Use the same iterate internal links function as in gst-plugins-base
2009-11-03 18:12:21 +01:00
Tim-Philipp Müller
d20e30f348
Remove GST_DEBUG_FUNCPTR where they're pointless
...
There's not much point in using GST_DEBUG_FUNCPTR with GObject
virtual functions such as get_property, set_propery, finalize and
dispose, since they'll never be used by anyone anyway. Saves a
few bytes and possibly a sixteenth of a polar bear.
Merged from gst-plugins-base, 6f4c1ac583
.
2009-11-03 18:11:13 +01:00
David Schleef
4cabe3c6c6
Remove Ronald Bultje from Authors field
...
Replaced with "GStreamer maintainers
<gstreamer-devel@lists.sourceforge.net>" or just removed,
depending on the number of other authors.
Merged from gst-plugins-base, 0e9bc5125a
.
2009-11-03 18:09:55 +01:00
Wim Taymans
795a604ae0
inputselector: set output caps before pushing
...
Set the output caps on the srcpad before pushing the buffer because else core
will do a rather expensive check to see if we can actually accept those caps on
the srcpad.
Merged from gst-plugins-base, bdfb4b46d7
.
2009-11-03 18:08:05 +01:00
Wim Taymans
dab1a44541
inputselector: install an acceptcaps function
...
Install a custom acceptcaps function instead of using the default expensive
check. We accept whatever downstream accepts so we pass along the acceptcaps
call to the downstream peer.
Merged from gst-plugins-base, 5b72f2adf9
.
2009-11-03 18:06:11 +01:00
Jan Schmidt
570a0bb65c
resindvd: Take a copy of the passed plugin features
...
Clarify the ownership of the internal plugin feature list by making
a copy of any passed list. Avoids crashes when freeing a passed list,
or leaks caused by not freeing any internally built list.
2009-11-02 11:33:19 +00:00
Jan Schmidt
454539a10e
dvdspu: Fix PGS window parsing
...
Fix a problem introduced in the last PGS parsing patch by skipping
the window count byte after reading it.
2009-11-02 02:48:18 +01:00
René Stadler
e5dd78e0ca
aiff: fix aiffparse debug category variable name
...
Fixes missing symbol when compiling with debugging, since this is now in sync
with the plugin_init in aiff.c.
2009-11-01 20:44:44 +02:00
René Stadler
a5f72046af
aiff: init plugin debug category
...
Fixes assertion (or unused variable warning with DISABLE_NLS).
2009-11-01 20:41:03 +02:00
Tim-Philipp Müller
decd2acece
aiff: add aiff elements to docs
2009-10-31 19:55:26 +00:00
Tim-Philipp Müller
57cce4754c
aiff: gratuitious clean-ups: canonicalise function names, structs and defines
2009-10-31 19:37:08 +00:00
Tim-Philipp Müller
d65d288844
aiff: enable new aiff muxer
...
Fixes #598763 even more.
2009-10-31 17:51:19 +00:00
Robert Swain
20f4a1afd9
aiff: add basic AIFF muxer
...
Fixes #598763 .
2009-10-31 17:49:36 +00:00
Tim-Philipp Müller
8246f755cf
aiff: remove unused includes and fix flags order in Makefile.am
...
Also remove GST_PLUGINS_BASE_LIBS from LIBADD since we don't
need to link against any of the -base libs (we just use a define
from the gstaudio headers).
2009-10-31 17:25:15 +00:00
Tim-Philipp Müller
8a1b22836f
aiff: rename 'aiffparse' plugin to 'aiff'
2009-10-31 17:22:25 +00:00
Olivier Crête
8d90ad76c9
rtpmux: Don't ignore requested pad name
2009-10-30 19:08:14 +00:00
Jan Schmidt
91499fd9a7
mpegtsdemux: Don't send new-segment with start time == -1
...
When sending new-segment to a stream, ensure that there is either a valid
PCR, or else wait until there's a PTS on the stream (dropping packets if
needed) in order to avoid generating an invlaid new-segments event.
https://bugzilla.gnome.org/show_bug.cgi?id=595161
2009-10-29 10:53:10 +00:00
Michael Smith
29fe6205ca
id3mux: glib doesn't reliably null-terminate wide-character encodings in
...
g_convert, so write the null-terminator separately and explicitly.
2009-10-27 14:32:30 -07:00
Thiago Santos
c3aaf2a391
asfmux: fix tag writing bug
...
g_convert seems to add a single null terminating byte to
the end of the string, even when the output is UTF16, we
force the second 0 byte when copying to the output buffer.
This issue was causing random crashes because it was
assumed that the string resulting from g_convert had
2 extra bytes, but it has only one.
2009-10-27 16:39:56 -03:00
Jan Schmidt
32ebb79f0b
autoconvert: Support installing identity as the initial child
...
Add the 'initial-identity' property, which inserts identity for
at startup for event passing, and replaces it with a new child
when the first buffer (and caps) actually arrives.
https://bugzilla.gnome.org/show_bug.cgi?id=599469
2009-10-27 12:23:24 +00:00
Jan Schmidt
55a3f6a08c
autoconvert: Cache incoming new segment events and push to children.
...
Cache incoming new-segment info.
When installing a child element, inform it of the current segment info.
https://bugzilla.gnome.org/show_bug.cgi?id=599469
2009-10-27 12:23:24 +00:00
Jan Schmidt
ee8b143e95
autoconvert: Add some debug in factory caps intersection
2009-10-27 12:23:23 +00:00
Jan Schmidt
77e017143e
autoconvert: Simple fixes.
...
Free the plugin feature list on dispose.
Output a debug message when downstream returns a fatal flow result
Fix awkward wording in a debug warning.
2009-10-27 12:23:23 +00:00
Jan Schmidt
de829eb7d0
autoconvert: Gratuitously move GST_OBJECT_LOCK into a macro
...
Create GST_AUTOCONVERT_LOCK/UNLOCK macros that (for now) just call
GST_OBJECT_LOCK.
2009-10-27 12:23:22 +00:00
Thiago Santos
1069712438
mpegvideoparse: check width/height range
...
Checks if the width/height that are to be set on src pad caps
are within valid range of [16,4096]
2009-10-26 09:04:49 -03:00
Thiago Santos
8db2821791
gppmux: Add support for 3gr6
...
Keep track of the chunk durations to be able to add 3gr6
brand if it is a faststart file and the longest chunk is
smaller than a sec. Implemented according to 3gpp
TS 26.244 v6.4.0 (2005-09)
Fixes #584361
2009-10-26 08:59:46 -03:00
Thiago Santos
2e9e240285
qtmux: Only push ftyp later (in faststart mode)
...
In faststart mode, there is no need to send the ftyp
right at the beginning of the stream. Waiting and sending it
only later (when the moov atom is ready to be sent) provides
us with more information about the stream and we can better
select the compatible brands.
2009-10-26 08:59:45 -03:00
Thiago Santos
5d63c26b08
qtmux: Improve error message
...
Improve error message when we can't get or estimate the
timestamp/duration of a buffer
2009-10-26 08:59:45 -03:00
Wim Taymans
ca6e2f1fa3
camerabin: fix build
2009-10-24 16:31:26 -04:00
Stefan Kost
8c0203ec36
camerabin: remove abbreviations from the property names. Fixes #573370 (partialy)
...
Also rename their use in tests and examples.
2009-10-24 15:14:26 +03:00
Stefan Kost
e1dccb6fd7
build: use gst-glib-gen.mak to fix the glib build rules.
...
The build rules in glib-gen.mak were using pattern rules in a non save way.
2009-10-24 15:14:26 +03:00
Stefan Kost
b890ecd83c
camerabin: code cleanups
...
Align element initialisation. This should be re-thought, g_object_new zeros things already.
Harmonize the element getters for the src/sinks to return what we actualy use.
2009-10-24 15:14:26 +03:00
Tommi Myöhänen
fe70981023
camerabin: implement video preview creation
...
Completes preview creation mechanism to be able to provide a preview
image for video clips too.
2009-10-24 15:14:25 +03:00
Stefan Kost
52e314ef81
camerabin: set camerabin default sources/sinks like in playbin2. Fixes #574434
...
This uses same approach like in playbin, namely checking for user defined
element, auto{audio,video}{sink,src} and finally DEFAULT_{AUDIO,VIDEO}{SRC,SINK}
defines from config.h.
2009-10-24 15:14:25 +03:00
Tim-Philipp Müller
79fe732785
mpegpsmux: some minor build fixes
...
CLFAGS -> CFLAGS, and fix order of variables while we're at it.
2009-10-22 11:55:41 +01:00
Jan Schmidt
251afdee91
autoconvert: Take the object lock fewer times
...
When starting up and creating the list of element factories, only
take the object lock twice instead of 3 times.
2009-10-22 11:41:08 +01:00
Jan Schmidt
997f180b85
autoconvert: Don't hold the object lock when pushing
...
When pushing out cached events, don't hold the object lock. Avoids
deadlocks starting up DVD playback.
2009-10-22 11:41:07 +01:00
Michael Smith
2caac8d175
id3tag: actually write image to APIC tag.
2009-10-16 14:37:02 -07:00
Jan Schmidt
0fcf8001b1
autoconvert: Use gst_pad_peer_accept_caps instead of gst_pad_set_caps.
...
gst_pad_set_caps on the internal source pad always succeeds, because
caps propagate to the peer with buffers, not immediately. Using
gst_pad_peer_accept_caps properly checks whether the actual
sub-element can accept caps when they change.
https://bugzilla.gnome.org/show_bug.cgi?id=575568
2009-10-16 11:09:15 +01:00
Josep Torra
66b1cc9346
speed: fix warnings in macosx snow leopard
2009-10-11 13:13:56 +02:00
Josep Torra
fc0677a5a1
mpegvideoparse: fix warning in macosx snow leopard
2009-10-11 13:07:19 +02:00
Josep Torra
3fedf9e9a5
mpegdemux: fix warnings in macosx snow leopard
2009-10-11 12:56:29 +02:00
Josep Torra
093006d432
dtmf: fix warnings in macosx snow leopard
2009-10-11 11:35:23 +02:00
Josep Torra
dac26cb18f
amrparse: fix warnings in macosx snow leopard
2009-10-11 11:27:08 +02:00
Josep Torra
e1a98f3454
aacparse: fix warnings in macosx snow leopard
2009-10-11 11:22:11 +02:00
Sebastian Dröge
3b32d37dd4
assrender/dvdspu: Increase ranks to PRIMARY
2009-10-09 13:18:31 +02:00
Sebastian Dröge
f50de89720
dvdspu: Include SubPicture in the classification
2009-10-09 09:21:06 +02:00
Stefan Kost
b7b8b7f407
build: fprintf, sprintf, sscanf need stdio.h
2009-10-07 15:26:12 +03:00
Sebastian Pölsterl
bf3cf014ab
mpegtsparse: Ignore emphasis on/off bytes, and do fallback string encoding.
...
For fallback, try ISO 8859-9 encoding if ISO 6637 failed.
Add more debug calls.
2009-10-06 17:46:36 +01:00
Michael Smith
196acecc04
id3mux: Write UTF-16 byte order marker correctly.
2009-10-05 11:15:41 -07:00
Stefan Kost
2390d3a31c
build: add missing stdlib include to fix the build
2009-10-02 19:12:32 +03:00
Alessandro Decina
8917a706da
Fix a compiler warning.
2009-10-02 12:07:32 +02:00
Lasse Laukkanen
a0a4032ce8
camerabin: fix deadlock when error occurs at video recording startup
2009-10-01 18:06:55 +03:00
Tommi Myöhänen
0d48f73532
camerabin: handle preview-caps only in image mode and only when they change
...
This prevents camerabin to create preview pipeline every time when
application re-sets the same caps again.
2009-10-01 18:06:55 +03:00
Tommi Myöhänen
99f1f4510a
camerabin: don't send multiple EOS events to video pipeline
2009-10-01 18:06:54 +03:00
Tommi Myöhänen
eb648817a4
camerabin: fix scene mode setting
...
Camerabin caches photography settings, but it didn't take into account
that scene mode setting may change other settings as well. So, config
needs to be read back from device after scene mode is set.
2009-10-01 18:06:54 +03:00
Tommi Myöhänen
dc267be4f7
camerabin: allow mode parameter setting in NULL state
2009-10-01 18:06:54 +03:00
Tommi Myöhänen
dacdd5d6c9
camerabin: allow capture resolution to be set in NULL state
2009-10-01 18:06:54 +03:00
Tommi Myöhänen
0f2be803b4
camerabin: fix image queue parameter setting
...
Camerabin incorrectly used G_GUINT64_CONSTANT macro for setting
"max-size-buffers" and "max-size-bytes" properties in image queue,
even when they aren't 64bit integers.
2009-10-01 18:06:53 +03:00
Tommi Myöhänen
3f90a4acfa
camerabin: fix warning with g_object_get and join separate g_object_sets into one
2009-10-01 18:06:53 +03:00
Tommi Myöhänen
b2fc088c84
camerabin: reset active-pad in output-selector after READY state
...
Camerabin sets itself to READY state during resolution change. This
operation makes output-selector to forget its currently active pad,
so it must be set again after state change.
2009-10-01 18:06:53 +03:00
Lasse Laukkanen
7b62e11412
camerabin: don't reset capsfilters or zoom if error occurs
...
If an error occurs, application should set pipeline to NULL, and updating
zoom can actually block message handling if video device driver has failed
and video src element supports zooming using photography interface and S_CROP.
2009-10-01 18:06:53 +03:00
René Stadler
350a805b67
videomeasure: link with libm
2009-10-01 17:40:28 +03:00
Руслан Ижбулатов
05e059c624
Take offset gaps into account.
...
Prevents measurecollector from crashing when frame numbers are not consecutive.
Fixes bug #596285 .
2009-09-30 18:51:55 +02:00
Marc-André Lureau
1adfafbe2c
qtmux: fix flags_as_uint to flags[]
2009-09-30 16:53:20 +02:00
Jan Schmidt
25837289c4
dvdspu: Improve PGS parsing
...
Improve (slightly) the interpretation of PGS set-window blocks
to avoid printing warnings about unused bytes when there are multiple
window definitions.
2009-09-28 10:32:02 +01:00
Jan Schmidt
f248986ba4
dvdspu: Fix rendering and add guards
...
Fix the rendering when we hit the right hand side of the display
area, by resetting to the correct X coordinate, and add some more
guards against bad PGS data.
2009-09-28 10:32:02 +01:00
René Stadler
c45cc31c7d
videosignal: change pattern data type to uint64, add property and message field
...
Keeps the old uint typed value support for compatibility.
2009-09-26 19:11:09 +03:00
René Stadler
b24d581c78
videosignal: allow pattern-count property to be 0
2009-09-26 19:11:09 +03:00
René Stadler
36ae3ad844
videosignal: add support for packed YUV formats
2009-09-26 19:11:09 +03:00
René Stadler
d171d713f3
videosignal: add support for all planar YUV formats, using gstvideo
2009-09-26 19:11:09 +03:00
René Stadler
5b87b537be
videosignal: add bound checks
2009-09-26 19:11:09 +03:00
René Stadler
53defab4b2
videosignal: remove unused macros
2009-09-26 19:11:09 +03:00
Mark Nauwelaerts
c36e5950ba
baseparse: sync baseparse change
2009-09-25 17:04:02 +02:00
Mark Nauwelaerts
6c9a9d3304
aacparse: forego (bogus) parsing of already parsed (raw) input
2009-09-25 17:04:00 +02:00
Sebastian Dröge
338f58e573
inputselector: Use new single iterator for the internally linked pads
...
This fixes a deadlock and removes some useless code.
2009-09-25 11:08:02 +02:00
Alessandro Decina
a17393fd34
Fix warnings with gcc 4.0.1.
2009-09-23 12:34:47 +02:00
Lutz Mueller
a744f8136b
pnm: Handle ASCII encoded PNM data that is split over multiple buffers
...
Also:
- unref buffers after gst_buffer_span
- fix scanning of header if header data is split over several buffers
Fixes bug #595700 .
2009-09-22 08:13:08 +02:00
Edward Hervey
4ceb3c5678
mpegtsparse: Specify that psi table is static const.
...
This avoids re-allocating it every single time we go into it.
Roughly 10% performance boost in overall tsparse processing time.
2009-09-21 12:13:03 +02:00
Zaheer Abbas Merali
bf34bdd3ab
Revert "mpegtsparse: use fixed size array rather than dynamically allocating"
...
This reverts commit ae75b6f366
.
2009-09-20 17:53:24 +01:00
Zaheer Abbas Merali
ae75b6f366
mpegtsparse: use fixed size array rather than dynamically allocating
2009-09-20 15:32:14 +01:00
Zaheer Abbas Merali
f9c4b3cce9
mpegtsparse: replace streams hashtable with an array of streams
2009-09-20 15:23:44 +01:00
Zaheer Abbas Merali
309eaafb04
mpegtsparse: unref caps on dispose, reset packet size on _reset
2009-09-20 14:12:59 +01:00
Zaheer Abbas Merali
ec100c87c7
mpegtsparse: make sure packetsize is set on caps of buffers
2009-09-20 13:25:53 +01:00
Zaheer Abbas Merali
bdf11016fa
mpegtsparse: detect packetsize and don't just assume 188 bytes.
2009-09-20 13:25:34 +01:00
Edward Hervey
314e2dabd5
mpegtsparse: Don't use GstIterator, do change detection ourselves.
...
Using a GstIterator is slow because we have to create/destroy that
iterator every single time.
We just do the threadsafe cookie check and list iteration ourselves.
2009-09-19 12:49:47 +02:00
Edward Hervey
c224da54e4
mpegtsparse: Avoid type-checking casts in tight loops
2009-09-19 12:45:39 +02:00
Edward Hervey
8b981fba5c
mpegtspacketizer: Make next_packet() return an enum.
...
This avoids calling an extra gst_adapter_available() in a tight loop.
2009-09-19 12:45:39 +02:00
Edward Hervey
bdc513b31e
mpegtsparse: More branch prediction macros
2009-09-19 12:45:39 +02:00
Edward Hervey
879e00b969
mpegtspacketizer: Spread branch prediction macros
2009-09-19 12:45:39 +02:00
Edward Hervey
fcc4f8388c
mpegtsparse/mpegtspacketizer: Register and use GQuark for structures.
2009-09-19 12:41:34 +02:00
Edward Hervey
d88af539f9
mpegtspacketizer: Initialize debugging in _get_type
...
There's no need for an extra function since all debuggin will require
a MpegTSPacketizer which means that the GType will be created, therefore
move the debug category initialization there.
2009-09-19 12:41:27 +02:00
Edward Hervey
56b71d6a48
mpegtspacketizer: memset structure instead of individually setting fields to 0
2009-09-19 12:32:21 +02:00
Edward Hervey
69aab98702
mpegtspacketizer: Remove g_return_if_fail
...
It's overkill for code only used by one element.
2009-09-19 12:32:17 +02:00
Edward Hervey
0ac7e16066
mpegtspacketizer/parse: Don't use gst_structure_to_string() for debugging.
...
There's GST_PTR_FORMAT for that, and too bad for the systems that don't have
support for that. It just costs too much cpu.
2009-09-19 12:32:10 +02:00
Edward Hervey
0daedae52f
gst: Remove dead mpegtsparse directory.
...
This was seriously confusing. Also, the code is in gst/mpegdemux/
2009-09-19 12:31:52 +02:00
David Schleef
8c856cfb5a
videomeasure: fix line endings
2009-09-18 19:11:19 -07:00
David Schleef
923a7e5256
videomeasure: fix distcheck
2009-09-18 19:11:19 -07:00
David Schleef
2506c3567c
mpegtsdemux: Set DISCONT on buffers
2009-09-17 17:03:40 -07:00
Lutz Mueller
a4e438d193
pnm: Add ASCII decoding support
...
...and make the ASCII output of the encoder a bit more pretty.
Fixes bug #595409 .
2009-09-17 09:39:10 +02:00
Lutz Mueller
f270259cc8
pnm: Support ASCII format for encoding and handle unsupported formats better in the decoder
...
Fixes bug #595215 .
2009-09-16 08:23:37 +02:00
Jan Schmidt
50d08ce732
mpegdemux: Handle base_time when sending segment updates.
...
Don't send bogus new segment update events when the stream doesn't
start at 0. Fixes broken seeking in some files.
Fixes : #594812
2009-09-15 23:36:24 +01:00
Zaheer Abbas Merali
cb9ff89929
mpegtsdemux, mpegtsparse: max section length is 4093 not 1021.
2009-09-15 14:35:15 +01:00
Zaheer Abbas Merali
712ee57190
mpegtsdemux: add pad for DVB Subtitling pads
2009-09-15 14:35:15 +01:00
Sebastian Dröge
5b5ff07c28
pnm: Use correct rowstride for 8 bit grayscale too
2009-09-13 19:39:59 +02:00
Sebastian Dröge
f09b1adf70
pnm: Correctly convert from/to GStreamer rowstride
2009-09-13 19:33:57 +02:00
Sebastian Dröge
751843ff86
pnm: Fix caps
...
8 bit grayscale caps have no endianness field and the caps name
of GST_VIDEO_CAPS_RGB is still "video/x-raw-rgb" and not GST_VIDEO_CAPS_RGB.
2009-09-13 19:17:15 +02:00
Lutz Mueller
7f3e6f4965
pnm: Lots of bugfixes
...
(1) Fix examples.
(2) Add support for gray images.
(3) Remove "use_fixed_caps" which doesn't seem to be useful.
(4) Do proper negotiation in the encoder.
(5) Fix memleak in the setcaps function in the encoder.
(6) Keep a link to the src pad in the encoder now that we need it more often.
Partially fixes bug #164870 .
2009-09-13 19:14:49 +02:00
Christian Schaller
1a54ae8ce7
Fix factory information for h264parse, add missing Video
2009-09-12 18:57:05 +01:00
Michael Smith
4066a87156
aiffparse: Fix an off-by-8 bug in parsing the AIFF data size.
...
This led to overreading by 8 bytes, giving an audible glitch at the end of
a file (except when the file didn't have a trailing chunk of some sort).
2009-09-11 14:40:20 -07:00
Edward Hervey
92ec711733
mpegtsdemux: Use GST_TIME_FORMAT in debug statement.
2009-09-11 15:19:17 +02:00
Edward Hervey
ddcd0e60b1
mpegtsdemux: Reset stream->last_time when flushing.
...
This fixes naive seeking a tiny bit (by basically hinting at _data_cb
that it shouldn't expect the incoming buffers to be the ones just after
the previous ones).
Without this, seeking by more than 10mins forward would just end up in an
endless loop.
2009-09-11 15:18:58 +02:00
Edward Hervey
7057f285cc
mpegtsdemux: Sprinkle branch prediction macros.
2009-09-11 15:16:17 +02:00
Michael Smith
af6ea56cce
id3tag: When writing id3v2.3, do not use UTF-8.
...
UTF-8 is only permitted in v2.4. So instead use ISO-8859-1 for ascii-only
strings, and UTF16 otherwise. Also, do not null terminate strings in text
frames, except where required. These two allow windows media player to play
(and correctly read tags) files created by id3mux.
2009-09-10 12:14:28 -07:00
Michael Smith
29c3542dd5
adpcmdec: complete ima adpcm support.
2009-09-10 12:14:28 -07:00
Michael Smith
e90934dab3
adpcmdec: checkpoint for incomplete IMA ADPCM support.
2009-09-10 12:14:28 -07:00
Sebastian Dröge
2a7ee0716f
videomeasure: Fix format strings and include correct i18n header
2009-09-10 12:03:49 +02:00
Sebastian Dröge
bdbd944c52
videomeasure: Fix indention, line endings and use LRN's real name
2009-09-10 12:03:48 +02:00
Руслан Ижбулатов
e9297ba3eb
videomeasure: Initial version of videomeasure plugin
...
This plugin contains elements for calculating metrics of video streams, intended for objective video codec comparison.
At the moment only SSIM metric is implemented (why would you need anything else anyway?).
Also contains a helper videomeasure_collector element that collects measurement events and outputs them into a file (to be used with gst-launch).
Other metrics may be implemented in the future along with a base class for all measurers.
Fixes bug #594321 .
2009-09-10 12:03:32 +02:00
Sebastian Dröge
58a5e422b6
pnmdec: Partially fix negotiation issues and refcount leaks
2009-09-10 08:53:46 +02:00
Sebastian Dröge
cfb04acde5
pnmenc: Fix negotiation issues and refcount leaks
2009-09-10 08:48:12 +02:00
Sebastian Dröge
77e989f498
pnm: Fix typefinder caps
2009-09-10 08:29:06 +02:00
Lutz Mueller
59b6d933da
pnm: Add PNM encoder and decoder elements
...
Fixes bug #164870 .
2009-09-10 08:23:22 +02:00
Havard Graff
f0f80f81d9
outputselector: make GST_FORMAT_TIME the default segment format
2009-09-08 17:53:34 +02:00
Sebastian Dröge
15796d66bb
mpegtsdemux: Fix usage of __always_inline__ attribute
...
This attribute can't be used for function declarations because
it needs the function body. Instead of a forward declaration of
functions, move the function itself above it's first use.
Fixes bug #594489 and compilation with gcc 4.3 and earlier.
2009-09-08 15:20:14 +02:00
Mark Nauwelaerts
5658b2912b
mpeg4videoparse: fix aspect-ratio parsing in VO
2009-09-07 19:10:18 +02:00
Mark Nauwelaerts
5b1ed7d42c
mpeg4videoparse: also consider user_data pieces when parsing VO(S)
2009-09-07 19:10:02 +02:00
Wim Taymans
6e9904fa8a
siren: fix setting caps on the output pad
...
Also set the caps on the output pad when the input buffers don't have caps.
2009-09-04 17:32:34 +02:00
Josep Torra
7fa795a725
mpegpsdemux: in seeking use a factor for SCR interpolation
...
Fixes seeking on clips where PTS are unalignded with SCR.
2009-09-04 12:56:03 +02:00
Wim Taymans
d557572e66
sirendec: rewrite sirendec
...
Add setcaps and event functions.
Add state change functions to clean variables.
Use adapter.
Add timestamps and duration on outgoing buffers.
Add DISCONT handling.
2009-09-04 12:43:49 +02:00
Wim Taymans
ef999c5df7
sirenenc: cleanups
2009-09-04 12:43:48 +02:00
Josep Torra
b60d71482f
mpegtsdemux: set specific caps for lpcm in private stream
...
In the clips that I've found those streams, the lpcm header is
different than the DVD case.
Then the decoder need to know this in order to be able parse it.
2009-09-04 12:35:31 +02:00
Josep Torra
659e90f8f6
mpegtsdemux: added autodetect of packet size and removed m2ts mode property
2009-09-04 12:30:18 +02:00
Josep Torra
c67dc212bf
mpegtsdemux: some more handling of VC1 and EAC3
...
If the PMT have the register descriptor HDMV assume EAC3
For VC1 make the code more aligned to RP227.
2009-09-04 12:02:18 +02:00
Vincent Penquerc'h
bf4c1f3541
Try to fit subtitles within the video frame when they're too large
2009-09-04 09:13:34 +02:00
Olivier Crête
a333fef08c
pcapparse: Set the GStreamer timestamp according to the pcap timestamps
2009-09-03 13:39:36 -04:00
Wim Taymans
00f395e82f
sirenenc: fix events and caps
...
Add an event function that clears the adapter.
Add a setcaps function to configure caps on the srcpad. Remove the instance
variable for the caps.
2009-09-03 19:04:33 +02:00
Wim Taymans
823f06f039
sirenenc: fix timestamping
...
Handle DISCONT and reset adapter.
code cleanups.
Put timestamps and discont flags on output buffers.
Fix error handling.
Remove bogus object locks, it's all protected by the STREAM_LOCK.
2009-09-03 18:45:31 +02:00
Sebastian Dröge
77fa16cf44
mpegtsdemux: If stream type is AC3 and no EAC3 descriptor is found assume AC3
2009-09-03 15:46:27 +02:00
Josep Torra
1e865242a7
mpegtsdemux: Implement EAC3 handling according some ATSC specs.
...
Fixes bug #594030 .
2009-09-03 15:46:27 +02:00
Tim-Philipp Müller
3bb2efeea0
xdgmime: move xdg typefinder to the other typefinders in -base
...
Remove the xdgmime plugin which now barely contains any code at all
and move the functionality into gst-plugins-base next to the other
typefinders.
2009-09-03 00:28:16 +01:00
Tim-Philipp Müller
95d894fd96
mpegsmux, mpegpsmux: fix unused variable warning with the debugging system in core disabled
2009-09-02 13:37:47 +01:00
Sebastian Dröge
3f35ef4584
mpegtsdemux: Stream type 0x81 is normal AC3, not EAC3
...
Not sure what the stream type for EAC3 is though.
Fixes bug #593059 .
2009-09-01 12:56:12 +02:00
Tim-Philipp Müller
10d67eda7a
GstAdapter is not a GstObject and should be freed with g_object_unref()
2009-08-31 13:14:02 +01:00
Tim-Philipp Müller
d94d572e16
mpegtsmux: use an old-fashioned array instead of GPtrArray for mux->programs
...
Using GPtrArray for a fixed-sized array is a bit pointless and makes
for ugly code.
2009-08-31 13:00:04 +01:00
Sebastian Dröge
f3e2864f4c
mpegpsmux: Add missing files to fix compilation
...
Fixes bug #593625 .
2009-08-31 10:48:35 +02:00
Lin YANG
e453e599af
mpegtsmux: Minor fixes
2009-08-31 09:19:23 +02:00
Lin YANG
3ca8288c5b
mpegtsmux: mux->programs: use GPrtArray instead of GArray
2009-08-31 09:19:17 +02:00
Lin YANG
5b0b69a858
mpegtsmux: mpegtsmux_collected(): calculate PCR for programs
2009-08-31 09:19:12 +02:00
Lin YANG
b67ed24676
mpegtsmux: mpegtsmux_create_streams(): create multi streams
2009-08-31 09:19:00 +02:00
Lin YANG
451275714c
mpegtsmux: MpetTsPadData: add prog_id and ref to its program
2009-08-31 09:18:53 +02:00
Lin YANG
ee31988c7a
mpegtsmux: Extend mux->program to a GArray programs
2009-08-31 09:18:48 +02:00
Lin YANG
9f90dfee3e
mpegtsmux: Add new property prog-map to the muxer
2009-08-31 09:18:40 +02:00
Sebastian Dröge
baced65049
h264parse: Free the PPS buffers too
2009-08-31 09:15:09 +02:00
Lin YANG
d520e426b0
h264parse: compute timestamp
2009-08-31 09:15:09 +02:00
Lin YANG
9c08ece157
h264parse: recognize more types of NAL
...
Also recognizes NALs carrying VCL (i.e. visible pictures). We
typically only compute timestamps for such NALs
2009-08-31 09:15:09 +02:00
Lin YANG
550f60111c
h264parse: parser init & finalize
2009-08-31 09:15:08 +02:00
Lin YANG
d0273eec2c
h264parse: decode slice header
2009-08-31 09:15:08 +02:00
Lin YANG
62ac493c5c
h264parse: decode SEI
2009-08-31 09:15:08 +02:00
Lin YANG
dc696c4ffb
h264parse: decode SEI: picture timing info
2009-08-31 09:15:08 +02:00
Lin YANG
d061c0a0d1
h264parse: decode SEI: buffering period
2009-08-31 09:15:07 +02:00
Lin YANG
ba5a75d551
h264parse: decode PPS
2009-08-31 09:15:07 +02:00
Lin YANG
2531e5f584
h264parse: decode SPS
2009-08-31 09:15:07 +02:00
Lin YANG
90dfda0f46
h264parse: SPS: decode vui params
2009-08-31 09:15:07 +02:00
Lin YANG
2d50657635
h264parse: SPS: decode hrd params
2009-08-31 09:15:06 +02:00
Lin YANG
e55fb077e6
h264parse: Start slice header parsing work
2009-08-31 09:15:06 +02:00
Lin YANG
e1cfd384d6
h264parse: Start SEI parsing work
2009-08-31 09:15:06 +02:00
Lin YANG
397abd5741
h264parse: Start PPS parsing work
2009-08-31 09:15:05 +02:00
Lin YANG
196b8240e2
h264parse: Start SPS parsing work
2009-08-31 09:15:05 +02:00