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 8th November 2017, 15:44   #341  |  Link
Tommy Carrot
Registered User
 
Tommy Carrot's Avatar
 
Join Date: Mar 2002
Posts: 807
Quote:
Originally Posted by LigH View Post
The ETA will rise the longer I let it ... do whatever it does. Such a speed is ... "concerning", nicely said. And I wonder what the reason could be: Is there a minimum CPU requirement for assembly optimized routines way beyond SSE2? Or is there a possible mis-configuration in the build? Or are the computational efforts so extreme when not capped by a per-frame deadline?

BTW, the low target bitrate of 300 kbps is not the reason, it is just as slow for 3,000. And a deadline goal '--good' did not change the speed either.
You need to play around with "--cpu-used" command. It's basically a speed/quality tradeoff, 8 is the fastest, 0 (the default) is the slowest but is supposed to have the best quality.
Tommy Carrot is offline   Reply With Quote
Old 8th November 2017, 15:52   #342  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 4,885
I do now ... for my hardware, 4 is still a challenge (~10 min for 300 frames CIF). And I guess to watch the result, I still need to decode it to Y4M again...

BTW, what's this hex code at the end of the progress line? A flag for developers, giving hints about the result type and efficiency?
__________________

German doom9 / Gleitz video board
CQME – change the Matrix!
BeSweet 1.5b31 All In One | HeadAC3he 0.24a13

Rémoulade is spoiled

Last edited by LigH; 8th November 2017 at 15:57.
LigH is offline   Reply With Quote
Old 8th November 2017, 22:46   #343  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 2,377
Quote:
Originally Posted by hajj_3 View Post
heif requires licensing h265 patents though which can be expensive. Avif will be patent free, so much better to use that.
HEIF is codec agnostic. It can use JPEG, H.264, HEVC, and it would be trivial to extend to AV1.

I don't have any specific thoughts about how HEVC and AV1 would compare technically as still image codecs.

Also, I would speculate that a lot of the HEVC IP wouldn't apply to still image encoding; so much is around interframe encoding.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Instant Video

My Compression Book

Amazon Instant Video is hiring! PM me if you're interested.
benwaggoner is offline   Reply With Quote
Old 9th November 2017, 20:58   #344  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 4,885
Brief result: Tested --cpu-used 8..4 with rather low speed differences (every run around 10 minutes) and with quite good quality (no really annoying artefacts, except for floating textures). Will postpone further tests here, no immediate relevance for me, personally.
__________________

German doom9 / Gleitz video board
CQME – change the Matrix!
BeSweet 1.5b31 All In One | HeadAC3he 0.24a13

Rémoulade is spoiled
LigH is offline   Reply With Quote
Old 13th November 2017, 18:18   #345  |  Link
bstrobl
Registered User
 
Join Date: Jun 2016
Posts: 21
Facebook has joined as founding member. Guess they want to cut costs on streaming and storing video too.
bstrobl is offline   Reply With Quote
Old 13th November 2017, 18:47   #346  |  Link
cheerow
Registered User
 
Join Date: Jan 2004
Posts: 17
I just did some test encodes with the recent git version. All the now default enabled features (experiments) have massively increased the VMAF score compared to a few months ago. Just judging by VMAF, as flawed as it may be, AV1 is now way above x265.

Also tried some options to speed up encodes. Seems like --cpu-used has very limited effect. Encoder always ran on just one cpu until I supplied --tile-columns=X but that is bugged, only the leftmost columns comes out correctly, the others are basically broken. And even then it doesn't saturate any cpu completely.
cheerow is offline   Reply With Quote
Old 13th November 2017, 21:57   #347  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 685
Quote:
Originally Posted by cheerow View Post
Also tried some options to speed up encodes. Seems like --cpu-used has very limited effect. Encoder always ran on just one cpu until I supplied --tile-columns=X but that is bugged, only the leftmost columns comes out correctly, the others are basically broken. And even then it doesn't saturate any cpu completely.
Well, vpx also has crappy multi-processing which never saturates my cpu, so not really surprising.
Hopefully eventually it'll get decent multi-processing like x264.
mzso is offline   Reply With Quote
Old 13th November 2017, 22:01   #348  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,301
I wouldn't hold your breath. The main use case for AV1 and VP9 is cloud scale distributed encoding which can very happily be single threaded because inputs are broken into small chunks and encoded in parallel across many many many small cloud VMs. Given the availability of a system to do this, it's a much better solution than trying to do per-encode-instance multithreading because it's way simpler and has zero downsides.

Multi-threading is more important for live, and for desktop encoding.
Blue_MiSfit is offline   Reply With Quote
Old 13th November 2017, 22:19   #349  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 4,885
The more complex an algorithm, the more probable are dependencies between intermediate results, the less probable is optimal parallelizability...
__________________

German doom9 / Gleitz video board
CQME – change the Matrix!
BeSweet 1.5b31 All In One | HeadAC3he 0.24a13

Rémoulade is spoiled
LigH is offline   Reply With Quote
Old Yesterday, 10:22   #350  |  Link
bstrobl
Registered User
 
Join Date: Jun 2016
Posts: 21
IETF 100: https://www.youtube.com/watch?v=_wRLR8ypCg0
bstrobl 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 00:53.


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