Arun Raghavan
d6dcd70b4c
qtdemux: Export h.264 level in caps
...
This exports the h.264 level in the stream caps (as a string) which can
be used to match a decoder, or as metadata.
https://bugzilla.gnome.org/show_bug.cgi?id=614651
2010-04-02 18:48:45 +02:00
Arun Raghavan
503f0988bf
qtdemux: Export h.264 profile in caps
...
This adds the h.264 profile for a given stream into caps. This can
(eventually) be used to select an appropriate decoder and as metadata
for certain applications.
https://bugzilla.gnome.org/show_bug.cgi?id=614651
2010-04-02 18:48:23 +02:00
Mark Nauwelaerts
2d6d2a4d95
flvdemux: remove obsolete reverse playback code path
2010-04-01 10:46:16 +02:00
Mark Nauwelaerts
1c7b1d110b
flvdemux: support (pull mode) negative seek rate
2010-04-01 10:46:12 +02:00
Mark Nauwelaerts
d3ae0ef71f
flvdemux: also check for segment stop for non-segment-seek
2010-04-01 10:46:10 +02:00
Mark Nauwelaerts
b9f569bfd0
matroskademux: push correctly sized flac header buffers
...
Fixes #614353 .
2010-03-30 16:51:36 +02:00
Tim-Philipp Müller
9e1f5031cc
id3demux: fix parsing of unsynced frames with data length indicator
...
Fixes bug #614158 .
2010-03-30 01:54:40 +01:00
Tim-Philipp Müller
d756bab488
build: build plugins and examples in parallel where possible
2010-03-29 11:00:57 +01:00
Tim-Philipp Müller
af5e4d935a
qtdemux: extract stream language in more cases
...
The 16-bit language code can be either a packed ISO-639-2T code
or a 'Macintosh language code'. Handle the latter type of language
codes as well, and map to the matching ISO code. Lastly, fix
language code posting for language #0 , which is valid and stands
for 'English'.
Fixes #614001 .
2010-03-26 17:02:50 +00:00
Sebastian Dröge
2873c3ad6b
videobox: Fix AYUV->I420 frame copying
2010-03-26 13:45:46 +01:00
Sebastian Dröge
3bdd50c93b
videobox: Always fill the complete frame if borders should be added
...
This makes sure that we don't get any gaps between rectangles because
of chroma subsampling for example.
2010-03-26 13:28:53 +01:00
Sebastian Dröge
298f1c3202
videobox: Refactor boxing to reduce code duplication
2010-03-26 13:28:53 +01:00
Sebastian Dröge
2e043908de
alpha: Simplify caps transformation
2010-03-26 13:28:53 +01:00
Sebastian Dröge
cd6b4214a6
videobox: Add const qualifier to the source frame data
2010-03-26 13:28:53 +01:00
Mark Nauwelaerts
b1f3e4d0cf
matroskademux: only seek when in proper state
...
... and data structures can be thread-safely accessed.
See #601617 .
2010-03-26 11:45:47 +01:00
Mark Nauwelaerts
9157c262ba
matroskademux: support (pull mode) negative seek rate
2010-03-26 11:45:41 +01:00
Mark Nauwelaerts
95e38e59a2
matroskademux: track clip duration in segment
2010-03-26 11:45:39 +01:00
Mark Nauwelaerts
6ccffcf5f1
matroskademux: prefer index of video track to perform seeking
2010-03-26 11:45:36 +01:00
Mark Nauwelaerts
d654eeb6de
avidemux: fix typo in header validation check
2010-03-25 11:40:20 +01:00
Edward Hervey
66d9dbe49e
icydemux: Handle upstream Content-Type.
...
Allows us to handle ShoutCast TV (NSV) streams.
If the upstream caps have the 'content-type' field set to video/nsv, then
we shortcut the typefinding and set video/x-nsv directly.
2010-03-23 19:48:24 +01:00
Stefan Kost
f1a75adcbc
i18n: build fixes: #if -> #ifdef for ENABLE_NLS
2010-03-22 17:26:37 +02:00
Benjamin Otte
382afe983b
multifile: Include headers instead fo defining functions
2010-03-21 17:36:28 +01:00
Benjamin Otte
c2846f698b
Make goom not use aggregate returns
2010-03-21 17:23:43 +01:00
Benjamin Otte
412cc10314
Add -Wold-style-definition flag
...
And fix the warnings
2010-03-21 15:17:46 +01:00
Benjamin Otte
3f511ec361
Add -Wwrite-strings to the configure flags
...
... and fix all warnings
2010-03-21 14:17:47 +01:00
Sebastian Dröge
0f7631f8ec
shapewipe: Add support for the remaining ARGB formats
...
And handle AYUV like ARGB, we need no YUV specific handling.
2010-03-21 11:14:12 +01:00
Sebastian Dröge
b78937aa6f
alpha: Add support for RGB and xRGB input
2010-03-20 21:30:58 +01:00
Sebastian Dröge
5bbc7dd114
alpha: Add support for ARGB input
2010-03-20 21:13:23 +01:00
Sebastian Dröge
985ec0260c
alpha: Add support for generating ARGB output
2010-03-20 20:46:19 +01:00
Sebastian Dröge
fe4ff4f324
videomixer: Add support for ABGR and RGBA
...
Now all 4 ARGB variants are supported by videomixer.
2010-03-20 17:32:48 +01:00
Sebastian Dröge
1fdbfb35ff
alpha: Move chroma keying parameters into stack variables to prevent multiple pointer dereferences per pixel
2010-03-20 10:26:13 +01:00
Sebastian Dröge
9d9ba5b00e
alpha: Move color conversion matrixes into stack variables to speed up processing
2010-03-20 10:20:53 +01:00
Sebastian Dröge
eb7a146b51
alpha: Use correct matrixes to convert chroma keying color to YUV
2010-03-20 10:18:04 +01:00
Sebastian Dröge
b64619dc4e
alpha: Add support for different color matrixes
2010-03-19 19:30:32 +01:00
Sebastian Dröge
00b3eb1dfc
alpha: Rename and move functions as further preparation for supporting more color formats
2010-03-19 19:30:32 +01:00
Sebastian Dröge
46025bbd8f
alpha: Remove some unneeded calculations and instance struct fields
...
And document the instance struct fields a bit better
2010-03-19 19:30:32 +01:00
Sebastian Dröge
6b0c535e8d
alpha: Some preparations for supporting more color formats
2010-03-19 19:30:32 +01:00
Wim Taymans
b019a78ab8
h264pay: fix config-interval property
...
Use the same units for comparing the elapsed time against the interval.
Fixes #613013
2010-03-19 17:13:07 +01:00
Sebastian Dröge
e3584bf52c
alphacolor: Implement color-matrix support and use integer arithmetic only
...
Alphacolor now uses the correct matrixes for SDTV and HDTV and can
convert between them.
2010-03-19 16:45:07 +01:00
Wim Taymans
ef804589ca
rtsp: use GType from -base and bump required version
...
Use the transport flags GType from -base and bump the required version of -base
because of this.
2010-03-19 15:03:43 +01:00
Tim-Philipp Müller
553e0295b2
apetag: minor Makefile.am surgery
...
-I$(top_srcdir)/gst-libs/ is already in $(GST_CFLAGS)
2010-03-19 00:05:19 +00:00
Tim-Philipp Müller
073201b329
build: Makefile.am cleanups
...
Mostly add $(GST_BASE_CFLAGS) where it was missing, but also fix up
order of flags and libs if needed (see docs/random/moving-plugins).
2010-03-18 21:34:24 +00:00
Sebastian Dröge
dad4e96672
alpha: Remove remaining floating point arithmetic when processing a pixel
2010-03-18 19:01:47 +01:00
Sebastian Dröge
f7ba12513e
alpha: Refactor chroma keying into a single function
...
This reduces code duplication once we add support for more color formats.
2010-03-18 19:01:47 +01:00
Benjamin Otte
cccfeaa59c
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 14:32:00 +01:00
Benjamin Otte
bc1b65bee3
Remove oldcore directory
...
The elements have been unused for ages and all important ones have been
replaced or copied elsewhere.
2010-03-18 14:32:00 +01:00
Benjamin Otte
46fdd8b624
avi: Remove old file
...
Seems to be leftover from the 0.4 days or so.
2010-03-18 14:32:00 +01:00
Mark Nauwelaerts
fd5164af96
rtph264depay: do not call _push_ts with unneeded (and wrong) time parameter
...
Fixes #613206 .
2010-03-18 12:43:14 +01:00
Mark Nauwelaerts
abd9c0c657
avidemux: fix typo in header validation check
2010-03-18 11:37:12 +01:00
Jan Urbański
7d32f46b7a
flvmux: put more information in the metadata
...
Additional tags are: audiocodecid, videocodecid framerate and (in the
non-live case) filesize.
While at it, fix index rewriting to update duration and filesize
values even if the index is empty.
Fixes #613094 .
2010-03-18 10:00:58 +01:00
Benjamin Otte
c76e72a7f5
Add -Wundef to configure flags
...
and fix the resulting warnings
2010-03-17 21:33:28 +01:00
Benjamin Otte
1055aaa9cb
Add -Wredundant-decls warning flag
...
Also fix compile issues
2010-03-17 19:35:10 +01:00
Benjamin Otte
18bc896605
Fix warnings in experimental plugins, too
2010-03-17 18:49:11 +01:00
Benjamin Otte
3342b1679e
Add -Wmissing-declarations -Wmissing-prototypes warning flags
...
And fix all the warnings.
2010-03-17 18:23:28 +01:00
Wim Taymans
7e363149f3
mp4gdepay: improve constantDuration guessing
...
When no constantDuration has been given in the caps, try to derive one from the
timestamp difference between packets. Also keep doing this for each packet
because some broken streams might simply provide wrong timestamps.
2010-03-17 16:27:13 +01:00
Jan Urbański
dcb5afd351
flvmux: Put width and height in the metadata
...
Some players use that info to scale their display.
See #613094 .
2010-03-17 09:28:03 +01:00
Jan Urbański
96de71d74b
flvmux: don't put timestamps larger than G_MAXINT32 in the FLV tags
...
For non-live input respond by pushing EOS, for live wrap the
timestamps every G_MAXINT32 miliseconds.
Fixes #613003 .
2010-03-17 09:24:49 +01:00
Sebastian Dröge
f961f884b6
alphacolor: Fix RGBA<->AYUV conversion
2010-03-16 21:23:11 +01:00
Sebastian Dröge
117e7401c5
alpha: Remove redundant instance field
2010-03-16 21:16:26 +01:00
Sebastian Dröge
9e4ebba45e
alpha: Protect property values from changes during frame processing
2010-03-16 21:10:08 +01:00
Jan Urbański
a99ee96172
flvmux: Always put a duration tag in the metadata
...
Some Flash players (for instance JW Player) always expect a duration
tag, otherwise they don't start playback.
If duration can be queried from the sink pads or is provided as a tag,
use it. Otherwise try to determine it from the last seen timestamp of
the sink pads after EOS and rewrite it in the header before writing
the index.
2010-03-16 15:12:46 +01:00
Jan Urbański
ef8f7614ff
flvmux: Remove the send_codec_data field from GstFlvPad
...
That field is not used anymore after the changes in
9fdecbc1c1
.
2010-03-16 15:12:46 +01:00
Wim Taymans
efbdecd0ac
multiudpsink: get family of external sockets too
...
Get the family of externally configured sockets so that we can configure it
correctly.
2010-03-16 13:53:26 +01:00
Sebastian Dröge
3197490c2f
alphacolor: Add support for the remaining ARGB formats
2010-03-15 20:37:51 +01:00
Sebastian Dröge
d6379362e5
alphacolor: Simplify ARGB<->AYUV conversions by code generation macros
2010-03-15 19:16:18 +01:00
Sebastian Dröge
322a8f5e6d
alpha: Minor cleanups and move declarations into a separate header file
2010-03-15 19:07:28 +01:00
Sebastian Dröge
6f80d41c04
alpha: Use GstVideoFilter as base class for automatic QoS support
2010-03-15 18:58:51 +01:00
Sebastian Dröge
c01cf035c1
alphacolor: Add support for inplace conversions from AYUV to ARGB
2010-03-15 18:52:39 +01:00
Sebastian Dröge
8cbb9608f9
alphacolor: Use libgstvideo for caps parsing
2010-03-15 18:22:21 +01:00
Sebastian Dröge
751b293df8
alphacolor: Use GstVideoFilter as base class for automatic QoS support
2010-03-15 18:09:55 +01:00
Sebastian Dröge
e46f0261c8
alphacolor: Some minor cleanup
2010-03-15 18:07:29 +01:00
Jan Urbański
c69c5cb0d7
flvmux: Correctly mark buffers as delta units
...
Mark video interframes, video codec data buffers and audio buffers (if
it's not an audio-only stream) as delta units.
2010-03-15 13:54:39 +01:00
Jan Urbański
9fdecbc1c1
flvmux: Support streamheaders
...
Put the FLV header, the metadata tag and (if present) codec
information in the streamheader to allow the muxer to be used for
streaming.
2010-03-15 13:53:53 +01:00
Jan Urbański
7deee29d2c
flvmux: Preallocate index space and fill it after finishing output
...
Make the index appear at the beginning of the file, which is what most
players are expecting.
Fixes #601236 .
2010-03-15 13:52:03 +01:00
Sebastian Dröge
7c74f7d525
flvmux: Minor coding style fixes and cleanup
2010-03-15 13:47:13 +01:00
Jan Urbański
54a8237d62
flvmux: Add a is-live property
...
If it is set, the muxer will not write the index. Defaults to false.
2010-03-15 13:46:09 +01:00
Jan Urbański
c9bb3edd6f
flvmux: Only put valid seek points in the index
...
For files containing video only video keyframes are valid points to
which a player can seek. For audio-only files any tag start is a valid
seek point.
See #601236 .
2010-03-15 13:45:21 +01:00
Jan Urbański
b21c5c9015
flvmux: Fix index building to make entries point to tag's start offset
...
Previous coding was wrongly incrementing the total byte count before
adding an index entry.
2010-03-15 13:44:14 +01:00
Wim Taymans
ba6dbaecfc
rtspsrc: don't forget to send keepalive messages
...
When we operate in TCP mode, still send keepalive messages when we
need to.
Fixes #612696
2010-03-15 11:38:23 +01:00
Thiago Santos
5efda5caf7
qtdemux: add XMP parsing support
...
Use xmp helpers to parse XMP metadata in udta atom.
Fixes #609539
2010-03-11 19:04:49 -03:00
Michael Smith
5b357ce22e
udp: fix compilation errors on non-windows.
2010-03-11 12:32:56 -08:00
Andoni Morales Alastruey
7f980d28aa
multiudpsink: avoid getting the socket family using getsockname()
2010-03-11 10:33:10 -08:00
Edward Hervey
32498746ad
qtdemux: Fix print statements for pointer differences.
...
This fixes it for both 32 and 64 bit
2010-03-11 17:28:47 +01:00
Edward Hervey
8d794e6a9f
qtdemux: Fix unitialized variables
2010-03-11 17:28:35 +01:00
Edward Hervey
6dfcee8fdb
flvdemux: Fix printf formatting for macosx
2010-03-11 17:04:41 +01:00
Edward Hervey
8e0a8b30b8
flvdemux: Fix unitialized variables
2010-03-11 17:04:41 +01:00
Edward Hervey
c4d55cf782
avidemux: Fix unitialized variable.
2010-03-11 17:04:41 +01:00
Edward Hervey
95d087ed77
flvparse: Make script tag parsing more flexible.
...
* The nb_elements for arrays is just an indication, we can therefore ignore
it and carry on parsing metadata items until we reach the end marker.
* If type == 3, then the script tag contains a list of object followed
by the end marker.
Refactor code slightly to handle both cases
https://bugzilla.gnome.org/show_bug.cgi?id=610447
2010-03-11 17:04:41 +01:00
Mark Nauwelaerts
c007d8535c
avidemux: ignore stream with invalid header time metadata
2010-03-11 15:04:19 +01:00
Thiago Santos
145b3a3079
qtdemux: Set stream-format=raw on AAC caps
...
Set stream-format=raw for AAC caps, as that is the
expected AAC format to be in this container family.
Fixes #566250
2010-03-11 09:38:32 -03:00
Wim Taymans
d29fa60f97
rtspsrc: check for NULL before doing strcmp
...
Check the connection and address type for NULL before doing strcmp and
crashing.
Fixes #612553
2010-03-11 12:56:11 +01:00
Stefan Kost
0a43c86723
build: include stdlib.h for atoi()
2010-03-11 11:09:55 +02:00
Stefan Kost
f405f9c775
audiopanorama: move invariant check out of the inner loop
...
Improves performance for simple method.
2010-03-11 10:35:05 +02:00
Benjamin Otte
21f66635e8
Update for recent changes to common submodule
...
This just replaces every "$ERROR_CFLAGS" usage with a usage of
"$WARNING_CFLAGS $ERROR_CFLAGS" to get the same functionality as
previously.
Actually using that separation will happen later.
2010-03-10 21:53:51 +01:00
Andoni Morales Alastruey
2eb651d46f
multiudpsink: Reset windows error code after getting corresponding error message.
2010-03-10 10:51:28 -08:00
Michael Smith
c3b0509beb
avimux: put the codec_data blob into the actual data for MPEG4 video,
...
to match other implementations in the wild.
2010-03-10 10:40:47 -08:00
Mark Nauwelaerts
1a60c7b040
avidemux: push mode; also report seekable without an element index
...
... since recent code also seeks around to obtain required data
from avi index.
2010-03-10 11:48:07 +01:00
Mark Nauwelaerts
3a1a140e2d
avidemux: add some check and standardized seek event handling in push mode
2010-03-10 11:48:07 +01:00
Mark Nauwelaerts
d90aed1857
avidemux: fix offset handling in push mode seeking
...
Push mode seeking uses same index data as pull mode, and stores
offset to data in chunk, whereas push mode operates in chunks,
and as such needs offset consistently corresponding to chunk headers.
Also fix determining best matching stream for incoming newsegment event,
as well as setting some stream state accordingly.
2010-03-10 11:48:07 +01:00
Mark Nauwelaerts
1dfcc3227c
flvdemux: conduct index scan in task thread
...
... rather than in seeking thread, which might then occupy mainloop
for some time with possible unresponsive side-effects.
2010-03-10 11:48:07 +01:00