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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th July 2013, 20:21   #281  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
Alright, well tried it, with some modifications, and well went pretty much the same as before.
Took along time to compile though.

And well, it became less in size, guess thanks to no vp8.

But damn, i still get the artifact problem.

4 frames work, then the rest is just blended colors in a mess:S
zerowalker is offline   Reply With Quote
Old 13th July 2013, 20:40   #282  |  Link
easyfab
Registered User
 
Join Date: Jan 2002
Posts: 332
Problably a latest commit broke something.

If you want to build an old version you can do a :
git checkout <HASH>
for <HASH> you need to know the commit hash look here http://git.chromium.org/gitweb/?p=webm/libvpx.git under commit (h=XXX)
or git checkout HEAD~<number>
for example HEAD~20 gives you an old version of 20 commits back
easyfab is offline   Reply With Quote
Old 13th July 2013, 21:57   #283  |  Link
BadFrame
Registered User
 
Join Date: Jun 2013
Posts: 98
Quote:
Originally Posted by Rumbah View Post
You need --passes=2 --pass=1 for first pass and --passes=2 --pass=2 for second pass.
Hmm... all I do is set --passes=2 and the encoder does two passes automatically without me having to do anything (no --pass x needed), the first pass is fast and the second pass (where it does the actual encoding) is very slow.

You can see which pass it's on when it's encoding as it is displayed with the current frame:

Pass 1/2 frame x
...
Pass 2/2 frame x
BadFrame is offline   Reply With Quote
Old 14th July 2013, 09:21   #284  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
Probably, if someone could test the latest commit, just encode like 10 frames, and watch it with chrome (you can watch while encoding, though itīs FPS isnīt correct so it plays to fast, but you see the artifacts anyway).

Quote:
Hmm... all I do is set --passes=2 and the encoder does two passes automatically without me having to do anything (no --pass x needed), the first pass is fast and the second pass (where it does the actual encoding) is very slow.
I think i have seen that as well, not actually sure though. However i havenīt seen any "stats" file being created.
zerowalker is offline   Reply With Quote
Old 14th July 2013, 16:11   #285  |  Link
BadFrame
Registered User
 
Join Date: Jun 2013
Posts: 98
Quote:
Originally Posted by zerowalker View Post
I think i have seen that as well, not actually sure though. However i havenīt seen any "stats" file being created.
Well here is how I understand it, when you use '--passes 2' without specifying a '--pass X', there is no need for a 'statistics' file as the whole 2 pass encode is done in 'one go' (in other words, the encoder doesn't exit after a pass).

And in this 'mode' the statistics which would normally be stored in a file (-fpf=<file>) during the first pass is instead stored in allocated memory and from there used in the automatically started second pass.

If you specify a pass using '--pass N' however, it will exit after each pass and store the statistics in the file you specify using '--fpf=<file>', just the way it works in x264 for example.

I also verified this by encoding a clip using only '--passes=2' and then the same clip using '--pass=1' followed by '--pass=2' and the webm files created where bit identical (confirmed by md5sum).

So in other words, if you have no interest/use of the statistical data generated, you can supply only '--passes=2' (without --pass N) and it will automatically do the two passes after eachother with no manual intervention.
BadFrame is offline   Reply With Quote
Old 17th July 2013, 00:05   #286  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
It seems like what you are saying is true.
Saves a line of code;P

But is anyone able to encode with vp9?
I still get the artifacts.

It seems weird that it still hasnīt been solved, i am starting to suspect something on my side.
zerowalker is offline   Reply With Quote
Old 17th July 2013, 00:53   #287  |  Link
BadFrame
Registered User
 
Join Date: Jun 2013
Posts: 98
Quote:
Originally Posted by zerowalker View Post
But is anyone able to encode with vp9?
I still get the artifacts.

It seems weird that it still hasnīt been solved, i am starting to suspect something on my side.
I did some tests just yesterday with no problems at all.

Given that I have no problems and I am using vpxdec to losslessly decode the vp9 video to watch it rather than use Chrome which you've stated you are using, I dare say that the problem lies with your version of Chrome not being compatible with the vp9 stream generated by the latest vpxenc builds and that this is what is causing problems for you during playback.
BadFrame is offline   Reply With Quote
Old 17th July 2013, 00:56   #288  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
I see, probably true.
But i find it weird, doesnīt a bitstream freeze mean that decoders will be compatible forever with the codec?
zerowalker is offline   Reply With Quote
Old 17th July 2013, 01:28   #289  |  Link
BadFrame
Registered User
 
Join Date: Jun 2013
Posts: 98
Quote:
Originally Posted by zerowalker View Post
I see, probably true.
But i find it weird, doesnīt a bitstream freeze mean that decoders will be compatible forever with the codec?
Yes I suppose it should, however are you sure that the version of Chrome you have includes a version of vp9 that is after the bitstream freeze?
BadFrame is offline   Reply With Quote
Old 17th July 2013, 01:29   #290  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
Pretty sure, itīs the latest Chrome Canary (Test build).

http://www.sendspace.com/file/96oly0

there is a file, see if you can play it

Last edited by zerowalker; 17th July 2013 at 01:38.
zerowalker is offline   Reply With Quote
Old 17th July 2013, 01:40   #291  |  Link
BadFrame
Registered User
 
Join Date: Jun 2013
Posts: 98
Quote:
Originally Posted by zerowalker View Post
Pretty sure, itīs the latest Chrome Canary (Test build).
Hmm... maybe they aren't that gung-ho about keeping the bitstream compability in the middle of development and will instead fix it in time for a final release?

I don't use Chrome so I don't have it installed and thus haven't tried it with VP9, but decoding the vp9 streams with vpxdec works perfectly fine for me.

edit: missed that you added a vp9 file, it decoded just fine and I then encoded it using x264 and it played fine aswell when I watched it.

steps I took if you are interested:

vpxdec --i420 -o i420.mkv dead.webm
x264 --crf 0 --input-res 1920x1080 i420.mkv -output h264.mkv

Last edited by BadFrame; 17th July 2013 at 01:59.
BadFrame is offline   Reply With Quote
Old 17th July 2013, 04:28   #292  |  Link
zerowalker
Registered User
 
Join Date: Jul 2011
Posts: 1,121
That worked great for me aswell.

Weird that they arenīt keeping the decoding of chrome the same, i was sure they had frozen the bitstream last month.
zerowalker is offline   Reply With Quote
Old 17th July 2013, 08:04   #293  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,126
chrome 29 beta is out now btw, vp9 decoding is enabled by default.

Last edited by hajj_3; 17th July 2013 at 10:56.
hajj_3 is offline   Reply With Quote
Old 17th July 2013, 13:08   #294  |  Link
iwod
Registered User
 
Join Date: Apr 2002
Posts: 756
Do VP9 Encoder or the spec adds some pre filter to video and default post filter when playback.

I seems to get a sense of Rmvb 'work in there.
iwod is offline   Reply With Quote
Old 17th July 2013, 13:23   #295  |  Link
Monarc
Registered User
 
Join Date: Jun 2002
Posts: 35
Quote:
Originally Posted by zerowalker View Post
http://www.sendspace.com/file/96oly0
Plays fine ... tested with self compiled mpv (linux)
Monarc is offline   Reply With Quote
Old 17th July 2013, 23:22   #296  |  Link
Nintendo Maniac 64
Registered User
 
Nintendo Maniac 64's Avatar
 
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 447
Quote:
Originally Posted by BadFrame View Post
I don't use Chrome so I don't have it installed and thus haven't tried it with VP9
I don't have Chrome installed either but you can use this instead which doesn't require installation (the "installer" is just a fancy archive unpacker):
http://portableapps.com/apps/interne...hrome_portable

Scroll down for the beta versions.

The only thing missing is the auto-updater service, which depending on the person may actually be a good thing.
Nintendo Maniac 64 is offline   Reply With Quote
Old 18th July 2013, 18:15   #297  |  Link
IgorC
Registered User
 
Join Date: Apr 2004
Posts: 1,315
BTW, some news from Opus codec.
Opus 1.1 beta. A new WebM audio codec (Opus+VP9)
IgorC is offline   Reply With Quote
Old 19th July 2013, 02:04   #298  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
Quote:
Originally Posted by iwod View Post
Do VP9 Encoder or the spec adds some pre filter to video and default post filter when playback.

I seems to get a sense of Rmvb 'work in there.
RMVB, H.264, and VP6 to 9 all have inloop filtering. It's much better than pre or post filtering, but it becomes much more obvious the lower the bitrates go. RMVB and the VP family will more aggressively soften and smooth the video than H.264, but I see a great deal of promise in VP9 despite not having been a fan of previous generations (and the exaggerated claims that went with them).

If vendors don't move quickly on HEVC, VP9 may well steal their thunder for a few years.
foxyshadis is offline   Reply With Quote
Old 20th July 2013, 15:27   #299  |  Link
mandarinka
Registered User
 
mandarinka's Avatar
 
Join Date: Jan 2007
Posts: 729
I doubt that. It's Google who will be moving slowly (as with VP8), because they will probably again be the sole provider of VP9 encoders.

On the other hand, handful companies already announced or even offer H.265 encoders, and the competition is bound to push quality and speed of them up. Basically, it's open environment (somebody might find it paradoxical, but the MPEG stuff really is open in all ways but the royalty requirement).
mandarinka is offline   Reply With Quote
Old 20th July 2013, 19:53   #300  |  Link
BadFrame
Registered User
 
Join Date: Jun 2013
Posts: 98
Quote:
Originally Posted by mandarinka View Post
Basically, it's open environment (somebody might find it paradoxical, but the MPEG stuff really is open in all ways but the royalty requirement).
Not following the 'open environment' argument, there's a HEVC specification and to implement the specification and sell the implementation you need to pay royalites to cover the patent licencing, VP9 afaik is entirely royalty free and also licenced permissively so in terms of 'open environment' it wins hands down there.

I still think you are right as far as the actual result though, given that Google gives away a free fully open source codec which is the 'standard', I think there's very little commercial opportunity to compete.

Compare that to HEVC where it's unlikely to be any quality open source and free offering until the x264 devs get a mature h265 encoder out (go guys go! ), that situation leaves a lot of room for commercial closed source h265 encoders.
BadFrame is offline   Reply With Quote
Reply

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


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


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