summaryrefslogtreecommitdiffstats
path: root/gst/avi/gstavimux.h
Commit message (Collapse)AuthorAgeFilesLines
* avi: lower max file sizeWim Taymans2009-10-131-0/+3
| | | | | | | Make a constant of the max file size and lower the value to what ffmpeg does, hopefully improving compatibility with windows media player. See #597847
* gst/avi/gstavimux.*: Ensure header size invariance during subsequent rewrite ↵Mark Nauwelaerts2009-01-061-0/+3
| | | | | | | | | | | by using tags snapshot. Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avi_mux_reset), (gst_avi_mux_riff_get_avi_header): * gst/avi/gstavimux.h: Ensure header size invariance during subsequent rewrite by using tags snapshot.
* gst/avi/gstavimux.*: Totally remove the internal taglists and fully use ↵Stefan Kost2008-12-161-4/+0
| | | | | | | | | tagsetter. Original commit message from CVS: * gst/avi/gstavimux.c: * gst/avi/gstavimux.h: Totally remove the internal taglists and fully use tagsetter.
* gst/avi/avi-ids.h: Add vprp chunk related structures.Mark Nauwelaerts2008-06-291-0/+2
| | | | | | | | | | | | | | Original commit message from CVS: * gst/avi/avi-ids.h: Add vprp chunk related structures. * gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp), (gst_avi_demux_parse_stream): Parse optional vprp chunk and add calculated pixel-aspect-ratio to caps. Fixes #539482. * gst/avi/gstavimux.h: * gst/avi/gstavimux.c: (gst_avi_mux_pad_reset), (gst_avi_mux_vidsink_set_caps), (gst_avi_mux_riff_get_avi_header): Add a vprp chunk if non-trival pixel-aspect-ratio provided in caps.
* gst/avi/gstavimux.*: Add 8 bytes to current streamheader to make for a ↵Mark Nauwelaerts2008-06-271-0/+9
| | | | | | | | | | complete one and to make more players happy. ... Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avi_mux_riff_get_avi_header): * gst/avi/gstavimux.h: Add 8 bytes to current streamheader to make for a complete one and to make more players happy. Fixes #519460.
* gst/avi/gstavimux.*: Also save codec data for audio streams. Fixes #482495.Stefan Kost2007-10-021-1/+2
| | | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: * gst/avi/gstavimux.h: Also save codec data for audio streams. Fixes #482495.
* Add support for more than one audio stream; write better AVIX header; ↵Mark Nauwelaerts2007-01-141-22/+57
| | | | | | | | | | | | | | | | | | | | | | | refactor code a bit; don't announce vorbis caps... Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet be> * gst/avi/gstavimux.c: (gst_avi_mux_finalize), (gst_avi_mux_pad_reset), (gst_avi_mux_reset), (gst_avi_mux_init), (gst_avi_mux_vidsink_set_caps), (gst_avi_mux_audsink_set_caps), (gst_avi_mux_request_new_pad), (gst_avi_mux_release_pad), (gst_avi_mux_riff_get_avi_header), (gst_avi_mux_riff_get_avix_header), (gst_avi_mux_riff_get_header), (gst_avi_mux_write_avix_index), (gst_avi_mux_add_index), (gst_avi_mux_bigfile), (gst_avi_mux_start_file), (gst_avi_mux_stop_file), (gst_avi_mux_handle_event), (gst_avi_mux_do_buffer), (gst_avi_mux_do_one_buffer), (gst_avi_mux_change_state): * gst/avi/gstavimux.h: * tests/check/elements/avimux.c: (teardown_src_pad): Add support for more than one audio stream; write better AVIX header; refactor code a bit; don't announce vorbis caps on our audio sink pads since we don't support it anyway. Closes #379298.
* gst/avi/gstavimux.*: - add odml (large file) index supportMark Nauwelaerts2006-05-221-5/+32
| | | | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet be> * gst/avi/gstavimux.c: (gst_avi_mux_finalize), (gst_avi_mux_init), (gst_avi_mux_vidsink_set_caps), (gst_avi_mux_audsink_set_caps), (gst_avi_mux_write_tag), (gst_avi_mux_riff_get_avi_header), (gst_avi_mux_riff_get_avix_header), (gst_avi_mux_write_avix_index), (gst_avi_mux_add_index), (gst_avi_mux_bigfile), (gst_avi_mux_start_file), (gst_avi_mux_stop_file), (gst_avi_mux_handle_event), (gst_avi_mux_do_audio_buffer), (gst_avi_mux_do_video_buffer), (gst_avi_mux_do_one_buffer), (gst_avi_mux_change_state): * gst/avi/gstavimux.h: Some enhancements for avimux (#342526): - add odml (large file) index support - store codec init data (e.g. huffyuv) - miscellaneous other fixes/cleanups
* gst/avi/: Port AVI muxer to GStreamer-0.10 (#332031).Mark Nauwelaerts2006-04-271-31/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet dot be> * gst/avi/Makefile.am: * gst/avi/gstavi.c: (plugin_init): * gst/avi/gstavimux.c: (gst_avi_mux_get_type), (gst_avi_mux_base_init), (gst_avi_mux_finalize), (gst_avi_mux_class_init), (gst_avi_mux_init), (gst_avi_mux_vidsink_set_caps), (gst_avi_mux_audsink_set_caps), (gst_avi_mux_pad_link), (gst_avi_mux_pad_unlink), (gst_avi_mux_request_new_pad), (gst_avi_mux_release_pad), (gst_avi_mux_write_tag), (gst_avi_mux_riff_get_avi_header), (gst_avi_mux_riff_get_avix_header), (gst_avi_mux_riff_get_video_header), (gst_avi_mux_riff_get_audio_header), (gst_avi_mux_add_index), (gst_avi_mux_write_index), (gst_avi_mux_bigfile), (gst_avi_mux_start_file), (gst_avi_mux_stop_file), (gst_avi_mux_restart_file), (gst_avi_mux_handle_event), (gst_avi_mux_fill_queue), (gst_avi_mux_send_pad_data), (gst_avi_mux_strip_buffer), (gst_avi_mux_do_audio_buffer), (gst_avi_mux_do_video_buffer), (gst_avi_mux_do_one_buffer), (gst_avi_mux_loop), (gst_avi_mux_collect_pads), (gst_avi_mux_get_property), (gst_avi_mux_set_property), (gst_avi_mux_change_state): * gst/avi/gstavimux.h: Port AVI muxer to GStreamer-0.10 (#332031). * tests/check/Makefile.am: * tests/check/elements/avimux.c: * tests/check/elements/.cvsignore: Add unit test for AVI muxer.
* ext/mad/gstmad.c: Fail if caps negotiation fails. Should fix #162184, and ↵Ronald S. Bultje2005-01-191-0/+3
| | | | | | | | | | | | | | | | | | | should definately be in there regardless of... Original commit message from CVS: * ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain): Fail if caps negotiation fails. Should fix #162184, and should definately be in there regardless of it fixing the actual bug. * gst/avi/gstavimux.c: (gst_avimux_get_type), (gst_avimux_init), (gst_avimux_write_tag), (gst_avimux_riff_get_avi_header), (gst_avimux_riff_get_avix_header), (gst_avimux_riff_get_video_header), (gst_avimux_riff_get_audio_header), (gst_avimux_write_index), (gst_avimux_start_file), (gst_avimux_handle_event), (gst_avimux_change_state): * gst/avi/gstavimux.h: Refactor structure writing to use GST_WRITE_UINT macros, add metadata writing support.
* *.h: Revert indentingJohan Dahlin2004-03-151-62/+59
| | | | | Original commit message from CVS: * *.h: Revert indenting
* gst-indentThomas Vander Stichele2004-03-141-59/+62
| | | | | Original commit message from CVS: gst-indent
* Riff, EBML, fourcc etc. work. Not fully finished, but better than what we ↵Ronald S. Bultje2003-12-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* This fixes avimux largely. Sound playback still isn't optimal, but at least ↵Ronald S. Bultje2003-06-011-3/+0
| | | | | | | we're getting somewhere Original commit message from CVS: This fixes avimux largely. Sound playback still isn't optimal, but at least we're getting somewhere
* Fix avimux (somewhat). Note: the EOS event still doesn't get through. This ↵Ronald S. Bultje2003-05-301-0/+1
| | | | | | | is completely braindead, I have no clue wh... Original commit message from CVS: Fix avimux (somewhat). Note: the EOS event still doesn't get through. This is completely braindead, I have no clue why, but setting this thing to PAUSE should do the trick too. EOS fix will come later on...
* Make it loopbased and use only one video and one audio pad. framerate is ↵Ronald S. Bultje2002-10-231-7/+8
| | | | | | | also no longer a property but is requested f... Original commit message from CVS: Make it loopbased and use only one video and one audio pad. framerate is also no longer a property but is requested from the source pad
* This fixes some problems when recording AVI files with gstrecRonald S. Bultje2002-09-191-2/+2
| | | | | Original commit message from CVS: This fixes some problems when recording AVI files with gstrec
* Small updates to avimux and the v4l plugins for usability in generalRonald S. Bultje2002-02-201-2/+1
| | | | | Original commit message from CVS: Small updates to avimux and the v4l plugins for usability in general
* Some small adjustments for for better open-a-new-file handlingRonald S. Bultje2002-02-031-0/+1
| | | | | Original commit message from CVS: Some small adjustments for for better open-a-new-file handling
* WARNING: avimux is still broken, but less broken than it used to be... Code ↵Ronald S. Bultje2002-02-021-28/+43
| | | | | | | is under heavy development and will work ... Original commit message from CVS: WARNING: avimux is still broken, but less broken than it used to be... Code is under heavy development and will work sooner or later... Uploaded for generic development and testing purposes, not intended for generic use whatsoever
* made changes everywhere to accomodate for the headers being in ↵Thomas Vander Stichele2001-12-231-1/+1
| | | | | | | | | | <gst/(lib)/...> we'll need to conclude this fast becau... Original commit message from CVS: made changes everywhere to accomodate for the headers being in <gst/(lib)/...> we'll need to conclude this fast because we will also need to change stuff in core real soon for the libs in order to fix everything and I can't do it right now because I disabled all of the plugins here ;)
* Initial revisionAndy Wingo2001-12-221-0/+93
Original commit message from CVS: Initial revision