Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th April 2023, 10:52   #1  |  Link
orion44
None
 
orion44's Avatar
 
Join Date: Jul 2007
Location: The Background
Posts: 307
Can VP8 do CRF, similar to x264?

The documentation about VP8 on the internet is confusing. From what I've read, it has constant quality mode in one pass,
which is probably constant quantizer mode, without regard to visual perception.

VP9, however, does seem to have a mode similar to CRF, to achieve a certain perceptual quality level, but you have to do it in two passes:
Code:
ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 1 -an -f null /dev/null && \
ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 2 -c:a libopus output.webm
I was just curious, if anyone knows, does this also work with VP8?
Can FFmpeg's libvpx achieve a certain perceptual quality level in two passes, similar to x264's CRF?
orion44 is offline   Reply With Quote
Old 29th April 2023, 12:05   #2  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
afaik: no
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 30th April 2023, 00:21   #3  |  Link
orion44
None
 
orion44's Avatar
 
Join Date: Jul 2007
Location: The Background
Posts: 307
I've been testing it, and it doesn't have a mode similar to x264's CRF. Never mind, I'll use the regular two-pass VBR mode.

Why hasn't VP8 codec been more popular, like x264 or x265?

IMO, it produces a more visually pleasing look than x264, VP9 or XviD, once the loop filter has been set correctly.
orion44 is offline   Reply With Quote
Old 30th April 2023, 16:47   #4  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Quote:
Why hasn't VP8 codec been more popular, like x264 or x265?
From my experience:
a. it is slow, was even slower when it was newer and folks really tested it
b. you couldn't get any useful documentation on it (got better with vp9)
c. I had to wait ages for any feedback when reporting bugs
d. personally, I prefer x264 and Xvid over it.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 2nd May 2023, 01:48   #5  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
Selur is right. VP8 wasn't good enough to get enough attention to get it good. It also had some architectural limitations that made it suboptimal for HW and multithreaded HW implementations.

VP9 got a good bit more refinement, and AV1 was where the VPx lineage became viable for broader use cases instead of mainly being used for user generated content.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.