1. 27 Nov, 2006 1 commit
    • Jan Schmidt's avatar
      ext/ffmpeg/gstffmpegdec.c: When H264 is presented without codec_data, use a... · 1359d613
      Jan Schmidt authored
      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.
      1359d613
  2. 17 Nov, 2006 1 commit
  3. 16 Nov, 2006 1 commit
  4. 14 Nov, 2006 1 commit
    • Michael Smith's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Add mmf to _get_codecids, so we can use the mmf muxer. · bb5e57a5
      Michael Smith authored
      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).
      bb5e57a5
  5. 26 Oct, 2006 1 commit
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegenc.c: MPEG4 standard does not accept framerates with a... · 0e07d784
      Edward Hervey authored
      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.
      0e07d784
  6. 25 Oct, 2006 1 commit
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Fix AMR caps. Fixes #364956. · 87106ca6
      Wim Taymans authored
      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.
      87106ca6
  7. 24 Oct, 2006 3 commits
  8. 20 Oct, 2006 2 commits
    • Thomas Vander Stichele's avatar
      spec updates · b4f0d0c9
      Thomas Vander Stichele authored
      Original commit message from CVS:
      spec updates
      b4f0d0c9
    • Edward Hervey's avatar
      configure.ac: postproc filters need liboil to detect the cpu architecture · 8b9468e7
      Edward Hervey authored
      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.
      8b9468e7
  9. 13 Oct, 2006 1 commit
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Added some codec mappings for dv and mov muxers. · 5e39aa8e
      Edward Hervey authored
      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.
      5e39aa8e
  10. 09 Oct, 2006 3 commits
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Added proper mime types for mxf and gxf formats. · c3d69815
      Edward Hervey authored
      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.
      c3d69815
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegdemux.c: Set the rank of all demuxers for which we: _ Have... · 0932c8c3
      Edward Hervey authored
      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
      0932c8c3
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegdemux.c: Disable the amr ffmpeg typefind function, it... · c6ea7f47
      Edward Hervey authored
      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.
      c6ea7f47
  11. 06 Oct, 2006 1 commit
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegenc.c: Properly initialize ->lmin, ->lmax and... · bc4bea2f
      Edward Hervey authored
      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
      bc4bea2f
  12. 05 Oct, 2006 3 commits
  13. 04 Oct, 2006 1 commit
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegdemux.c: Don't try to use or remove non-existing pads. · 180c69d2
      Wim Taymans authored
      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.
      180c69d2
  14. 30 Sep, 2006 1 commit
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Clarify some CODEC_ID <=> mime type conversions for image formats. · ab7a8db4
      Edward Hervey authored
      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.
      ab7a8db4
  15. 29 Sep, 2006 1 commit
  16. 23 Sep, 2006 1 commit
  17. 21 Sep, 2006 1 commit
  18. 20 Sep, 2006 2 commits
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Adding codec mapping for vp5, vp6, vp6f and cavs. · cc1482ca
      Edward Hervey authored
      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.
      cc1482ca
    • Edward Hervey's avatar
      ext/ffmpeg/: Seems like the ffmpeg folks finally understood that VC9 does not... · 1ead2073
      Edward Hervey authored
      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).
      1ead2073
  19. 16 Sep, 2006 1 commit
    • Stefan Kost's avatar
      ext/ffmpeg/: More G_OBJECT macro fixing. · 11aa9388
      Stefan Kost authored
      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.
      11aa9388
  20. 13 Sep, 2006 1 commit
  21. 08 Sep, 2006 2 commits
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegmux.c: Port tag-writing support in the muxers. · 9e06696c
      Edward Hervey authored
      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.
      9e06696c
    • Michal Benes's avatar
      ext/ffmpeg/: Port of FFMpeg muxers to 0.10. · 5312e1f7
      Michal Benes authored
      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
      5312e1f7
  22. 06 Sep, 2006 3 commits
    • Sebastien Moutte's avatar
      ext/ffmpeg/: Make stuff compile on Visual Studio 6. · df305f76
      Sebastien Moutte authored
      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.
      df305f76
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegdec.c: Do early keyframe check again, feeding bad data in... · 82606642
      Wim Taymans authored
      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.
      82606642
    • Mark Nauwelaerts's avatar
      ext/ffmpeg/: Added helper object to handle extra properties. · d3528950
      Mark Nauwelaerts authored
      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.
      d3528950
  23. 05 Sep, 2006 4 commits
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegdec.c: Disable early keyframe check, it causes crashes and... · 774aca3a
      Wim Taymans authored
      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.
      774aca3a
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegdec.c: Even more timestamp fixage. · 1ce4f6d6
      Wim Taymans authored
      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.
      1ce4f6d6
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegdec.c: More timestamp fixage. · e83f9423
      Wim Taymans authored
      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.
      e83f9423
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegdec.c: Fix timestamping some more by actually using the... · f08033c5
      Wim Taymans authored
      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
      f08033c5
  24. 29 Aug, 2006 1 commit
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegdec.c: Mark outgoing buffers with DISCONT when needed. · bb45e682
      Wim Taymans authored
      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.
      bb45e682
  25. 21 Aug, 2006 1 commit
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Pad extradata. Allocate dummy empty extradata... · d3f7b858
      Wim Taymans authored
      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.
      d3f7b858
  26. 16 Aug, 2006 1 commit
    • Mark Nauwelaerts's avatar
      ext/ffmpeg/gstffmpegenc.c: If we are not operating in RTP mode, leave the... · fbe18ef0
      Mark Nauwelaerts authored
      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.
      fbe18ef0