[FFmpeg-cvslog] lavc/videotoolbox: fix H.264 hwaccel init issue

Clément Bœsch u at pkh.me
Fri Jun 17 16:36:36 CEST 2016


On Fri, Jun 17, 2016 at 09:43:09AM -0400, Richard Kern wrote:
> Since ca2f19b9cc (h264: switch to h2645_parse for NAL parsing) the hwaccel wouldn’t init (when the first h.264 frame is decoded). It was the same on OS X and iOS - creating the decoder would return a “decoder malfunction” error. Apple’s suggested way to create the decoder config for h.264 decoders is CMVideoFormatDescriptionCreateFromH264ParameterSets(), and switching to this function solved the issue on OS X and iOS. A user on IRC confirmed it worked for them too.
> 

So avc_info constructed from extradata in decoder_config_create() wasn't
enough? (Any idea why?)

"the hwaccel wouldn't init", why? Is it because the SPS/PPS NALs were
somehow split out of the packets since ca2f19b9cc and thus VT never got
them, or I misunderstand?

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20160617/0adbd54b/attachment.sig>


More information about the ffmpeg-cvslog mailing list