platform/upstream/gst-libav.git
11 years agoviddec: Call gst_video_decoder_negotiate()
Edward Hervey [Wed, 18 Jul 2012 16:30:53 +0000 (18:30 +0200)]
viddec: Call gst_video_decoder_negotiate()

11 years agoavdeinterlace: fix up output caps for new field as well
Tim-Philipp Müller [Tue, 17 Jul 2012 11:33:16 +0000 (12:33 +0100)]
avdeinterlace: fix up output caps for new field as well

And presumably our output is always progressive and not
interlaced any more?

11 years agoavdeinterlace: detect interlaced input properly
Tim-Philipp Müller [Tue, 17 Jul 2012 11:31:52 +0000 (12:31 +0100)]
avdeinterlace: detect interlaced input properly

It's not a boolean field any more, and called "interlaced-mode" now.

11 years agodemux: Push STREAM_START when needed
Edward Hervey [Fri, 13 Jul 2012 12:01:44 +0000 (14:01 +0200)]
demux: Push STREAM_START when needed

11 years agoavdec: ignore AAC errors instead of erroring out
Wim Taymans [Tue, 10 Jul 2012 14:10:14 +0000 (16:10 +0200)]
avdec: ignore AAC errors instead of erroring out

Also ignore decode errors for AAC and carry on decoding like we do for all
other formats.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679639

11 years agoavcodecmap: only restrict caps on encoders
Wim Taymans [Tue, 10 Jul 2012 13:47:01 +0000 (15:47 +0200)]
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.

11 years agoupdate for query api changes
Wim Taymans [Fri, 6 Jul 2012 09:50:57 +0000 (11:50 +0200)]
update for query api changes

11 years agoupdate for query api changes
Wim Taymans [Fri, 6 Jul 2012 09:27:33 +0000 (11:27 +0200)]
update for query api changes

11 years agoupdate for allocation query changes
Wim Taymans [Fri, 6 Jul 2012 09:03:30 +0000 (11:03 +0200)]
update for allocation query changes

11 years agocfg: remove some deprecated properties: statsfile, mb-qmin, mb-qmax
Tim-Philipp Müller [Fri, 6 Jul 2012 08:49:11 +0000 (09:49 +0100)]
cfg: remove some deprecated properties: statsfile, mb-qmin, mb-qmax

Use multipass-cache-file, qmin, qmax instead.

11 years agoavdemux: Implement segment-done event
Sebastian Dröge [Thu, 5 Jul 2012 11:20:56 +0000 (13:20 +0200)]
avdemux: Implement segment-done event

11 years agoavdec: handle_frame should always unref the input frame
Wim Taymans [Tue, 3 Jul 2012 15:05:17 +0000 (17:05 +0200)]
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.

11 years agoavdec: small cleanup
Wim Taymans [Tue, 3 Jul 2012 15:04:49 +0000 (17:04 +0200)]
avdec: small cleanup

11 years agoavdec: avoid some refs
Wim Taymans [Tue, 3 Jul 2012 15:04:03 +0000 (17:04 +0200)]
avdec: avoid some refs

We can let the ffmpeg structure take ownership of the buffer.

11 years agoffvidenc: Fix a format string to avoid warnings
Руслан Ижбулатов [Mon, 2 Jul 2012 17:39:02 +0000 (21:39 +0400)]
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]

11 years agoffaudenc: Fix format string compiler warning
Sebastian Dröge [Mon, 2 Jul 2012 13:50:36 +0000 (15:50 +0200)]
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'

11 years agoavdec: don't wait for keyframe
Wim Taymans [Thu, 28 Jun 2012 07:33:28 +0000 (09:33 +0200)]
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).

11 years agoavenc: don't leak frames
Wim Taymans [Tue, 26 Jun 2012 10:36:56 +0000 (12:36 +0200)]
avenc: don't leak frames

11 years agoupdate for bus api changes
Wim Taymans [Wed, 20 Jun 2012 10:32:21 +0000 (12:32 +0200)]
update for bus api changes

11 years agoavdemux: update for task api change
Wim Taymans [Wed, 20 Jun 2012 08:36:25 +0000 (10:36 +0200)]
avdemux: update for task api change

11 years agoffmpegviddec: Don't reopen decoder on same caps, fix memory leaks, only drain on EOS
Matej Knopp [Wed, 20 Jun 2012 01:41:14 +0000 (21:41 -0400)]
ffmpegviddec: Don't reopen decoder on same caps, fix memory leaks, only drain on EOS

11 years agoviddec: avoid renegotiation
Wim Taymans [Tue, 19 Jun 2012 10:23:32 +0000 (12:23 +0200)]
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.

11 years agoffmpegvidenc: Handle allocation queries and improve the padding/direct-rendering...
Sebastian Dröge [Fri, 15 Jun 2012 14:37:19 +0000 (16:37 +0200)]
ffmpegvidenc: Handle allocation queries and improve the padding/direct-rendering handling

11 years agoffmpegviddec: Port to 0.11 again
Sebastian Dröge [Fri, 15 Jun 2012 13:18:47 +0000 (15:18 +0200)]
ffmpegviddec: Port to 0.11 again

No support for video meta, cropping, etc. yet

11 years agoMerge remote-tracking branch 'origin/0.10'
Sebastian Dröge [Fri, 15 Jun 2012 10:28:54 +0000 (12:28 +0200)]
Merge remote-tracking branch 'origin/0.10'

11 years agoffmpegviddec: Properly return if negotiation fails
Edward Hervey [Fri, 15 Jun 2012 10:19:58 +0000 (12:19 +0200)]
ffmpegviddec: Properly return if negotiation fails

Instead of crashing ....

11 years agoffvidenc: Port to 0.11
Sebastian Dröge [Thu, 14 Jun 2012 14:29:05 +0000 (16:29 +0200)]
ffvidenc: Port to 0.11

11 years agoMerge remote-tracking branch 'origin/0.10'
Sebastian Dröge [Thu, 14 Jun 2012 13:44:18 +0000 (15:44 +0200)]
Merge remote-tracking branch 'origin/0.10'

11 years agoMerge remote-tracking branch 'origin/0.10'
Sebastian Dröge [Thu, 14 Jun 2012 10:41:34 +0000 (12:41 +0200)]
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.

11 years agoffmpegviddec: Properly update the interlacing
Edward Hervey [Thu, 14 Jun 2012 13:13:31 +0000 (15:13 +0200)]
ffmpegviddec: Properly update the interlacing

Fixes #678080

11 years agoffmpegviddec: Properly error out when codec doesn't open
Edward Hervey [Thu, 14 Jun 2012 13:04:33 +0000 (15:04 +0200)]
ffmpegviddec: Properly error out when codec doesn't open

Avoids ending up using an un-set codec

12 years agogstffmpegdec: only drain on EOS
Matej Knopp [Thu, 3 May 2012 17:02:09 +0000 (19:02 +0200)]
gstffmpegdec: only drain on EOS

See https://bugzilla.gnome.org/show_bug.cgi?id=675359

12 years agoavenc: make buffer-size property read-only
Tim-Philipp Müller [Sat, 9 Jun 2012 15:49:54 +0000 (16:49 +0100)]
avenc: make buffer-size property read-only

Fixes FIXME.

12 years agoavenc: change properties of type ulong to int
Tim-Philipp Müller [Sat, 9 Jun 2012 15:41:28 +0000 (16:41 +0100)]
avenc: change properties of type ulong to int

12 years agoavmux: blacklist "segment" muxer
Tim-Philipp Müller [Sat, 9 Jun 2012 13:37:09 +0000 (14:37 +0100)]
avmux: blacklist "segment" muxer

Causes run-time warnings.

12 years agoAutomatic update of common submodule
Edward Hervey [Fri, 8 Jun 2012 13:06:23 +0000 (15:06 +0200)]
Automatic update of common submodule

From 03a0e57 to 98e386f

12 years agoAutomatic update of common submodule
Edward Hervey [Fri, 8 Jun 2012 12:26:40 +0000 (14:26 +0200)]
Automatic update of common submodule

From b811047 to 3baf58a

12 years agoupdate for audio api changes
Wim Taymans [Fri, 8 Jun 2012 08:11:46 +0000 (10:11 +0200)]
update for audio api changes

12 years agoBack to development
Sebastian Dröge [Thu, 7 Jun 2012 14:35:37 +0000 (16:35 +0200)]
Back to development

12 years agoRelease 0.11.92 RELEASE-0.11.92
Sebastian Dröge [Thu, 7 Jun 2012 14:35:24 +0000 (16:35 +0200)]
Release 0.11.92

12 years agolibav: Update to 0.8.3 release
Sebastian Dröge [Thu, 7 Jun 2012 10:29:41 +0000 (12:29 +0200)]
libav: Update to 0.8.3 release

12 years agolibav: Update to 0.8.3 release
Sebastian Dröge [Thu, 7 Jun 2012 10:26:55 +0000 (12:26 +0200)]
libav: Update to 0.8.3 release

12 years agoAutomatic update of common submodule
Edward Hervey [Wed, 6 Jun 2012 16:20:06 +0000 (18:20 +0200)]
Automatic update of common submodule

From 1fab359 to 03a0e57

12 years agoAutomatic update of common submodule
Edward Hervey [Wed, 6 Jun 2012 16:19:20 +0000 (18:19 +0200)]
Automatic update of common submodule

From b098abb to b811047

12 years agoupdate for tag event change
Wim Taymans [Wed, 6 Jun 2012 11:03:18 +0000 (13:03 +0200)]
update for tag event change

12 years agoAutomatic update of common submodule
Edward Hervey [Fri, 1 Jun 2012 08:30:15 +0000 (10:30 +0200)]
Automatic update of common submodule

From f1b5a96 to 1fab359

12 years agoAutomatic update of common submodule
Edward Hervey [Fri, 1 Jun 2012 08:22:26 +0000 (10:22 +0200)]
Automatic update of common submodule

From 96f075b to b098abb

12 years agoavdec: fix paletted formats
Wim Taymans [Thu, 31 May 2012 11:43:48 +0000 (13:43 +0200)]
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.

12 years agoAutomatic update of common submodule
Sebastian Dröge [Thu, 31 May 2012 11:10:20 +0000 (13:10 +0200)]
Automatic update of common submodule

From 92b7266 to f1b5a96

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 30 May 2012 10:47:45 +0000 (12:47 +0200)]
Automatic update of common submodule

From ec1c4a8 to 92b7266

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 30 May 2012 10:40:59 +0000 (12:40 +0200)]
Automatic update of common submodule

From 1e6c5ea to 96f075b

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 30 May 2012 10:31:59 +0000 (12:31 +0200)]
Automatic update of common submodule

From ff4cad1 to 1e6c5ea

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 30 May 2012 09:26:18 +0000 (11:26 +0200)]
Automatic update of common submodule

From 3429ba6 to ec1c4a8

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 30 May 2012 09:26:07 +0000 (11:26 +0200)]
Automatic update of common submodule

From 7604bab to ff4cad1

12 years agolibav: add support for 10 bits I420
Wim Taymans [Fri, 25 May 2012 15:03:06 +0000 (17:03 +0200)]
libav: add support for 10 bits I420

See https://bugzilla.gnome.org/show_bug.cgi?id=665034

12 years agoAutomatic update of common submodule
Sebastian Dröge [Thu, 24 May 2012 10:33:58 +0000 (12:33 +0200)]
Automatic update of common submodule

From dc70203 to 3429ba6

12 years agolibav: Update to 0.8.2 release
Sebastian Dröge [Tue, 22 May 2012 10:57:40 +0000 (12:57 +0200)]
libav: Update to 0.8.2 release

12 years agolibav: Update to 0.8.2 release
Sebastian Dröge [Tue, 22 May 2012 10:56:16 +0000 (12:56 +0200)]
libav: Update to 0.8.2 release

12 years ago.gitignore: update for module name change
Tim-Philipp Müller [Wed, 16 May 2012 07:16:50 +0000 (08:16 +0100)]
.gitignore: update for module name change

12 years ago.gitignore: add visual studio IDE files and OS X .DS_Store files
Matej Knopp [Sat, 14 Jan 2012 00:20:28 +0000 (19:20 -0500)]
.gitignore: add visual studio IDE files and OS X .DS_Store files

https://bugzilla.gnome.org/show_bug.cgi?id=667899

12 years agoconfigure: Require core/base 0.11.91
Sebastian Dröge [Wed, 16 May 2012 07:13:15 +0000 (09:13 +0200)]
configure: Require core/base 0.11.91

12 years agotests: Don't run the postproc test if compiled as an LGPL plugin
Sebastian Dröge [Tue, 15 May 2012 12:43:19 +0000 (14:43 +0200)]
tests: Don't run the postproc test if compiled as an LGPL plugin

12 years agotests: Don't run the postproc test if compiled as an LGPL plugin
Sebastian Dröge [Tue, 15 May 2012 12:41:18 +0000 (14:41 +0200)]
tests: Don't run the postproc test if compiled as an LGPL plugin

12 years agoBack to development
Sebastian Dröge [Sun, 13 May 2012 15:01:02 +0000 (17:01 +0200)]
Back to development

12 years agoRelease 0.11.91 RELEASE-0.11.91
Sebastian Dröge [Sun, 13 May 2012 14:54:19 +0000 (16:54 +0200)]
Release 0.11.91

12 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 13 May 2012 13:57:59 +0000 (15:57 +0200)]
Automatic update of common submodule

From dc70203 to 3429ba6

12 years agocodecmap: correctly set height in AVCodecContext
Nicolas Dufresne [Thu, 26 Apr 2012 19:31:41 +0000 (15:31 -0400)]
codecmap: correctly set height in AVCodecContext

https://bugzilla.gnome.org/show_bug.cgi?id=674899

12 years agoffmpegviddec: Always keep a reference to the frame
Edward Hervey [Thu, 26 Apr 2012 16:56:35 +0000 (18:56 +0200)]
ffmpegviddec: Always keep a reference to the frame

Ensures no data gets cleared before the decoders are really done
with it.

12 years agoffmpegviddec: Flush and drain when needed
Edward Hervey [Thu, 26 Apr 2012 15:00:43 +0000 (17:00 +0200)]
ffmpegviddec: Flush and drain when needed

we need to flush avcodec internal state on hard resets
we need to drain out pending buffers on EOS and soft resets

12 years agoffmpegviddec: Add video/x-raw-gray to src pad template
Edward Hervey [Tue, 24 Apr 2012 13:36:30 +0000 (15:36 +0200)]
ffmpegviddec: Add video/x-raw-gray to src pad template

12 years agocodecmap: Add more GstVideoInfo<=>PixelFormat mappings
Edward Hervey [Tue, 24 Apr 2012 13:36:00 +0000 (15:36 +0200)]
codecmap: Add more GstVideoInfo<=>PixelFormat mappings

12 years agoffmpegviddec: Port to GstVideoDecoder
Edward Hervey [Wed, 18 Apr 2012 10:37:53 +0000 (12:37 +0200)]
ffmpegviddec: Port to GstVideoDecoder

12 years agogstffmpegvidenc: Port to -base video classes
Edward Hervey [Tue, 24 Apr 2012 09:31:27 +0000 (11:31 +0200)]
gstffmpegvidenc: Port to -base video classes

12 years agoffmpegenc/dec: Remove audio/video specific code
Edward Hervey [Sat, 7 Apr 2012 09:14:45 +0000 (11:14 +0200)]
ffmpegenc/dec: Remove audio/video specific code

Makes each file more manageable, second step to porting to base classes

12 years agoffmpeg: Clone encoder and decoder files
Edward Hervey [Sat, 7 Apr 2012 08:36:04 +0000 (10:36 +0200)]
ffmpeg: Clone encoder and decoder files

First step in porting to base video classes

12 years agocodecmap: Add utility for using with GstVideoFormat
Edward Hervey [Tue, 24 Apr 2012 09:31:44 +0000 (11:31 +0200)]
codecmap: Add utility for using with GstVideoFormat

12 years agoffmpegdemux: skip ffmpeg matroska,webm typefinder again
Tim-Philipp Müller [Sun, 22 Apr 2012 10:52:18 +0000 (11:52 +0100)]
ffmpegdemux: skip ffmpeg matroska,webm typefinder again

Causes warnings, and shouldn't be needed.

12 years agoMerge remote-tracking branch 'origin/0.10'
Wim Taymans [Fri, 20 Apr 2012 14:23:41 +0000 (16:23 +0200)]
Merge remote-tracking branch 'origin/0.10'

12 years agoffdec: don't flush buffers on DISCONT
Wim Taymans [Fri, 20 Apr 2012 14:16:25 +0000 (16:16 +0200)]
ffdec: don't flush buffers on DISCONT

Don't flush the buffers that ffmpeg has on DISCONT but instead let it recover.
This gives a much better image in the case of packet loss.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=635020

12 years agoMerge remote-tracking branch 'origin/0.10'
Wim Taymans [Thu, 19 Apr 2012 13:37:06 +0000 (15:37 +0200)]
Merge remote-tracking branch 'origin/0.10'

12 years agopostproc: fix compilation when ORC is missing
Wim Taymans [Thu, 19 Apr 2012 13:35:48 +0000 (15:35 +0200)]
postproc: fix compilation when ORC is missing

Fix 'set but not used' compiler error when ORC is missing.

12 years agoMerge remote-tracking branch 'origin/0.10'
Wim Taymans [Thu, 19 Apr 2012 12:49:18 +0000 (14:49 +0200)]
Merge remote-tracking branch 'origin/0.10'

Conflicts:
ext/libswscale/gstffmpegscale.c

12 years agoffscale: fix compilation when ORC is missing
Wim Taymans [Thu, 19 Apr 2012 12:45:42 +0000 (14:45 +0200)]
ffscale: fix compilation when ORC is missing

Fix set but not used compiler error when ORC is missing.

12 years agocollectpads2: rename to collectpads
Mark Nauwelaerts [Tue, 17 Apr 2012 13:36:12 +0000 (15:36 +0200)]
collectpads2: rename to collectpads

12 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 16 Apr 2012 07:11:01 +0000 (09:11 +0200)]
Automatic update of common submodule

From 6db25be to dc70203

12 years agoconfigure: Modernize autotools setup a bit
Sebastian Dröge [Fri, 13 Apr 2012 11:53:37 +0000 (13:53 +0200)]
configure: Modernize autotools setup a bit

Also we now only create tar.bz2 and tar.xz tarballs.

12 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 13 Apr 2012 11:38:52 +0000 (13:38 +0200)]
Automatic update of common submodule

From 464fe15 to 6db25be

12 years agoBack to development
Sebastian Dröge [Fri, 13 Apr 2012 07:32:11 +0000 (09:32 +0200)]
Back to development

12 years agoRelease 0.11.90 RELEASE-0.11.90
Sebastian Dröge [Fri, 13 Apr 2012 07:29:45 +0000 (09:29 +0200)]
Release 0.11.90

12 years agoFix make distcheck
Sebastian Dröge [Thu, 12 Apr 2012 17:56:12 +0000 (19:56 +0200)]
Fix make distcheck

12 years agoconfigure: Remove another occurence of ffmpeg
Sebastian Dröge [Thu, 12 Apr 2012 17:46:24 +0000 (19:46 +0200)]
configure: Remove another occurence of ffmpeg

12 years agoRename everything from gst-ffmpeg to gst-libav
Sebastian Dröge [Thu, 12 Apr 2012 17:41:52 +0000 (19:41 +0200)]
Rename everything from gst-ffmpeg to gst-libav

Also change elements factory names to avenc_*, avdec_*,
avmux_* and avdemux_*. The actual filenames, type names,
function/variable names are not touched to make merging
with 0.10 easier at this point. Once 0.10 is not supported
anymore everything should be renamed.

12 years agoffmpeg: Fix make dist
Sebastian Dröge [Thu, 12 Apr 2012 09:06:22 +0000 (11:06 +0200)]
ffmpeg: Fix make dist

12 years agoffmpeg: use set_metadata() for generated strings
Tim-Philipp Müller [Mon, 9 Apr 2012 23:59:24 +0000 (00:59 +0100)]
ffmpeg: use set_metadata() for generated strings

Reverts parts of previous commit.

12 years agoUse new gst_element_class_set_static_metadata()
Tim-Philipp Müller [Mon, 9 Apr 2012 23:53:43 +0000 (00:53 +0100)]
Use new gst_element_class_set_static_metadata()

12 years agoAutomatic update of common submodule
Sebastian Dröge [Thu, 5 Apr 2012 16:44:32 +0000 (18:44 +0200)]
Automatic update of common submodule

From 7fda524 to 464fe15

12 years agogst: Update for GST_PLUGIN_DEFINE() API changes
Sebastian Dröge [Thu, 5 Apr 2012 15:41:11 +0000 (17:41 +0200)]
gst: Update for GST_PLUGIN_DEFINE() API changes

12 years agoconfigure: Update version to 0.11.89.1
Sebastian Dröge [Thu, 5 Apr 2012 11:28:41 +0000 (13:28 +0200)]
configure: Update version to 0.11.89.1

12 years agoffmpeg: Update versioning
Sebastian Dröge [Wed, 4 Apr 2012 12:48:25 +0000 (14:48 +0200)]
ffmpeg: Update versioning

12 years agoffdec: handle DTS/PTS
Wim Taymans [Tue, 3 Apr 2012 09:52:05 +0000 (11:52 +0200)]
ffdec: handle DTS/PTS

Now that we can know about PTS and DTS on incomming buffers, track them and set
the correct output timestamps.
We can remove the code to estimate if input buffers have pts or dts.