1. 06 Nov, 2019 14 commits
  2. 05 Nov, 2019 6 commits
  3. 04 Nov, 2019 14 commits
  4. 03 Nov, 2019 4 commits
    • Nicolas Frattaroli's avatar
      avformat/ftp: add AVOptions for authentication · a8ec0685
      Nicolas Frattaroli authored
      This introduces two new AVOption options for the FTP protocol,
      one named ftp-user to supply the username to be used for auth,
      one named ftp-password to supply the password to be used for auth.
      
      These are useful for when an API user does not wish to deal with
      URL manipulation and percent encoding.
      
      Setting them while also having credentials in the URL will use the
      credentials from the URL. The rationale for this is that credentials
      embedded in the URL are probably more specific to what the user is
      trying to do than anything set by some API user.
      Signed-off-by: 's avatarNicolas Frattaroli <ffmpeg@fratti.ch>
      Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
      a8ec0685
    • Andriy Gelman's avatar
      avformat: Add max_probe_packets option · 5e3229df
      Andriy Gelman authored
      Allows user to set maximum number of buffered packets when
      probing a codec. It was a hard-coded parameter before this commit.
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      5e3229df
    • Zhong Li's avatar
      lavc/qsvenc: enable vp9 encoder · 33583803
      Zhong Li authored
      1. must enable low_power mode since just VDENC can be supported by iHD
      driver right now
      2. Coding option1 and extra_data are not supported by MSDK
      3. IVF header will be inserted in MSDK by default, but it is not needed
      for FFmpeg, so disable it.
      Signed-off-by: 's avatarZhong Li <zhongli_dev@126.com>
      33583803
    • Linjie Fu's avatar
      lavc/qsvenc: Fix bitrate_limit to allow AVC encode in limited bitrate · e786e373
      Linjie Fu authored
      MFXVideoENCODE_Query calls CheckVideoParamQueryLike in MSDK and
      will determine whether to set param.mfx.TargetKbps to the allowed
      minTargetKbps according to the bitrate_limit in extco2 buffer.
      
      Thus q->param.ExtParam must be set before MFXVideoENCODE_Query in case
      minTargetKbps is written to TargetKbps by default.
      
      1080P AVC encoding with option "-bitrate_limit 0 -b:v 100k":
      Before patch:
                  902 kbps
      After patch:
                  156 kbps
      Signed-off-by: 's avatarLinjie Fu <linjie.fu@intel.com>
      e786e373
  5. 01 Nov, 2019 2 commits
    • Andriy Gelman's avatar
      avcodec/v4l2_m2m: Fix indentation · 53c21c2d
      Andriy Gelman authored
      Signed-off-by: 's avatarAman Gupta <aman@tmm1.net>
      53c21c2d
    • Andriy Gelman's avatar
      avcodec/v4l2_buffers: Fix infinite loop · 1aec1183
      Andriy Gelman authored
      This part of the code counts the number of planes returned by the v4l2
      device for each queried capture/output buffer.
      When testing the GPU h264 encoder on Nvidia's Jetson Nano, this caused an
      infinite loop because avbuf->buf.length included some empty buffers (i.e.
      where avbuf->buf.m.planes[i].length = 0), meaning that the counter was
      never incremented and break was never reached.
      This is fixed in the commit by using a well defined iteration range.
      Signed-off-by: 's avatarAman Gupta <aman@tmm1.net>
      1aec1183