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 9th October 2018, 22:56   #1101  |  Link
Mr_Khyron
Member
 
Mr_Khyron's Avatar
 
Join Date: Nov 2002
Location: Sweden
Posts: 76
AV1 4k sample

There are some 4K AV1 samples to download here
https://www.elecard.com/videos
I can play them with MPC-HC 1.8.3 and LAV Filters 0.73.0-1

Last edited by Mr_Khyron; 9th October 2018 at 22:59.
Mr_Khyron is online now   Reply With Quote
Old 9th October 2018, 23:19   #1102  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,441
Quote:
Originally Posted by Mr_Khyron View Post
I can play them with MPC-HC 1.8.3 and LAV Filters 0.73.0-1
And your CPU is ?
__________________
Win 10 x64 (17763.55) - Core i3-4170/ iGPU HD 4400 (v.5058)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 10th October 2018, 05:08   #1103  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 2,586
Quote:
Originally Posted by Mr_Khyron View Post
There are some 4K AV1 samples to download here
https://www.elecard.com/videos
I can play them with MPC-HC 1.8.3 and LAV Filters 0.73.0-1
Including the UHD clips?

Also, does anyone know if the sources for those clips are available? This would be a great chance to do some apples-to-apples comparisons!
__________________
Ben Waggoner
Principal Video Specialist, Amazon Instant Video

My Compression Book

Amazon Instant Video is hiring! PM me if you're interested.

Last edited by benwaggoner; 10th October 2018 at 05:09. Reason: Left out second point.
benwaggoner is offline   Reply With Quote
Old 10th October 2018, 08:22   #1104  |  Link
Mr_Khyron
Member
 
Mr_Khyron's Avatar
 
Join Date: Nov 2002
Location: Sweden
Posts: 76
Quote:
Originally Posted by NikosD View Post
And your CPU is ?
Quote:
Originally Posted by benwaggoner View Post
Including the UHD clips?

Also, does anyone know if the sources for those clips are available? This would be a great chance to do some apples-to-apples comparisons!
My Cpu is a Ryzen 1700 and when i play the UHD clips all cores are at %40 and i get between 8-16 fps
Mr_Khyron is online now   Reply With Quote
Old 10th October 2018, 08:26   #1105  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 2,586
Quote:
Originally Posted by Mr_Khyron View Post
My Cpu is a Ryzen 1700 and when i play the UHD clips all cores are at %40 and i get between 8-16 fps
Ah! Not at real-time then.
__________________
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 10th October 2018, 08:42   #1106  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,385
For the record my i9-7900X@4.5G can play those Elecard UHD clips in realtime with libaom through LAV Filters (achieves ~33 fps on the 22mbit clip, the clip is 25 fps). Considering the state of the multi-threading in libaom, the 10 cores aren't really doing me any good, so it must be the relatively high clock I have it running at, and full AVX2.

Judging by these results, and the limited number of threads it uses now, with proper threading and more optimizations, I have no doubt that such clips would run fine on 2018/19 mainstream CPUs (ie. decently clocked quadcores with AVX2 and above), once the decoders are fully done. Of course the highest clip they had was 22mbit only, but considering AV1 is more likely to become a web format then a optical disc format, extremely high bitrates are probably going to remain very rare.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 10th October 2018 at 08:44.
nevcairiel is online now   Reply With Quote
Old 10th October 2018, 08:47   #1107  |  Link
GTPVHD
Registered User
 
Join Date: Mar 2008
Posts: 235
https://ark.intel.com/products/18660...p-to-5-00-GHz-

Hopefully someone can test the 9900K soon.
GTPVHD is offline   Reply With Quote
Old 10th October 2018, 11:32   #1108  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 510
Quote:
Originally Posted by Mr_Khyron View Post
My Cpu is a Ryzen 1700 and when i play the UHD clips all cores are at %40 and i get between 8-16 fps
A dummy's question - may one enquire : I have mpc-hc, how to I tell the fps ? I see it stutters at the higher bitrates but am unsure how you measure "i get between xx-yy fps" ? (yes I have "View Statistics" ticked)

Last edited by hydra3333; 10th October 2018 at 11:35.
hydra3333 is offline   Reply With Quote
Old 10th October 2018, 17:15   #1109  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,441
Quote:
Originally Posted by GTPVHD View Post
https://ark.intel.com/products/18660...p-to-5-00-GHz-

Hopefully someone can test the 9900K soon.
What did you mean ?
Intel has already paid a company for misleading benchmarks.

Crooks...They should pay a huge penalty for these dirty, low tricks.
https://www.techspot.com/article/172...0k-benchmarks/
__________________
Win 10 x64 (17763.55) - Core i3-4170/ iGPU HD 4400 (v.5058)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all

Last edited by NikosD; 10th October 2018 at 17:19.
NikosD is offline   Reply With Quote
Old 11th October 2018, 00:33   #1110  |  Link
Nintendo Maniac 64
Registered User
 
Nintendo Maniac 64's Avatar
 
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 338
Quote:
Originally Posted by hydra3333 View Post
A dummy's question - may one enquire : I have mpc-hc, how to I tell the fps ? I see it stutters at the higher bitrates but am unsure how you measure "i get between xx-yy fps" ? (yes I have "View Statistics" ticked)
To be honest, I don't really know how to do so either, so I do it the manual way via trial and error - I import the videostream into mkvtoolnix, set the frame rate to something (like 20p), export to an mkv with the new framerate, and then see if can playback this new mkv smoothly without any stutter.

If it does stutter, then I do the exact same process again but with a lower framerate (like 15p).

If it plays without any stutter, then I still do the exact same process again but with a higher framerate.


I keep doing this trial-and-error process until I find the highest framerate that doesn't result in any stuttering (note that I only use integer fps values though, like 24p, 25p, 26p, etc - testing fractional framerates as well would be WAY too time consuming with this method).

This method does have the benefit however of working on any media player or browser or the like.


And yes, technically without using a variable refresh rate display or a bajillion different custom resolutions, you're going to always have some visual stutter due to many of the the tested framerates not being an exact multiple of your display's refresh rate, but the sort of stuttering caused by inadequate video decoder performance tends to be way worse than any sort of telecine judder or the like.
Nintendo Maniac 64 is offline   Reply With Quote
Old 11th October 2018, 02:34   #1111  |  Link
olduser217
Registered User
 
Join Date: Jun 2015
Posts: 17
https://code.fb.com/video-engineerin...s-av1-support/

Facebook is working on to add AV1 support too.
The browsers that supported AV1 is able to play the AV1 version of embedded video (but highest resolution only 360p).
olduser217 is offline   Reply With Quote
Old 11th October 2018, 03:50   #1112  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 2,586
Quote:
Originally Posted by Nintendo Maniac 64 View Post
To be honest, I don't really know how to do so either, so I do it the manual way via trial and error - I import the videostream into mkvtoolnix, set the frame rate to something (like 20p), export to an mkv with the new framerate, and then see if can playback this new mkv smoothly without any stutter.

If it does stutter, then I do the exact same process again but with a lower framerate (like 15p).

If it plays without any stutter, then I still do the exact same process again but with a higher framerate.
That's a pretty good process given the tools available today.

I do note that it might somewhat underestimate SW decoder performance requirements for real-world content significantly.

Slowing down 60p to 30p will result in a stream that may be easier to decode than the same content natively captured at 30p. This is because twice as much motion happens between 30p frames, so there's more prediction and motion vectors per frame to process. Also, the bitrate will drop by half in a 60-30 conversion, when real-world a 30p might be 70-80% the bitrate of a 60p for the same spatial quality (since twice as much change per frame is being captured).

Of course, if real-world decoder characteristics are understood, rate control techniques like VBV can cap the worst-case decoding times, although at the potential risk of capping maximum quality for difficult segments. We got a little spoiled from the last decade-ish of relatively ubiquitous H.264 HW decoding .
__________________
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 11th October 2018, 09:45   #1113  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 29
Code:
ffmpeg -benchmark -i Stream2_AV1_4K_22.7mbps.webm -f null -
Video: wrapped_avframe, yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
frame= 3604 fps= 16 q=-0.0 Lsize=N/A time=00:02:24.16 bitrate=N/A speed=0.622x
bench: utime=1069.000s stime=12.891s rtime=231.970s
bench: maxrss=856880kB
Since the video was 25 fps, in benchmark give that my PC is only capable to decode at 15-16 fps (speed=0.622x) at with this 22.7mbps video.

CPU: Intel Core i7-8550U
Decoder: ffmpeg-20181007-0a41a8b-win64 - libaom-av1 1.0.0-691-gbb8157b89
__________________
AV1 win64 VS2017 builds
Last build here | History
I also open source the build scripts at Github: here

Last edited by marcomsousa; 11th October 2018 at 12:31.
marcomsousa is offline   Reply With Quote
Old 11th October 2018, 11:51   #1114  |  Link
MoSal
Registered User
 
Join Date: Jun 2013
Posts: 74
Code:
frame= 3604 fps= 26 q=-0.0 Lsize=N/A time=00:02:24.16 bitrate=N/A speed=1.02x
CPU: Intel Core i7-7700k (60-65% utilization).
Decoder: libaom (1.0.0.r749.g955242e6a6, -DCONFIG_LOWBITDEPTH=1).
__________________
saldl: a command-line downloader optimized for speed and early preview.
MoSal is offline   Reply With Quote
Old 11th October 2018, 12:26   #1115  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 510
Cough,
Code:
frame= 3604 fps= 14 q=-0.0 Lsize=N/A time=00:02:24.16 bitrate=N/A speed=0.577x
bench: utime=1170.531s stime=6.344s rtime=249.925s
bench: maxrss=852156kB
CPU: Intel i7-i3820
Decoder: ffmpeg version a day or two old, N-92147-gf85fa100db ; libaom 1.0.0-708-gdf7131064 commit df7131064bf37fb5c7ee427ba564c31a2ed8bbbe (the one before it conflicts with libvpx) without DCONFIG_LOWBITDEPTH
Commandline: "ffmpeg.exe" -benchmark -i Stream2_AV1_4K_22.7mbps.webm -f null -

Last edited by hydra3333; 11th October 2018 at 12:31.
hydra3333 is offline   Reply With Quote
Old 11th October 2018, 13:07   #1116  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 29
Youtube already support AV1 when upload videos.

Quote:
Then I uploaded (av1 video) to YouTube, the results:

YouTube successfully recognized the video and re-encoded it to h.264 and VP9.

YouTube did not display the original in AV1 and dit also not re-encode to AV1.
Source
__________________
AV1 win64 VS2017 builds
Last build here | History
I also open source the build scripts at Github: here
marcomsousa is offline   Reply With Quote
Old 11th October 2018, 13:58   #1117  |  Link
Pushman
Registered User
 
Join Date: Nov 2017
Posts: 4
Code:
frame= 3604 fps= 11 q=-0.0 Lsize=N/A time=00:02:24.16 bitrate=N/A speed=0.435x
ffmpeg version N-92132-g0a41a8bf29 Copyright (c) 2000-2018 the FFmpeg developers
[libaom-av1 @ 000001d804fecb00] 1.0.0-691-gbb8157b89

CPU: Intel i3-4170

Last edited by Pushman; 11th October 2018 at 14:03.
Pushman is offline   Reply With Quote
Old 11th October 2018, 14:17   #1118  |  Link
clsid
Registered User
 
Join Date: Feb 2005
Posts: 4,824
GraphStudioNext has a performance test feature which can be used to measure how many fps a DirectShow decoder can deliver.
clsid is offline   Reply With Quote
Old 11th October 2018, 15:24   #1119  |  Link
Clare
Registered User
 
Join Date: Apr 2016
Posts: 58
Does aomenc support multithread yet? I have tile-columns=4 and row-mt=1 but it still only using 1 core.
Clare is offline   Reply With Quote
Old 11th October 2018, 15:38   #1120  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 29
Quote:
Originally Posted by Clare View Post
Does aomenc support multithread yet? I have tile-columns=4 and row-mt=1 but it still only using 1 core.
you forget --threads=8?

Code:
aomenc -v -w 1920 -h 1080 --cpu-used=0 --target-bitrate=1500 --threads=8 --profile=0 --aq-mode=0 --lag-in-frames=25 --auto-alt-ref=1 --tile-columns=4 --row-mt=1 -o test15.webm test1.y4m
This use all CPU.

Tune to you logical cores.
__________________
AV1 win64 VS2017 builds
Last build here | History
I also open source the build scripts at Github: here
marcomsousa 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 16:27.


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