Julien Moutte
6f9006c9b9
riff: Manually calculate bitrate of ADPCM streams
...
Some ADPCM encoding tools like Oxelon generate WAV files with
wrong format header declaring an invalid bitrate.
As wavparse uses the average bitrate to calculate timestamps
and duration the decoder can be confused by receiving timestamps
completely out of sync with the decoded samples.
ADPCM is a CBR audio codec so we can calculate the average bitrate
instead of trusting the format header.
https://bugzilla.gnome.org/show_bug.cgi?id=636245
2013-05-07 15:01:05 +02:00
Tim-Philipp Müller
1a83c7a36a
riff: wma can have more than 6 channels
...
Some versions anyway.
2013-05-03 16:24:55 +01:00
Matej Knopp
90620b236a
riff: add format=WMV3 for WMV 3 caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=697665
2013-04-15 12:39:25 +02:00
Dirk Van Haerenborgh
e8ca0528a9
riff: never create caps with negative height
...
https://bugzilla.gnome.org/show_bug.cgi?id=695540
2013-03-11 14:23:05 +01:00
Matej Knopp
5385a65b04
riffmedia: add systemstream to all mpeg video caps
2013-02-14 10:58:38 +01:00
Wim Taymans
d094ac49cc
riff: add more gray8 variants
2013-01-31 12:57:11 +01:00
Dirk Van Haerenborgh
a81089614b
riff: add support for raw monochrome 8-bit video
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692930
2013-01-31 12:56:16 +01:00
Pete Beardmore
569f3a29ab
riff: add waveformatextension generic support
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=690591
2013-01-14 16:49:15 +01:00
Wim Taymans
ca456ec6f9
riff: add channel masks for all formats
...
Add the channel masks for all the extensible formats
Pass the number of channels instead of reading them from caps.
2012-12-21 14:03:32 +01:00
Pete Beardmore
d2c68e602d
riff: add waveformatextension ac3 support
...
fixes #690591
2012-12-21 13:28:41 +01:00
Tim-Philipp Müller
5f59b4f7ee
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Wim Taymans
3787b6d05e
riff: add bpp to caps for msvideo
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686298
2012-10-22 10:30:16 +02:00
Tim-Philipp Müller
4834e11da0
riff-media: fix palette extraction some more
...
We still need to make sure the palette is always at least 1024
bytes.
2012-10-16 11:48:32 +01:00
Tim-Philipp Müller
b0d581eadc
riff: create palette_data buffer correctly
...
gst_buffer_copy_into() will append to any existing
memory region, so don't create a buffer and alloc
some memory, but just create an empty buffer and
let _copy_into() append the memory we want. Fixes
the palette being 2048 bytes with the first half
being filled with garbage.
https://bugzilla.gnome.org/show_bug.cgi?id=686046
2012-10-16 00:55:56 +01:00
Tim-Philipp Müller
b772d5d271
riff: 8-bit paletted video is format RGB8P, not RGB8_PALETTED
...
https://bugzilla.gnome.org/show_bug.cgi?id=686046
2012-10-12 21:31:25 +01:00
Tim-Philipp Müller
37f9177817
video/x-3ivx -> video/mpeg, mpegversion=4
2012-09-10 00:28:15 +01:00
Tim-Philipp Müller
ba7d738d9e
video/x-xvid -> video/mpeg,mpegversion=4
2012-09-03 18:56:26 +01:00
Mark Nauwelaerts
edbd1784bf
riff: rename field in gst_riff_strf_auds
...
... which is supposed to align with WAVEFORMATEX, but has confusing
names compared to the last 2 fields in the latter (and still
misses 1 field compared to the latter).
2012-07-09 12:27:56 +02:00
Tim-Philipp Müller
6cd3faaa65
riff: fix compilation on big-endian
...
Update to new gst_buffer_map() API
2012-02-22 21:22:06 +00:00
Wim Taymans
d2ea46cdbf
Merge branch 'master' into 0.11
...
Conflicts:
tests/examples/seek/seek.c
2012-02-21 10:01:30 +01:00
David Schleef
0b3f956277
riff: Add v210, r210 formats
2012-02-18 17:38:05 -08:00
Wim Taymans
fcdc385aa1
port to new map API
2012-01-25 12:30:53 +01:00
Wim Taymans
1317811af6
riff: don't use NULL arrays
2012-01-05 12:31:51 +01:00
Sebastian Dröge
c52b50a517
riff: Return a channel reorder map for raw audio when creating the caps
2012-01-05 10:34:25 +01:00
Sebastian Dröge
7cd0659032
riff: Add the layout field to the raw audio caps
2012-01-05 10:34:24 +01:00
Sebastian Dröge
ee80a97a2a
riff: Port to the new multichannel caps
2012-01-05 10:34:24 +01:00
Stefan Sauer
d0a5cb8c01
riff-media: port GST_BUFFER_DATA to 0.11 in conditional code branch
2011-12-14 11:31:31 +01:00
Wim Taymans
06311362e9
fix compilation
2011-10-27 17:26:58 +02:00
Wim Taymans
33196cdd2c
audio: change audio format syntax a little
...
Remove the _ in front of the endianness prefix.
Remove the _3 postfix for the 24 bits formats.
Add a _32 postfix after the formats that occupy extra space beyond their
natural size.
The result is that the GST_AUDIO_NE() macro can simply append the endianness
after all formats and that we only specify a different sample width when it is
different from the natural size of the sample. This makes things more consistent
and follows the pulseaudio conventions instead of the alsa ones.
2011-09-06 12:06:39 +02:00
Wim Taymans
6854f2bbf1
multichannel: add some more channels
2011-08-24 18:39:47 +02:00
Wim Taymans
c81c62d03a
fourcc: remove fourcc
...
Remove fourcc in caps.
Fix pbutils descriptions.
Add more video macros
Fix some unit test
2011-08-22 12:22:02 +02:00
Wim Taymans
0213407fbc
audio: rename INT -> INTEGER
...
Spell INTEGER fully instead of using the int abreviation.
Remove some old functions.
2011-08-20 10:49:17 +02:00
Wim Taymans
5e90085ca2
riff: port to new audio caps
2011-08-19 16:01:08 +02:00
Josep Torra
5629ed74b3
Fix debug statements
...
Fixes build on MacOSX
Signed-off-by: Edward Hervey <edward.hervey@collabora.co.uk>
2011-08-10 11:15:41 +02:00
Wim Taymans
3d25a4b470
libs: port to new data API
2011-03-27 13:55:15 +02:00
Edward Hervey
7faf92511a
riff: Add support for video/x-camstudio
2011-01-24 18:27:30 +01:00
Thijs Vermeir
3a04b08437
riff: add support for 2vuy
...
It is the apple alternative for Microsofts UYVY.
(http://ntta.szm.com/Tutors/FourCC.htm )
Only use the UYVY for the caps to enable support in other
gstreamer elements.
https://bugzilla.gnome.org/show_bug.cgi?id=627924
2010-08-25 19:12:21 +02:00
Tim-Philipp Müller
524c977c18
riff: add FLV4 fourcc and map it to video/x-vp6-flash
...
Fixes #623176 .
2010-06-30 21:20:37 +01:00
Edward Hervey
1d21ce0da2
riff: Add support for VP6F (On2 VP6 Flash variant)
2010-06-09 22:35:52 +02:00
Sebastian Dröge
0a4eaa7f60
riff: Add support for On2 VP8
2010-05-19 19:23:07 +02:00
Wim Taymans
9696af170f
riff: relax width and height constraints
...
Increase the acceptable video sizes from [16,4096] to [1, MAX].
See #618392
2010-05-13 12:06:41 +02:00
Mark Nauwelaerts
9b227f17c8
riff: add some more fourcc for MPEG-4 video
2010-03-23 11:02:07 +01:00
Rob Clark
5075d57b9d
riff: add mapping for On2 VP7 fourccs
...
Fixes #612968 .
2010-03-16 00:49:35 +00:00
Rob Clark
a73bbb63ac
riff: add mapping for On2 VP62 fourcc
...
See #612968 .
2010-03-16 00:47:21 +00:00
Edward Hervey
dde84e4c4b
riff: Add mapping for Zip Block Motion Video
2010-01-23 15:34:54 +01:00
Edward Hervey
52ec4f4394
riff: YUNV is a fourcc which is also used for YUY2 raw video
2010-01-23 15:26:37 +01:00
Edward Hervey
de736fb1d1
riff: vp61 and VP61 are also valid On2 VP6 fourcc
2010-01-23 15:13:45 +01:00
Edward Hervey
5dff488a26
riff: Add mapping for On2 VP5
2010-01-23 15:10:45 +01:00
Edward Hervey
b5367b89ed
riff: Add mapping for Sigma-Designs MPEG4
...
It's actually a xvid-compatible stream. both xviddec and ffmpeg handle it.
2010-01-23 15:04:35 +01:00
Edward Hervey
554b4a6c25
riff: Add mapping for LOCO Lossless codec
2010-01-23 14:35:16 +01:00