platform/upstream/gst-libav.git
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.

17 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.

17 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)

17 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.

18 years agoext/ffmpeg/gstffmpegdec.c: wc1/wmv3 ffmpeg decoder now works. Bumping rank to GST_RAN...
Edward Hervey [Thu, 21 Sep 2006 09:32:52 +0000 (09:32 +0000)]
ext/ffmpeg/gstffmpegdec.c: wc1/wmv3 ffmpeg decoder now works. Bumping rank to GST_RANK_MARGINAL.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
wc1/wmv3 ffmpeg decoder now works. Bumping rank to GST_RANK_MARGINAL.

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Adding codec mapping for vp5, vp6, vp6f and cavs.
Edward Hervey [Wed, 20 Sep 2006 20:02:16 +0000 (20:02 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Adding codec mapping for vp5, vp6, vp6f and cavs.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
Adding codec mapping for vp5, vp6, vp6f and cavs.

18 years agoext/ffmpeg/: Seems like the ffmpeg folks finally understood that VC9 does not exist...
Edward Hervey [Wed, 20 Sep 2006 19:24:59 +0000 (19:24 +0000)]
ext/ffmpeg/: Seems like the ffmpeg folks finally understood that VC9 does not exist, and that it's in fact VC1 (aka W...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_get_codecid_longname):
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
Seems like the ffmpeg folks finally understood that VC9 does not
exist, and that it's in fact VC1 (aka WMV9 or WMV3, but that's yet
another debate).

18 years agoext/ffmpeg/: More G_OBJECT macro fixing.
Stefan Kost [Sat, 16 Sep 2006 22:19:40 +0000 (22:19 +0000)]
ext/ffmpeg/: More G_OBJECT macro fixing.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c:
* ext/ffmpeg/gstffmpegdeinterlace.c:
* ext/ffmpeg/gstffmpegenc.h:
* ext/ffmpeg/gstffmpegmux.c:
* ext/ffmpeg/gstffmpegscale.c:
More G_OBJECT macro fixing.

18 years agoext/ffmpeg/gstffmpegdec.c: Add some more timestamp debugging.
Wim Taymans [Wed, 13 Sep 2006 11:39:49 +0000 (11:39 +0000)]
ext/ffmpeg/gstffmpegdec.c: Add some more timestamp debugging.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(check_keyframe), (gst_ffmpegdec_video_frame),
(gst_ffmpegdec_chain):
Add some more timestamp debugging.
Fixed wrong duration whn not using a parser.

18 years agoext/ffmpeg/gstffmpegmux.c: Port tag-writing support in the muxers.
Edward Hervey [Fri, 8 Sep 2006 16:52:19 +0000 (16:52 +0000)]
ext/ffmpeg/gstffmpegmux.c: Port tag-writing support in the muxers.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
(gst_ffmpegmux_sink_event), (gst_ffmpegmux_collected):
Port tag-writing support in the muxers.

18 years agoext/ffmpeg/: Port of FFMpeg muxers to 0.10.
Michal Benes [Fri, 8 Sep 2006 15:25:51 +0000 (15:25 +0000)]
ext/ffmpeg/: Port of FFMpeg muxers to 0.10.

Original commit message from CVS:
Patch by: Michal Benes  <michal dot benes at xeris dot cz>
* ext/ffmpeg/Makefile.am:
* ext/ffmpeg/gstffmpeg.c: (plugin_init):
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_codecid):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
(gst_ffmpegmux_init), (gst_ffmpegmux_finalize),
(gst_ffmpegmux_request_new_pad), (gst_ffmpegmux_setcaps),
(gst_ffmpegmux_collected), (gst_ffmpegmux_change_state),
(gst_ffmpegmux_register):
Port of FFMpeg muxers to 0.10.
Still needs some loving in gstffmpegcodecmap to have them all supported
with correct input formats.
Closes #332339

18 years agoext/ffmpeg/: Make stuff compile on Visual Studio 6.
Sebastien Moutte [Wed, 6 Sep 2006 15:15:05 +0000 (15:15 +0000)]
ext/ffmpeg/: Make stuff compile on Visual Studio 6.

Original commit message from CVS:
Patch by: Sebastien Moutte <sebastien at moutte dot net>
* ext/ffmpeg/gstffmpeg.c: (plugin_init):
* ext/ffmpeg/gstffmpegcodecmap.c: (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_init_pix_fmt_info):
* ext/ffmpeg/gstffmpegcodecmap.h:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_send_event):
* ext/ffmpeg/gstffmpegprotocol.c:
Make stuff compile on Visual Studio 6.
Convert some crach macros to functions.
Convert some static tables to _init functions.
Fixes #343951.

18 years agoext/ffmpeg/gstffmpegdec.c: Do early keyframe check again, feeding bad data in ffmpeg...
Wim Taymans [Wed, 6 Sep 2006 14:53:59 +0000 (14:53 +0000)]
ext/ffmpeg/gstffmpegdec.c: Do early keyframe check again, feeding bad data in ffmpeg is not a good idea after all.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
Do early keyframe check again, feeding bad data in ffmpeg is not a good
idea after all.

18 years agoext/ffmpeg/: Added helper object to handle extra properties.
Mark Nauwelaerts [Wed, 6 Sep 2006 14:51:13 +0000 (14:51 +0000)]
ext/ffmpeg/: Added helper object to handle extra properties.

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* ext/ffmpeg/Makefile.am:
* ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_pass_get_type),
(gst_ffmpeg_lim_pass_get_type), (gst_ffmpeg_mb_decision_get_type),
(gst_ffmpeg_mb_cmp_get_type), (gst_ffmpeg_dct_algo_get_type),
(gst_ffmpeg_idct_algo_get_type), (gst_ffmpeg_quant_type_get_type),
(gst_ffmpeg_pre_me_get_type), (gst_ffmpeg_pred_method_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):
* ext/ffmpeg/gstffmpegcfg.h:
Added helper object to handle extra properties.
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init),
(gst_ffmpegenc_init), (gst_ffmpegenc_dispose),
(gst_ffmpegenc_getcaps), (gst_ffmpegenc_setcaps),
(gst_ffmpegenc_chain_video), (gst_ffmpegenc_chain_audio),
(gst_ffmpegenc_flush_buffers), (gst_ffmpegenc_event_video),
(gst_ffmpegenc_set_property), (gst_ffmpegenc_get_property),
(gst_ffmpegenc_change_state), (gst_ffmpegenc_register):
* ext/ffmpeg/gstffmpegenc.h:
Exposes (quite some of) the AVCodecContext configurable
settings, as well as some additional (though simple) logic for b-frame
delay handling.
Most of the properties are only enabled for mpeg4-like codecs.
Fixes #344583.

18 years agoext/ffmpeg/gstffmpegdec.c: Disable early keyframe check, it causes crashes and is...
Wim Taymans [Tue, 5 Sep 2006 18:09:33 +0000 (18:09 +0000)]
ext/ffmpeg/gstffmpegdec.c: Disable early keyframe check, it causes crashes and is not really needed.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
Disable early keyframe check, it causes crashes and is not really
needed.

18 years agoext/ffmpeg/gstffmpegdec.c: Even more timestamp fixage.
Wim Taymans [Tue, 5 Sep 2006 17:46:50 +0000 (17:46 +0000)]
ext/ffmpeg/gstffmpegdec.c: Even more timestamp fixage.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
(gst_ffmpegdec_chain):
Even more timestamp fixage.
Also keep track of pending durations.
don't lose our timestamp when joining the cache.

18 years agoext/ffmpeg/gstffmpegdec.c: More timestamp fixage.
Wim Taymans [Tue, 5 Sep 2006 17:16:05 +0000 (17:16 +0000)]
ext/ffmpeg/gstffmpegdec.c: More timestamp fixage.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame),
(gst_ffmpegdec_audio_frame), (gst_ffmpegdec_frame),
(gst_ffmpegdec_sink_event), (gst_ffmpegdec_chain):
More timestamp fixage.
Don't pass around buffers just to pass its timestamp since we
cannot update it.
After decoding a buffer, don't use the timestamp of the buffer
anymore but let the interpolation do its work.

18 years agoext/ffmpeg/gstffmpegdec.c: Fix timestamping some more by actually using the ffmpeg...
Wim Taymans [Tue, 5 Sep 2006 15:34:00 +0000 (15:34 +0000)]
ext/ffmpeg/gstffmpegdec.c: Fix timestamping some more by actually using the ffmpeg parsers correctly. Fixes #341736

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
Fix timestamping some more by actually using the ffmpeg parsers
correctly. Fixes #341736

18 years agoext/ffmpeg/gstffmpegdec.c: Mark outgoing buffers with DISCONT when needed.
Wim Taymans [Tue, 29 Aug 2006 09:28:20 +0000 (09:28 +0000)]
ext/ffmpeg/gstffmpegdec.c: Mark outgoing buffers with DISCONT when needed.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
(gst_ffmpegdec_negotiate), (clip_video_buffer),
(clip_audio_buffer), (gst_ffmpegdec_audio_frame),
(gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
(gst_ffmpegdec_chain):
Mark outgoing buffers with DISCONT when needed.
Small cleanups.
Fix timestamps on audio decoders.
better audio clipping.
Fixes #352579.

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Pad extradata. Allocate dummy empty extradata because...
Wim Taymans [Mon, 21 Aug 2006 16:33:15 +0000 (16:33 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Pad extradata. Allocate dummy empty extradata because some codecs like to read it and...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
Pad extradata. Allocate dummy empty extradata because some codecs like
to read it and segfault when it's not there.

18 years agoext/ffmpeg/gstffmpegenc.c: If we are not operating in RTP mode, leave the default...
Mark Nauwelaerts [Wed, 16 Aug 2006 09:18:28 +0000 (09:18 +0000)]
ext/ffmpeg/gstffmpegenc.c: If we are not operating in RTP mode, leave the default rtp encoder settings as they are so...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
If we are not operating in RTP mode, leave the default rtp encoder
settings as they are so that we don't unintentionally activate it.
Fixes #351415.

18 years agoconfigure.ac: Don't build programs in ffmpeg checkout, since we're never going to...
Edward Hervey [Mon, 14 Aug 2006 09:17:48 +0000 (09:17 +0000)]
configure.ac: Don't build programs in ffmpeg checkout, since we're never going to use them in the gstreamer plugin. A...

Original commit message from CVS:
* configure.ac:
Don't build programs in ffmpeg checkout, since we're never going to use
them in the gstreamer plugin. Also it allows building the plugin on
systems that don't have UI-specific libraries (like X).

18 years agoext/ffmpeg/gstffmpegdec.c: Make some enums const.
Wim Taymans [Wed, 19 Jul 2006 16:35:13 +0000 (16:35 +0000)]
ext/ffmpeg/gstffmpegdec.c: Make some enums const.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_lowres_get_type),
(gst_ffmpegdec_skipframe_get_type), (gst_ffmpegdec_class_init),
(gst_ffmpegdec_init), (gst_ffmpegdec_open),
(gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
(gst_ffmpegdec_do_qos), (clip_video_buffer), (check_keyframe),
(get_output_buffer), (gst_ffmpegdec_video_frame),
(gst_ffmpegdec_frame), (gst_ffmpegdec_sink_event),
(gst_ffmpegdec_chain):
Make some enums const.
Cleanups, refactoring.
Better video frame clipping.
Timestamp fixe: use timestamp from incomming buffer even if there
is no input framerate given (as this is totally unrelated).

18 years ago.cvsignore: ignore more files
Edward Hervey [Mon, 12 Jun 2006 13:19:22 +0000 (13:19 +0000)]
.cvsignore: ignore more files

Original commit message from CVS:
* .cvsignore:
ignore more files

18 years agoext/ffmpeg/gstffmpegdec.c: mpeg4 parsing still utterly broken :(
Edward Hervey [Tue, 6 Jun 2006 08:31:48 +0000 (08:31 +0000)]
ext/ffmpeg/gstffmpegdec.c: mpeg4 parsing still utterly broken :(

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open):
mpeg4 parsing still utterly broken :(

18 years agoext/ffmpeg/gstffmpegdec.c: Nothing to see, pass your way, I didn't screwup the previo...
Edward Hervey [Fri, 2 Jun 2006 12:38:37 +0000 (12:38 +0000)]
ext/ffmpeg/gstffmpegdec.c: Nothing to see, pass your way, I didn't screwup the previous commit.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
Nothing to see, pass your way, I didn't screwup the previous commit.

18 years agoext/ffmpeg/gstffmpegdec.c: Split out audio and video frame decoding.
Edward Hervey [Fri, 2 Jun 2006 12:29:38 +0000 (12:29 +0000)]
ext/ffmpeg/gstffmpegdec.c: Split out audio and video frame decoding.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
(gst_ffmpegdec_query), (gst_ffmpegdec_update_qos),
(gst_ffmpegdec_reset_qos), (gst_ffmpegdec_read_qos),
(gst_ffmpegdec_open), (gst_ffmpegdec_setcaps),
(gst_ffmpegdec_get_buffer), (gst_ffmpegdec_release_buffer),
(gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_negotiate),
(gst_ffmpegdec_do_qos), (gst_ffmpegdec_video_frame),
(gst_ffmpegdec_audio_frame), (gst_ffmpegdec_frame),
(gst_ffmpegdec_flush_pcache), (gst_ffmpegdec_sink_event),
(gst_ffmpegdec_chain):
Split out audio and video frame decoding.
Added dropping/clipping of decoded buffers.
Ran gst-indent on code.
Small non-invasive code cleanups.

18 years agoext/ffmpeg/gstffmpegdemux.c: One of the ffmpeg 'plugins' changed its name with the...
Michael Smith [Fri, 2 Jun 2006 11:50:45 +0000 (11:50 +0000)]
ext/ffmpeg/gstffmpegdemux.c: One of the ffmpeg 'plugins' changed its name with the latest update of the snapshot. Cha...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
One of the ffmpeg 'plugins' changed its name with the latest update
of the snapshot. Change the blacklisted typefind list to match.

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Change all GST_WARNING to GST_LOG. None of these...
Edward Hervey [Fri, 26 May 2006 12:42:06 +0000 (12:42 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Change all GST_WARNING to GST_LOG. None of these warning are really critical issues a...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
(gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_formatid_get_codecids),
(gst_ffmpeg_get_codecid_longname):
Change all GST_WARNING to GST_LOG. None of these warning are
really critical issues anyway.

18 years agoconfigure.ac: fix test by finding base plugins
Thomas Vander Stichele [Thu, 18 May 2006 23:06:31 +0000 (23:06 +0000)]
configure.ac: fix test by finding base plugins

Original commit message from CVS:
2006-05-19  Thomas Vander Stichele  <thomas at apestaart dot org>

* configure.ac:
fix test by finding base plugins

18 years agoAdd variant=h263p to ffenc_h263p caps
Philippe Kalaf [Tue, 16 May 2006 20:03:00 +0000 (20:03 +0000)]
Add variant=h263p to ffenc_h263p caps

Original commit message from CVS:
Add variant=h263p to ffenc_h263p caps

18 years agotests/check/gst-ffmpeg.supp: Add missing file (which prepare-ChangeLog didn't pick...
Tim-Philipp Müller [Tue, 9 May 2006 16:44:33 +0000 (16:44 +0000)]
tests/check/gst-ffmpeg.supp: Add missing file (which prepare-ChangeLog didn't pick up because it's empty).

Original commit message from CVS:
* tests/check/gst-ffmpeg.supp:
Add missing file (which prepare-ChangeLog didn't pick up
because it's empty).

18 years agotests/check/generic/libavcodec-locking.c: Only run test when encoder element is avail...
Tim-Philipp Müller [Tue, 9 May 2006 16:33:20 +0000 (16:33 +0000)]
tests/check/generic/libavcodec-locking.c: Only run test when encoder element is available (we might have been configu...

Original commit message from CVS:
* tests/check/generic/libavcodec-locking.c: (GST_START_TEST),
(simple_launch_lines_suite), (main):
Only run test when encoder element is available (we might
have been configured with --disable-encoders).

18 years agotests/check/: Add test case for libavcodec locking
Luca Ognibene [Tue, 9 May 2006 16:18:17 +0000 (16:18 +0000)]
tests/check/: Add test case for libavcodec locking

Original commit message from CVS:
Patch by: Luca Ognibene  <luogni at tin dot it>
* tests/check/Makefile.am:
* tests/check/generic/libavcodec-locking.c: (setup_pipeline),
(run_pipeline), (GST_START_TEST), (simple_launch_lines_suite),
(main):
Add test case for libavcodec locking

18 years agoAdd test infrastructure to gst-ffmpeg (#324279).
Tim-Philipp Müller [Tue, 9 May 2006 16:15:39 +0000 (16:15 +0000)]
Add test infrastructure to gst-ffmpeg (#324279).

Original commit message from CVS:
* Makefile.am:
* configure.ac:
* tests/Makefile.am:
* tests/check/.cvsignore:
* tests/check/Makefile.am:
* tests/check/generic/.cvsignore:
Add test infrastructure to gst-ffmpeg (#324279).

18 years agoautogen.sh: libtoolize on Darwin/MacOSX is called glibtoolize
Edward Hervey [Mon, 8 May 2006 11:58:44 +0000 (11:58 +0000)]
autogen.sh: libtoolize on Darwin/MacOSX is called glibtoolize

Original commit message from CVS:
* autogen.sh: (CONFIGURE_DEF_OPT):
libtoolize on Darwin/MacOSX is called glibtoolize

18 years agoext/ffmpeg/: Add mappings for RealVideo 4.0, AMR-WB, AMR-NB and DTS to silence warnin...
Sam Morris [Sun, 7 May 2006 01:18:46 +0000 (01:18 +0000)]
ext/ffmpeg/: Add mappings for RealVideo 4.0, AMR-WB, AMR-NB and DTS to silence warnings when registering.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_get_codecids),
(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init):
Add mappings for RealVideo 4.0, AMR-WB, AMR-NB and DTS to silence
warnings when registering.
Only register the 1/2,1/4 size decode and frame-skipping properties
on video decoders.
* gst-libs/ext/ffmpeg/configure.ac:
* gst-libs/ext/ffmpeg/libavformat/Makefile.am:
* gst-libs/ext/ffmpeg/patches/autotools.patch:
Merge patch by Sam Morris to allow disabling of decoders.
Fixes #324366

18 years agogst-libs/ext/ffmpeg/patches/: Refresh patches to incorporate MikeS' automake 1.9...
Jan Schmidt [Sat, 6 May 2006 23:40:16 +0000 (23:40 +0000)]
gst-libs/ext/ffmpeg/patches/: Refresh patches to incorporate MikeS' automake 1.9 changes from a while back.

Original commit message from CVS:
* gst-libs/ext/ffmpeg/patches/autotools.patch:
* gst-libs/ext/ffmpeg/patches/noinst.patch:
Refresh patches to incorporate MikeS' automake 1.9 changes from a
while back.

18 years agoadd missing rm line
Christian Schaller [Thu, 4 May 2006 13:51:03 +0000 (13:51 +0000)]
add missing rm line

Original commit message from CVS:
add missing rm line

18 years agoext/ffmpeg/gstffmpegdemux.c: Give ffmpeg demuxers a rank of NONE for the time being...
Tim-Philipp Müller [Tue, 2 May 2006 13:53:57 +0000 (13:53 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Give ffmpeg demuxers a rank of NONE for the time being, so that they are not auto-plugge...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Give ffmpeg demuxers a rank of NONE for the time being, so that
they are not auto-plugged; they are not stable enough for that
yet (e.g. #337785). Don't register AAC demuxer, it's not really
useful and can't be used as faad replacement (#338928).

18 years agojust make it compile with --disable-gst-debug.
Edgard Lima [Mon, 24 Apr 2006 18:51:15 +0000 (18:51 +0000)]
just make it compile with --disable-gst-debug.

Original commit message from CVS:
just make it compile with --disable-gst-debug.

18 years agoconfigure.ac (GST_MAJORMINOR): Drop the required gstreamer version back down to the...
Andy Wingo [Fri, 21 Apr 2006 16:29:01 +0000 (16:29 +0000)]
configure.ac (GST_MAJORMINOR): Drop the required gstreamer version back down to the latest release, I don't think tho...

Original commit message from CVS:
2006-04-21  Andy Wingo  <wingo@pobox.com>

* configure.ac (GST_MAJORMINOR): Drop the required gstreamer
version back down to the latest release, I don't think thomas'
commit on 1 april was meant to change it.

18 years agoext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Up the rank of the dv video decoder.
Andy Wingo [Fri, 21 Apr 2006 15:48:17 +0000 (15:48 +0000)]
ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Up the rank of the dv video decoder.

Original commit message from CVS:
2006-04-21  Andy Wingo  <wingo@pobox.com>

* ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Up the rank
of the dv video decoder.

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Added proper GstCaps <==> CodecId for Apple QDRaw.
Edward Hervey [Wed, 19 Apr 2006 15:35:12 +0000 (15:35 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Added proper GstCaps <==> CodecId for Apple QDRaw.

Original commit message from CVS:
reviewed by: Edward Hervey  <edward@fluendo.com>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_formatid_get_codecids),
(gst_ffmpeg_get_codecid_longname):
Added proper GstCaps <==> CodecId for Apple QDRaw.
Fixed up proper wrapping for GstCaps <==> FormatId.

18 years agoext/ffmpeg/gstffmpegdemux.c: Don't try to convert -1 values when seeking.
Wim Taymans [Tue, 18 Apr 2006 11:02:04 +0000 (11:02 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Don't try to convert -1 values when seeking.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_perform_seek),
(gst_ffmpegdemux_loop):
Don't try to convert -1 values when seeking.
Adjust timestamps with start_time of the stream.

18 years agoext/ffmpeg/gstffmpegdemux.c: Rework the demuxer, implement all seeking stuff includin...
Wim Taymans [Thu, 13 Apr 2006 16:22:53 +0000 (16:22 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Rework the demuxer, implement all seeking stuff including seek in ready.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
(gst_ffmpegdemux_class_init), (gst_ffmpegdemux_init),
(gst_ffmpegdemux_close), (gst_ffmpegdemux_push_event),
(gst_ffmpegdemux_set_flags), (gst_ffmpegdemux_is_eos),
(gst_ffmpegdemux_do_seek), (gst_ffmpegdemux_perform_seek),
(gst_ffmpegdemux_src_event), (gst_ffmpegdemux_send_event),
(gst_ffmpegdemux_src_query), (gst_ffmpegdemux_src_convert),
(gst_ffmpegdemux_get_stream), (my_safe_copy),
(gst_ffmpegdemux_read_tags), (gst_ffmpegdemux_open),
(gst_ffmpegdemux_loop), (gst_ffmpegdemux_sink_activate),
(gst_ffmpegdemux_sink_activate_pull),
(gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
Rework the demuxer, implement all seeking stuff including
seek in ready.
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
(gst_ffmpegdata_close):
Handle some more cases.

18 years agoMention the bug this latest commit fixed.
Wim Taymans [Tue, 11 Apr 2006 17:55:33 +0000 (17:55 +0000)]
Mention the bug this latest commit fixed.

Original commit message from CVS:
Mention the bug this latest commit fixed.

18 years agoext/ffmpeg/gstffmpegdec.c: Actually convert to time instead of pretending.. Also...
Wim Taymans [Tue, 11 Apr 2006 17:53:21 +0000 (17:53 +0000)]
ext/ffmpeg/gstffmpegdec.c: Actually convert to time instead of pretending.. Also the bitrate of the context is mostly...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
Actually convert to time instead of pretending.. Also
the bitrate of the context is mostly wrong so don't
bother calculating a stop position.