Commit graph

711 commits

Author SHA1 Message Date
David Schleef
53f8b05b08 Use %03u for format in gst_pad_create_stream_id_printf() 2013-03-25 18:57:08 -07:00
Tim-Philipp Müller
dfde4179e8 avimux: change raw video caps order so that GRAY8 is last
People like colours.

https://bugzilla.gnome.org/show_bug.cgi?id=695543
2013-03-12 00:16:18 +00:00
Dirk Van Haerenborgh
065bdf5925 avimux: support raw BGR
https://bugzilla.gnome.org/show_bug.cgi?id=695543
2013-03-11 14:51:00 +01:00
Dirk Van Haerenborgh
d7743cf7c6 avidemux: support raw video with negative height
https://bugzilla.gnome.org/show_bug.cgi?id=695541
2013-03-11 14:23:46 +01:00
Mark Nauwelaerts
56e2767c20 avidemux: push mode: handle some more 0-size buffer cases
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=684944
2013-02-24 19:28:07 +01:00
Tim 'mithro' Ansell
c499a81848 avimux: Fixing buffer leak in gst_avi_mux_do_buffer
gst_avi_mux_do_buffer was leaking data from gst_collect_pads_pop.
2013-02-12 10:09:05 +01:00
Mark Nauwelaerts
bf81dce432 avidemux: correct duration for audio VBR buffers in pull mode 2013-02-10 15:10:32 +01:00
Mark Nauwelaerts
f0645b79c5 avidemux: proper position reporting and push mode timestamping
... and align current_total semantics in push and pull mode,
which tracks bytes for CBR and blocks for VBR.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=691481
2013-02-08 21:41:55 +01:00
Dirk Van Haerenborgh
18ff57d6b3 avimux: add support for raw monochrome 8-bit video
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692932
2013-01-31 13:00:17 +01:00
Wim Taymans
dcb0e0af93 avidemux: cleanup in flag define 2012-12-20 13:04:52 +01:00
Wim Taymans
0e522bc69a avidemux: improve debug 2012-12-20 13:04:52 +01:00
Tim-Philipp Müller
230cf41cc9 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:07:18 +00:00
Wim Taymans
a2eead3d60 avi_ fix invert function
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686550
2012-10-22 11:55:59 +02:00
Wim Taymans
0e3ef30c31 avi: fix debug 2012-10-22 11:55:22 +02:00
Tim-Philipp Müller
f94572fb36 avidemux: append palette data to paletted 8-bit RGB frames
Fixes playback of 8-bit indexed RGB videos, with fixes in -base.

https://bugzilla.gnome.org/show_bug.cgi?id=686046
2012-10-16 01:09:05 +01:00
Mark Nauwelaerts
b10829d6c8 avidemux: push mode; handle some initial junk before hdrl list
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=685059
2012-10-01 15:50:53 +02:00
Mark Nauwelaerts
cb0e4b2059 avidemux: recognize all xsub frames as keyframes
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=684977
2012-09-28 17:04:42 +02:00
Mark Nauwelaerts
511dfa5ee5 avidemux: push mode: find the correct chunk for segment following seek
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=684977
2012-09-28 17:04:42 +02:00
Tim-Philipp Müller
c3f62d7ead avimux: send stream-start event 2012-09-23 16:33:34 +01:00
Stefan Sauer
f874922e1c collectpads: remove gst_collect_pads_add_pad_full
Rename gst_collect_pads_add_pad_full() to gst_collect_pads_add_pad() and fix all
invocations.
2012-09-12 21:05:44 +02:00
Mark Nauwelaerts
f12ef67f56 ext, gst: only activate in pull mode if upstream is seekable 2012-09-11 17:44:51 +02:00
Mark Nauwelaerts
ca36de1e8f avidemux: remove defunct commented code 2012-09-10 14:30:42 +02:00
Tim-Philipp Müller
6dc7b4c3c7 video/x-3ivx and video/x-xvid -> video/mpeg,mpegversion=4
If it ever turns out that we really must use thoe specific
fourccs and not the generic one, we can still add a flavor
field to the caps later.
2012-09-10 00:43:24 +01:00
Tim-Philipp Müller
9bf90f47cf video/x-xvid -> video/mpeg,mpegversion=4 2012-09-03 02:51:24 +01:00
Mark Nauwelaerts
e1881d1e44 avidemux: avoid invalid H264 bytestream codec_data
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681369
2012-08-28 19:01:11 +02:00
Tim-Philipp Müller
4bb52bbadf docs: gst-launch -> gst-launch-1.0 and ffmpegcolorspace -> videoconvert 2012-08-27 21:20:30 +01:00
Sebastian Dröge
7b5925b5a4 gst: Add stream-id to stream-start events 2012-08-06 13:43:57 +02:00
Tim-Philipp Müller
c074bfd0b9 gst_tag_list_free -> gst_tag_list_unref 2012-08-04 16:10:16 +01:00
Sebastian Dröge
0827f54b93 tag: Update for taglist/tag event API changes 2012-07-28 00:19:51 +02:00
Mark Nauwelaerts
6cc2ad4744 avidemux: rearrange some checks to avoid NULL use 2012-07-24 16:05:32 +02:00
Mark Nauwelaerts
6cb106d690 avidemux: use same fourcc to determine caps in determining uncompressed-ness
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=673898

Conflicts:

	gst/avi/gstavidemux.c
2012-07-24 16:05:31 +02:00
Mark Nauwelaerts
e5369901ad Revert "avidemux: Don't consider 0 fcc_handler as uncompressed."
This reverts commit c6b9f5b25a.

fourcc GST_RIFF_rgb = 0 still leads to raw uncompressed rgb caps.

See also https://bugzilla.gnome.org/show_bug.cgi?id=673898
2012-07-24 16:05:31 +02:00
Tim-Philipp Müller
f879e4e0f0 avidemux: fix header parsing in push mode
Fix 'break' that got warped to the wrong place,
probably as part of a merge. Fixes GST_IS_BUFFER
criticals in parse_idit() when being accidentally
passed a NULL buffer because of the missing break.

gst-launch-1.0 playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480i.avi
2012-07-18 23:43:59 +01:00
Edward Hervey
f063e40af7 demux: Push STREAM_START event when needed 2012-07-13 13:51:48 +02:00
Mark Nauwelaerts
f1b435d1b5 update for riff field rename 2012-07-09 12:53:47 +02:00
Sebastian Dröge
aeafc3a093 gst: Implement segment-done event 2012-07-05 13:13:09 +02:00
Wim Taymans
30d3dfee36 update for task api change 2012-06-20 10:33:42 +02:00
Sebastian Dröge
a1948e34d2 elements: Use gst_pad_set_caps() instead of manual event fiddling 2012-06-08 15:54:42 +02:00
Wim Taymans
b5df4f0e62 update for tag event change 2012-06-06 13:02:12 +02:00
Thiago Santos
46083803d7 avimux: fix assertion when handling a date tag as a string
Date tags are GDate, not strings. Add a special case to convert
it to the exif date format representation in string to avoid
the assertion
2012-05-21 10:34:20 -03:00
Luis de Bethencourt
c7f124c8a8 avi: fix build errors
fix redundant declarations
and also style/indent issues
2012-04-30 21:30:56 +01:00
Vincent Penquerc'h
cfd0da4146 avi: implement forward snapping keyframe seeking
In pull mode with an index.
2012-04-30 10:20:40 +01:00
Mark Nauwelaerts
67e168aef4 collectpads2: rename to collectpads 2012-04-17 15:14:27 +02:00
Mark Nauwelaerts
04b4d30f2c misc: chain up to collectpads event handler 2012-04-16 16:37:49 +02:00
Edward Hervey
4bd694d2cd avi: Check return value of GstByteWriter 2012-04-12 15:47:49 +02:00
Tim-Philipp Müller
e09ae5736d Use new gst_element_class_set_static_metadata() 2012-04-10 00:51:41 +01:00
Sebastian Dröge
aa2cd462da gst: Update for GST_PLUGIN_DEFINE() API changes 2012-04-05 17:36:38 +02:00
Sebastian Dröge
5cdd49bf25 gst: Update versioning 2012-04-04 14:37:47 +02:00
Wim Taymans
cdb905efe0 avidemux: avi only knows about DTS
Only set DTS on outgoing buffers unless we have a keyframe and then we can set
the PTS to DTS as well.
2012-04-03 11:50:00 +02:00
Wim Taymans
3d61d12e03 update for buffer api change 2012-03-30 18:15:34 +02:00
Wim Taymans
69002aa24f update for buffer changes 2012-03-28 12:53:05 +02:00
Wim Taymans
e310ee8218 caps: improve caps handling
Avoid caps copy and leaks
2012-03-27 16:42:41 +02:00
Wim Taymans
513d480fbf don't pass random pointers to pull_range 2012-03-16 21:47:21 +01:00
Mark Nauwelaerts
26dd999b68 Merge branch 'master' into 0.11
Conflicts:
	ext/wavpack/gstwavpackparse.c
	sys/v4l2/gstv4l2bufferpool.c
	sys/v4l2/gstv4l2bufferpool.h
	sys/v4l2/gstv4l2videooverlay.c
2012-03-05 13:29:59 +01:00
Antoine Tremblay
073a03ef5c avimux: support up to 6 channels of AC-3
https://bugzilla.gnome.org/show_bug.cgi?id=671220
2012-03-03 18:20:30 +00:00
Wim Taymans
ca9532ccc5 update for new memory api 2012-02-22 02:10:33 +01:00
Wim Taymans
408873a884 avimux: take the pad from collectpads2 correctly 2012-02-06 13:43:49 +01:00
Vincent Penquerc'h
714e556ef1 Revert "avidemux: fix GstDateTime/GDateTime mixup"
This reverts commit acc9f15096.

The GstDateTime->GDateTime change in core was apparently accidental,
and is now reverted.
2012-01-26 18:25:21 +00:00
Vincent Penquerc'h
acc9f15096 avidemux: fix GstDateTime/GDateTime mixup
This is a blind fix to match the one I just made to qtdemux,
as I do not have an AVI file where the code gets executed.
2012-01-26 17:52:30 +00:00
Sebastian Dröge
934cd01480 avimux: Update for new collectpads2 event handling API 2012-01-26 10:34:30 +01:00
Sebastian Dröge
0b517ce9fb Merge branch '0.11' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-good into 0.11 2012-01-25 12:49:34 +01:00
Sebastian Dröge
10554b271f Merge branch 'master' into 0.11
Conflicts:
	ext/flac/gstflacdec.c
	ext/jpeg/gstjpegenc.c
	ext/pulse/pulsesink.c
	sys/v4l2/gstv4l2src.c
2012-01-25 12:49:11 +01:00
Wim Taymans
583d39dd8d update for new memory API 2012-01-25 12:30:28 +01:00
Mark Nauwelaerts
436a85ac8a avidemux: tweak DEFAULT format duration query response 2012-01-20 17:10:25 +01:00
Wim Taymans
1584806634 port to new gthread API 2012-01-19 11:33:53 +01:00
Sebastian Dröge
93e3ed5a86 Merge branch 'master' into 0.11
Conflicts:
	ext/cairo/gsttextoverlay.c
	ext/pulse/pulseaudiosink.c
	gst/audioparsers/gstaacparse.c
	gst/avi/gstavimux.c
	gst/flv/gstflvmux.c
	gst/interleave/interleave.c
	gst/isomp4/gstqtmux.c
	gst/matroska/matroska-demux.c
	gst/matroska/matroska-mux.c
	gst/matroska/matroska-mux.h
	gst/matroska/matroska-read-common.c
	gst/multifile/gstmultifilesink.c
	gst/multipart/multipartmux.c
	gst/shapewipe/gstshapewipe.c
	gst/smpte/gstsmpte.c
	gst/udp/gstmultiudpsink.c
	gst/videobox/gstvideobox.c
	gst/videocrop/gstaspectratiocrop.c
	gst/videomixer/videomixer.c
	gst/videomixer/videomixer2.c
	gst/wavparse/gstwavparse.c
	po/ja.po
	po/lv.po
	po/sr.po
	tests/check/Makefile.am
	tests/check/elements/qtmux.c
	tests/check/elements/rgvolume.c
2012-01-10 14:32:32 +01:00
Sebastian Dröge
a4cccc9191 avidemux: Update for the libgstriff API changes
Still needs to do reordering of channels for raw audio.
2012-01-05 10:30:32 +01:00
Wim Taymans
5fd2b7abe3 GST_FLOW_UNEXPECTED -> GST_FLOW_EOS 2012-01-03 15:26:21 +01:00
Tim-Philipp Müller
fe02975939 avidemux: update for GstIndex removal 2011-12-30 17:12:03 +00:00
Mark Nauwelaerts
97391f1402 avimux: use GstCollectPads2 event callback
... in stead of local HACK.
2011-12-15 16:31:33 +01:00
Vincent Penquerc'h
a89e2b7e48 avimux: port to GstCollectPads2 2011-12-14 18:38:09 +00: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
Wim Taymans
c36325f0aa Update for indexable change 2011-11-28 18:25:52 +01:00
Vincent Penquerc'h
c0e101e93f various: fix pad template leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:30:27 +00:00
Matej Knopp
1e5dd9e315 Fix printf format compiler warnings on OS X / 64bit
https://bugzilla.gnome.org/show_bug.cgi?id=662615
2011-11-22 01:28:22 +00:00
Wim Taymans
f8e988a94c update for activation changes 2011-11-21 13:37:01 +01:00
Wim Taymans
6e4fb21331 update for new scheduling query 2011-11-18 17:59:16 +01:00
Wim Taymans
b7aa7bca52 add parent to activate functions 2011-11-18 13:57:20 +01:00
Wim Taymans
105650127e add parent to pad functions 2011-11-17 15:02:55 +01:00
Stefan Sauer
8643d1caaf collectpads: port API changes 2011-11-17 08:44:45 +01:00
Wim Taymans
6190312214 add parent to query function 2011-11-16 17:27:13 +01:00
Wim Taymans
e7918a5aba _query_peer_*() -> _peer_query_*() 2011-11-15 18:04:44 +01:00
Wim Taymans
7e12b58e37 update for adapter api changes 2011-11-10 18:32:58 +01:00
Wim Taymans
221ea2fc44 Merge branch 'master' into 0.11 2011-11-09 17:40:10 +01:00
Vincent Penquerc'h
f4506d5181 avidemux: fix wrong stride when inverting uncompressed video
Such frames have a stride multiple of 4, see
http://lscube.org/pipermail/ffmpeg-issues/2010-April/010247.html.

This showed up on a sample using a odd width of 24 bit video.

https://bugzilla.gnome.org/show_bug.cgi?id=652288
2011-11-09 11:43:41 +00:00
Wim Taymans
49658dd5b5 remove query types 2011-11-09 11:53:01 +01:00
Wim Taymans
a19a4a69ae more template fixes 2011-11-04 13:12:37 +01:00
Wim Taymans
a95acb7122 make %u in all request pad templates 2011-11-04 11:58:22 +01:00
Wim Taymans
e038ab5a0b tags: update for tag API removal 2011-11-02 12:09:20 +01:00
Tim-Philipp Müller
9cd17092d8 ext, gst: update for taglist API changes 2011-10-30 11:44:53 +00:00
Wim Taymans
9c14280b1d make some more things compile again 2011-10-27 19:00:52 +02:00
Wim Taymans
e204c5934c -good: port to new audio caps 2011-09-06 13:16:27 +02:00
Wim Taymans
9d6371405e fourcc: remove fourcc from caps 2011-08-22 12:24:15 +02:00
Tim-Philipp Müller
b843f8f99c gst: udpate for position/duration/convert query API changes 2011-07-28 11:38:31 +01:00
Tim-Philipp Müller
f94ea7299a avidemux: fix compiler warning
gstavidemux.c: In function 'gst_avi_demux_parse_stream':
gstavidemux.c:1261:24: error: 'data' may be used uninitialized in this function [-Werror=uninitialized]
gstavidemux.c:1204:11: note: 'data' was declared here
2011-07-28 11:38:31 +01:00
Mark Nauwelaerts
1ea692bc63 avidemux: free scheduling query 2011-07-04 11:06:54 +02:00
Mark Nauwelaerts
65bb271a95 avidemux: tweak some ported segment handling
... to avoid losing duration during push mode seeking, and to properly
accumulate running time when segment seeking.
2011-06-29 12:16:38 +02:00
Wim Taymans
458d163ccb avimux: use string for video format now 2011-06-20 12:13:11 +02:00
Wim Taymans
c9b154df2f avi: link against gstvideo now 2011-06-20 12:04:48 +02:00
Wim Taymans
b138a0906d avi: port to new caps 2011-06-20 12:03:24 +02:00