Commit graph

1657 commits

Author SHA1 Message Date
Wim Taymans
0e1d6c0011 avcodecmap: only restrict caps on encoders
We only want to restrict the channels/rate and width/height on the encoder pads.
For decoders can't assume that the input caps contain channels/rate or
width/height so we need to accept everything.
2012-07-10 15:47:01 +02:00
Wim Taymans
dc7bf19858 update for query api changes 2012-07-06 11:50:57 +02:00
Wim Taymans
f8475ad22a update for query api changes 2012-07-06 11:27:33 +02:00
Wim Taymans
3ae9eb158c update for allocation query changes 2012-07-06 11:05:19 +02:00
Tim-Philipp Müller
ab7b7cbff3 cfg: remove some deprecated properties: statsfile, mb-qmin, mb-qmax
Use multipass-cache-file, qmin, qmax instead.
2012-07-06 09:49:57 +01:00
Sebastian Dröge
06d24b47b6 avdemux: Implement segment-done event 2012-07-05 13:21:33 +02:00
Wim Taymans
cdcaa584a4 avdec: handle_frame should always unref the input frame
Unref the input frame in all cases. Previously it was only unreffed when the
frame was used for output.
When we produce an output frame, take an extra ref because the frame is now
freed elsewhere.
2012-07-03 17:13:00 +02:00
Wim Taymans
c9878e9f86 avdec: small cleanup 2012-07-03 17:13:00 +02:00
Wim Taymans
41ad632275 avdec: avoid some refs
We can let the ffmpeg structure take ownership of the buffer.
2012-07-03 17:13:00 +02:00
Руслан Ижбулатов
3ff6f53f24 ffvidenc: Fix a format string to avoid warnings
istffmpegvidenc.c:412:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'gint' [-Werror=format]
2012-07-03 08:38:28 +02:00
Sebastian Dröge
7b8ffe6169 ffaudenc: Fix format string compiler warning
gstffmpegenc.c:266:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'gint'
2012-07-02 15:51:17 +02:00
Wim Taymans
103f8f9395 avdec: don't wait for keyframe
Don't wait for a keyframe but try to decode as soon as possible. In most cases,
the demuxer will send a keyframe first and things will work fine, in other
cases, like RTP, we try to decode ASAP to provide quick feedback. Some formats
also have no keyframes (h264 with intra refresh).
2012-06-28 09:33:28 +02:00
Wim Taymans
932bd7f79e avenc: don't leak frames 2012-06-26 12:36:56 +02:00
Wim Taymans
d96cffb10a update for bus api changes 2012-06-20 12:32:21 +02:00
Wim Taymans
eb52e46b07 avdemux: update for task api change 2012-06-20 10:36:25 +02:00
Matej Knopp
17ee8113d7 ffmpegviddec: Don't reopen decoder on same caps, fix memory leaks, only drain on EOS 2012-06-20 07:39:40 +01:00
Wim Taymans
db53c6e5ec viddec: avoid renegotiation
Keep track of the context veriables and renegotiate when something changes. We
need to use separate values for this because not all values can be copied into a
GstVideoInfo.
Set the output interlacing based on the libav context.
Use the demuxer and decoder framerate to construct an output framerate.
Use demuxer and decoder par to construct an output framerate.
2012-06-19 12:23:32 +02:00
Sebastian Dröge
83f57519b4 ffmpegvidenc: Handle allocation queries and improve the padding/direct-rendering handling 2012-06-15 16:37:19 +02:00
Sebastian Dröge
6ff10a922a ffmpegviddec: Port to 0.11 again
No support for video meta, cropping, etc. yet
2012-06-15 15:18:47 +02:00
Sebastian Dröge
85f0dcb1e8 Merge remote-tracking branch 'origin/0.10' 2012-06-15 15:18:41 +02:00
Edward Hervey
1db8779252 ffmpegviddec: Properly return if negotiation fails
Instead of crashing ....
2012-06-15 12:19:58 +02:00
Sebastian Dröge
107c00a761 ffvidenc: Port to 0.11 2012-06-14 16:29:05 +02:00
Sebastian Dröge
de82bfbbba Merge remote-tracking branch 'origin/0.10' 2012-06-14 15:44:18 +02:00
Sebastian Dröge
4a58fd4be4 Merge remote-tracking branch 'origin/0.10'
Conflicts:
	common
	ext/ffmpeg/Makefile.am
	ext/ffmpeg/gstffmpegcfg.c
	ext/ffmpeg/gstffmpegcodecmap.c
	ext/ffmpeg/gstffmpegcodecmap.h
	ext/ffmpeg/gstffmpegdec.c
	ext/ffmpeg/gstffmpegenc.c
	ext/ffmpeg/gstffmpegenc.h
	tests/check/Makefile.am

Porting of the new video elements to 0.11 still pending.
2012-06-14 15:42:06 +02:00
Edward Hervey
ce7f65f752 ffmpegviddec: Properly update the interlacing
Fixes #678080
2012-06-14 15:13:31 +02:00
Edward Hervey
1ca115c44b ffmpegviddec: Properly error out when codec doesn't open
Avoids ending up using an un-set codec
2012-06-14 15:04:33 +02:00
Matej Knopp
a3c7cd4643 gstffmpegdec: only drain on EOS
See https://bugzilla.gnome.org/show_bug.cgi?id=675359
2012-06-11 16:27:35 +02:00
Tim-Philipp Müller
4ffec05c50 avenc: make buffer-size property read-only
Fixes FIXME.
2012-06-09 16:49:54 +01:00
Tim-Philipp Müller
7956478011 avenc: change properties of type ulong to int 2012-06-09 16:41:28 +01:00
Tim-Philipp Müller
c4ca1e86f8 avmux: blacklist "segment" muxer
Causes run-time warnings.
2012-06-09 14:37:09 +01:00
Edward Hervey
960a59a935 Automatic update of common submodule
From 03a0e57 to 98e386f
2012-06-08 15:06:23 +02:00
Edward Hervey
9761a6501b Automatic update of common submodule
From b811047 to 3baf58a
2012-06-08 14:26:40 +02:00
Wim Taymans
ee6c8bd498 update for audio api changes 2012-06-08 10:11:46 +02:00
Sebastian Dröge
5b4c040192 Back to development 2012-06-07 16:35:37 +02:00
Sebastian Dröge
0a4452bddf Release 0.11.92 2012-06-07 16:35:24 +02:00
Sebastian Dröge
945633b48f libav: Update to 0.8.3 release 2012-06-07 12:34:16 +02:00
Sebastian Dröge
a72f62ff0b libav: Update to 0.8.3 release 2012-06-07 12:26:55 +02:00
Edward Hervey
66265560c4 Automatic update of common submodule
From 1fab359 to 03a0e57
2012-06-06 18:20:06 +02:00
Edward Hervey
38607bd5e8 Automatic update of common submodule
From b098abb to b811047
2012-06-06 18:19:20 +02:00
Wim Taymans
8ae3ffa3d3 update for tag event change 2012-06-06 13:03:18 +02:00
Edward Hervey
034a79ea7c Automatic update of common submodule
From f1b5a96 to 1fab359
2012-06-01 10:30:15 +02:00
Edward Hervey
9d8496f2b1 Automatic update of common submodule
From 96f075b to b098abb
2012-06-01 10:22:26 +02:00
Wim Taymans
c44eff6afb avdec: fix paletted formats
Pass the palette as the side data for AVPacket so that it is written in the
second plane of output AVFrame.
2012-05-31 13:55:44 +02:00
Sebastian Dröge
38ede2422d Automatic update of common submodule
From 92b7266 to f1b5a96
2012-05-31 13:10:20 +02:00
Sebastian Dröge
c95040361c Automatic update of common submodule
From ec1c4a8 to 92b7266
2012-05-30 12:47:45 +02:00
Sebastian Dröge
a7bdb143a1 Automatic update of common submodule
From 1e6c5ea to 96f075b
2012-05-30 12:40:59 +02:00
Sebastian Dröge
437c89780c Automatic update of common submodule
From ff4cad1 to 1e6c5ea
2012-05-30 12:31:59 +02:00
Sebastian Dröge
c6f529f495 Automatic update of common submodule
From 3429ba6 to ec1c4a8
2012-05-30 11:26:18 +02:00
Sebastian Dröge
899aa190fb Automatic update of common submodule
From 7604bab to ff4cad1
2012-05-30 11:26:07 +02:00
Wim Taymans
e38b00489f libav: add support for 10 bits I420
See https://bugzilla.gnome.org/show_bug.cgi?id=665034
2012-05-25 17:03:53 +02:00