[FFmpeg-trac] #7922(avcodec:new): Encoding with h264_amf, muxing in MP4, missing reference frame when seeking within 2nd and 3rd GOP

FFmpeg trac at avcodec.org
Tue May 28 02:29:33 EEST 2019


#7922: Encoding with h264_amf, muxing in MP4, missing reference frame when seeking
within 2nd and 3rd GOP
-----------------------------------+-----------------------------------
             Reporter:  lveilleux  |                    Owner:
                 Type:  defect     |                   Status:  new
             Priority:  normal     |                Component:  avcodec
              Version:  4.1        |               Resolution:
             Keywords:             |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+-----------------------------------

Comment (by lveilleux):

 Replying to [comment:4 AlexisMay]:
 > Can you share a little bit more about this? Can you share the
 problematic file? Can you reproduce the problem with latest FFmpeg from
 Git?  Are you sure that in your own implementation your pipeline didn't
 skip encoded buffers? What is your GPU? Which version of Adrenalin
 software is used?

 1- Hi, I attached a sample problem file. It's 15FPS with GOP=100, so the
 2nd and 3rd GOPs are between ~7 and 19 seconds.

 2- I used 24-May-2019 nightly build from zeranoe.

 3- I'm not sure what you mean by skipping encoded buffers, what I can say
 is that the same MP4 muxing code does not cause problems when using NVENC
 (Quadro P2000), QSV (i7-8650U) or libx264. Also, when I set max_b_frames
 to something > 3, and private option bf_ref true, I don't see the problem
 but file size/bitrate more than doubles. If you want, I can dump my
 directshow filter code somewhere.

 4- Here's the complete info I dumped from AMD configuration, I could not
 find any Catalyst or Adrenaline software info:

 Graphics Card Manufacturer - Powered by AMD
 Graphics Chipset - AMD FirePro W5100 Graphics Adapter
 Device ID - 6649
 Vendor ID - 1002
 SubSystem ID - 230C
 SubSystem Vendor ID - 1028
 Revision ID - 00
 Bus Type - PCI Express 3.0
 Current Bus Settings - PCI Express 3.0 x16
 BIOS Version - 015.049.000.011
 BIOS Part Number - 113-C5870401-101
 BIOS Date - 2016/01/14 04:07
 Memory Size - 4096 MB
 Memory Type - GDDR5
 Memory Clock - 1500 MHz
 Core Clock - 930 MHz
 Total Memory Bandwidth - 96 GByte/s
 2D Driver File Path -
 /REGISTRY/MACHINE/SYSTEM/ControlSet001/Control/Class/{4d36e968-e325-11ce-
 bfc1-08002be10318}/0000

 Radeon Pro and AMD FirePro Settings Version - 2016.1004.2047.35575
 Driver Packaging Version - 16.40.2802-161004a-307960C-Dell
 Provider - Advanced Micro Devices, Inc.
 2D Driver Version - 8.1.1.1571
 Direct3D® Version - 9.14.10.01221
 OpenGL® Version - 6.14.10.13456
 OpenCL™ Version - 21.19.128.15
 AMD Mantle Version - 9.1.10.0146
 AMD Mantle API Version - Not Available
 AMD Audio Driver Version - 10.0.1.0
 Vulkan™ Driver Version - Not Available
 Vulkan™ API Version - Not Available

 Thanks for your help

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7922#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list