#8622: Bitstream filter hevc_metadata fails with "bit_equal_to_one out of range"
on Linux but works on Windows for hevc_nvenc
-------------------------------------+-------------------------------------
             Reporter:  Sonic-Y3k    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:
             Keywords:  hevc_nvenc,  |  unspecified
  nvenc, hevc_metadata, nvidia,      |               Blocked By:
  colour_primaries, bitstream,       |
  filter, bsf, bit_equal_to_one      |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 When setting the hevc_metadata bitstream filter in combination with
 hevc_nvenc the following error message appears:

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

 Strangely enough, if the same ffmpeg version is cross compiled for Windows
 it just works without any issues.

 How to reproduce:
 {{{
 % ffmpeg -i bbb_sunflower_2160p_30fps_normal.mp4 -c:v hevc_nvenc -bsf:v
 "hevc_metadata=colour_primaries=9" -f hevc -y -t 00:00:10 /dev/null

 ffmpeg N-97380-g55d830f69a
 built on 17.04.2020

 linux nvidia driver: 440.82
 windows nvidia driver: 445.75
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8622>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to