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

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

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

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

17 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

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

17 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

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

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

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

17 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

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

17 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

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

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

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

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

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

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

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

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

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

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

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

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

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

17 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

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

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

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

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

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

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

17 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

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

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

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

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

18 years agoext/ffmpeg/gstffmpegdec.c: When we see a keyframe don't wait for another one.
Wim Taymans [Mon, 10 Apr 2006 20:29:14 +0000 (20:29 +0000)]
ext/ffmpeg/gstffmpegdec.c: When we see a keyframe don't wait for another one.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
When we see a keyframe don't wait for another one.

18 years agoext/ffmpeg/: Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Stefan Kost [Sat, 8 Apr 2006 21:55:22 +0000 (21:55 +0000)]
ext/ffmpeg/: Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_class_init):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_class_init):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

18 years agoext/ffmpeg/gstffmpegdec.c: Too bad we can't use gst_private.h..
Wim Taymans [Sat, 8 Apr 2006 11:04:50 +0000 (11:04 +0000)]
ext/ffmpeg/gstffmpegdec.c: Too bad we can't use gst_private.h..

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_do_qos):
Too bad we can't use gst_private.h..

18 years agoAnd the right ChangeLog this time.
Wim Taymans [Sat, 8 Apr 2006 10:55:12 +0000 (10:55 +0000)]
And the right ChangeLog this time.

Original commit message from CVS:
And the right ChangeLog this time.

18 years agoext/ffmpeg/:
Wim Taymans [Sat, 8 Apr 2006 10:51:32 +0000 (10:51 +0000)]
ext/ffmpeg/:

Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_class_init),
(gst_ffmpegdec_init), (gst_ffmpegdec_finalize),
(gst_ffmpegdec_query), (gst_ffmpegdec_update_qos),
(gst_ffmpegdec_reset_qos), (gst_ffmpegdec_read_qos),
(gst_ffmpegdec_src_event), (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_frame),
(gst_ffmpegdec_flush_pcache), (gst_ffmpegdec_sink_event),
(gst_ffmpegdec_chain):

18 years agoext/ffmpeg/gstffmpegdemux.c: Register id3 demuxer, avi demuxer and ogg demuxer with...
Tim-Philipp Müller [Thu, 6 Apr 2006 14:55:56 +0000 (14:55 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Register id3 demuxer, avi demuxer and ogg demuxer with a rank of GST_RANK_NONE so that t...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Register id3 demuxer, avi demuxer and ogg demuxer with
a rank of GST_RANK_NONE so that they don't get
autoplugged accidentally. We want people to install
the demuxers that are known to work well rather than
mostly untested stuff like ffdemux_*.

18 years agodon't use AS_LIBTOOL_TAGS, it doesn't work
Thomas Vander Stichele [Sat, 1 Apr 2006 15:41:27 +0000 (15:41 +0000)]
don't use AS_LIBTOOL_TAGS, it doesn't work

Original commit message from CVS:
don't use AS_LIBTOOL_TAGS, it doesn't work

18 years agoignore more
Thomas Vander Stichele [Sat, 1 Apr 2006 09:58:38 +0000 (09:58 +0000)]
ignore more

Original commit message from CVS:
ignore more

18 years agoext/ffmpeg/: various compiler fixes
Thomas Vander Stichele [Fri, 31 Mar 2006 22:26:12 +0000 (22:26 +0000)]
ext/ffmpeg/: various compiler fixes

Original commit message from CVS:

* ext/ffmpeg/gstffmpeg.c:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
* ext/ffmpeg/gstffmpegdec.c:
(gst_ffmpegdec_add_pixel_aspect_ratio), (gst_ffmpegdec_frame):
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_seek):
* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_transform_caps),
(gst_ffmpegscale_handle_src_event):
various compiler fixes
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
(my_safe_copy), (gst_ffmpegdemux_open),
(gst_ffmpegdemux_change_state):
actually return the result.  Tee hee.

18 years agoback to HEAD
Thomas Vander Stichele [Fri, 31 Mar 2006 11:17:35 +0000 (11:17 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.10.1 CHANGELOG_START RELEASE-0_10_1
Thomas Vander Stichele [Fri, 31 Mar 2006 11:12:20 +0000 (11:12 +0000)]
releasing 0.10.1

Original commit message from CVS:
releasing 0.10.1

18 years agoext/ffmpeg/gstffmpegdec.c: make _open and _close as functions that should be called...
Wim Taymans [Wed, 22 Mar 2006 11:36:38 +0000 (11:36 +0000)]
ext/ffmpeg/gstffmpegdec.c: make _open and _close as functions that should be called with the object lock instead of t...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
(gst_ffmpegdec_setcaps), (gst_ffmpegdec_change_state):
make _open and _close as functions that should be
called with the object lock instead of them taking a
lock themselves. This fixes a deadlock when
_open fails.

18 years agoext/ffmpeg/gstffmpegdec.c: Don't use gst_pad_alloc_buffer() for frames with palette...
Tim-Philipp Müller [Tue, 14 Mar 2006 17:49:34 +0000 (17:49 +0000)]
ext/ffmpeg/gstffmpegdec.c: Don't use gst_pad_alloc_buffer() for frames with palette, as we'll artificially shorten th...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
Don't use gst_pad_alloc_buffer() for frames with palette,
as we'll artificially shorten the size of buffers in that
case and GstBaseTransform will complain about unit size
issues if we use _alloc_buffer() with the full size.

18 years agoext/ffmpeg/: Port of ffvideoscale to 0.10.
Edward Hervey [Wed, 1 Mar 2006 15:08:08 +0000 (15:08 +0000)]
ext/ffmpeg/: Port of ffvideoscale to 0.10.

Original commit message from CVS:
Reviewed by : Edward Hervey  <edward@fluendo.com>
* ext/ffmpeg/Makefile.am:
* ext/ffmpeg/gstffmpeg.c: (plugin_init):
* ext/ffmpeg/gstffmpegscale.c: (gst_ffmpegscale_base_init),
(gst_ffmpegscale_class_init), (gst_ffmpegscale_init),
(gst_ffmpegscale_finalize), (gst_ffmpegscale_transform_caps),
(gst_ffmpegscale_fixate_caps), (gst_ffmpegscale_get_unit_size),
(gst_ffmpegscale_set_caps), (gst_ffmpegscale_transform),
(gst_ffmpegscale_handle_src_event), (gst_ffmpegscale_register):
Port of ffvideoscale to 0.10.
Closes #332557

18 years agoext/ffmpeg/gstffmpegenc.c: Fix segmentation fault and memleak.
Edward Hervey [Wed, 1 Mar 2006 15:05:03 +0000 (15:05 +0000)]
ext/ffmpeg/gstffmpegenc.c: Fix segmentation fault and memleak.

Original commit message from CVS:
Reviewed by : Edward Hervey  <edward@fluendo.com>
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_audio):
Fix segmentation fault and memleak.
Fixes #332995 and #333001

18 years agoext/ffmpeg/gstffmpegdec.c: ... can't adjust buffer size of NULL buffers though (as...
Tim-Philipp Müller [Fri, 24 Feb 2006 19:19:01 +0000 (19:19 +0000)]
ext/ffmpeg/gstffmpegdec.c: ... can't adjust buffer size of NULL buffers though (as happens when seeking in video from...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
... can't adjust buffer size of NULL buffers though
(as happens when seeking in video from #327075).

18 years agoAllow automake 1.9
Michael Smith [Fri, 24 Feb 2006 17:27:04 +0000 (17:27 +0000)]
Allow automake 1.9

Original commit message from CVS:
* autogen.sh:
* gst-libs/ext/ffmpeg/autogen.sh:
Allow automake 1.9

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Use AVPALETTE_SIZE macro instead of magic value for...
Fabrizio [Fri, 24 Feb 2006 16:31:49 +0000 (16:31 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Use AVPALETTE_SIZE macro instead of magic value for clarity.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
(gst_ffmpeg_set_palette):
Use AVPALETTE_SIZE macro instead of magic value for clarity.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
In GStreamer, the size of the palette is not part of
GST_BUFFER_SIZE, so adjust buffer size of outgoing buffers
accordingly if there's a palette (fixes #327028, based on
patch by: Fabrizio Gennari).

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Added proper formatid to caps conversion for ogg...
Edward Hervey [Tue, 21 Feb 2006 14:14:39 +0000 (14:14 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Added proper formatid to caps conversion for ogg, gif, yuv4mpeg and quicktime formats.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_formatid_to_caps):
Added proper formatid to caps conversion for ogg, gif, yuv4mpeg and
quicktime formats.

18 years agoconfigure.ac: Apply patch from Sebastien Cote to handle --with-pkg-config-path before...
Sebastien Cote [Tue, 21 Feb 2006 11:30:10 +0000 (11:30 +0000)]
configure.ac: Apply patch from Sebastien Cote to handle --with-pkg-config-path before looking for GStreamer patches. ...

Original commit message from CVS:
* configure.ac:
Apply patch from Sebastien Cote to handle --with-pkg-config-path
before looking for GStreamer patches. (Re-closes #319248)

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Add extra detail to the Real format caps. With this...
Jan Schmidt [Sun, 19 Feb 2006 22:40:16 +0000 (22:40 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add extra detail to the Real format caps. With this info, filesrc ! ffdemux_rm ! ffde...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_with_codecid):
Add extra detail to the Real format caps. With this info,
filesrc ! ffdemux_rm ! ffdec_cook ! ... works, but using rmdemux
doesn't. The order of the data the demuxers output appears to be
different.

18 years agoext/ffmpeg/: Add new codec ids and fix up some of the codec->mime type mappings
Jan Schmidt [Sun, 19 Feb 2006 16:54:51 +0000 (16:54 +0000)]
ext/ffmpeg/: Add new codec ids and fix up some of the codec->mime type mappings

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_get_codecid_longname):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
Add new codec ids and fix up some of the codec->mime type mappings

18 years agoext/ffmpeg/gstffmpegcodecmap.c: Add codec mapping for RealAudio G2 (Cook) codec.
Jan Schmidt [Sun, 19 Feb 2006 14:28:59 +0000 (14:28 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: Add codec mapping for RealAudio G2 (Cook) codec.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
Add codec mapping for RealAudio G2 (Cook) codec.

18 years agoHACKING: Mention ffmpeg snapshot update
Jan Schmidt [Sat, 18 Feb 2006 23:12:14 +0000 (23:12 +0000)]
HACKING: Mention ffmpeg snapshot update

Original commit message from CVS:
* HACKING:
Mention ffmpeg snapshot update

* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
Add new codec types from FFMpeg snapshot update to 2006-02-17 4:00 GMT

18 years agoext/ffmpeg/gstffmpegdemux.c: Post nice error message when we cannot activate in pull...
Wim Taymans [Fri, 17 Feb 2006 18:54:17 +0000 (18:54 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Post nice error message when we cannot activate in pull mode.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_sink_activate):
Post nice error message when we cannot activate in pull mode.

18 years agoext/ffmpeg/gstffmpegdemux.c: If the duration returned by ffmpeg is 0, it doesn't...
Edward Hervey [Tue, 14 Feb 2006 17:13:11 +0000 (17:13 +0000)]
ext/ffmpeg/gstffmpegdemux.c: If the duration returned by ffmpeg is 0, it doesn't mean the file has no duration, but t...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_open):
If the duration returned by ffmpeg is 0, it doesn't mean the file has
no duration, but that it doesn't know the end.
Fixed accordingly for segment_stop.

18 years agoext/ffmpeg/gstffmpegdec.c: More fixes for keyframe detection in ffmpeg decoders...
Edward Hervey [Mon, 13 Feb 2006 16:01:50 +0000 (16:01 +0000)]
ext/ffmpeg/gstffmpegdec.c: More fixes for keyframe detection in ffmpeg decoders...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
(gst_ffmpegdec_frame):
More fixes for keyframe detection in ffmpeg decoders...

18 years agothat'll teach me to copypaste
Thomas Vander Stichele [Sun, 12 Feb 2006 21:03:53 +0000 (21:03 +0000)]
that'll teach me to copypaste

Original commit message from CVS:
that'll teach me to copypaste

18 years agoext/ffmpeg/: respect pixel-aspect-ratio when encoding.
Thomas Vander Stichele [Sun, 12 Feb 2006 19:54:16 +0000 (19:54 +0000)]
ext/ffmpeg/: respect pixel-aspect-ratio when encoding.

Original commit message from CVS:

* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
respect pixel-aspect-ratio when encoding.

18 years agoext/ffmpeg/gstffmpegdemux.c: Add Tag support and keyframe seeking (for those formats...
Edward Hervey [Sun, 12 Feb 2006 16:47:50 +0000 (16:47 +0000)]
ext/ffmpeg/gstffmpegdemux.c: Add Tag support and keyframe seeking (for those formats where ffmpeg actually fills in t...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_init),
(gst_ffmpegdemux_close), (gst_ffmpegdemux_handle_seek),
(gst_ffmpegdemux_add), (my_safe_copy), (gst_ffmpegdemux_read_tags),
(gst_ffmpegdemux_open), (gst_ffmpegdemux_loop):
Add Tag support and keyframe seeking (for those formats where ffmpeg
actually fills in the index).
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_peek),
(gst_ffmpegdata_read), (gst_ffmpegdata_seek):
Add support for size querying.

18 years agoext/ffmpeg/gstffmpeg.c: set correct version on the plug-in - the GStreamer
Thomas Vander Stichele [Sat, 11 Feb 2006 22:16:43 +0000 (22:16 +0000)]
ext/ffmpeg/gstffmpeg.c: set correct version on the plug-in - the GStreamer

Original commit message from CVS:

* ext/ffmpeg/gstffmpeg.c:
set correct version on the plug-in - the GStreamer
FFMpeg version.  I could swear I had already done this
before.