Jan Schmidt [Tue, 21 Apr 2009 21:13:51 +0000 (22:13 +0100)]
Automatic update of common submodule
From b3941ea to 6ab11d1
Edward Hervey [Tue, 21 Apr 2009 16:38:03 +0000 (18:38 +0200)]
gstffmpegenc: Don't change properties once opened. Fixes #570815
Based on a patch by Tristan Matthews <le businessman at gmail dot com>
Janin Kolenc [Tue, 21 Apr 2009 16:34:22 +0000 (18:34 +0200)]
gstffmpegcfg: Add H263 to the list of mpeg property-compatible codecs.
Edward Hervey [Sun, 8 Mar 2009 10:31:35 +0000 (11:31 +0100)]
Make sure we provide ffmpeg with 128bit-aligned data.
Add a new function new_aligned_buffer() which creates a GstBuffer of
the requested size/caps, with the memory being allocated/freed by ffmpeg's
av_malloc/av_free which guarantees properly aligned memory.
Added a can_allocate_aligned internal property which we use to figure out
whether downstream can provide us with 128bit aligned buffers.
Edward Hervey [Sun, 19 Apr 2009 12:07:58 +0000 (14:07 +0200)]
Reverting Jan's fix-the-buildbot commit
This reverts commit
5465d40b8dcb7650c024bf8c6b6329d26df5a610.
Jan Schmidt [Sun, 19 Apr 2009 01:39:30 +0000 (02:39 +0100)]
build: Deliberately break the build, temporarily.
This is to force the buildbots to run autogen.sh one time. I can't
figure out a more elegant way.
Jan Schmidt [Sun, 19 Apr 2009 01:34:50 +0000 (02:34 +0100)]
build: Fix maintainer-mode and embedded FFmpeg configuration parameters
Don't use AC_CONFIG_SUBDIRS to call the FFmpeg configure script, as it
complains about all the unknown parameters autoconf gives it, and fiddling
with ac_configure_args makes maintainer-mode call our real configure script
with a bunch of bogus arguments.
Instead, use AC_CONFIG_COMMANDS to call the FFmpeg configure script
ourselves.
Remove autogen.sh code that modifies the FFmpeg configure script, as it's
not needed now that we only pass it arguments it understands, and move
the detection of flags like --disable-ffmpeg into the configure script,
otherwise they never get passed to FFmpeg if we call configure ourselves,
such as from a tarball.
Edward Hervey [Sat, 18 Apr 2009 07:08:39 +0000 (09:08 +0200)]
gstffmpegdec: Really fix the arguments this time.
I blame compilers who can't figure out there's the wrong number of arguments
for the given print format :)
Edward Hervey [Sat, 18 Apr 2009 06:50:12 +0000 (08:50 +0200)]
gstffmpegdec: Fix build on macosx.
The arguments were in the wrong order (and therefore the types were wrong).
Wim Taymans [Fri, 17 Apr 2009 17:07:26 +0000 (19:07 +0200)]
ffmpegdec: resize padding buffer when it's small
Only resize the padding buffer when the size is too small, when it's just right,
we don't need to call realloc.
Wim Taymans [Fri, 17 Apr 2009 14:25:12 +0000 (16:25 +0200)]
ffmpeg: add default frame_size for g726
Without a frame_size configured in the context, the ffmpeg encoders do nothing.
Since the G726 does not configure a size itself, we set ourselves a frame_size
that corresponds to 20ms of audio, which is a reasonable default.
Jan Schmidt [Fri, 17 Apr 2009 12:46:39 +0000 (13:46 +0100)]
check: Add a simple test that the FFmpeg plugin loads
Check that the ffmpeg plugin actually exists after building.
Edward Hervey [Thu, 16 Apr 2009 09:00:46 +0000 (11:00 +0200)]
gstffmpegutils: Add the files :)
Edward Hervey [Wed, 15 Apr 2009 20:33:16 +0000 (22:33 +0200)]
Move all non-codecmap-related methods to a new file.
We were starting to get too much unrelated code in there. This makes it
a bit easier to maintain.
Edward Hervey [Wed, 15 Apr 2009 20:14:09 +0000 (22:14 +0200)]
gstffmpeg.c: Fix the description of the plugin.
Edward Hervey [Wed, 15 Apr 2009 20:11:33 +0000 (22:11 +0200)]
gstffmpeg.c: Point to the new ffmpeg website (ffmpeg.org).
Edward Hervey [Wed, 15 Apr 2009 20:11:10 +0000 (22:11 +0200)]
The proper spelling is 'FFmpeg'.
Edward Hervey [Wed, 15 Apr 2009 20:04:02 +0000 (22:04 +0200)]
gstffmpegmux: Use the AVFormat long_name in our descriptions.
This is the same behaviour we use in the demuxers.
Edward Hervey [Wed, 15 Apr 2009 19:56:00 +0000 (21:56 +0200)]
Disable more fake codecs (raw audio).
LRN [Thu, 9 Apr 2009 22:19:50 +0000 (00:19 +0200)]
ffdec: copy input offsets to output buffers
Copy the incomming offsets to the outgoing buffers.
Fixes 578278.
Felipe Contreras [Sat, 4 Apr 2009 18:19:34 +0000 (21:19 +0300)]
Automatic update of common submodule
From d0ea89e to b3941ea
Edward Hervey [Sat, 4 Apr 2009 12:54:55 +0000 (14:54 +0200)]
Automatic update of common submodule
From f8b3d91 to d0ea89e
Branko Čibej [Sat, 4 Apr 2009 06:53:54 +0000 (08:53 +0200)]
ffmpeg: Fix handling of --with-ffmpeg-extra-configure
Fixes bug #577879.
Janin Kolenc [Wed, 25 Mar 2009 11:51:55 +0000 (12:51 +0100)]
ffenc: Add support for I-frame request.
Add request for I-frame request using GstForceKeyUnit event.
Fixes #575709.
Sebastian Dröge [Sun, 15 Mar 2009 09:19:53 +0000 (10:19 +0100)]
ffmux: Actually set caps on the srcpad instead of working with NULL caps
Jan Schmidt [Sun, 22 Mar 2009 20:16:24 +0000 (20:16 +0000)]
back to development -> 0.10.7.1
Jan Schmidt [Sat, 21 Mar 2009 01:02:05 +0000 (01:02 +0000)]
Release 0.10.7
Jan Schmidt [Wed, 18 Mar 2009 00:03:27 +0000 (00:03 +0000)]
0.10.6.4 pre-release
Edward Hervey [Tue, 17 Mar 2009 22:44:43 +0000 (23:44 +0100)]
Take into account ticks_per_frame for framerate calculation. Fixes #575759
Edward Hervey [Tue, 17 Mar 2009 10:51:28 +0000 (11:51 +0100)]
Re-enable amr muxer. It's a muxer after all. Fixes #575664
Jan Schmidt [Fri, 13 Mar 2009 23:52:01 +0000 (23:52 +0000)]
0.10.6.3 pre-release
Edward Hervey [Wed, 11 Mar 2009 12:25:40 +0000 (13:25 +0100)]
gstffmpegdec: Disable vdpau decoders. Fixes #573400
Edward Hervey [Wed, 11 Mar 2009 11:56:29 +0000 (12:56 +0100)]
pixfmt: Stop using PIX_FMT that were marked as deprecated 3 years ago.
It still worked... until the 0.5 ffmpeg release, which made those defines unused.
See the bottom of libavutil/pixfmt.h for more details.
Edward Hervey [Wed, 11 Mar 2009 09:16:46 +0000 (10:16 +0100)]
ffmpegrev: bump up upstream revision to the *exact* release revision.
This is only a one-commit svn-props change.. but we might as well keep
it accurate.
Edward Hervey [Tue, 10 Mar 2009 20:14:21 +0000 (21:14 +0100)]
codecmapping: Fix caps for ATRAC3. Fixes #574663
Edward Hervey [Tue, 10 Mar 2009 20:11:43 +0000 (21:11 +0100)]
Disable exposing decoder/encoder using external library. Fixes #574746
Edward Hervey [Tue, 10 Mar 2009 20:05:52 +0000 (21:05 +0100)]
blacklist bogus demuxer/muxer/typefind. Fixes #567336 and #574814
Jan Schmidt [Tue, 10 Mar 2009 00:22:10 +0000 (00:22 +0000)]
0.10.6.2 pre-release
Jan Schmidt [Mon, 9 Mar 2009 23:13:40 +0000 (23:13 +0000)]
Automatic update of common submodule
From 7032163 to f8b3d91
Edward Hervey [Mon, 9 Mar 2009 17:17:30 +0000 (18:17 +0100)]
gstffmpegdec: Use 64bit scaling function to avoid overflows detected in some situations.
Edward Hervey [Mon, 9 Mar 2009 14:09:10 +0000 (15:09 +0100)]
demux: If the demuxer isn't initialized yet, forward serialized events without waiting.
We do this, because the demuxer is initialized in the loop function. If it's not
initialized yet, that means the loop hasn't been entered... and therefore the
PIPE GCond will never be signalled.
Edward Hervey [Mon, 9 Mar 2009 12:46:06 +0000 (13:46 +0100)]
demuxers: Blacklist push-mode for avformat demuxers which aren't reliable in push-mode.
Currently, only one is blacklisted : ffdemux_ape. This has been confirmed by
ffmpeg developers.
Edward Hervey [Mon, 9 Mar 2009 12:45:22 +0000 (13:45 +0100)]
demuxers: Add more debugging
Edward Hervey [Fri, 6 Mar 2009 18:02:14 +0000 (19:02 +0100)]
ffmpegrev: and update once more for last-minute fixes to upstream release branch
Edward Hervey [Mon, 9 Mar 2009 09:05:04 +0000 (10:05 +0100)]
gstffmpegcodecmap: Add proper caps for Fraps video codec
Sebastian Dröge [Sun, 8 Mar 2009 11:06:11 +0000 (12:06 +0100)]
Automatic update of common submodule
From ffa738d to 7032163
Sebastian Dröge [Sun, 8 Mar 2009 10:21:48 +0000 (11:21 +0100)]
Automatic update of common submodule
From 3f13e4e to ffa738d
Sebastian Dröge [Sat, 7 Mar 2009 10:47:21 +0000 (11:47 +0100)]
Automatic update of common submodule
From 3c7456b to 3f13e4e
Sebastian Dröge [Sat, 7 Mar 2009 09:47:28 +0000 (10:47 +0100)]
Automatic update of common submodule
From 57c83f2 to 3c7456b
Tim-Philipp Müller [Fri, 6 Mar 2009 17:49:24 +0000 (17:49 +0000)]
configure: require a released version of gstreamer, to avoid confusion
Edward Hervey [Fri, 6 Mar 2009 16:37:51 +0000 (17:37 +0100)]
ffmpegdec: Make sure we provide 16 byte aligned data to ffmpeg. Fixes #572863
We simply allocate the memory using ffmpeg's av_malloc which provides us
with properly memalign'ed data.
This avoids write-outside-of-bounds when sse/altivec code is being used.
Edward Hervey [Fri, 6 Mar 2009 11:47:12 +0000 (12:47 +0100)]
ffaudioresample: Add padding to output buffer. Fixes #573649
The internal resampling functions seem to require a slightly bigger buffer
for output than what we require. Therefore we give it an extra 64bytes (although
16 should have been enough).
Tim-Philipp Müller [Fri, 6 Mar 2009 11:01:55 +0000 (11:01 +0000)]
ffmpegdec: post an error message on the bus when decoding fails
We should post a STREAM DECODE error message on the bus when we return
GST_FLOW_ERROR, otherwise the user ends up seeing an ugly internal flow
error message, which isn't very nice.
Edward Hervey [Thu, 5 Mar 2009 11:09:32 +0000 (12:09 +0100)]
gstffmpegdec: Set the rank of the AAC decoder to NONE.
It will stay this way until the ffmpeg aac decoder can report before decoding
whether it can handle a given stream or not.
Damien Lespiau [Thu, 5 Mar 2009 08:10:37 +0000 (09:10 +0100)]
Make bz2 requirement optional. Fixes #564867
Jordi Mas [Thu, 5 Mar 2009 07:52:11 +0000 (08:52 +0100)]
gstffmpegmux: Expose the 'preload' and 'maxdelay' properties, add dvd mux mapping.
Fixes #570975
Edward Hervey [Thu, 5 Mar 2009 06:48:24 +0000 (07:48 +0100)]
codecmap. The VC1 decoder can also handle the Advanced Profile.
Fixes #565269
Tim-Philipp Müller [Wed, 4 Mar 2009 20:58:08 +0000 (20:58 +0000)]
ffdec: fix build
Edward Hervey [Wed, 4 Mar 2009 20:10:22 +0000 (21:10 +0100)]
gstffmpegdec: Abort on first failure by AAC decoder. Fixes #566250.
The problem is that the ffmpeg aac decoder fails... but still accepts
the following buffers as if nothing happened. But because some things
were not properly set in the internal code, all hell breaks loose.
Edward Hervey [Wed, 4 Mar 2009 19:04:25 +0000 (20:04 +0100)]
gstffmpegdec: Bring the real decoders up to GST_RANK_PRIMARY.
They have proven by now that they're more reliable than the
-bad real wrapper plugins.
Sebastian Dröge [Wed, 4 Mar 2009 11:25:34 +0000 (12:25 +0100)]
ffmpeg: Don't register the MXF typefinder, we have our own in -base
Sebastian Dröge [Wed, 4 Mar 2009 11:24:47 +0000 (12:24 +0100)]
ffmpeg: mxf_d10 is application/mxf too, it only specifies the used mapping
Edward Hervey [Tue, 3 Mar 2009 16:23:25 +0000 (17:23 +0100)]
ffmpegrev: Update to actual ffmpeg 0.5 release branch
Normally this should be the last commit before they release 0.5.
We should use this for pre-releases in order to help them squash down bugs.
Edward Hervey [Mon, 2 Mar 2009 11:07:32 +0000 (12:07 +0100)]
ffmpegrev: Switch to 0.5 ffmpeg release branch
Edward Hervey [Fri, 27 Feb 2009 08:41:24 +0000 (09:41 +0100)]
ffmpeg: Bump up to current upstream HEAD of ffmpeg and swscale
Edward Hervey [Fri, 27 Feb 2009 08:40:03 +0000 (09:40 +0100)]
ffmpegmux: Use information from AVOutputFormat to expose more muxers.
AVOutputFormat does *NOT* contain the full list of codecs a muxer can handle,
but does contain the recommended audio and video codecs. Therefore we use that
information to expose more muxers, until AVOutputFormat contains a list of
*ALL* compatible codecs.
Jan Schmidt [Wed, 25 Feb 2009 15:08:38 +0000 (15:08 +0000)]
build: Update shave init statement for changes in common. Bump common.
Jan Schmidt [Wed, 25 Feb 2009 11:32:50 +0000 (11:32 +0000)]
Automatic update of common submodule
From 9cf8c9b to a6ce5c6
Jan Schmidt [Sun, 22 Feb 2009 20:04:07 +0000 (20:04 +0000)]
Use shave for the build
Sebastian Dröge [Sun, 22 Feb 2009 18:44:12 +0000 (19:44 +0100)]
And remove unused variable
Sebastian Dröge [Sun, 22 Feb 2009 18:43:19 +0000 (19:43 +0100)]
Remove unreachable code
Sebastian Dröge [Sun, 22 Feb 2009 18:40:51 +0000 (19:40 +0100)]
Cast const GstBuffer * to GstBuffer * before unreffing
Jan Schmidt [Sun, 22 Feb 2009 16:00:40 +0000 (16:00 +0000)]
Automatic update of common submodule
From 5d7c9cc to 9cf8c9b
Edward Hervey [Sun, 22 Feb 2009 13:30:01 +0000 (14:30 +0100)]
ffmpegrev: Update upstream revisions used
David Schleef [Sat, 21 Feb 2009 19:14:01 +0000 (11:14 -0800)]
Automatic update of common submodule
From 80c627d to 5d7c9cc
Edward Hervey [Wed, 18 Feb 2009 18:06:52 +0000 (19:06 +0100)]
codecmap: map more codecs
Edward Hervey [Wed, 18 Feb 2009 18:06:34 +0000 (19:06 +0100)]
ffmpegrev: update upstream ffmpeg/libswscale revisions to use.
Edward Hervey [Tue, 10 Feb 2009 11:34:36 +0000 (12:34 +0100)]
Fix 'make distcheck'.
Edward Hervey [Tue, 10 Feb 2009 11:33:57 +0000 (12:33 +0100)]
Bump upstream ffmpeg revision to use.
We should update this gradually as ffmpeg will be releasing within 2 weeks.
Edward Hervey [Mon, 9 Feb 2009 11:03:42 +0000 (12:03 +0100)]
Bump revision to use for common submodule.
Sebastian Dröge [Thu, 5 Feb 2009 16:19:20 +0000 (17:19 +0100)]
Don't register ASS/SSA typefinder
Stefan Kost [Fri, 30 Jan 2009 20:29:43 +0000 (22:29 +0200)]
Add releaseinfo with online url.
Edward Hervey [Fri, 30 Jan 2009 08:05:51 +0000 (09:05 +0100)]
Fix previous commit, wasn't actually setting up a symbolic link
Edward Hervey [Fri, 30 Jan 2009 07:57:53 +0000 (08:57 +0100)]
Use a symbolic link for the pre-commit client-side hook
Edward Hervey [Thu, 29 Jan 2009 06:48:19 +0000 (07:48 +0100)]
Only use valid SampleFormat for audio encoders/decoders.
For a given AVCodec, when the sample_fmts field is non-NULL, that means that
that codec can only handle a specific set of SampleFormat.
With this patch, we now look for its presence and create the proper pad template
caps.
Fixes #569441
Edward Hervey [Thu, 29 Jan 2009 06:44:30 +0000 (07:44 +0100)]
add more files to ignore
Mark Nauwelaerts [Tue, 27 Jan 2009 20:10:53 +0000 (21:10 +0100)]
Do not corrupt ffmpeg build checkout during make dist.
Use a separate helper directory to build ffmpeg distributables
rather than replacing and corrupting (no more .svn dirs)
the existing checkout used for standard make/building.
Mark Nauwelaerts [Tue, 27 Jan 2009 18:35:19 +0000 (19:35 +0100)]
Distribute intended ffmpeg revision(s) and include more files.
Bring make dist in sync with autogen.sh's retrieval of ffmpeg
checkout, which also includes an update to selected revision
of libswscale external. Also include *.S files (needed for
e.g. ARM build).
Edward Hervey [Tue, 27 Jan 2009 14:59:25 +0000 (15:59 +0100)]
Differentiate between "no more data" from "IO failure" when reading.
Where no more data is available, av_read_frame just returns an error code
instead of making the difference between "I am not returning anything because
we finished reading" and "I am not returning anything because the underlying
read failed".
We differentiate between the two by looking at whether we outputted any
data previously or not.
Edward Hervey [Tue, 27 Jan 2009 10:39:18 +0000 (11:39 +0100)]
Implement push-based support for demuxers
Fixes #392534
Edward Hervey [Mon, 26 Jan 2009 17:21:50 +0000 (18:21 +0100)]
Add support for AVSEEK_SIZE in seek handler. This should make demuxers work again (sigh)
Sebastian Dröge [Sat, 24 Jan 2009 16:59:11 +0000 (17:59 +0100)]
Add MP1 and ADPCM IMA/ISS variant
Sebastian Dröge [Sat, 24 Jan 2009 16:58:13 +0000 (17:58 +0100)]
Update ffmpeg SVN revision to r16753
Stefan Kost [Thu, 22 Jan 2009 16:21:08 +0000 (18:21 +0200)]
Update common snapshot.
Sebastian Dröge [Thu, 22 Jan 2009 12:45:16 +0000 (13:45 +0100)]
Fix pre-commit hook
Edward Hervey [Thu, 22 Jan 2009 05:16:14 +0000 (06:16 +0100)]
Install and use pre-commit indentation hook from common
Edward Hervey [Wed, 21 Jan 2009 03:34:37 +0000 (04:34 +0100)]
autogen.sh : Use git submodule
Dejan Sakelšak [Mon, 5 Jan 2009 18:08:20 +0000 (18:08 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Narrow down the allowed channels and sample rates for AMR.
Original commit message from CVS:
Patch by: Dejan Sakelšak <sakdean at gmail dot com>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_aud_caps_new):
Narrow down the allowed channels and sample rates for AMR.
Fixes #566647.
Sebastian Dröge [Mon, 5 Jan 2009 11:15:44 +0000 (11:15 +0000)]
ffmpegrev: Update ffmpeg SVN revision to r16434 and update to the corresponding swscale snapshot. This new ffmpeg ver...
Original commit message from CVS:
* ffmpegrev:
Update ffmpeg SVN revision to r16434 and update to the corresponding
swscale snapshot. This new ffmpeg version has initial support for
metadata (i.e. tags) but we don't use them yet (see bug #566605).
Edward Hervey [Tue, 30 Dec 2008 15:59:58 +0000 (15:59 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add mapping for IMC and MLP audio codecs.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
Add mapping for IMC and MLP audio codecs.