summaryrefslogtreecommitdiffstats
path: root/gst/avi
Commit message (Collapse)AuthorAgeFilesLines
* gst/avi/gstavidemux.c: Fix potential division by zero error and hopefully ↵Wim Taymans2004-05-241-2/+1
| | | | | | | | | | get the position query right to get correct... Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query): Fix potential division by zero error and hopefully get the position query right to get correct timestamps on avi audio.
* first batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet2004-05-212-3/+3
| | | | | | | | | foreign compilers (forte) and gtk-doc Original commit message from CVS: first batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
* gst/: Add MS RLE support. I added some functions to read out strf chunks ↵Ronald S. Bultje2004-04-161-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into strf chunks and the data behind it. Thi... Original commit message from CVS: reviewed by: <delete if not using a buddy> * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps_with_data), (gst_riff_create_video_caps), (gst_riff_create_audio_caps), (gst_riff_create_video_template_caps), (gst_riff_create_audio_template_caps): * gst-libs/gst/riff/riff-media.h: * gst-libs/gst/riff/riff-read.c: (gst_riff_read_strf_vids_with_data), (gst_riff_read_strf_vids): * gst-libs/gst/riff/riff-read.h: * gst/avi/gstavidemux.c: (gst_avi_demux_add_stream): Add MS RLE support. I added some functions to read out strf chunks into strf chunks and the data behind it. This is usually color palettes (as in RLE, but also in 8-bit RGB). Also use those during caps creation. Lastly, add ADPCM (similar to wavparse - which should eventually be rifflib based). * gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init), (gst_matroska_demux_init), (gst_matroska_demux_reset): * gst/matroska/matroska-demux.h: Remove placeholders for some prehistoric tagging system. Didn't add support for any tag system really anyway. * gst/qtdemux/qtdemux.c: Add support for audio/x-m4a (MPEG-4) through spider. * gst/wavparse/gstwavparse.c: (gst_wavparse_parse_fmt), (gst_wavparse_loop): ADPCM support (#135862). Increase max. buffer size because we cannot split buffers for ADPCM (screws references) and I've seen files with 2048 byte chunks. 4096 seems safe for now.
* common/m4/gst-feature.m4: Call -config scripts withDavid Schleef2004-04-131-2/+2
| | | | | | | | | | | | | | | | Original commit message from CVS: * common/m4/gst-feature.m4: Call -config scripts with --plugin-libs if it is supported. * gst/avi/gstavimux.c: (gst_avimux_vidsinkconnect): sequences of JPEG images are image/jpeg. * gst/debug/Makefile.am: * gst/debug/negotiation.c: (gst_negotiation_class_init), (gst_negotiation_getcaps), (gst_negotiation_pad_link), (gst_negotiation_update_caps), (gst_negotiation_get_property), (gst_negotiation_plugin_init): Add a property that acts like filter caps. * testsuite/gst-lint: Move license checking to be a standard test.
* gst/avi/gstavidemux.c: Fix memleak. patch from Sebastien Cote (bug #139958)Sebastien Cote2004-04-131-0/+1
| | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_reset): Fix memleak. patch from Sebastien Cote (bug #139958)
* gst/avi/gstavidemux.c: Handle JUNK chunks inside data section. Prevents ↵Ronald S. Bultje2004-04-111-9/+14
| | | | | | | | warnings. Original commit message from CVS: * gst/avi/gstavidemux.c: (gst_avi_demux_stream_data): Handle JUNK chunks inside data section. Prevents warnings.
* gst-libs/gst/riff/riff-media.c: Add MS video v1.Ronald S. Bultje2004-04-111-0/+17
| | | | | | | | | | Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps), (gst_riff_create_video_template_caps): Add MS video v1. * gst/avi/gstavidemux.c: (gst_avi_demux_stream_index), (gst_avi_demux_stream_data): Add support for "rec-list" chunks.
* don't mix tabs and spacesThomas Vander Stichele2004-03-154-419/+422
| | | | | Original commit message from CVS: don't mix tabs and spaces
* *.h: Revert indentingJohan Dahlin2004-03-153-119/+115
| | | | | Original commit message from CVS: * *.h: Revert indenting
* gst-indentThomas Vander Stichele2004-03-147-1278/+1270
| | | | | Original commit message from CVS: gst-indent
* gst/: First batch implementing audio and video codec tags in demuxers.Julien Moutte2004-02-231-3/+33
| | | | | | | | | | | | | | | | | | | | Original commit message from CVS: 2004-02-23 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps), (gst_riff_create_audio_caps), (gst_riff_create_iavs_caps), (gst_riff_create_video_template_caps), (gst_riff_create_audio_template_caps), (gst_riff_create_iavs_template_caps): * gst-libs/gst/riff/riff-media.h: * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init), (gst_asf_demux_audio_caps), (gst_asf_demux_add_audio_stream), (gst_asf_demux_video_caps), (gst_asf_demux_add_video_stream): * gst/avi/gstavidemux.c: (gst_avi_demux_add_stream): * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream), (gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps), (gst_matroska_demux_plugin_init): First batch implementing audio and video codec tags in demuxers.
* Build fixes for OS X: (see #129600)David Schleef2004-02-071-2/+2
| | | | | | | | | | | | Original commit message from CVS: Build fixes for OS X: (see #129600) * gst-libs/gst/riff/riff-read.c: (gst_riff_read_strh), (gst_riff_read_strf_vids), (gst_riff_read_strf_auds), (gst_riff_read_strf_iavs): * gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih), (gst_avi_demux_stream_odml): * gst/playondemand/Makefile.am: * gst/rtp/rtp-packet.c:
* remove textdomain callsThomas Vander Stichele2004-02-021-1/+0
| | | | | Original commit message from CVS: remove textdomain calls
* change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele2004-02-022-6/+6
| | | | | | Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
* GST_ELEMENT_ERRORThomas Vander Stichele2004-01-292-6/+6
| | | | | Original commit message from CVS: GST_ELEMENT_ERROR
* gst/ac3parse/gstac3parse.c: update to checklist 5David Schleef2004-01-271-0/+1
| | | | | | | | | | Original commit message from CVS: * gst/ac3parse/gstac3parse.c: update to checklist 5 * gst/adder/gstadder.c: rewrite negotiation. update to checklist 5 * gst/audioconvert/gstaudioconvert.c: update to checklist 5 * gst/audioscale/gstaudioscale.c: same * gst/auparse/gstauparse.c: same * gst/avi/gstavidemux.c: same
* gst/avi/gstavidemux.c: The index reading was broken. The rest worked fine, ↵Ronald S. Bultje2004-01-251-26/+25
| | | | | | | | | | | | | but the whole goal of my rewrite was to ma... Original commit message from CVS: 2004-01-25 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih), (gst_avi_demux_stream_odml), (gst_avi_demux_stream_index): The index reading was broken. The rest worked fine, but the whole goal of my rewrite was to make avidemux readable, and this was not at all readable. Please use typed variables.
* gst/avi/gstavidemux.c: don't write to buffer. Extract data without the need ↵Benjamin Otte2004-01-231-56/+51
| | | | | | | | | | | | of __attribute__ ((packed)) Original commit message from CVS: 2004-01-23 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih), (gst_avi_demux_stream_odml), (gst_avi_demux_stream_index): don't write to buffer. Extract data without the need of __attribute__ ((packed))
* ext/ogg/gstoggdemux.c: Fix wrong file comment.Ronald S. Bultje2004-01-231-7/+6
| | | | | | | | | | | Original commit message from CVS: 2004-01-23 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/ogg/gstoggdemux.c: Fix wrong file comment. * gst-libs/gst/riff/riff-read.c: (gst_riff_read_info): * gst/avi/gstavidemux.c: (gst_avi_demux_stream_header): Add metadata reading properly.
* putting i18n in place for pluginsThomas Vander Stichele2004-01-191-0/+8
| | | | | Original commit message from CVS: putting i18n in place for plugins
* fix i18n includeThomas Vander Stichele2004-01-191-1/+1
| | | | | Original commit message from CVS: fix i18n include
* use new error signal and classificationThomas Vander Stichele2004-01-182-13/+15
| | | | | Original commit message from CVS: use new error signal and classification
* Fix for instantiate-test (see core). Also remove dead code from jpegenc ↵Ronald S. Bultje2004-01-071-1/+0
| | | | | | | | | | | | | | | | | | | | (which still needs fixing, but that's lower o... Original commit message from CVS: 2004-01-07 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/audiofile/gstafsink.c: (gst_afsink_init), (gst_afsink_chain), (gst_afsink_handle_event): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_init): * gst/avi/gstavimux.c: (gst_avimux_request_new_pad): * sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init): * sys/dxr3/dxr3spusink.c: (dxr3spusink_init): * sys/dxr3/dxr3videosink.c: (dxr3videosink_init): Fix for instantiate-test (see core). Also remove dead code from jpegenc (which still needs fixing, but that's lower on my TODO list...). * sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps): Never return NULL as caps.
* configure.ac: Fix configure check for mpeg2enc. We need 1.6.1.93 instead of ↵Ronald S. Bultje2004-01-012-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.6.1.92, since the pkg-config file of 1.... Original commit message from CVS: 2004-01-01 Ronald Bultje <rbultje@ronald.bitfreak.net> * configure.ac: Fix configure check for mpeg2enc. We need 1.6.1.93 instead of 1.6.1.92, since the pkg-config file of 1.6.1.92 is borked and it therefore uses the wrong include paths. Too bad... Note that 1.6.1.93 is not release yet. ;). Also add a check for mplex, which is now using the lib'ified mplex from mjpegtools, too. * ext/ffmpeg/gstffmpegcodecmap.c: Add codec_tag for 3ivx/xvid. For xvid, this should fix playback issues. I don't think ffmpeg handles 3ivx correctly, so this probably won't work. But it won't hurt either. * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect), (gst_ffmpegdec_chain): * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect), (gst_ffmpegenc_chain_audio): Fix memleak in audio encoding. Close codec if open fails, this calls the cleanup routines so we can re-use the context. * ext/mpeg2enc/gstmpeg2enc.cc: Fix pad template names/types, fix memory issue with getcaps(). * ext/mpeg2enc/gstmpeg2encoder.cc: * ext/mpeg2enc/gstmpeg2encoder.hh: Fix compile issue with new caps system (const thingy). * ext/mpeg2enc/gstmpeg2encpicturereader.cc: * ext/mpeg2enc/gstmpeg2encpicturereader.hh: We read a first frame right on initing, so that we have a caps when we init the output. This caps is cached in padprivate and read as first frame. * ext/mplex/Makefile.am: * ext/mplex/gstmplex.cc: * ext/mplex/gstmplex.h: * ext/mplex/gstmplex.hh: * ext/mplex/gstmplexibitstream.cc: * ext/mplex/gstmplexibitstream.hh: * ext/mplex/gstmplexjob.cc: * ext/mplex/gstmplexjob.hh: * ext/mplex/gstmplexoutputstream.cc: * ext/mplex/gstmplexoutputstream.hh: We wrap mjpegtools mplex. So I rewrote the plugin. The old plugin had issues, didn't do capsnego, supported only a subset of the mplex features and required a mplex fork in our local CVS. Plus that it worked agaist a very old mplex version. Rewriting was faster than updating it. * gst-libs/ext/Makefile.am: * gst-libs/ext/mplex/INSTRUCT: * gst-libs/ext/mplex/Makefile.am: * gst-libs/ext/mplex/README: * gst-libs/ext/mplex/TODO: * gst-libs/ext/mplex/ac3strm_in.cc: * gst-libs/ext/mplex/audiostrm.hh: * gst-libs/ext/mplex/audiostrm_out.cc: * gst-libs/ext/mplex/aunit.hh: * gst-libs/ext/mplex/bits.cc: * gst-libs/ext/mplex/bits.hh: * gst-libs/ext/mplex/buffer.cc: * gst-libs/ext/mplex/buffer.hh: * gst-libs/ext/mplex/fastintfns.h: * gst-libs/ext/mplex/format_codes.h: * gst-libs/ext/mplex/inputstrm.cc: * gst-libs/ext/mplex/inputstrm.hh: * gst-libs/ext/mplex/lpcmstrm_in.cc: * gst-libs/ext/mplex/mjpeg_logging.cc: * gst-libs/ext/mplex/mjpeg_logging.h: * gst-libs/ext/mplex/mjpeg_types.h: * gst-libs/ext/mplex/mpastrm_in.cc: * gst-libs/ext/mplex/mpegconsts.cc: * gst-libs/ext/mplex/mpegconsts.h: * gst-libs/ext/mplex/mplexconsts.hh: * gst-libs/ext/mplex/multplex.cc: * gst-libs/ext/mplex/outputstream.hh: * gst-libs/ext/mplex/padstrm.cc: * gst-libs/ext/mplex/padstrm.hh: * gst-libs/ext/mplex/stillsstream.cc: * gst-libs/ext/mplex/stillsstream.hh: * gst-libs/ext/mplex/systems.cc: * gst-libs/ext/mplex/systems.hh: * gst-libs/ext/mplex/vector.cc: * gst-libs/ext/mplex/vector.hh: * gst-libs/ext/mplex/videostrm.hh: * gst-libs/ext/mplex/videostrm_in.cc: * gst-libs/ext/mplex/videostrm_out.cc: * gst-libs/ext/mplex/yuv4mpeg.cc: * gst-libs/ext/mplex/yuv4mpeg.h: * gst-libs/ext/mplex/yuv4mpeg_intern.h: * gst-libs/ext/mplex/yuv4mpeg_ratio.cc: We don't fork mjpegtools' mplex in our CVS anymore. * gst/avi/gstavidemux.c: (gst_avi_demux_src_getcaps), (gst_avi_demux_add_stream): * gst/avi/gstavidemux.h: Add getcaps() function for proper caps nego. This makes some parts of AVI playback/reading work. * sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect): Resize window on new capsnego. This is probably wrong, but I'm still committing it because with current capsnego, the first successfull capsnego is auto-fixated, therefore rounded down to the lowest values in the caps. this results in a 16x16 XWindow that is not reized when real capsnego finishes. Dave, I see more cases of this, do you know a proper solution? * tools/gst-launch-ext.in: Fix MPEG-4 AAC (Apple iPod/iTunes) file commandline.
* Merge CAPS branchDavid Schleef2003-12-222-289/+203
| | | | | Original commit message from CVS: Merge CAPS branch
* Riff, EBML, fourcc etc. work. Not fully finished, but better than what we ↵Ronald S. Bultje2003-12-076-1536/+1161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | used to have and definately worth a first b... Original commit message from CVS: Riff, EBML, fourcc etc. work. Not fully finished, but better than what we used to have and definately worth a first broad testing. I've revived rifflib. Rifflib used to be a bytestream-for-riff, which just dup'ed bytestream. I've rewritten rifflib to be a modern riff- chunk parser that uses bytestream fully, plus adds some extra functions so that riff file parsing becomes extremely easy. It also contains some small usability functions for strh/strf and metadata parsing. Note that it doesn't use the new tagging yet, that's a TODO. Avidemux has been rewritten to use this. I think we all agreed that avidemux was pretty much a big mess, which is because it used all sort of bytestream magic all around the place. It was just ugly. This is a lot nicer, very complete and safe. I think this is far more robust than what the old avidemux could ever have been. Of course, it might contain bugs, please let me know. EBML writing has also been implemented. This is useful for matroska. I'm intending to modify avidemux (with a riffwriter) similarly. Maybe I'll change wavparse/-enc too to use rifflib. Lastly, several plugins have been modified to use rifflib's fourcc parsing instead of their own. this puts fourcc parsing in one central place, which should make it a lot simpler to add new fourccs. We might want to move this to its own lib instead of rifflib. Enjoy!
* remove copyright field from pluginsAndy Wingo2003-12-041-1/+0
| | | | | Original commit message from CVS: remove copyright field from plugins
* Change everyone to video/x-msvideoDavid Schleef2003-11-273-6/+6
| | | | | Original commit message from CVS: Change everyone to video/x-msvideo
* License is GST_LICENSE, make own debugging category and fix some debug ↵Benjamin Otte2003-11-241-3/+9
| | | | | | | statements Original commit message from CVS: License is GST_LICENSE, make own debugging category and fix some debug statements
* Since padtemplates are now owned by the class, we should use the class ↵Ronald S. Bultje2003-11-091-3/+6
| | | | | | | function to retrieve them for comparison Original commit message from CVS: Since padtemplates are now owned by the class, we should use the class function to retrieve them for comparison
* Remove all config.h includes from header files, add it to each source file ↵Ronald S. Bultje2003-11-072-2/+1
| | | | | | | and remove duplicate config.h includes fro... Original commit message from CVS: Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
* Merge plugins. Update to new plugin init codeDavid Schleef2003-11-013-133/+129
| | | | | Original commit message from CVS: Merge plugins. Update to new plugin init code
* avidemux still depends on riffDavid Schleef2003-10-311-0/+2
| | | | | Original commit message from CVS: avidemux still depends on riff
* Doesn't need to load gstriffIain Holmes2003-10-311-2/+0
| | | | | Original commit message from CVS: Doesn't need to load gstriff
* change gst/bytestream.h to gst/bytestream/bytestream.hDavid Schleef2003-10-291-1/+1
| | | | | Original commit message from CVS: change gst/bytestream.h to gst/bytestream/bytestream.h
* merge TYPEFIND branch. Major changes:Benjamin Otte2003-10-282-42/+3
| | | | | | | | | | | | Original commit message from CVS: merge TYPEFIND branch. Major changes: - totally reworked type(find) system - all typefind functions are in gst/typefind now - more typefind functions then before - some plugins might fail to compile now because I don't have them installed and they a) require bytestream or b) haven't had their typefind fixed. Please fix those plugins and put the typefind functions into gst/typefind if they don't have dependencies
* Remove can_seek () because eventmasks was removed from sink pads - grrrRonald S. Bultje2003-10-091-25/+10
| | | | | Original commit message from CVS: Remove can_seek () because eventmasks was removed from sink pads - grrr
* /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo2003-10-082-22/+22
| | | | | | | deal with that. Fixes #113488. Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
* New typefind system: bytestream is now part of the core all plugins have ↵Ronald S. Bultje2003-10-012-19/+19
| | | | | | | | | | | | | | | | | | | | | been modified to use this new typefind syste... Original commit message from CVS: New typefind system: * bytestream is now part of the core * all plugins have been modified to use this new typefind system * asf typefinding added * mpeg video stream typefiding removed because it's broken * duplicate typefind entries removed * extra id3 typefinding added, because we've seen 4 types of files (riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs to work. Instead, I've added an id3 element and let it redo typefiding after the id3 header. this needs a hack because spider only typefinds once. We can remove this hack once spider supports multiple typefinds. * with all this, mp3 typefinding is semi-rewritten * id3 typefinding in flac/vorbis is removed, it's no longer needed * fixed spider and gst-typefind to use this, too. * Other general cleanups
* Set keyframe flag only when it is a keyframe. This will break quite some ↵Ronald S. Bultje2003-09-301-1/+4
| | | | | | | formats because many encoders dont set this ... Original commit message from CVS: Set keyframe flag only when it is a keyframe. This will break quite some formats because many encoders dont set this flag correctly, but I'll fix that as I encounter them. divx5 works correctly now. ;).
* reverting error patch before making a branch.Thomas Vander Stichele2003-09-162-6/+2
| | | | | Original commit message from CVS: reverting error patch before making a branch.
* converted gst_element_error to new format in gst/ - gettext pendingBenjamin Otte2003-09-152-2/+6
| | | | | Original commit message from CVS: converted gst_element_error to new format in gst/ - gettext pending
* Check for seekability and use gst_pad_push() instead of gst_pad_send_event()Ronald S. Bultje2003-09-121-24/+44
| | | | | Original commit message from CVS: Check for seekability and use gst_pad_push() instead of gst_pad_send_event()
* Clarify DV type 1/2 differenceRonald S. Bultje2003-09-121-3/+7
| | | | | Original commit message from CVS: Clarify DV type 1/2 difference
* Remove all locally-defined optimization flagsDavid Schleef2003-09-111-4/+2
| | | | | Original commit message from CVS: Remove all locally-defined optimization flags
* Remove redundant plugindir definitionDavid Schleef2003-08-101-1/+0
| | | | | Original commit message from CVS: Remove redundant plugindir definition
* Add buffer length checks to every typefinding functionDavid Schleef2003-07-241-0/+3
| | | | | Original commit message from CVS: Add buffer length checks to every typefinding function
* Fix a warningRonald S. Bultje2003-07-221-2/+2
| | | | | Original commit message from CVS: Fix a warning
* improve index offset calculation, fix some minor other issues and make ↵Ronald S. Bultje2003-07-221-31/+27
| | | | | | | avimux actually work with mp3 audio Original commit message from CVS: Fix padding (2 bytes instead of 4), improve index offset calculation, fix some minor other issues and make avimux actually work with mp3 audio
* Support ISO style variable length macrosBrian Cameron2003-07-071-1/+41
| | | | | Original commit message from CVS: Support ISO style variable length macros