logoalt Hacker News

kevincoxtoday at 3:08 PM1 replyview on HN

> By running all encoder instances in parallel, better parallelism can be obtained overall.

This makes a lot of sense for the live-streaming use case, and some sense for just generally transcoding a video into multiple formats. But I would love to see time-axis parallelization in ffmpeg. Basically quickly split the input video into keyframe chunks then encode each keyframe in parallel. This would allow excellent parallelization even when only producing a single output. (And without lowering video quality as most intra-frame parallelization does)


Replies

infogulchtoday at 3:18 PM

Encoders do some interframe analysis (motion, etc) as part of encoding P/B-frames; I wonder if this work could be done once and reused for all the encodings.

show 1 reply