[FFmpeg-trac] #7807(avcodec:new): use h264_redundant_pps error

FFmpeg trac at avcodec.org
Sun Mar 24 04:04:27 EET 2019


#7807: use h264_redundant_pps error
---------------------------------------+-----------------------------------
             Reporter:  xiongguangjie  |                    Owner:
                 Type:  defect         |                   Status:  new
             Priority:  normal         |                Component:  avcodec
              Version:  git-master     |               Resolution:
             Keywords:                 |               Blocked By:
             Blocking:                 |  Reproduced by developer:  1
Analyzed by developer:  1              |
---------------------------------------+-----------------------------------
Changes (by xiongguangjie):

 * analyzed:  0 => 1
 * reproduced:  0 => 1


Comment:

 i use command to remux h264 video with h264_redundant_pps bitstream
 filter,but the target video file is only has key frame, other frame is
 lost, the source h264 video is in attachment

 reproduce command:
 {{{
    ./ffmpeg.exe -i /d/testVideo/Etest.h264 -c:v copy -bsf:v
 h264_redundant_pps ./test.avi
 }}}

 ffmpeg version:
 {{{
   master branch commit 5fceac1cdb
   configuration: --prefix=/d/Lib/ffmpeg-master-release/
   libavutil      56. 26.100 / 56. 26.100
   libavcodec     58. 47.105 / 58. 47.105
   libavformat    58. 26.101 / 58. 26.101
   libavdevice    58.  7.100 / 58.  7.100
   libavfilter     7. 48.100 /  7. 48.100
   libswscale      5.  4.100 /  5.  4.100
   libswresample   3.  4.100 /  3.  4.100

 }}}
 i found ffmpeg h264 cbs has error due to h264 syntax element value out of
 range, the command print repate this message like below

 {{{
   [AVBSFContext @ 03c69c80] luma_log2_weight_denom out of range: 40, but
 must be in [0,7].
   [AVBSFContext @ 03c69c80] Failed to read unit 0 (type 1).
   Error applying bitstream filters to an output packet for stream #0:0.
 }}}

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


More information about the FFmpeg-trac mailing list