Skip to content
Snippets Groups Projects
  1. Jun 14, 2017
  2. May 04, 2017
  3. Apr 23, 2017
  4. Mar 26, 2017
  5. Mar 16, 2017
  6. Mar 03, 2017
    • wm4's avatar
      ffmpeg: properly cleanup filter graph on init failure · 16abc10b
      wm4 authored
      The filter field is often used to check whether a filter is
      configured. If configuring the filter actually fails somewhere in
      the middle of it, these fields could still be set to non-NULL, which
      lead to other code accessing the half-configured filter graph, which
      in turn could lead to crashes within libavfilter.
      
      Solve this by properly resetting all fields.
      
      This was triggered by a fuzzed sample after the recent changes. It's
      unknown whether this behavior could be triggered before that.
      16abc10b
    • wm4's avatar
      ffmpeg: delay processing of subtitles before filters are initialized · 7dd44cde
      wm4 authored
      If a subtitle packet came before the first video frame could be fully
      decoded, the subtitle packet would get discarded. This puts the subtitle
      into a queue instead, and processes it once the attached filter graph is
      initialized.
      7dd44cde
    • Anton Khirnov's avatar
      ffmpeg: restructure sending EOF to filters · 76e13bde
      Anton Khirnov authored
      
      Be more careful when an input stream encounters EOF when its filtergraph
      has not been configured yet. The current code would immediately mark the
      corresponding output streams as finished, while there may still be
      buffered frames waiting for frames to appear on other filtergraph
      inputs.
      
      This should fix the random FATE failures for complex filtergraph tests
      after a3a0230a
      
      This merges Libav commit 94ebf556. It was previously skipped.
      
      This is the last filter init related Libav commit that was skipped, so
      this also removes the commits from doc/libav-merge.txt.
      
      Signed-off-by: default avatarwm4 <nfxjfg@googlemail.com>
      76e13bde
    • Anton Khirnov's avatar
      ffmpeg: move flushing the queued frames to configure_filtergraph() · cb884f8d
      Anton Khirnov authored
      
      This is a more appropriate place for it, and will also be useful in the
      following commit.
      
      This merges Libav commit d2e56cf7. It was previously skipped.
      
      Signed-off-by: default avatarwm4 <nfxjfg@googlemail.com>
      cb884f8d
    • wm4's avatar
      ffmpeg: fix printing of filter input/output names · 97614a68
      wm4 authored
      
      Broken by the previous Libav commit (even in Libav, thus a separate
      commit).
      
      Signed-off-by: default avatarwm4 <nfxjfg@googlemail.com>
      97614a68
    • Anton Khirnov's avatar
      ffmpeg: init filtergraphs only after we have a frame on each input · af1761f7
      Anton Khirnov authored
      
      This makes sure the actual stream parameters are used, which is
      important mainly for hardware decoding+filtering cases, which would
      previously require various weird workarounds to handle the fact that a
      fake software graph has to be constructed, but never used.
      This should also improve behaviour in rare cases where
      avformat_find_stream_info() does not provide accurate information.
      
      This merges Libav commit a3a0230a. It was previously skipped.
      
      The code in flush_encoders() which sets up a "fake" format wasn't in
      Libav. I'm not sure if it's a good idea, but it tends to give
      behavior closer to the old one in certain corner cases.
      
      The vp8-size-change gives different result, because now the size of
      the first frame is used. libavformat reported the size of the largest
      frame for some reason.
      
      The exr tests now use the sample aspect ratio of the first frame. For
      some reason libavformat determines 0/1 as aspect ratio, while the
      decoder returns the correct one.
      
      The ffm and mxf tests change the field_order values. I'm assuming
      another libavformat/decoding mismatch.
      
      Signed-off-by: default avatarwm4 <nfxjfg@googlemail.com>
      af1761f7
  7. Jan 12, 2017
  8. Nov 24, 2016
  9. Nov 13, 2016
  10. Nov 06, 2016
  11. Nov 03, 2016
  12. Sep 21, 2016
    • Clément Bœsch's avatar
      ffmpeg: switch to codecpar · 955b818c
      Clément Bœsch authored
      
      This commit is largely based on commit 15e84ed3 from Anton Khirnov
      <anton@khirnov.net> which was previously skipped in bbf5ef9d.
      
      There are still a bunch of things raising codecpar related warnings that
      need fixing, such as:
      - the use of codec->debug in the interactive debug mode
      - read_ffserver_streams(): it's probably broken now but there is no test
      - lowres stuff
      - codec copy apparently required by bitstream filters
      
      The matroska references are updated because they now properly forward
      the field_order (previously unknown, now progressive).
      
      Thanks to James Almer for fixing a bunch of FATE issues in this commit.
      
      Signed-off-by: default avatarClément Bœsch <clement@stupeflix.com>
      Signed-off-by: default avatarJames Almer <jamrial@gmail.com>
      955b818c
  13. May 18, 2016
  14. Mar 28, 2016
  15. Feb 10, 2016
  16. Nov 11, 2015
  17. Oct 30, 2015
  18. Oct 11, 2015
    • Michael Niedermayer's avatar
      Revert "Merge commit '8b830ee9'" (avconv: Do... · 14573b9b
      Michael Niedermayer authored
      Revert "Merge commit '8b830ee9'" (avconv: Do not try to configure filter outputs without streams)
      
      FFmpeg already tests for this case in configure_output_filter() and printed a
      clearer error message
      
      example:
      ./ffmpeg -f lavfi -i color -f lavfi -i color -filter_complex "[1]null[x],[0][1]overlay" -f null -
      before the merge / after the revert:
      Filter null has a unconnected output
      
      after the merge / before the revert:
      Output pad "default" with type video of the filter instance "Parsed_null_0" of null not connected to any destination
      Error configuring complex filters.
      Invalid argument
      
      This reverts commit 3e3779cd, reversing
      changes made to 0b28039a.
      
      Reviewed-by: default avatarGanesh Ajjanagadde <gajjanag@mit.edu>
      14573b9b
  19. Aug 19, 2015
  20. Aug 15, 2015
  21. Aug 08, 2015
  22. Jul 19, 2015
  23. Jul 02, 2015
  24. May 03, 2015
  25. Nov 24, 2014
  26. Nov 05, 2014
  27. Sep 11, 2014
  28. Sep 01, 2014
  29. Aug 30, 2014
  30. Jul 30, 2014
    • Nicolas George's avatar
      ffmpeg_filter: refuse to configure input without a decoder. · 91244073
      Nicolas George authored
      The decoder is necessary in order to filter frames.
      This makes the error message clearer in this case:
      currently, it will usually fail because the pixel or sample
      format is not defined and is converted into "(null)"
      (non-portable).
      
      Enhance trac ticket #3779.
      91244073
  31. Jun 01, 2014
Loading