platform/upstream/gst-libav.git
16 years agoautogen.sh: Add -Wno-portability to the automake parameters to stop warnings about...
Sebastian Dröge [Thu, 10 Jan 2008 12:43:35 +0000 (12:43 +0000)]
autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about GNU make extensions being used. We...

Original commit message from CVS:
* autogen.sh:
Add -Wno-portability to the automake parameters to stop warnings
about GNU make extensions being used. We require GNU make in almost
every Makefile anyway.
* configure.ac:
Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
at the same time is required for per target flags.

16 years agoconfigure.ac: postproc needs some headers present in libavcodec/*.h
Edward Hervey [Wed, 9 Jan 2008 15:46:18 +0000 (15:46 +0000)]
configure.ac: postproc needs some headers present in libavcodec/*.h

Original commit message from CVS:
* configure.ac:
postproc needs some headers present in libavcodec/*.h

16 years agogst-libs/ext/Makefile.am: Remove trailing whitespace as warned by automake.
Stefan Kost [Wed, 9 Jan 2008 12:00:33 +0000 (12:00 +0000)]
gst-libs/ext/Makefile.am: Remove trailing whitespace as warned by automake.

Original commit message from CVS:
* gst-libs/ext/Makefile.am:
Remove trailing whitespace as warned by automake.

16 years agoext/ffmpeg/: Don't register the WavPack demuxer and decoder. They don't work, we...
Sebastian Dröge [Fri, 4 Jan 2008 22:14:50 +0000 (22:14 +0000)]
ext/ffmpeg/: Don't register the WavPack demuxer and decoder. They don't work, we have better ones and the output of t...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Don't register the WavPack demuxer and decoder. They don't work,
we have better ones and the output of the demuxer/input of the
decoder is in a different format than what audio/x-wavpack of the
wavpack plugin is (it seems that the demuxer strips of the wavpack
headers from every frame).
This fixes typefinding of Wavpack files again, as the ffmpeg
typefinder was preffered for some reason and gave
application/x-gst_ff-wv instead of audio/x-wavpack.

16 years agoext/ffmpeg/gstffmpegdemux.c: Fix demuxer to stop properly (emit an error message...
Edward Hervey [Tue, 18 Dec 2007 10:05:28 +0000 (10:05 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Fix demuxer to stop properly (emit an error message on the bus) if no pads are linked. U...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
Fix demuxer to stop properly (emit an error message on the bus) if no
pads are linked. Use aggregated flow return values a bit more.

16 years agoMakefile.am: Include common/win32.mak for CRLF check of win32 project files (see...
Tim-Philipp Müller [Tue, 18 Dec 2007 09:31:39 +0000 (09:31 +0000)]
Makefile.am: Include common/win32.mak for CRLF check of win32 project files (see #393626).

Original commit message from CVS:
* Makefile.am:
Include common/win32.mak for CRLF check of win32 project
files (see #393626).

16 years agoext/ffmpeg/: Add GIF (animations and single images) decoding and encoding support.
Sebastian Dröge [Mon, 17 Dec 2007 20:31:35 +0000 (20:31 +0000)]
ext/ffmpeg/: Add GIF (animations and single images) decoding and encoding support.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_formatid_get_codecids),
(gst_ffmpeg_get_codecid_longname):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop),
(gst_ffmpegdemux_register):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected),
(gst_ffmpegmux_register):
Add GIF (animations and single images) decoding and encoding support.
Fixes #503249.

16 years agoMerging GST_FFMPEG_NO_MIRROR branch to trunk
Edward Hervey [Mon, 17 Dec 2007 12:43:06 +0000 (12:43 +0000)]
Merging GST_FFMPEG_NO_MIRROR branch to trunk

Original commit message from CVS:
Merging GST_FFMPEG_NO_MIRROR branch to trunk

16 years agoconfigure.ac: And back to development cycle.
Edward Hervey [Tue, 4 Dec 2007 21:06:47 +0000 (21:06 +0000)]
configure.ac: And back to development cycle.

Original commit message from CVS:
* configure.ac:
And back to development cycle.

16 years agoReleasing 0.10.3 RELEASE-0_10_3
Edward Hervey [Tue, 4 Dec 2007 21:03:26 +0000 (21:03 +0000)]
Releasing 0.10.3

Original commit message from CVS:
Releasing 0.10.3

16 years agoconfigure.ac: 0.10.2.2 pre-release
Edward Hervey [Wed, 28 Nov 2007 18:14:49 +0000 (18:14 +0000)]
configure.ac: 0.10.2.2 pre-release

Original commit message from CVS:
* configure.ac:
0.10.2.2 pre-release

17 years agoChangeLog surgery: UTF8-ize latest entry
Tim-Philipp Müller [Sat, 10 Nov 2007 17:21:13 +0000 (17:21 +0000)]
ChangeLog surgery: UTF8-ize latest entry

Original commit message from CVS:
ChangeLog surgery: UTF8-ize latest entry

17 years agoext/ffmpeg/:
Ole André Vadla Ravnås [Thu, 8 Nov 2007 14:44:36 +0000 (14:44 +0000)]
ext/ffmpeg/:

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås <ole dot andre dot ravnas at tandberg dot com>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_init):

17 years agoext/ffmpeg/: gst-indent cleanup.
Edward Hervey [Sat, 3 Nov 2007 16:14:53 +0000 (16:14 +0000)]
ext/ffmpeg/: gst-indent cleanup.

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_avcodec_open),
(gst_ffmpeg_avcodec_close), (gst_ffmpeg_av_find_stream_info),
(gst_ffmpeg_log_callback), (plugin_init):
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_mb_decision_get_type),
(gst_ffmpeg_flags_get_type), (gst_ffmpeg_cfg_init),
(gst_ffmpeg_cfg_codec_has_pspec),
(gst_ffmpeg_cfg_install_property), (gst_ffmpeg_cfg_set_property),
(gst_ffmpeg_cfg_get_property), (gst_ffmpeg_cfg_set_defaults),
(gst_ffmpeg_cfg_fill_context), (gst_ffmpeg_cfg_finalize):
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_setcaps), (gst_ffmpegdec_save_incoming_values),
(gst_ffmpegdec_get_best_values), (gst_ffmpegdec_video_frame):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
(gst_ffmpegdemux_src_query):
* ext/ffmpeg/gstffmpegenc.c: (ffmpegenc_setup_working_buf),
(gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers):
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
(gst_ffmpegdata_peek), (gst_ffmpegdata_read),
(gst_ffmpegdata_write), (gst_ffmpegdata_seek),
(gst_ffmpegdata_close):
gst-indent cleanup.

17 years agoconfigure.ac: Add big fat warning message with explanation when building against...
Tim-Philipp Müller [Fri, 12 Oct 2007 14:44:55 +0000 (14:44 +0000)]
configure.ac: Add big fat warning message with explanation when building against an external copy of ffmpeg. Fixes #4...

Original commit message from CVS:
* configure.ac:
Add big fat warning message with explanation when building
against an external copy of ffmpeg. Fixes #407779.

17 years agoext/ffmpeg/gstffmpegdec.c: Fix the return type of the setcaps function. Fixes #485033.
Tuomas Kulve [Wed, 10 Oct 2007 09:31:32 +0000 (09:31 +0000)]
ext/ffmpeg/gstffmpegdec.c: Fix the return type of the setcaps function. Fixes #485033.

Original commit message from CVS:
Patch by: Tuomas Kulve <tuomas dot kulve at movial dot fi>
* ext/ffmpeg/gstffmpegdec.c:
Fix the return type of the setcaps function. Fixes #485033.

17 years agoext/ffmpeg/gstffmpegdemux.c: Don't return FALSE for the LATENCY event but instead...
Yann Gilquin [Fri, 5 Oct 2007 15:03:21 +0000 (15:03 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Don't return FALSE for the LATENCY event but instead forward it upstream. Fixes #482946.

Original commit message from CVS:
Patch by: Yann Gilquin <yann dot gilquin at purplelabs dot com>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event):
Don't return FALSE for the LATENCY event but instead forward it
upstream. Fixes #482946.

17 years agotests/check/generic/libavcodec-locking.c: Print message name and not just number.
Stefan Kost [Wed, 3 Oct 2007 14:51:49 +0000 (14:51 +0000)]
tests/check/generic/libavcodec-locking.c: Print message name and not just number.

Original commit message from CVS:
* tests/check/generic/libavcodec-locking.c:
Print message name and not just number.

17 years agoext/ffmpeg/gstffmpegcodecmap.c: Add Real Video 3.0 and remove some bogus caps.
Wim Taymans [Mon, 1 Oct 2007 17:27:42 +0000 (17:27 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add Real Video 3.0 and remove some bogus caps.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_get_codecid_longname):
Add Real Video 3.0 and remove some bogus caps.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_video_frame):
When skipping because of QoS, pretend we consumed all bytes for the
frame so that the pcache's timestamp is updated correctly.

17 years agoext/ffmpeg/gstffmpegdec.c: Don't set rank of sp5x video decoder to NONE.
Edward Hervey [Tue, 14 Aug 2007 14:29:36 +0000 (14:29 +0000)]
ext/ffmpeg/gstffmpegdec.c: Don't set rank of sp5x video decoder to NONE.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
Don't set rank of sp5x video decoder to NONE.
Fixes #466221
Re-order the cases of the switch statement so that the default case
is last.

17 years agoext/ffmpeg/gstffmpegcodecmap.c: Improve debugging of codec data. realvideo caps are...
Wim Taymans [Tue, 7 Aug 2007 10:21:19 +0000 (10:21 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Improve debugging of codec data. realvideo caps are underspecified, use fields of alt...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
Improve debugging of codec data.
realvideo caps are underspecified, use fields of alternative variant
before we settle this.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_video_frame):
Add more debugging of used parsers.
Setup the realvideo slices correctly before calling the decoder, fixed
realvideo in matroska.

17 years agoext/ffmpeg/: Free strings atleast when finalizing elements.
Stefan Kost [Wed, 1 Aug 2007 17:43:39 +0000 (17:43 +0000)]
ext/ffmpeg/: Free strings atleast when finalizing elements.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_install_property),
(gst_ffmpeg_cfg_finalize):
* ext/ffmpeg/gstffmpegcfg.h:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_finalize),
(ffmpegenc_setup_working_buf), (gst_ffmpegenc_chain_video),
(gst_ffmpegenc_flush_buffers):
Free strings atleast when finalizing elements.
* tests/check/generic/libavcodec-locking.c: (GST_START_TEST),
(simple_launch_lines_suite):
Fix some leaks.

17 years agoCheck for libm and link against it (ffmpeg is using sqrt).
Stefan Kost [Wed, 1 Aug 2007 15:06:44 +0000 (15:06 +0000)]
Check for libm and link against it (ffmpeg is using sqrt).

Original commit message from CVS:
* configure.ac:
* ext/ffmpeg/Makefile.am:
Check for libm and link against it (ffmpeg is using sqrt).

17 years agoext/ffmpeg/: Handle buffers with invalid duration correctly even in the case where...
Julien Moutte [Wed, 25 Jul 2007 15:39:43 +0000 (15:39 +0000)]
ext/ffmpeg/: Handle buffers with invalid duration correctly even in the case where we have a demuxer AND a decoder fr...

Original commit message from CVS:
2007-07-25  Julien MOUTTE  <julien@moutte.net>

* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop): Handle
buffers with invalid duration correctly even in the case where
we have a demuxer AND a decoder from ffmpeg linked.
Fixes: #460274.

17 years agoRemove bogus check for libcheck, since we check for gstreamer-check and it pulls...
Jan Schmidt [Fri, 13 Jul 2007 16:35:45 +0000 (16:35 +0000)]
Remove bogus check for libcheck, since we check for gstreamer-check and it pulls in the required info from there, and...

Original commit message from CVS:
* configure.ac:
* tests/Makefile.am:
Remove bogus check for libcheck, since we check for
gstreamer-check and it pulls in the required info from there, and we
weren't actually _using_ the information for libcheck ourselves
anyway.

17 years agoconfigure.ac: Use pkg-config to locate check. Bump core requirement.
Stefan Kost [Thu, 12 Jul 2007 11:13:13 +0000 (11:13 +0000)]
configure.ac: Use pkg-config to locate check. Bump core requirement.

Original commit message from CVS:
* configure.ac:
Use pkg-config to locate check. Bump core requirement.
* ext/ffmpeg/gstffmpegdeinterlace.c: (gst_ffmpegdeinterlace_chain):
* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_transform):
Replace deprecated method.

17 years agoext/ffmpeg/gstffmpegenc.c: Fix the encoders by actually copying the encoded output...
Jan Schmidt [Thu, 5 Jul 2007 11:19:21 +0000 (11:19 +0000)]
ext/ffmpeg/gstffmpegenc.c: Fix the encoders by actually copying the encoded output data from the working area into th...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video),
(gst_ffmpegenc_flush_buffers):
Fix the encoders by actually copying the encoded output data from the
working area into the output buffer.
Fixes: #453135.

17 years agoext/ffmpeg/gstffmpegenc.*: Instead of allocating 512KB buffers and then setting BUFFE...
Jan Schmidt [Fri, 22 Jun 2007 12:13:18 +0000 (12:13 +0000)]
ext/ffmpeg/gstffmpegenc.*: Instead of allocating 512KB buffers and then setting BUFFER_SIZE to what ffmpeg produced, ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (ffmpegenc_setup_working_buf),
(gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers),
(gst_ffmpegenc_change_state):
* ext/ffmpeg/gstffmpegenc.h:
Instead of allocating 512KB buffers and then setting BUFFER_SIZE
to what ffmpeg produced, we're better off by far to use a single
working buffer and copy data out into neat little buffers.
This prevents exhorbitant virtual memory wastage in the form
of allocated but untouched buffers.

17 years agoext/ffmpeg/gstffmpegcodecmap.c: Enable mjpeg-codec in more containers.
Stefan Kost [Wed, 20 Jun 2007 08:00:30 +0000 (08:00 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Enable mjpeg-codec in more containers.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
Enable mjpeg-codec in more containers.

17 years agoext/ffmpeg/gstffmpeg.c: Cut off double \n.
Stefan Kost [Tue, 19 Jun 2007 14:14:29 +0000 (14:14 +0000)]
ext/ffmpeg/gstffmpeg.c: Cut off double \n.

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_log_callback):
Cut off double \n.
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
Enable more codecs in containers.

17 years agowin32/vs6/: Convert line endings to CRLF and mark files as binary.
Jan Schmidt [Fri, 15 Jun 2007 09:32:47 +0000 (09:32 +0000)]
win32/vs6/: Convert line endings to CRLF and mark files as binary.

Original commit message from CVS:
* win32/vs6/gst_ffmpeg.dsw:
* win32/vs6/libgstffmpeg.dsp:
Convert line endings to CRLF and mark files as binary.

17 years agogst-libs/ext/ffmpeg/: Recognise x86_64 builds and set flags appropriately so that the
Jan Schmidt [Tue, 5 Jun 2007 18:00:26 +0000 (18:00 +0000)]
gst-libs/ext/ffmpeg/: Recognise x86_64 builds and set flags appropriately so that the

Original commit message from CVS:
* gst-libs/ext/ffmpeg/configure.ac:
* gst-libs/ext/ffmpeg/patches/autotools.patch:
* gst-libs/ext/ffmpeg/patches/memalign.patch:
Recognise x86_64 builds and set flags appropriately so that the
MMX/SSE codepaths get enabled there - makes things considerably
faster.

17 years agoext/ffmpeg/gstffmpegcodecmap.c: Add MSMPEG4V3 video and MP3 audio to the asf muxer...
Wim Taymans [Tue, 5 Jun 2007 16:33:39 +0000 (16:33 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add MSMPEG4V3 video and MP3 audio to the asf muxer supported formats.

Original commit message from CVS:
Patch by: <bram at luon dot net>
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
Add MSMPEG4V3 video and MP3 audio to the asf muxer supported formats.
Fixes #444384.

17 years agoext/ffmpeg/gstffmpegdemux.c: Use total duration when the individual stream duration...
Jan Arne Petersen [Tue, 5 Jun 2007 13:58:30 +0000 (13:58 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Use total duration when the individual stream duration is not known.

Original commit message from CVS:
Patch by: Jan Arne Petersen <jpetersen at jpetersen dot org>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_query):
Use total duration when the individual stream duration is not known.
Fixes #375534.

17 years agoext/ffmpeg/gstffmpegscale.c: don't leak refcounts in event handler. Fixes #444332.
Laurent Glayal [Tue, 5 Jun 2007 13:41:54 +0000 (13:41 +0000)]
ext/ffmpeg/gstffmpegscale.c: don't leak refcounts in event handler. Fixes #444332.

Original commit message from CVS:
Patch by: Laurent Glayal <spglegle at yahoo dot fr>
* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_handle_src_event):
don't leak refcounts in event handler. Fixes #444332.

17 years agoext/ffmpeg/gstffmpegdec.c: Be a bit smarter when clipping the frame without a duratio...
Wim Taymans [Fri, 25 May 2007 10:41:56 +0000 (10:41 +0000)]
ext/ffmpeg/gstffmpegdec.c: Be a bit smarter when clipping the frame without a duration, we don't want the frame to ex...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (clip_video_buffer),
(gst_ffmpegdec_video_frame):
Be a bit smarter when clipping the frame without a duration, we don't
want the frame to extend to the end of the segment in this case.

17 years agoconfigure.ac: Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs will...
Tim-Philipp Müller [Thu, 24 May 2007 08:51:52 +0000 (08:51 +0000)]
configure.ac: Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs will be built or installed on MingW fo...

Original commit message from CVS:
* configure.ac:
Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs
will be built or installed on MingW for our plugins in ext/; also,
it looks like the right thing to do and we do it for all our other
plugin modules as well. Fixes #440253.

17 years agoext/ffmpeg/gstffmpegdemux.c: Reduce the probability of the MPEG-TS typefinder, becaus...
Jan Schmidt [Mon, 21 May 2007 11:04:11 +0000 (11:04 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Reduce the probability of the MPEG-TS typefinder, because there's a better one in recent...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
Reduce the probability of the MPEG-TS typefinder, because there's a
better one in recent base releases.

17 years agoFix the build on MacOSX. since the one shipped by Apple is from the middle ages and...
Edward Hervey [Thu, 17 May 2007 15:46:17 +0000 (15:46 +0000)]
Fix the build on MacOSX. since the one shipped by Apple is from the middle ages and is packed with issues.

Original commit message from CVS:
* configure.ac:
* ext/ffmpeg/Makefile.am:
* ext/libpostproc/Makefile.am:
Fix the build on MacOSX.
This requires a recent enough version of libtool (ex : 1.5.22), since
the one shipped by Apple is from the middle ages and is packed with
issues.
Fixes #435742

17 years agoext/ffmpeg/: Protect calls to ffmpeg functions that will implicitly call avcodec_open...
Edward Hervey [Wed, 9 May 2007 15:30:51 +0000 (15:30 +0000)]
ext/ffmpeg/: Protect calls to ffmpeg functions that will implicitly call avcodec_open/close with the avcodec mutex.

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_av_find_stream_info):
* ext/ffmpeg/gstffmpeg.h:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_open):
Protect calls to ffmpeg functions that will implicitly call
avcodec_open/close with the avcodec mutex.
Fixes #433245

17 years agoext/ffmpeg/gstffmpegdec.c: Fix timestamping for out-of-order incoming buffers. Instea...
Edward Hervey [Wed, 2 May 2007 16:06:09 +0000 (16:06 +0000)]
ext/ffmpeg/gstffmpegdec.c: Fix timestamping for out-of-order incoming buffers. Instead of blindly copying the incomin...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
(gst_ffmpegdec_open), (gst_ffmpegdec_save_incoming_values),
(gst_ffmpegdec_get_best_values), (gst_ffmpegdec_video_frame),
(gst_ffmpegdec_sink_event):
Fix timestamping for out-of-order incoming buffers. Instead of blindly
copying the incoming buffer timestamps on the outgoing buffers we cache
the latest 2 incoming buffer timestamps and duration and make a wise
choice as to what the outgoing buffer timestamp and duration should be.
Fixes #342962

17 years agoext/ffmpeg/gstffmpegcodecmap.c: Remove cruft inserted by wim's last commit.
Edward Hervey [Wed, 25 Apr 2007 10:19:01 +0000 (10:19 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Remove cruft inserted by wim's last commit.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
Remove cruft inserted by wim's last commit.

17 years agoext/ffmpeg/gstffmpegdemux.c: Allow ffmpeg typefinders to try and typefind very short...
Michael Smith [Fri, 20 Apr 2007 10:51:37 +0000 (10:51 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Allow ffmpeg typefinders to try and typefind very short (<4kB) files.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
Allow ffmpeg typefinders to try and typefind very short (<4kB)
files.

17 years agoext/ffmpeg/: Add the CODEC_FLAG_GLOBAL_HEADER to the exposed flags, and makes it...
Mark Nauwelaerts [Thu, 12 Apr 2007 11:06:46 +0000 (11:06 +0000)]
ext/ffmpeg/: Add the CODEC_FLAG_GLOBAL_HEADER to the exposed flags, and makes it as such configurable as a property. ...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be> and
Thomas Vander Stichele  <thomas at apestaart dot org>
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid),
(gst_ffmpeg_get_codecid_longname):
Add the CODEC_FLAG_GLOBAL_HEADER to the exposed flags, and makes it as such
configurable as a property. Fixes #393187.

17 years agoext/ffmpeg/gstffmpegdec.c: Draw edges for h264. Fixes #364139.
Yves Lefebvre [Thu, 12 Apr 2007 10:56:42 +0000 (10:56 +0000)]
ext/ffmpeg/gstffmpegdec.c: Draw edges for h264. Fixes #364139.

Original commit message from CVS:
Patch by: Yves Lefebvre <ivanohe at abacom dot com>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps):
Draw edges for h264. Fixes #364139.
Set the error resilience flag just in case...

17 years agoext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_get_codecid_longname): Fix typo in Indeo...
Johan Dahlin [Sat, 17 Mar 2007 12:58:48 +0000 (12:58 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_get_codecid_longname): Fix typo in Indeo-2 codec name

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c (gst_ffmpeg_get_codecid_longname):
Fix typo in Indeo-2 codec name

17 years agoext/ffmpeg/gstffmpegcfg.c: Add mpeg1video and mpeg2video to the list of mpeg-derivati...
Edward Hervey [Fri, 2 Mar 2007 12:05:39 +0000 (12:05 +0000)]
ext/ffmpeg/gstffmpegcfg.c: Add mpeg1video and mpeg2video to the list of mpeg-derivatives for configuration settings.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_init):
Add mpeg1video and mpeg2video to the list of mpeg-derivatives for
configuration settings.
Renamed the mpeg4 category to mpeg.
Fixes #403739

17 years agoconfigure.ac: Convert to new AG_GST style.
Sebastian Dröge [Thu, 1 Mar 2007 01:10:22 +0000 (01:10 +0000)]
configure.ac: Convert to new AG_GST style.

Original commit message from CVS:
* configure.ac:
Convert to new AG_GST style.

17 years agoext/ffmpeg/: Don't use GINT_TO_POINTER and GPOINTER_TO_INT with GTypes, this can...
Tim-Philipp Müller [Fri, 16 Feb 2007 11:48:15 +0000 (11:48 +0000)]
ext/ffmpeg/: Don't use GINT_TO_POINTER and GPOINTER_TO_INT with GTypes, this can break horribly if sizeof(GType) happ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
(gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
(gst_ffmpegdemux_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
(gst_ffmpegenc_register):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
(gst_ffmpegmux_register):
Don't use GINT_TO_POINTER and GPOINTER_TO_INT with GTypes, this
can break horribly if sizeof(GType) happens to be bigger than
sizeof(int), because GPOINTER_TO_INT might then chop off some bits
of our GType (the reason this seems to works nevertheless is the
put-current-type-also-as-value-0-into-the-hash-table-as-fallback
hack used in the current code).
In any case, instead of just fixing this, let's not use a hash table
with GTypes here at all. g_type_{set|get}_qdata() seems to do the
job just as well.

17 years agoext/ffmpeg/gstffmpegcfg.c: Typo fix.
Edward Hervey [Wed, 14 Feb 2007 09:47:01 +0000 (09:47 +0000)]
ext/ffmpeg/gstffmpegcfg.c: Typo fix.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
Typo fix.

17 years agoext/ffmpeg/gstffmpegdec.c: My console is not your TODO list.
Thomas Vander Stichele [Fri, 9 Feb 2007 19:58:19 +0000 (19:58 +0000)]
ext/ffmpeg/gstffmpegdec.c: My console is not your TODO list.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
My console is not your TODO list.
If it were your TODO list, you would have DONE it by now.

17 years agoext/ffmpeg/gstffmpegmux.c: ffmux_flv only accepts mpeg audio with a sample rate of...
Tim-Philipp Müller [Fri, 9 Feb 2007 17:30:19 +0000 (17:30 +0000)]
ext/ffmpeg/gstffmpegmux.c: ffmux_flv only accepts mpeg audio with a sample rate of 44100, 22050 or 11025. Fix up the ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
ffmux_flv only accepts mpeg audio with a sample rate of 44100, 22050
or 11025. Fix up the caps in the sink pad template accordingly, so
that encoding piplines at least have a chance to automatically
negotiate to one of the allowed rates.

17 years agoext/ffmpeg/gstffmpegmux.c: Only set the mux->opened flag after we've successfully...
Tim-Philipp Müller [Fri, 9 Feb 2007 16:17:50 +0000 (16:17 +0000)]
ext/ffmpeg/gstffmpegmux.c: Only set the mux->opened flag after we've successfully written the header. This way we don...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
(gst_ffmpegmux_setcaps), (gst_ffmpegmux_collected):
Only set the mux->opened flag after we've successfully written the
header. This way we don't crash in mysterious ways if we can't write
the header for some reason (e.g. due to having accepted caps the
format doesn't really allow), then return a GST_FLOW_ERROR, and
then still receive another buffer afterwards despite having previously
returned FLOW_ERROR (#403168).
Also some minor logging improvements.

17 years agoext/ffmpeg/gstffmpegdemux.c: register yuv4mpegpipe demuxer with MARGINAL rank to...
Mark Nauwelaerts [Fri, 26 Jan 2007 12:12:31 +0000 (12:12 +0000)]
ext/ffmpeg/gstffmpegdemux.c: register yuv4mpegpipe demuxer with MARGINAL rank to make it also typically available for...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw@skynet.be>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
register yuv4mpegpipe demuxer with MARGINAL rank to
make it also typically available for auto-plugging. Fixes #399108.

17 years agoext/ffmpeg/gstffmpegcodecmap.c: Need to set depth on context for camtasia decoder...
Martin Szulecki [Mon, 22 Jan 2007 10:26:04 +0000 (10:26 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Need to set depth on context for camtasia decoder (fixes #398875).

Original commit message from CVS:
Patch by: Martin Szulecki  <gnomebugzilla at sukimashita com>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_with_codecid):
Need to set depth on context for camtasia decoder (fixes #398875).

17 years agoext/ffmpeg/gstffmpegcodecmap.c: Internally, ffmpeg (demuxer) expects YUV4MPEG version...
Mark Nauwelaerts [Thu, 11 Jan 2007 10:02:40 +0000 (10:02 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Internally, ffmpeg (demuxer) expects YUV4MPEG version 2, this patch sets the caps cor...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw@skynet.be>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
Internally, ffmpeg (demuxer) expects YUV4MPEG version 2, this patch sets
the caps correctly. Fixes #394071.

17 years agoForgot number of bug fixed
Edward Hervey [Wed, 10 Jan 2007 19:56:32 +0000 (19:56 +0000)]
Forgot number of bug fixed

Original commit message from CVS:
Forgot number of bug fixed

17 years agoext/ffmpeg/gstffmpegdemux.c: Check the aggregated return value of pushes downstream...
Mark Nauwelaerts [Wed, 10 Jan 2007 19:55:05 +0000 (19:55 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Check the aggregated return value of pushes downstream to figure out if we really need t...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw@skynet.be>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_perform_seek),
(gst_ffmpegdemux_aggregated_flow), (gst_ffmpegdemux_get_stream),
(gst_ffmpegdemux_loop):
Check the aggregated return value of pushes downstream to figure out if
we really need to stop the task or not.

17 years agoext/ffmpeg/: Use codecid as extra parameter when getting caps.
Wim Taymans [Tue, 9 Jan 2007 14:59:34 +0000 (14:59 +0000)]
ext/ffmpeg/: Use codecid as extra parameter when getting caps.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
(gst_ffmpeg_set_palette), (gst_ff_vid_caps_new),
(gst_ff_aud_caps_new), (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
(gst_ffmpeg_codectype_to_caps), (gst_ffmpeg_caps_to_pixfmt),
(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_to_caps),
(gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid),
(gst_ffmpeg_init_pix_fmt_info), (gst_ffmpeg_avpicture_fill),
(gst_ffmpeg_img_convert):
* ext/ffmpeg/gstffmpegcodecmap.h:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
(gst_ffmpegenc_register):
Use codecid as extra parameter when getting caps.
Restrict H263 caps to allowed sizes for better negotiation.
MP4/3gp can contain AMR-WB as well.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Indent.

17 years agoext/ffmpeg/gstffmpegdec.c: Use caps to clip output images. Fixes #341736
Wim Taymans [Tue, 9 Jan 2007 14:53:36 +0000 (14:53 +0000)]
ext/ffmpeg/gstffmpegdec.c: Use caps to clip output images. Fixes #341736

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
(get_output_buffer), (gst_ffmpegdec_video_frame),
(clip_audio_buffer), (gst_ffmpegdec_audio_frame),
(gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
(gst_ffmpegdec_register):
Use caps to clip output images. Fixes #341736

17 years agoext/ffmpeg/gstffmpegenc.c: Make the name of the motion-estimation method enum values...
Edward Hervey [Mon, 8 Jan 2007 16:39:00 +0000 (16:39 +0000)]
ext/ffmpeg/gstffmpegenc.c: Make the name of the motion-estimation method enum values meaningful.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_me_method_get_type):
Make the name of the motion-estimation method enum values meaningful.

17 years agoMakefile.am: Add win32/MANIFEST to EXTRA_DIST so win32 files will be include in the...
Sébastien Moutte [Sun, 7 Jan 2007 13:56:29 +0000 (13:56 +0000)]
Makefile.am: Add win32/MANIFEST to EXTRA_DIST so win32 files will be include in the next release.

Original commit message from CVS:
* Makefile.am:
Add win32/MANIFEST to EXTRA_DIST so win32 files will
be include in the next release.
* win32/MANIFEST:
Add manifest to win32 files in next releases.
* win32/vs6/gst_ffmpeg.dsw:
* win32/vs6/libgstffmpeg.dsp:
Add project files for VS6.

17 years agowin32/MANIFEST: Add manifest for win32 files.
Sébastien Moutte [Sun, 7 Jan 2007 13:53:25 +0000 (13:53 +0000)]
win32/MANIFEST: Add manifest for win32 files.

Original commit message from CVS:
* win32/MANIFEST:
Add manifest for win32 files.

17 years agowin32/vs6/: Add project files for VS6.
Sébastien Moutte [Sun, 7 Jan 2007 13:51:55 +0000 (13:51 +0000)]
win32/vs6/: Add project files for VS6.

Original commit message from CVS:
* win32/vs6/gst_ffmpeg.dsw:
* win32/vs6/libgstffmpeg.dsp:
Add project files for VS6.

17 years agoconfigure.ac: actually properly define HAVE_FFMPEG_UNINSTALLED also use it as a condi...
Thomas Vander Stichele [Fri, 5 Jan 2007 16:04:12 +0000 (16:04 +0000)]
configure.ac: actually properly define HAVE_FFMPEG_UNINSTALLED also use it as a conditional

Original commit message from CVS:
* configure.ac:
actually properly define HAVE_FFMPEG_UNINSTALLED
also use it as a conditional
* ext/ffmpeg/Makefile.am:
add a dep on the internal lib so the plugin gets rebuilt on
code changes to the ffmpeg lib

17 years agoext/ffmpeg/gstffmpegenc.c: Turn dispose function into finalize function to avoid...
Tim-Philipp Müller [Wed, 3 Jan 2007 17:00:08 +0000 (17:00 +0000)]
ext/ffmpeg/gstffmpegenc.c: Turn dispose function into finalize function to avoid double-frees and potential crashes c...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
(gst_ffmpegenc_finalize):
Turn dispose function into finalize function to avoid double-frees
and potential crashes caused by them in some circumstances.
Fixes #392395.

17 years agoext/ffmpeg/gstffmpegcodecmap.c: The "signed" field in raw audio caps is of boolean...
Tim-Philipp Müller [Thu, 21 Dec 2006 12:21:51 +0000 (12:21 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: The "signed" field in raw audio caps is of boolean type, trying to extract the value ...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_smpfmt):
The "signed" field in raw audio caps is of boolean type, trying to
extract the value with _get_int() will fail.

17 years agoconfigure.ac: fix quoting so it works for fedora autotools too
Thomas Vander Stichele [Fri, 15 Dec 2006 14:59:31 +0000 (14:59 +0000)]
configure.ac: fix quoting so it works for fedora autotools too

Original commit message from CVS:
* configure.ac:
fix quoting so it works for fedora autotools too

17 years agoSpaces => tab
Tim-Philipp Müller [Fri, 15 Dec 2006 13:58:17 +0000 (13:58 +0000)]
Spaces => tab

Original commit message from CVS:
* docs/Makefile.am:
* tests/check/Makefile.am:
Spaces => tab

17 years agoadd doap file
Thomas Vander Stichele [Fri, 15 Dec 2006 12:57:40 +0000 (12:57 +0000)]
add doap file

Original commit message from CVS:
* Makefile.am:
* gst-ffmpeg.doap:
* gst-ffmpeg.spec.in:
add doap file

17 years agoAllow building against an external FFMpeg install. Fixes: #363363
Josselin Mouette [Thu, 14 Dec 2006 23:31:45 +0000 (23:31 +0000)]
Allow building against an external FFMpeg install. Fixes: #363363

Original commit message from CVS:
* Makefile.am:
* configure.ac:
* ext/ffmpeg/Makefile.am:
* ext/ffmpeg/gstffmpeg.c:
* ext/ffmpeg/gstffmpegdemux.c:
* ext/libpostproc/Makefile.am:
* ext/libpostproc/gstpostproc.c:
Allow building against an external FFMpeg install. Fixes: #363363
Patch by: Josselin Mouette <joss at debian dot org>
When built against an external install, the plugin description will
say "system install" instead of "local snapshot"

17 years agoconfigure.ac: Back to CVS
Jan Schmidt [Thu, 14 Dec 2006 09:59:23 +0000 (09:59 +0000)]
configure.ac: Back to CVS

Original commit message from CVS:
* configure.ac:
Back to CVS

17 years agoRelease 0.10.2 RELEASE-0_10_2
Jan Schmidt [Wed, 13 Dec 2006 21:05:10 +0000 (21:05 +0000)]
Release 0.10.2

Original commit message from CVS:
Release 0.10.2

17 years agoext/ffmpeg/gstffmpegcodecmap.c: Activate "amr" and "3gp" muxers.
Edward Hervey [Thu, 7 Dec 2006 18:07:32 +0000 (18:07 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Activate "amr" and "3gp" muxers.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_get_codecids):
Activate "amr" and "3gp" muxers.
Add AMR-NB as a valid audio codec for "mp4" muxer

17 years agoext/ffmpeg/gstffmpegcodecmap.c: Add H263p variants as possible format for mov.
Wim Taymans [Thu, 7 Dec 2006 11:37:10 +0000 (11:37 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add H263p variants as possible format for mov.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
Add H263p variants as possible format for mov.
Fixes #378796.

17 years agotests/check/generic/libavcodec-locking.c: Fix the filter caps string for the test...
Jan Schmidt [Wed, 6 Dec 2006 17:58:24 +0000 (17:58 +0000)]
tests/check/generic/libavcodec-locking.c: Fix the filter caps string for the test. Limit it to 10 fps, which means en...

Original commit message from CVS:
* tests/check/generic/libavcodec-locking.c: (GST_START_TEST):
Fix the filter caps string for the test. Limit it to 10 fps, which
means encoding ~ 50 frames before timeout

17 years agoHACKING: Update the hacking info with information about how to prepare your quilt...
Jan Schmidt [Mon, 4 Dec 2006 20:30:30 +0000 (20:30 +0000)]
HACKING: Update the hacking info with information about how to prepare your quilt setup to hack on the ffmpeg checkout

Original commit message from CVS:
* HACKING:
Update the hacking info with information about how to prepare
your quilt setup to hack on the ffmpeg checkout

17 years agoext/ffmpeg/gstffmpegdec.c: When H264 is presented without codec_data, use a parser...
Jan Schmidt [Mon, 27 Nov 2006 18:58:38 +0000 (18:58 +0000)]
ext/ffmpeg/gstffmpegdec.c: When H264 is presented without codec_data, use a parser to frame it by assuming that no co...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_chain):
When H264 is presented without codec_data, use a parser to frame it
by assuming that no codec_data implies it is unpacketised.
Always use the return value from the parser to advance the input
buffer position.

18 years agoext/ffmpeg/gstffmpegenc.c: My console is not your TODO list.
Thomas Vander Stichele [Fri, 17 Nov 2006 15:29:42 +0000 (15:29 +0000)]
ext/ffmpeg/gstffmpegenc.c: My console is not your TODO list.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
My console is not your TODO list.
If it were your TODO list, you would have DONE it by now.

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Specify H.263 variant and version in the caps (fixes...
Ville Syrjala [Thu, 16 Nov 2006 07:28:28 +0000 (07:28 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Specify H.263 variant and version in the caps (fixes #361636)

Original commit message from CVS:
Patch by: Ville Syrjala <ville.syrjala@movial.fi>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_codecid):
Specify H.263 variant and version in the caps (fixes #361636)

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Add mmf to _get_codecids, so we can use the mmf muxer.
Michael Smith [Tue, 14 Nov 2006 12:34:20 +0000 (12:34 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add mmf to _get_codecids, so we can use the mmf muxer.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid):
Add mmf to _get_codecids, so we can use the mmf muxer.
Use "audio/x-adpcm" rather than the dubious looking "x-adpcm" as our
caps type for the adpcm variants.

* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init):
Allow muxers that allow either only audio or only video, needed for
mmf (audio only).

18 years agoext/ffmpeg/gstffmpegenc.c: MPEG4 standard does not accept framerates with a denominat...
Edward Hervey [Thu, 26 Oct 2006 11:41:45 +0000 (11:41 +0000)]
ext/ffmpeg/gstffmpegenc.c: MPEG4 standard does not accept framerates with a denominator greater than (1<<16 - 1) (acc...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
(gst_ffmpegenc_setcaps), (gst_ffmpegenc_register):
MPEG4 standard does not accept framerates with a denominator greater
than (1<<16 - 1) (according to the ffmpeg encoder...).
We therefore scale down the framerate.
Small indentation fixes using gst-indent.

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Fix AMR caps. Fixes #364956.
Wim Taymans [Wed, 25 Oct 2006 17:20:25 +0000 (17:20 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Fix AMR caps. Fixes #364956.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_codecid):
Fix AMR caps. Fixes #364956.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_get_stream):
Activate pads before adding them.

18 years agoext/ffmpeg/gstffmpegmux.c: The ->frame_size for RAW audio is 1.
Edward Hervey [Tue, 24 Oct 2006 16:40:45 +0000 (16:40 +0000)]
ext/ffmpeg/gstffmpegmux.c: The ->frame_size for RAW audio is 1.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
The ->frame_size for RAW audio is 1.
Should fix behaviour of some muxers.

18 years agogst-ffmpeg.spec.in: Build with -O1 by default since otherwise assembler breaks
Thomas Vander Stichele [Tue, 24 Oct 2006 13:13:14 +0000 (13:13 +0000)]
gst-ffmpeg.spec.in: Build with -O1 by default since otherwise assembler breaks

Original commit message from CVS:
* gst-ffmpeg.spec.in:
Build with -O1 by default since otherwise assembler breaks

18 years agoext/ffmpeg/gstffmpegcfg.c: FLV is in fact h263 and can take the same parameters as...
Edward Hervey [Tue, 24 Oct 2006 09:27:16 +0000 (09:27 +0000)]
ext/ffmpeg/gstffmpegcfg.c: FLV is in fact h263 and can take the same parameters as other mpeg derivatives.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcfg.c:
FLV is in fact h263 and can take the same parameters as other mpeg
derivatives.
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_with_codecid):
Add pixel format to video/x-dv,systemstream=False
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
(gst_ffmpegenc_init):
Use EPZS (Enhanced Predictive Zonal Search) as the default motion
estimation method, since it's the best quality to speed compromise.

18 years agospec updates
Thomas Vander Stichele [Fri, 20 Oct 2006 16:20:57 +0000 (16:20 +0000)]
spec updates

Original commit message from CVS:
spec updates

18 years agoconfigure.ac: postproc filters need liboil to detect the cpu architecture
Edward Hervey [Fri, 20 Oct 2006 15:17:38 +0000 (15:17 +0000)]
configure.ac: postproc filters need liboil to detect the cpu architecture

Original commit message from CVS:
Reviewed by: Edward Hervey  <edward@fluendo.com>
* configure.ac:
postproc filters need liboil to detect the cpu architecture
* ext/libpostproc/Makefile.am:
Update for liboil requirement, libpostproc being moved around in
ffmpeg mirror, and removal of unused header file.
* ext/libpostproc/gstpostproc.h:
Header file not needed anymore
* ext/libpostproc/gstpostproc.c: (gst_pp_scope_get_type),
(change_context), (append), (change_mode),
(gst_post_proc_base_init), (gst_post_proc_class_init),
(gst_post_proc_init), (gst_post_proc_dispose),
(gst_post_proc_setcaps), (gst_post_proc_transform_ip),
(gst_post_proc_set_property), (gst_post_proc_get_property),
(gst_post_proc_deblock_set_property),
(gst_post_proc_deblock_get_property),
(gst_post_proc_tmpnoise_set_property),
(gst_post_proc_tmpnoise_get_property),
(gst_post_proc_autolevels_set_property),
(gst_post_proc_autolevels_get_property),
(gst_post_proc_forcequant_set_property),
(gst_post_proc_forcequant_get_property), (gst_post_proc_register),
(plugin_init):
Port of postprocessing elements to 0.10.

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Added some codec mappings for dv and mov muxers.
Edward Hervey [Fri, 13 Oct 2006 13:13:08 +0000 (13:13 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Added some codec mappings for dv and mov muxers.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c:
(gst_ffmpeg_formatid_get_codecids):
Added some codec mappings for dv and mov muxers.
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
(gst_ffmpegenc_register):
Don't attempt to add caps to a NULL caps.
Add video/x-raw-gray to the input raw video types.

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Added proper mime types for mxf and gxf formats.
Edward Hervey [Mon, 9 Oct 2006 13:31:55 +0000 (13:31 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Added proper mime types for mxf and gxf formats.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps),
(gst_ffmpeg_formatid_get_codecids):
Added proper mime types for mxf and gxf formats.
Added known configuration for asf muxer. Implies allowing the ffmpeg asf
muxer to take WMV and WMA.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
Most demuxers/formats don't give keyframe information on encoded
audio streams. We therefore don't discard them, and use the clipping
functionnality to drop the decoded buffers we didn't need.

18 years agoext/ffmpeg/gstffmpegdemux.c: Set the rank of all demuxers for which we: _ Have no...
Edward Hervey [Mon, 9 Oct 2006 10:10:54 +0000 (10:10 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Set the rank of all demuxers for which we: _ Have no alternate demuxer, _ And are know n...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Set the rank of all demuxers for which we:
_ Have no alternate demuxer,
_ And are know not to crash like madmans,
to GST_RANK_MARGINAL

18 years agoext/ffmpeg/gstffmpegdemux.c: Disable the amr ffmpeg typefind function, it conflicts...
Edward Hervey [Mon, 9 Oct 2006 09:31:34 +0000 (09:31 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Disable the amr ffmpeg typefind function, it conflicts with gsttypefindfunctions' implem...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Disable the amr ffmpeg typefind function, it conflicts with
gsttypefindfunctions' implementation.

18 years agoext/ffmpeg/gstffmpegenc.c: Properly initialize ->lmin, ->lmax and ->max_key_interval...
Edward Hervey [Fri, 6 Oct 2006 14:46:48 +0000 (14:46 +0000)]
ext/ffmpeg/gstffmpegenc.c: Properly initialize ->lmin, ->lmax and ->max_key_interval so we don't end up passing compl...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_init):
Properly initialize ->lmin, ->lmax and ->max_key_interval so we don't
end up passing completely bogus data to the AVCodecContext.
Fixes #355584

18 years agoext/ffmpeg/: Printf format fixes.
Tim-Philipp Müller [Thu, 5 Oct 2006 18:44:09 +0000 (18:44 +0000)]
ext/ffmpeg/: Printf format fixes.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_get_stream):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
Printf format fixes.

18 years agoext/ffmpeg/gstffmpegprotocol.c: Implement seeking for WRITE "gst" protocol.
Edward Hervey [Thu, 5 Oct 2006 15:54:12 +0000 (15:54 +0000)]
ext/ffmpeg/gstffmpegprotocol.c: Implement seeking for WRITE "gst" protocol.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_seek):
Implement seeking for WRITE "gst" protocol.
This allows muxers to properly seek and output correctly muxed files.

18 years agoext/ffmpeg/gstffmpegmux.c: We need to stop the collectpads in PAUSED->READY BEFORE...
Edward Hervey [Thu, 5 Oct 2006 11:15:12 +0000 (11:15 +0000)]
ext/ffmpeg/gstffmpegmux.c: We need to stop the collectpads in PAUSED->READY BEFORE chaining up to the parent class ch...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_change_state):
We need to stop the collectpads in PAUSED->READY BEFORE chaining up to
the parent class change_state. Else we end up in a locking behaviour
with the sink pads stream locks.

18 years agoext/ffmpeg/gstffmpegdemux.c: Don't try to use or remove non-existing pads.
Wim Taymans [Wed, 4 Oct 2006 13:42:35 +0000 (13:42 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Don't try to use or remove non-existing pads.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_averror),
(gst_ffmpegdemux_init), (gst_ffmpegdemux_close),
(gst_ffmpegdemux_push_event), (gst_ffmpegdemux_send_event),
(gst_ffmpegdemux_src_query), (gst_ffmpegdemux_open),
(gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
(gst_ffmpegdemux_sink_activate_push),
(gst_ffmpegdemux_sink_activate_pull):
Don't try to use or remove non-existing pads.
Use _scale some more.
Don't try to do maths with invalid timestamps. Fixes #359545.
Prepare for push based scheduling.

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Clarify some CODEC_ID <=> mime type conversions for...
Edward Hervey [Sat, 30 Sep 2006 14:42:16 +0000 (14:42 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Clarify some CODEC_ID <=> mime type conversions for image formats.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
Clarify some CODEC_ID <=> mime type conversions for image formats.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Cleanup on demuxer registration.
Bumped flv demuxer to RANK_MARGINAL since it proved solid enough.
Will have to go over more demuxers, for which we don't have any
gst-plugins-* alternative, to figure out which ones can move to
RANK_MARGINAL too.

18 years agoext/ffmpeg/: Don't leak caps in some cases and make build bots happy again.
Tim-Philipp Müller [Fri, 29 Sep 2006 17:17:01 +0000 (17:17 +0000)]
ext/ffmpeg/: Don't leak caps in some cases and make build bots happy again.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
Don't leak caps in some cases and make build bots happy again.

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Added definitions for FLASHSV, Flash Screen Video...
Edward Hervey [Sat, 23 Sep 2006 12:00:15 +0000 (12:00 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Added definitions for FLASHSV, Flash Screen Video format.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
Added definitions for FLASHSV, Flash Screen Video format.