1. 12 9月, 2017 5 次提交
  2. 11 9月, 2017 9 次提交
  3. 10 9月, 2017 3 次提交
  4. 09 9月, 2017 19 次提交
    • P
      avfilter: add generic FFT video convolve filter · 4d41db7a
      Paul B Mahol 提交于
      Signed-off-by: NPaul B Mahol <onemda@gmail.com>
      4d41db7a
    • J
      lavc/vaapi_encode_mpeg2: fix frame rate calc error when use time_base. · a918f16f
      Jun Zhao 提交于
      fix frame rate calc error when use time_base.
      Signed-off-by: NYun Zhou <yunx.z.zhou@intel.com>
      Signed-off-by: NJun Zhao <jun.zhao@intel.com>
      Signed-off-by: NMark Thompson <sw@jkqxz.net>
      a918f16f
    • P
      Add SUP/PGS subtitle muxer · 7a6bd541
      Petri Hintukainen 提交于
      Fixes ticket #2208
      7a6bd541
    • S
      avformat/dashdec: free resource allocated by xml · ab96e2ca
      Steven Liu 提交于
      modify from av_free to xmlFree
      Suggested-by: Nwm4 <nfxjfg@googlemail.com>
      Signed-off-by: NSteven Liu <lq@chinaffmpeg.org>
      ab96e2ca
    • S
      avformat/dashdec: add dash demuxer base version · 96d70694
      Steven Liu 提交于
      ffmpeg need a dash demuxer for demux the dash formats base on
      https://github.com/samsamsam-iptvplayer/exteplayer3/blob/master/tmp/ffmpeg/patches/3.2.2/000001_add_dash_demux.patch
      
      TODO:
      1. support multi bitrate dash.
      
      v2 fixed:
      1. from autodetect to disabled
      2. from camelCase code style to ffmpeg code style
      3. from RepType to AVMediaType
      4. fix variable typo
      5. change time value from uint32_t to uint64_t
      6. removed be used once API
      7. change 'time(NULL)`, except it is not 2038-safe.' to av_gettime and av_timegm
      8. merge complex free operation to free_fragment
      9. use API from snprintf to av_asprintf
      
      v3 fixed:
      1. fix typo from --enabled-xml2 to --enable-xml2
      
      v4 fixed:
      1. from --enable-xml2 to --enable-libxml2
      2. move system includes to top
      3. remove nouse includes
      4. rename enum name
      5. add a trailing comma for the last entry enum
      6. fix comment typo
      7. add const to DASHContext class front
      8. check sscanf if return arguments and give warning message when error
      9. check validity before free seg->url and seg
      10. check if the val is null, before use atoll
      
      v5 fixed:
      1. fix typo from mainifest to manifest
      
      v6 fixed:
      1. from realloc to av_realloc
      2. from free to av_free
      
      v7 fixed:
      1. remove the -lxml2 from configure when require_pkg_config
      
      v8 fixed:
      1. fix replace filename template by av_asprintf secure problem
      
      v9 modified:
      1. make manifest parser clearly
      
      v10 fixed:
      1. fix function API name code style
      2. remove redundant strreplace call
      3. remove redundant memory operation and check return value from get_content_url()
      4. add space between ) and {
      5. remove no need to log the value for print
      
      v11 fixed:
      1. from atoll to strtoll
      Suggested-by: NMichael Niedermayer <michael@niedermayer.cc>
      
      v12 fixed:
      1. remove strreplace and instead by av_strreplace
      Suggested-by: NNicolas George <george@nsup.org>
      
      v13 fixed:
      1. fix bug: cannot play:
      http://dash.edgesuite.net/akamai/bbb_30fps/bbb_30fps.mpdReported-by: NAndy Furniss <adf.lists@gmail.com>
      
      v14 fixed:
      1. fix bug: TLS connection was non-properly terminated
      2. fix bug: No trailing CRLF found in HTTP header
      Reported-by: NAndy Furniss <adf.lists@gmail.com>
      
      v15 fixed:
      1. play youtube link: ffmpeg -i $(youtube-dl -J "https://www.youtube.com/watch?v=XmL19DOP_Ls" | jq -r ".requested_formats[0].manifest_url")
      2. code refine for timeline living stream
      Reported-by: NRicardo Constantino <wiiaboo@gmail.com>
      
      v16 fixed:
      1. remove the snprintf and instead by get_segment_filename make safety
      2. remove unnecessary loops
      3. updated xmlStrcmp and xmlFree to av_* functions
      4. merge code repeat into one function
      5. add memory alloc faild check
      6. update update_init_section and open_url
      7. output safety error message when filename template not safe
      Suggested-by : wm4 <nfxjfg@googlemail.com>
      
      v17 fixed:
      1. add memory alloc faild check
      2. fix resource space error at free_representation
      
      v18 fixed:
      1. add condition of template format
      
      v19 fixed:
      1. fix typo of the option describe
      
      v20 fixed:
      1. add the c->base_url alloc check
      2. make the DASHTmplId same to dashenc
      
      v21 fixed:
      1. remove get_repl_pattern_and_format and get_segment_filename
      2. process use dashcomm APIs
      
      v22 fixed:
      1. modify the include "dashcomm.h" to include "dash.h"
      2. use internal API from dash_fill_tmpl_params to ff_dash_fill_tmpl_params
      Signed-off-by: NSteven Liu <lq@onvideo.cn>
      Signed-off-by: Nsamsamsam <samsamsam@o2.pl>
      96d70694
    • J
      avformat/matroskaenc: also write tags when output is WebM · 27b7800b
      James Almer 提交于
      WebM supports a subset of elements from the Tags master.
      See https://www.webmproject.org/docs/container/#taggingReviewed-by: NIvan Janatra <janatra@google.com>
      Signed-off-by: NJames Almer <jamrial@gmail.com>
      27b7800b
    • C
      build: cleanup videotoolbox · 260ea7a7
      Clément Bœsch 提交于
      - there is no need for kCVImageBufferColorPrimaries_ITU_R_2020 checks,
        it's done at runtime
      - VideoToolbox presence is now checked with check_apple_framework()
      - link to CoreServices is only done when videotoolbox is enabled
      260ea7a7
    • C
      build: cleanup audiotoolbox handling · 1cf23e3f
      Clément Bœsch 提交于
      *_at codecs only need the AudioToolbox framework, which is now checked
      like the other Apple frameworks.
      1cf23e3f
    • C
      build: add --disable-coreimage autodetect switch · 496d0178
      Clément Bœsch 提交于
      496d0178
    • C
      97d80135
    • C
      build: add check_apple_framework() · b6dce64a
      Clément Bœsch 提交于
      This will be used in the following commits.
      b6dce64a
    • C
      lavfi/coreimage: reduce dependency scope from QuartzCore to CoreImage · f8519529
      Clément Bœsch 提交于
      What is required by the filter is CoreImage, there is no QuartzCore
      usage. QuartzCore/CoreImage.h is simply an include to
      CoreImage/CoreImage.h.
      f8519529
    • C
      build: fix objcc header check · b476e772
      Clément Bœsch 提交于
      $headers is a variable set in the context of other functions (we don't
      use the "local" keyword in our scripts, so those variables are global).
      
      Currently, when checking for AVFoundation/AVFoundation.h, the actual
      enabled header is math.h.
      
      Similarly, when testing for QuartzCore/CoreImage.h, the actual enabled
      header is CoreGraphics/CoreGraphics.h.
      
      This is completely broken and may be the reason why these checks are
      made in random places.
      b476e772
    • C
      lavu/timer.h: add Linux Perf API support · f61379cb
      Clément Bœsch 提交于
      Refer to "checkasm: use perf API on Linux ARM*" commit for the
      rationale.
      
      The implementation is somehow duplicated with checkasm, but so is the
      current usage of AV_READ_TIME(). Until these implementations and
      heuristics are made consistent, I don't see a way of sharing that code.
      
      Note: when using libavutil/timer.h, it is now important to include
      before any other include due to the _GNU_SOURCE requirement.
      f61379cb
    • C
      lavu/tests: move timer.h include earlier · e0b9b3e6
      Clément Bœsch 提交于
      In the next commit, timer.h will require a _GNU_SOURCE to be set before
      including system headers. This commit prevents compilation failures.
      e0b9b3e6
    • C
      lavu/tests/des: rename crypt to crypt_ref · dc27df47
      Clément Bœsch 提交于
      This will prevent a symbol clash with crypt(3) after unistd.h is
      included.
      dc27df47
    • C
      lavu/timer.h: factor out timer report · 9c0d823a
      Clément Bœsch 提交于
      This commit is meant to reduce the diff in the following one.
      9c0d823a
    • C
      checkasm: use perf API on Linux ARM* · e0d56f09
      Clément Bœsch 提交于
      On ARM platforms, accessing the PMU registers requires special user
      access permissions. Since there is no other way to get accurate timers,
      the current implementation of timers in FFmpeg rely on these registers.
      Unfortunately, enabling user access to these registers on Linux is not
      trivial, and generally involve compiling a random and unreliable github
      kernel module, or patching somehow your kernel.
      
      Such module is very unlikely to reach the upstream anytime soon. Quoting
      Robin Murphin from ARM:
      
      > Say you do give userspace direct access to the PMU; now run two or more
      > programs at once that believe they can use the counters for their own
      > "minimal-overhead" profiling. Have fun interpreting those results...
      >
      > And that's not even getting into the implications of scheduling across
      > different CPUs, CPUidle, etc. where the PMU state is completely beyond
      > userspace's control. In general, the plan to provide userspace with
      > something which might happen to just about work in a few corner cases,
      > but is meaningless, misleading or downright broken in all others, is to
      > never do so.
      
      As a result, the alternative is to use the Performance Monitoring Linux
      API which makes use of these registers internally (assuming the PMU of
      your ARM board is supported in the kernel, which is definitely not a
      given...).
      
      While the Linux API is obviously cross platform, it does have a
      significant overhead which needs to be taken into account. As a result,
      that mode is only weakly enabled on ARM platforms exclusively.
      
      Note on the non flexibility of the implementation: the timers (native
      FFmpeg vs Linux API) are selected at compilation time to prevent the
      need of function calls, which would result in a negative impact on the
      cycle counters.
      e0d56f09
    • P
      avfilter: add Haas stereo enhancer · cf0eed25
      Paul B Mahol 提交于
      Signed-off-by: NPaul B Mahol <onemda@gmail.com>
      cf0eed25
  5. 08 9月, 2017 4 次提交