Files
ffmpeg/libavfilter
Aman Karmani 4ac869ca2a avfilter: add vf_yadif_videotoolbox
deinterlaces CVPixelBuffers, i.e. AV_PIX_FMT_VIDEOTOOLBOX frames

for example, an interlaced mpeg2 video 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,yadif_videotoolbox \
           -c:v h264_videotoolbox \
           -b:v 2000k \
           -c:a copy \
           -y progressive.ts

(note that uploading AVFrame into CVPixelBuffer via hwupload
 requires 504c60660d)

this work is sponsored by Fancy Bits LLC

Reviewed-by: Ridley Combs <rcombs@rcombs.me>
Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Aman Karmani <aman@tmm1.net>
2021-12-18 11:57:31 -08:00
..
2021-04-19 14:34:10 +02:00
2021-12-18 11:57:31 -08:00
2021-11-11 21:54:46 +01:00
2021-09-30 01:22:48 +02:00
2021-07-22 14:47:57 +02:00
2021-09-19 04:26:00 +02:00
2021-12-18 11:57:31 -08:00
2021-04-11 23:18:20 +08:00
2021-10-23 23:53:51 +02:00
2021-11-11 21:54:46 +01:00
2021-11-11 21:54:46 +01:00
2021-10-10 12:04:30 +02:00