14 Dec 2021, 02:47 by ffm...@tmm1.net: > From: Aman Karmani <a...@tmm1.net> > > deinterlaces CVPixelBuffers, i.e. AV_PIX_FMT_VIDEOTOOLBOX frames > > for example, an interlaced mpeg2 file can be decoded by avcodec, > uploaded into a CVPixelBuffer, deinterlaced by metal, and then > encoded to h264 by VideoToolbox as follows: > > ffmpeg \ > -init_hw_device videotoolbox \ > -i interlaced.ts \ > -vf hwupload,deinterlace_metal=mode=send_field:deint=interlaced \ > -c:v h264_videotoolbox \ > -b:v 2000k \ > -c:a copy \ > -y progressive.ts > > (note that uploading AVFrame into CVPixelBuffer via hwupload > requires 504c60660d3194758823ddd45ceddb86e35d806f) > > Signed-off-by: Aman Karmani <a...@tmm1.net> >
Should be called yadif_videotoolbox, not yadif_metal. Hardware filters are named after the hardware context that they take, not what they use as an API. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".