gstreamer/ChangeLog
Ronald S. Bultje 028d9567da ext/ffmpeg/: Fix up demuxer. Works now for all my files that I tried, even quicktime. I basically hack around the sup...
Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
(gst_ffmpegdemux_src_query), (gst_ffmpegdemux_src_convert),
(gst_ffmpegdemux_open), (gst_ffmpegdemux_loop):
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
(gst_ffmpegdata_read), (gst_ffmpegdata_write),
(gst_ffmpegdata_seek):
Fix up demuxer. Works now for all my files that I tried, even
quicktime. I basically hack around the super-oversimplistic file
I/O handling in ffmpeg in several ways together, and I also hack
around the fairly annoying EOS-will-pause-the-source-element in
GStreamer itself.
This code is not pretty.
2004-05-14 14:11:00 +00:00

470 lines
17 KiB
Text

2004-05-14 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_event),
(gst_ffmpegdemux_src_query), (gst_ffmpegdemux_src_convert),
(gst_ffmpegdemux_open), (gst_ffmpegdemux_loop):
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
(gst_ffmpegdata_read), (gst_ffmpegdata_write),
(gst_ffmpegdata_seek):
Fix up demuxer. Works now for all my files that I tried, even
quicktime. I basically hack around the super-oversimplistic file
I/O handling in ffmpeg in several ways together, and I also hack
around the fairly annoying EOS-will-pause-the-source-element in
GStreamer itself.
This code is not pretty.
2004-05-11 Jeremy Simon <jesimon@libertysurf.fr>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_with_codecid):
block_align and bitrate caps property were lost for wma
use codec_data instead of flag1 and flag2
2004-05-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
it's audio/x-wav, not video/x-wav
2004-05-10 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
* ext/ffmpeg/gstffmpegdec.c
* ext/ffmpeg/gstffmpegenc.c
change plugins category to meet our new standard :
Codec/Encoder|Decoder/Audio|Video
suggested by bilboed, approved by Company
2004-05-04 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/ext/ffmpeg/autogen.sh:
* gst-libs/ext/ffmpeg/patches/autotools.patch:
require am17 since AM_CONDITIONAL's are being done using variables
which doesn't work with am16
2004-04-30 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps):
revert previous patch
2004-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps):
use GST_PAD_CAPS if they exist so we don't renegotiate needlessly
2004-04-22 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
WAV/IMA-ADPCM -> DVI ADPCM.
2004-04-22 Benjamin Otte <otte@gnome.org>
* ext/ffmpeg/gstffmpegcolorspace.c:
(gst_ffmpegcsp_caps_remove_format_info):
use gst_caps_do_simplify
2004-04-19 Benjamin Otte <otte@gnome.org>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
reduce maximum probability in typefinding to POSSIBLE. prevents
misidentification of my mp3s as video/mpeg
2004-04-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
NULL -> (NULL) inside GST_ELEMENT_ERROR().
2004-04-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
(gst_ffmpeg_set_palette), (gst_ffmpeg_codecid_to_caps),
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_smpfmt),
(gst_ffmpeg_caps_to_pixfmt), (gst_ffmpeg_caps_with_codectype),
(gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid):
* ext/ffmpeg/gstffmpegcodecmap.h:
Change some function names to reflect that they don't really
_return_ something, but rather _use_ something to fill a
AVCodecContext. s/to/with/. Restructure the extradata handling,
it's now not picking up the type from the caps but rather
using the type as provided in the function. This is a lot
cleaner. Implement MS RLE palette pickup.
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
Sync with the above function name changes.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_close),
(gst_ffmpegdec_open), (gst_ffmpegdec_connect),
(gst_ffmpegdec_chain), (gst_ffmpegdec_change_state):
Add some hacks to convert palette-based raw image formats to
RGBA32. Ugly, but I don't know how else to handle palette-based
RGB, since img_convert() (and thus ffcolorspace) doesn't accept
a palette as argument.
2004-04-14 Thomas Vander Stichele <thomas at apestaart dot org>
* everything: updated upstream source to 2004-04-11 23:00 GMT
and fixed up patches
2004-04-11 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
Add MS Video v1 (video/x-msvideocodec, CODEC_ID_MSVIDEO1).
2004-04-08 David Schleef <ds@schleef.org>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
Change variadic macro to ISO form. (bug #139460)
2004-04-06 Benjamin Otte <otte@gnome.org>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
fix memleaks
2004-04-05 Benjamin Otte <otte@gnome.org>
* configure.ac:
fix --export-symblos-regex to a working regex.
2004-04-03 Tim-Philipp Müller <t.i.m@zen.co.uk>
reviewed by: David Schleef <ds@schleef.org>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register): Fix
memleaks (bug #138985)
2004-03-29 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/ffmpeg/*.c: indent
2004-03-25 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init):
Fix category.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_class_init),
(gst_ffmpegdemux_init), (gst_ffmpegdemux_close):
Slightly rewrite the init function, old one was ugly. Also remove
dispose function since it's obsolete, the change_state function
cleans up already. Also fixes segfault in test-app
gstreamer/tests/instantiate/create
2004-03-24 Benjamin Otte <otte@gnome.org>
* configure.ac:
only export gst* symbols
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
change g_warning to debugging message, that wasn't a programming
error
2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
don't critical, throw error (#137588)
2004-03-16 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac: bump nano to 1
=== gst-ffmpeg 0.8.0 ===
2004-03-16 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac: release 0.8.0, "In Buildings"
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/ext/ffmpeg/.pc/cvsignore/doc/.cvsignore:
* gst-libs/ext/ffmpeg/.pc/cvsignore/libavcodec/i386/.cvsignore:
* gst-libs/ext/ffmpeg/configure:
* gst-libs/ext/ffmpeg/libavformat/matroska.c: (ebml_read_float):
* gst-libs/ext/ffmpeg/patches/matroska.patch:
patch from Ronald to work on ppc
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_get_type):
fix name of static to be in line with code
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
don't set ACLOCAL_FLAGS !
* gst-libs/ext/ffmpeg/.cvsignore:
* gst-libs/ext/ffmpeg/patches/cvsignore.patch:
trying to add configure to be ignored
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
reviewed by: <delete if not using a buddy>
* gst-libs/ext/ffmpeg/.cvsignore:
* gst-libs/ext/ffmpeg/patches/cvsignore.patch:
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/ext/ffmpeg/m4/vorbis.m4:
* gst-libs/ext/ffmpeg/patches/autotools.patch:
adding vorbis.m4
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/ext/ffmpeg/m4/ogg.m4:
* gst-libs/ext/ffmpeg/patches/autotools.patch:
* gst-libs/ext/ffmpeg/patches/no-imlib.patch:
adding ogg.m4
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/ext/ffmpeg/patches/autotools.patch:
* gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
* gst-libs/ext/ffmpeg/autogen.sh:
fix aclocal invocation to include m4 dir
* gst-libs/ext/ffmpeg/configure.ac:
add line to fix maintainer mode with aclocal
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/ext/ffmpeg/m4/imlib.m4:
* gst-libs/ext/ffmpeg/m4/sdl.m4:
* gst-libs/ext/ffmpeg/m4/freetype2.m4:
* gst-libs/ext/ffmpeg/patches/autotools.patch:
fix underquotedness, add freetype2.m4
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/ext/ffmpeg/patches/autotools.patch:
put in sdl.m4 and imlib.m4
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/ext/ffmpeg/.pc/autotools/.pc:
* gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
* gst-libs/ext/ffmpeg/.pc/noinst-programs/Makefile.am:
* gst-libs/ext/ffmpeg/autogen.sh:
* gst-libs/ext/ffmpeg/configure:
* gst-libs/ext/ffmpeg/configure.ac:
* gst-libs/ext/ffmpeg/doc/.cvsignore:
* gst-libs/ext/ffmpeg/libavcodec/i386/.cvsignore:
* gst-libs/ext/ffmpeg/patches/autotools.patch:
* gst-libs/ext/ffmpeg/patches/no-imlib.patch:
fixing Makefile.am omission in autotools patch
fix noinst-programs.patch
2004-03-14 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
* ext/ffmpeg/gstffmpegcodecmap.h:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain),
(gst_ffmpegdec_register):
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add),
(gst_ffmpegdemux_register):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect),
(gst_ffmpegenc_register):
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
Add encode property to codec mapper, so we can get better-fitting
caps. Also use this everywhere. ;). Lastly, add some new codecIDs
to our list of recognized ones.
2004-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/ext/ffmpeg/.pc/applied-patches:
* gst-libs/ext/ffmpeg/.pc/noinst-programs/.pc:
* gst-libs/ext/ffmpeg/.pc/noinst-programs/Makefile.am:
* gst-libs/ext/ffmpeg/Makefile.am:
* gst-libs/ext/ffmpeg/patches/series:
add patch to not install programs
2004-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
* gst-libs/ext/ffmpeg/.pc/autotools/.pc:
* gst-libs/ext/ffmpeg/autogen.sh:
* gst-libs/ext/ffmpeg/configure.ac:
added m4 dir to autotools patch to fix imlib and sdl warnings
2004-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/ext/ffmpeg/.pc/no-imlib/configure.ac:
* gst-libs/ext/ffmpeg/configure.ac:
* gst-libs/ext/ffmpeg/patches/series:
add patch to remove imlib completely
2004-03-11 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac: use new setup with mirrored cvs tree
2004-03-10 David Schleef <ds@schleef.org>
* gst-libs/ext/ffmpeg/patch/asm.diff: Add a patch that
decreases register usage. (bug #136658)
2004-03-10 David Schleef <ds@schleef.org>
* configure.ac: bump gstreamer API number to 0.8
2004-03-09 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/Makefile.am:
Prevent more symbol conflicts...
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
Up priority/rank for MPEG-4 decoder. Reason is simple: it's well-
tested and by far outperforms xviddec/divxdec. They'll get some
other, slightly lower, rank.
* gst-libs/ext/ffmpeg/patch/autotools.diff:
Tweaking...
* gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
Prevent more symbol conflicts. I changed this (to pass 'make
distcheck') in the one patch, so need to change it here too.
* gst-libs/ext/ffmpeg/patch/disablemmx.diff:
Re-enable MMX. :).
* gst-libs/ext/ffmpeg/patch/functions.diff:
Bla.
2004-03-09 Ronald Bultje <rbultje@ronald.bitfreak.net>
* configure.ac:
Patch properly. Update version.
* gst-libs/ext/ffmpeg/Makefile.am:
Comment out patching - all handled by configure.
* gst-libs/ext/ffmpeg/Tag:
Update version.
* gst-libs/ext/ffmpeg/patch/autotools.diff:
Some small updates to improve compiling.
* gst-libs/ext/ffmpeg/patch/functions.diff:
Update date.
* gst-libs/ext/ffmpeg/patch/matroska.diff:
Newer patch - see ffmpeg-devel mailinglists.
* gst-libs/ext/ffmpeg/patch/function.patch:
Remove old cruft.
* gst-libs/ext/ffmpeg/patch/disabletools.diff:
Now handled by --disable-... in configure.
2004-03-07 David Schleef <ds@schleef.org>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
Add cinepak format. (bug #136470)
2004-03-05 David Schleef <ds@schleef.org>
* configure.ac: Call ffmpeg's configure with --disable-v4l,
--disable-oss-audio, --disable-dv1394 (bug #127873)
2004-03-04 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
Fix quicktime type recognition in ffmpeg. We returned a bogus
caps, which caused ffdemux_quicktime to be chosen over qtdemux.
This fixes that.
2004-03-04 Ronald Bultje <rbultje@ronald.bitfreak.net>
* configure.ac:
Brackets cause autoconf errors. So remove them.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_add):
Actually use the event/convert/query functions. D'oh.
2004-03-02 Ronald Bultje <rbultje@ronald.bitfreak.net>
* configure.ac:
* gst-libs/ext/ffmpeg/Makefile.am:
Slightly change the way we set this up. Ugly, but now it works
again. This baby is looking for a proper fix.
* gst-libs/ext/ffmpeg/Tag:
Apparently CVS and me disagree on the tag... Ohwell, CVS wins.
* gst-libs/ext/ffmpeg/patch/autotools.diff:
* gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
Slight nag on a link between lavf/lavc in ffmpeg. Not really
important for us since the code is the same in the end, but this
is actually correct from a per-patch point-of-view...
2004-03-02 Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst-libs/ext/ffmpeg/Makefile.am:
Fix patching.
2004-03-01 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect):
Fix B-frame DivX5/XviD display by removing the truncated flag when
not needed.
* gst-libs/ext/ffmpeg/patch/autotools.diff:
Remove link to libavcodec - it causes symbol conflicts (why?).
2004-02-29 Ronald Bultje <rbultje@ronald.bitfreak.net>
* HACKING:
Add some basic documentation on how our wrapping works.
* TODO:
Add a list of things that could be worked on or that need doing.
* configure.ac:
Update snapshot.
* ext/ffmpeg/Makefile.am:
Changne .la links. See below (autotools patch).
* ext/ffmpeg/gstffmpeg.c: (plugin_init):
Enable demuxers. See below (gstffmpegdemux.c).
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
Realmedia caused a crash - fix that.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_averror),
(gst_ffmpegdemux_base_init), (gst_ffmpegdemux_init),
(gst_ffmpegdemux_close), (gst_ffmpegdemux_dispose),
(gst_ffmpegdemux_stream_from_pad),
(gst_ffmpegdemux_src_event_mask), (gst_ffmpegdemux_src_event),
(gst_ffmpegdemux_src_format_list),
(gst_ffmpegdemux_src_query_list), (gst_ffmpegdemux_src_query),
(gst_ffmpegdemux_src_convert), (gst_ffmpegdemux_add),
(gst_ffmpegdemux_open), (gst_ffmpegdemux_loop),
(gst_ffmpegdemux_change_state), (gst_ffmpegdemux_register):
Right. OK, so I fixed up the demuxing and have it basically-working,
and the best way to get some more people to test it is to actually
enable it. I'm not sure if we want this for 0.8.0, but we can at
least give it a try. I've tested avi, matroska and mpeg, all appear
to work. The cool thing is that this gives us instant support for
several exotic formats that we'd never care about ourselves. Again,
this needs more testing for it to still be enabled in 0.8.0, but I
want to give it a try...
* ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
(gst_ffmpegmux_init), (gst_ffmpegmux_request_new_pad),
(gst_ffmpegmux_connect), (gst_ffmpegmux_loop),
(gst_ffmpegmux_register):
Add some fixups that I use locally. Make it work in the case of
MPEG encoding, but the muxer is still not in shape to be enabled.
* ext/ffmpeg/gstffmpegprotocol.c: (gst_ffmpegdata_open),
(gst_ffmpegdata_read), (gst_ffmpegdata_write),
(gst_ffmpegdata_seek), (gst_ffmpegdata_close):
Some small fixups that crept into it while it was disabled for the
last few years. Basically works.
* gst-libs/ext/ffmpeg/Makefile.am:
Instead of having our local-autotoolized version, I patch the ffmpeg
source to be fully autotoolized. That means a simple SUBDIRS here
is now enough.
* gst-libs/ext/ffmpeg/Tag:
Version update.
* gst-libs/ext/ffmpeg/patch/autotools.diff:
Autotoolize ffmpeg. Needs to be sent to ffmpeg-devel@...
* gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
Don't install their libs.
* gst-libs/ext/ffmpeg/patch/disablemmx.diff:
Don't use MMX. It cannot ocmpile using PIC.
* gst-libs/ext/ffmpeg/patch/disabletools.diff:
Don't compile/install their tools, we don't use them.
* gst-libs/ext/ffmpeg/patch/functions.diff:
Prevent symbol conflicts.
* gst-libs/ext/ffmpeg/patch/matroska.diff:
Add a matroska demuxer. Needs to be sent to ffmpeg-devel@...
2004-02-26 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac: releasing 0.7.1 "True Colors"
2004-02-14 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-ffmpeg.spec.in: fix spec file
2004-02-14 Christian Schaller <Uraeus@gnome.org>
* gst-ffmpeg.spec.in: add spec file
2004-02-13 Thomas Vander Stichele <thomas at apestaart dot org>
* creation