1. 15 Oct, 2008 1 commit
    • Robin Stocker's avatar
      ext/ffmpeg/gstffmpegdec.c: If both, the decoder and the demuxer, provide a... · e6425e76
      Robin Stocker authored
      ext/ffmpeg/gstffmpegdec.c: If both, the decoder and the demuxer, provide a non-1:1 PAR prefer the one of the demuxer ...
      
      Original commit message from CVS:
      Patch by: Robin Stocker <robin at nibor dot org>
      * ext/ffmpeg/gstffmpegdec.c:
      (gst_ffmpegdec_add_pixel_aspect_ratio):
      If both, the decoder and the demuxer, provide a non-1:1 PAR
      prefer the one of the demuxer instead of the one of the decoder.
      Fixes bug #556336.
      e6425e76
  2. 08 Oct, 2008 3 commits
    • Mark Nauwelaerts's avatar
      ext/ffmpeg/: Add some more width/height/channels/rate limitations to caps to... · cc082f9b
      Mark Nauwelaerts authored
      ext/ffmpeg/: Add some more width/height/channels/rate limitations to caps to cater for more automagic negotiation.  A...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_vid_caps_new),
      (gst_ff_aud_caps_new), (gst_ffmpeg_codecid_to_caps),
      (gst_ffmpeg_codectype_to_caps):
      * ext/ffmpeg/gstffmpegcodecmap.h:
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate),
      (gst_ffmpegdec_register):
      * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
      (gst_ffmpegenc_register):
      Add some more width/height/channels/rate limitations to caps
      to cater for more automagic negotiation.  Addresses #532422.
      cc082f9b
    • Mark Nauwelaerts's avatar
      Rewrite ffvideoscale using libswscale and put into a separate plugin. · d0877c48
      Mark Nauwelaerts authored
      Original commit message from CVS:
      * configure.ac:
      * ext/Makefile.am:
      * ext/libswscale/Makefile.am:
      * ext/libswscale/gstffmpegscale.c:
      (gst_ffmpegscale_method_get_type), (gst_ffmpegscale_base_init),
      (gst_ffmpegscale_class_init), (gst_ffmpegscale_init),
      (gst_ffmpegscale_reset), (gst_ffmpegscale_finalize),
      (gst_ffmpegscale_caps_remove_format_info),
      (gst_ffmpegscale_transform_caps), (gst_ffmpegscale_fixate_caps),
      (gst_ffmpegscale_get_unit_size), (gst_ffmpeg_caps_to_pixfmt),
      (gst_ffmpegscale_fill_info), (gst_ffmpegscale_set_caps),
      (gst_ffmpegscale_transform), (gst_ffmpegscale_handle_src_event),
      (gst_ffmpegscale_stop), (gst_ffmpegscale_set_property),
      (gst_ffmpegscale_get_property), (gst_ffmpeg_log_callback),
      (plugin_init):
      Rewrite ffvideoscale using libswscale and put into a separate plugin.
      Fixes #504056.
      d0877c48
    • Damien Lespiau's avatar
      Fix cross compilation and add support for compilation with mingw32. · b706c481
      Damien Lespiau authored
      Original commit message from CVS:
      Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
      * configure.ac:
      * ext/ffmpeg/Makefile.am:
      Fix cross compilation and add support for compilation with mingw32.
      Fixes bug #542216.
      b706c481
  3. 04 Sep, 2008 3 commits
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Add some debug that revealed that the escape code was disabled... · 5211c207
      Wim Taymans authored
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcodecmap.c: (nal_escape), (copy_config),
      (gst_ffmpeg_caps_with_codecid):
      Add some debug that revealed that the escape code was disabled...
      5211c207
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegdec.c: If we have a parser and we did not consume any of... · d16e6f1e
      Wim Taymans authored
      ext/ffmpeg/gstffmpegdec.c: If we have a parser and we did not consume any of the bytes of a new buffer, make sure we ...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame),
      (gst_ffmpegdec_chain):
      If we have a parser and we did not consume any of the bytes of a new
      buffer, make sure we submit the buffer again with its original timestamp
      instead of a -1 timestamp. Fixes various h264 cases with reordered
      frames.
      If we have a discont and a timestamp but the first buffer after the
      discont did not produce any data, make sure we set the timestamp on the
      next buffer instead. Fixes initial timestamp on realaudio in many cases.
      d16e6f1e
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Escape the codec_data for h264 before we put... · 5162694c
      Wim Taymans authored
      ext/ffmpeg/gstffmpegcodecmap.c: Escape the codec_data for h264 before we put it in the extra_data because ffmpeg expe...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcodecmap.c: (nal_escape), (copy_config),
      (gst_ffmpeg_caps_with_codecid):
      Escape the codec_data for h264 before we put it in the extra_data
      because ffmpeg expects it escaped.
      5162694c
  4. 03 Sep, 2008 1 commit
  5. 29 Aug, 2008 3 commits
  6. 28 Aug, 2008 1 commit
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: ffmpeg audio decoders can now do up to 6... · 35168b4a
      Edward Hervey authored
      ext/ffmpeg/gstffmpegcodecmap.c: ffmpeg audio decoders can now do up to 6 channels... and actually expose it properly....
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_aud_caps_new):
      ffmpeg audio decoders can now do up to 6 channels... and actually
      expose it properly. Don't expect any channel mapping though.
      35168b4a
  7. 01 Aug, 2008 1 commit
    • Mark Nauwelaerts's avatar
      ext/ffmpeg/: Latest ffmpeg revision's avcodec_close frees more; use safer... · aadbfcfe
      Mark Nauwelaerts authored
      ext/ffmpeg/: Latest ffmpeg revision's avcodec_close frees more; use safer coding to prevent double free and other rel...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_fill_context):
      * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
      Latest ffmpeg revision's avcodec_close frees more; use safer coding to
      prevent double free and other related segfaults.
      aadbfcfe
  8. 28 Jul, 2008 1 commit
    • Mark Nauwelaerts's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Recognize video/x-raw-gray and map to proper pixfmt. · f86e548d
      Mark Nauwelaerts authored
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_pixfmt):
      Recognize video/x-raw-gray and map to proper pixfmt.
      * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps),
      (gst_ffmpegenc_chain_video):
      Fail negotiation if pixfmt cannot be determined from input caps.
      Prevent segfault accessing non-existant coded_frame, provide some
      warning debug output instead.
      f86e548d
  9. 11 Jul, 2008 1 commit
  10. 06 Jul, 2008 1 commit
  11. 01 Jul, 2008 1 commit
    • Jan Schmidt's avatar
      ext/ffmpeg/gstffmpegdec.c: If ffmpeg reports 0 bytes of input data consumed,... · 17e954b0
      Jan Schmidt authored
      ext/ffmpeg/gstffmpegdec.c: If ffmpeg reports 0 bytes of input data consumed, don't break out unless it also didn't pr...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdec.c:
      If ffmpeg reports 0 bytes of input data consumed, don't break out
      unless it also didn't produce any output. Fixes the audio in #377400
      and doesn't break anything else I've tested.
      Enable the mp3 parser, and set mp3 and mpeg2-video decoding autoplug
      at marginal level, as they seem to both work fine now.
      17e954b0
  12. 13 Jun, 2008 3 commits
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: MP4 does not allow H263 and AMR. · bed7aa3f
      Edward Hervey authored
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcodecmap.c:
      (gst_ffmpeg_formatid_get_codecids):
      MP4 does not allow H263 and AMR.
      bed7aa3f
    • Edward Hervey's avatar
      ext/ffmpeg/: FFMpeg now provides proper long_name for AVCodec, remove our... · 1df167a9
      Edward Hervey authored
      ext/ffmpeg/: FFMpeg now provides proper long_name for AVCodec, remove our internal mapping and directly use upstream ...
      
      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_base_init),
      (gst_ffmpegdec_register):
      * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
      (gst_ffmpegenc_register):
      * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
      FFMpeg now provides proper long_name for AVCodec, remove our
      internal mapping and directly use upstream naming.
      Improve debugging messages.
      Remove g_warning() which isn't really needed.
      1df167a9
    • Edward Hervey's avatar
      Bump upstream ffmpeg revision to todays (rev 13766). ffmpeg now requires libbz2. · 63d2aa24
      Edward Hervey authored
      Original commit message from CVS:
      * ext/ffmpeg/Makefile.am:
      * ffmpegrev:
      Bump upstream ffmpeg revision to todays (rev 13766).
      ffmpeg now requires libbz2.
      63d2aa24
  13. 26 May, 2008 4 commits
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegdemux.c: Set flv demuxer to rank NONE, we have a better,... · 4cd27857
      Wim Taymans authored
      ext/ffmpeg/gstffmpegdemux.c: Set flv demuxer to rank NONE, we have a better, working demuxer in -bad and we don't wan...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
      Set flv demuxer to rank NONE, we have a better, working demuxer in -bad
      and we don't want any bug reports about this one. Fixes #534783.
      4cd27857
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Add more specific width/height for DV video so... · b150447e
      Wim Taymans authored
      ext/ffmpeg/gstffmpegcodecmap.c: Add more specific width/height for DV video so that it negotiates more automatically.
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ff_vid_caps_new),
      (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_with_codecid):
      Add more specific width/height for DV video so that it negotiates more
      automatically.
      Try to avoid accessing NULL caps.
      * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps):
      Add some more debuggin to the caps generation.
      b150447e
    • Sebastian Dröge's avatar
      ext/ffmpeg/gstffmpegdec.c: Explicitely disable the AAC decoders as they don't... · 0378202d
      Sebastian Dröge authored
      ext/ffmpeg/gstffmpegdec.c: Explicitely disable the AAC decoders as they don't work very well and we have better alter...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
      Explicitely disable the AAC decoders as they don't work very well
      and we have better alternatives. Fixes bug #534392.
      0378202d
    • Sebastian Dröge's avatar
      Use av_picture_copy() instead of libswscale to copy pictures. This removes the... · 2b248e29
      Sebastian Dröge authored
      Use av_picture_copy() instead of libswscale to copy pictures. This removes the swscale dependency and is faster. Fixe...
      
      Original commit message from CVS:
      Patch by:
      Hans de Goede <j dot w dot r degoede at hhs dot nl>
      * configure.ac:
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_avpicture_fill):
      * ext/ffmpeg/gstffmpegcodecmap.h:
      * ext/ffmpeg/gstffmpegdec.c: (get_output_buffer):
      * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
      * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_collected):
      Use av_picture_copy() instead of libswscale to copy pictures. This
      removes the swscale dependency and is faster. Fixes bug #534390.
      2b248e29
  14. 25 May, 2008 2 commits
    • Tim-Philipp Müller's avatar
      ext/ffmpeg/gstffmpegdemux.c: Explicitly disable 'raw' mpeg-ts typefinder as... · a24ce03f
      Tim-Philipp Müller authored
      ext/ffmpeg/gstffmpegdemux.c: Explicitly disable 'raw' mpeg-ts typefinder as well; better debug logging for the gst-ff...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find),
      (gst_ffmpegdemux_register):
      Explicitly disable 'raw' mpeg-ts typefinder as well; better debug logging
      for the gst-ffmpeg typefinders. (#533708).
      a24ce03f
    • Tim-Philipp Müller's avatar
      ext/ffmpeg/gstffmpegdemux.c: Implement SEEKING query, so players such as totem... · b7e4ff66
      Tim-Philipp Müller authored
      ext/ffmpeg/gstffmpegdemux.c: Implement SEEKING query, so players such as totem can query seekability. Fix a comment t...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_query_list),
      (gst_ffmpegdemux_src_query), (gst_ffmpegdemux_get_stream),
      (gst_ffmpegdemux_open):
      Implement SEEKING query, so players such as totem can query
      seekability. Fix a comment typo or two.
      b7e4ff66
  15. 13 May, 2008 1 commit
  16. 08 May, 2008 2 commits
  17. 07 May, 2008 2 commits
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegdec.c: Previous commit in fact broke playback for standard wmv3. · 221bcf6f
      Edward Hervey authored
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
      (gst_ffmpegdec_register):
      Previous commit in fact broke playback for standard wmv3.
      Instead make both ffdec_vc1 and ffdec_wmv3 accept any wmv3 variant and
      figure out the proper codecid when opening the ffmpeg decoder.
      221bcf6f
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegdec.c: Bump the priority of VC1 decoder so that it goes... · 11f80ecd
      Edward Hervey authored
      ext/ffmpeg/gstffmpegdec.c: Bump the priority of VC1 decoder so that it goes before the WMV3 decoder. This allows prop...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps),
      (gst_ffmpegdec_video_frame), (gst_ffmpegdec_register):
      Bump the priority of VC1 decoder so that it goes before the WMV3
      decoder. This allows proper auto-pluggin with decodebin/playbin.
      Fixes #531857
      11f80ecd
  18. 06 May, 2008 1 commit
  19. 19 Apr, 2008 2 commits
    • Sebastian Dröge's avatar
      ext/ffmpeg/: Add support for MusePack StreamVersion 7 and disable the... · 1ffe547e
      Sebastian Dröge authored
      ext/ffmpeg/: Add support for MusePack StreamVersion 7 and disable the StreamVersion 8 typefinder. Fixes bug #510745.
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
      (gst_ffmpeg_formatid_to_caps), (gst_ffmpeg_caps_to_codecid),
      (gst_ffmpeg_get_codecid_longname):
      * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
      Add support for MusePack StreamVersion 7 and disable the StreamVersion
      8 typefinder. Fixes bug #510745.
      1ffe547e
    • Sebastian Dröge's avatar
      ext/ffmpeg/: Add support for Monkey's Audio (APE). Fixes bug #518033. · b83d3703
      Sebastian Dröge authored
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
      (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_to_caps),
      (gst_ffmpeg_caps_to_codecid), (gst_ffmpeg_get_codecid_longname):
      * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
      Add support for Monkey's Audio (APE). Fixes bug #518033.
      b83d3703
  20. 15 Apr, 2008 2 commits
  21. 03 Apr, 2008 1 commit
    • Edward Hervey's avatar
      ffmpegrev: Bump upstream ffmpeg revision to todays · 72b54f8e
      Edward Hervey authored
      Original commit message from CVS:
      * ffmpegrev: Bump upstream ffmpeg revision to todays
      * configure.ac: Fix configure for build modification in upstream
      * ext/libpostproc/gstpostproc.c: (gst_post_proc_transform_ip):
      Fix build for modifications in upstream
      72b54f8e
  22. 18 Mar, 2008 1 commit
  23. 17 Mar, 2008 1 commit
    • Andy Wingo Wingo's avatar
      ext/ffmpeg/Makefile.am (libgstffmpeg_la_LIBADD): Re-add -lz explicitly here. · 1c7202ea
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2008-03-17  Andy Wingo  <wingo@pobox.com>
      
      * ext/ffmpeg/Makefile.am (libgstffmpeg_la_LIBADD): Re-add -lz
      explicitly here.
      
      * configure.ac: Remove -lz from FFMPEG_LIBS, because FFMPEG_LIBS
      are used in the Makefile.am as a DEPENDENCIES target, and -lz is
      not a target. Also in a blahriffic turn of events, MMX and Altivec
      code on MacOS 10.5 produces non-PIC code. Turn them off on macos.
      1c7202ea
  24. 11 Mar, 2008 1 commit
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegdec.c: When we receive a newsegment event, we must drain... · 52b26ee9
      Wim Taymans authored
      ext/ffmpeg/gstffmpegdec.c: When we receive a newsegment event, we must drain any pending frames because they belong t...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event):
      When we receive a newsegment event, we must drain any pending frames
      because they belong to the previous segment. This fixes some cases of
      very large timestamps when doing segment seeks.
      52b26ee9