[FFmpeg-trac] #7704(avcodec:open): 8-bit pixel format is used when decoding 10-bit video using VideoToolbox

FFmpeg trac at avcodec.org
Wed Mar 20 00:02:06 EET 2019


#7704: 8-bit pixel format is used when decoding 10-bit video using VideoToolbox
--------------------------------------+-----------------------------------
             Reporter:  fumoboy007    |                    Owner:  tmm1
                 Type:  defect        |                   Status:  open
             Priority:  normal        |                Component:  avcodec
              Version:  git-master    |               Resolution:
             Keywords:  videotoolbox  |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+-----------------------------------

Comment (by tmm1):

 Thanks. I forgot to specify that ffmpeg-devel is the preferred place for
 patches, so they can be more widely reviewed.

 As far as macOS compatibility, you can refer to how I added compatibility
 checks for kCMVideoCodecType_HEVC here:

 https://github.com/FFmpeg/FFmpeg/commit/3d4f8b9184a4693c577e0b73496e6cc1989c6bbf
 #diff-c9d8dd2e290f045e209331df387c0bbaR43
 https://github.com/FFmpeg/FFmpeg/commit/3d4f8b9184a4693c577e0b73496e6cc1989c6bbf
 #diff-e2d5a00791bce9a01f99bc6fd613a39dR2084
 https://github.com/FFmpeg/FFmpeg/commit/3d4f8b9184a4693c577e0b73496e6cc1989c6bbf
 #diff-e2d5a00791bce9a01f99bc6fd613a39dR5822

 If you feel so inclined, take a stab at adding compatibility using the
 approach above and send the new patch to the ffmpeg-devel list. If not, I
 will plan to pick this up in a few weeks and do the same. Thanks for your
 contribution!

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


More information about the FFmpeg-trac mailing list