Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fast encoding video codec?

can anybody compare popular video codecs by encoding speed? I understand that usually better compression requires more processing time, but it's also possible that some codecs still provide comparably good compression with fast encoding. any comparison links?

thanks for your help

[EDIT]: codecs can be compared by used algorithms, regardless of its particular implementation, hardware used or video source, something like big O for mathematical algorithms

like image 274
Andriy Tylychko Avatar asked Jan 27 '11 12:01

Andriy Tylychko


People also ask

Which codec is best for video?

The most common codec for video compression is H. 264 or AVC. Audio file formats or file extensions are the containers or wrappers for these codecs. As with lossy audio file formats, most video formats lose data in compression.

Is H 264 the best codec?

High device compatibility makes H. 264 one of the best codecs for streaming.

Which is better VP9 or AV1?

AV1 provides an average bitrate reduction of 28.1% relative to VP9 over all contents, however on average 1.9% more bitrate is required for AV1 to achieve a similar objective quality with HEVC.


2 Answers

When comparing VP8 and x264, VP8 also shows 5-25 times lower encoding speed with 20-30% lower quality at average. For example x264 High-Speed preset is faster and has higher quality than any of VP8 presets at average."

its tough to compare feature sets vs speed/quality.

see some quality comparison http://www.compression.ru/video/codec_comparison/h264_2012/

The following paragraph and image are from VP9 encoding/decoding performance vs. HEVC/H.264 by Ronald S. Bultje:

x264 is an incredibly well-optimized encoder, and many people still use it. It’s not that they don’t want better bitrate/quality ratios, but rather, they complain that when they try to switch, it turns out these new codecs have much slower encoders, and when you increase their speed settings (which lowers their quality), the gains go away. Let’s measure that! So, I picked a target bitrate of 4000kbps for each encoder, using otherwise the same settings as earlier, but instead of using the slow presets, I used variable-speed presets (x265/x264: –preset=placebo-ultrafast; libvpx: –cpu-used=0-7).

enter image description here

like image 166
Rajeev Tiwari Avatar answered Sep 21 '22 23:09

Rajeev Tiwari


This is one of those topics where Your Mileage May Vary widely. If I were in your position, I'd start off with a bit of research on Wikipedia, and then gather the tools to do some testing and benchmarking. The source video format will probably affect overall encoding speed, so you should test with video that you intend to use on the Production system.

Video encoding time can vary widely depending on the hardware used, and whether you used an accelerator card, and so on. It's difficult for us to make any hard and fast recommendations without explicit knowledge of your particular set up.

The only way to make decisions like this, is to test these things yourself. I've done the same thing when comparing Virtualisation tools. It's fun too!

like image 20
Tom O'Connor Avatar answered Sep 23 '22 23:09

Tom O'Connor