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 > VP9 and AV1

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th July 2013, 06:23   #221  |  Link
Mangix
Audiophile
 
Join Date: Oct 2006
Posts: 353
Quote:
Originally Posted by Rumbah View Post
If anyone is interested here is a Windows Cygwin compile of vpxenc/vpxdec to tinker with. I tried to get a MinGW compile to work but gave up after trying for some time.

x264.janhum.alfahosting.org/vpx05072013.7z
IIRC it's the same as making the cygwin compile but doing ./configure --cross-prefix=x86_64-w64-mingw32- --host=x86_64-pc-mingw32

MinGW has to be installed of course, which is possible through cygwin's installer.
Mangix is offline   Reply With Quote
Old 6th July 2013, 07:33   #222  |  Link
easyfab
Registered User
 
Join Date: Jan 2002
Posts: 332
Quote:
Originally Posted by Rumbah View Post
If anyone is interested here is a Windows Cygwin compile of vpxenc/vpxdec to tinker with. I tried to get a MinGW compile to work but gave up after trying for some time.

x264.janhum.alfahosting.org/vpx05072013.7z
Rumbah for MinGW compile you need a patch see :

http://forum.doom9.org/showpost.php?...29&postcount=6
easyfab is offline   Reply With Quote
Old 7th July 2013, 01:45   #223  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
I have done some tests on VP9 VS VP8 on youtube, meaning there own encoded material.
And from that, i can say that VP8 looks better then VP9.

Now, i donīt know what bitrate VP9 uses, as i canīt download it.

If anyone knows a way to download the VP9 encoded videos from Youtube, please tell.
zerowalker is offline   Reply With Quote
Old 7th July 2013, 21:02   #224  |  Link
MoSal
Registered User
 
Join Date: Jun 2013
Posts: 95
Quote:
Originally Posted by zerowalker View Post
I have done some tests on VP9 VS VP8 on youtube, meaning there own encoded material.
And from that, i can say that VP8 looks better then VP9.

Now, i donīt know what bitrate VP9 uses, as i canīt download it.

If anyone knows a way to download the VP9 encoded videos from Youtube, please tell.
What videos?
MoSal is offline   Reply With Quote
Old 7th July 2013, 21:29   #225  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
Youtube videos.
Some are encoded in VP9, they have a user and playlist that contains them.
zerowalker is offline   Reply With Quote
Old 7th July 2013, 22:10   #226  |  Link
MoSal
Registered User
 
Join Date: Jun 2013
Posts: 95
Quote:
Originally Posted by zerowalker View Post
Youtube videos.
Some are encoded in VP9, they have a user and playlist that contains them.
You mean?
https://www.youtube.com/user/WebMVP9/videos

Those videos were not encoded with the final bitstream.

You can download VP9 versions by parsing the output of:
Code:
https://www.youtube.com/get_video_info?video_id=VIDEO_ID
This is what libquvi/cclive and others do to download from yt. It's just the VP9 formats in those experimental videos are not supported.
MoSal is offline   Reply With Quote
Old 7th July 2013, 22:15   #227  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
Yes.

I see, well is it that big of difference?

I tried to use that, i got a Get_Video_Info file, that was 32kb;S
zerowalker is offline   Reply With Quote
Old 7th July 2013, 23:45   #228  |  Link
xooyoozoo
Registered User
 
Join Date: Dec 2012
Posts: 197
Quote:
Originally Posted by schweinsz View Post
Could you provide more results on more sequences such as the JCT-VC sequences, bqsquare, bqterrace, racehorses, basketballdrive, cactus.
I tried a couple more, made with latest July 4 '13 master.

Instantaneous MS-SSIM bitrate gap versus QP32 HEVC is +25% filesize for basketballdrive (bitstream, side-by-side download) and +30% filesize for cactus (bitstream, side-by-side download).

Personally, I think I've lost interest in the next-gen "codec war" until we can find scenarios that seem nuanced at the very least.

(By the way, the bitstreams work perfectly on Chrome dev branch, and the side-by-sides had their frame rates reduced to 24.)
xooyoozoo is offline   Reply With Quote
Old 8th July 2013, 00:06   #229  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
Could you record some 3d game lossless, and encode it in vp9 and hevc?
I donīt mean a whole session, but you know, some secs.

As it would be nice to see some, Unencoded material being encoded and compared.

Quote:
Personally, I think I've lost interest in the next-gen "codec war" until we can find scenarios that seem nuanced at the very least.

I have to agree there. I was extremely excited with VP9, i have been waiting for it with high hopes.
But i canīt say i am impressed, but i still have a bit of hope
zerowalker is offline   Reply With Quote
Old 8th July 2013, 00:17   #230  |  Link
MoSal
Registered User
 
Join Date: Jun 2013
Posts: 95
Quote:
Originally Posted by zerowalker View Post
Yes.

I see, well is it that big of difference?

I tried to use that, i got a Get_Video_Info file, that was 32kb;S
I see you need more hand-holding.

Assuming you replaced VIDEO_ID with the video id, you will get a file with url-encoded text. You need to escape/unquote the text (you might need to do that twice depending on the method you use for this).

Now, reading the (escaped) text should be easier, search for vp9, then copy the following url (what comes after url=) until and including the signature parameter. That's the video url.
MoSal is offline   Reply With Quote
Old 8th July 2013, 00:41   #231  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
Yes indeed.

Never done this, but i actually got it to work!
Much thanks to you!
zerowalker is offline   Reply With Quote
Old 8th July 2013, 04:11   #232  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
Okay i tested myself, so here is a picture from the same source, which was lossless, and i encoded in vp9 1 pass -good -target 1000bitrate (but it was 300bitrate in the end for some reason)
So the x264 encode was 2 pass and 300bitrate, default slower preset.

The difference is significant, itīs night and day
And hopefully, i did things right.

EDIT: Forgot, the x264 i encoded is 10bit, so it has a bit of advantage there, especially as this is a dark clip.
Attached Images
  

Last edited by zerowalker; 8th July 2013 at 04:15.
zerowalker is offline   Reply With Quote
Old 8th July 2013, 04:32   #233  |  Link
vivan
/人 ◕ ‿‿ ◕ 人\
 
Join Date: May 2011
Location: Russia
Posts: 643
Quote:
Originally Posted by zerowalker View Post
And hopefully, i did things right.
I bet defaults are still awful and presets are still broken. Try finding recommended settings, they were somewhere in this thread... They are way better than just --good or --best.
vivan is offline   Reply With Quote
Old 8th July 2013, 21:20   #234  |  Link
BadFrame
Registered User
 
Join Date: Jun 2013
Posts: 98
Quote:
Originally Posted by zerowalker View Post
Okay i tested myself, so here is a picture from the same source, which was lossless, and i encoded in vp9 1 pass -good -target 1000bitrate (but it was 300bitrate in the end for some reason)
So the x264 encode was 2 pass and 300bitrate, default slower preset.
Why did you do 1 pass in vp9 (particularly when you did two pass in the x264 test)? As far as I know it's very dependant on two-pass for quality.

For my vp9 tests I used settings I picked up on the webm mailing list which I recall some dev said is what they are typically using:

vpxenc --best --cpu-used=0 --threads=0 --profile=0 --lag-in-frames=25 --min-q=0 --max-q=63 --end-usage=vbr --auto-alt-ref=1 --passes=2 --kf-max-dist=9999 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 --minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5 --arnr-type=3 --sharpness=0 --undershoot-pct=100 --codec=vp9 --target-bitrate=BITRATE -o <output video> <input video>
BadFrame is offline   Reply With Quote
Old 8th July 2013, 22:40   #235  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
I didnīt do a precise test, it was just more to check if it is noticable at all.

And with that encoding i did, x264 had alot of advantages. 2Pass and 10 Bit, and it still looked way worse than VP9.

Which means, x264 will look even worse with the same settings as vp9 right?


And if i did use 2 pass, it would have taken like 5 hours, for 2 secs, which isnīt that great;P
will have to wait till they improve it to atleast 1fps and not 0.005


EDIT: Also, is there a directshow filter/decoder for vp9?
As i need to watch in chrome, which is not that nice.
zerowalker is offline   Reply With Quote
Old 9th July 2013, 01:47   #236  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
Quote:
Originally Posted by zerowalker View Post
Okay i tested myself, so here is a picture from the same source, which was lossless, and i encoded in vp9 1 pass -good -target 1000bitrate (but it was 300bitrate in the end for some reason)
So the x264 encode was 2 pass and 300bitrate, default slower preset.
Given the speed differences, I think --preset placebo would have been appropriate for an even faintly apples-apples comparison .

--tune film may have also helped with that content.

Can you share the full x264 command line you used? The quality seems less than it should be for even that bitrate, unless there is a crazy lot of motion or something.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 9th July 2013, 01:52   #237  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
True, but i really doubt it would make a real difference.
Tune Film might though.

here: program --preset slower --pass 2 --bitrate 300 --stats ".stats" --output "output" "input"

It was a lot of movement i guess, it was a third person game, and i looked right and left about there (was scared from something and panicked;P).

I can give the original lossless clip if you want.


EDTI:

Added anyway: http://www.sendspace.com/file/embffb

VP9 file, encoded with the settings got from some posts before, though 1 pass, (donīt know how to get 2 pass working).
And also the lossless clip is there.

Last edited by zerowalker; 9th July 2013 at 01:58.
zerowalker is offline   Reply With Quote
Old 9th July 2013, 02:01   #238  |  Link
BadFrame
Registered User
 
Join Date: Jun 2013
Posts: 98
Quote:
Originally Posted by zerowalker View Post
Which means, x264 will look even worse with the same settings as vp9 right?
I still think it's important to strive for as similar settings as possible when doing comparisons, which typically means going for the best each encoder has to offer.

Quote:
Originally Posted by zerowalker View Post
And if i did use 2 pass, it would have taken like 5 hours, for 2 secs, which isnīt that great;P
The first pass in VP9 two pass encode is MUCH MUCH faster than the second one, they're not remotely comparable, first pass only gathers information on the file, it's the second pass where it encodes that gets super slow.

Quote:
Originally Posted by zerowalker View Post
EDIT: Also, is there a directshow filter/decoder for vp9?
As i need to watch in chrome, which is not that nice.
I have no idea, I re-encoded the resulting webm file to a x264 file with --crf 0 (lossless) to check the end result.
BadFrame is offline   Reply With Quote
Old 9th July 2013, 13:21   #239  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
Quote:
Originally Posted by zerowalker View Post
Okay i tested myself, so here is a picture from the same source, which was lossless, and i encoded in vp9 1 pass -good -target 1000bitrate (but it was 300bitrate in the end for some reason)
So the x264 encode was 2 pass and 300bitrate, default slower preset.

The difference is significant, itīs night and day
And hopefully, i did things right.

EDIT: Forgot, the x264 i encoded is 10bit, so it has a bit of advantage there, especially as this is a dark clip.
What in the world are you doing compressing 1920x1080 high detail game footage at 300kbps? This is the same kind of retarded testing Google did to prove VP9's superiority, if my memory serves me right.
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 9th July 2013, 18:01   #240  |  Link
BadFrame
Registered User
 
Join Date: Jun 2013
Posts: 98
I decided to re-do zerowalker's tests at higher bitrates, I also re-did the 300 bitrate test.

VP9 used the same settings I posted above (lifted from the webm mailing list) and is 2 pass.

For x264 I used --preset=placebo and --tune=film (as per benwaggoner's suggestion) and 2 pass.

I encoded at the following bitrates: 300, 1000 and 2000.

VP9 300 bits:
http://img24.imageshack.us/img24/9178/nklw.png
http://img811.imageshack.us/img811/593/exk1.png

VP9 1000 bits:
http://img441.imageshack.us/img441/2787/lhf.png
http://img19.imageshack.us/img19/3884/ysyz.png

VP9 2000 bits:
http://img28.imageshack.us/img28/406/akn8.png
http://img856.imageshack.us/img856/7550/x9i.png

x264 300 bits:
http://img841.imageshack.us/img841/4861/vi2z.png
http://img600.imageshack.us/img600/4782/qbqo.png

x264 1000 bits:
http://img7.imageshack.us/img7/9409/1n2k.png
http://img829.imageshack.us/img829/221/2v7.png

x264 2000 bits:
http://img585.imageshack.us/img585/6510/cghv.png
http://img580.imageshack.us/img580/3185/n6k.png

With this specific high definition content, and at these bitrates, VP9 certainly came out the clear winner.

I'll try uploading the resulting files to sendspace or something in a couple of minutes.

edit: here are the files http://www.sendspace.com/file/0quq36

Last edited by BadFrame; 9th July 2013 at 18:30.
BadFrame is offline   Reply With Quote
Reply

Tags
google, ngov, vp8, vp9, vpx, webm

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 10:35.


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