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 3rd May 2020, 07:45   #2141  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 80
Quote:
Originally Posted by marcomsousa View Post
Libaom have a new branch applejack some people are saying that this is for Libaom 2.0? Anyone know anything about this?

Marco Sousa
OK, so this branch is new branch from master some time ago, to make it stable and release libaom 2.0.0

https://bugs.chromium.org/p/aomedia/...detail?id=2545
__________________
AV1 win64 VS2019 builds
Last build here
marcomsousa is offline   Reply With Quote
Old 3rd May 2020, 12:57   #2142  |  Link
Beelzebubu
Registered User
 
Join Date: Feb 2003
Location: New York, NY (USA)
Posts: 109
Quote:
Originally Posted by Selur View Post
Is there an alternative to https://aomedia.googlesource.com/aom.../noise_model.c to build a film grain table for aomenc?
Preferably something that does only support humongous raw yuv files as input.
Having to:
1. create a raw yuv file from the source and from a denoised version of the source
2. create the film grain table with noise_model
(3. encode using the film grain table)
just seems like too much pain for this to be usable for anything but small samples.

So does anyone know a better tool or a better workflow to create the filmgrain tables? (may be a modified ffmpeg version?)

Cu Selur
aomenc --denoise-noise-level= does the same as a FFT denoiser + examples/noise_model + aomenc --film-grain-table=.
Beelzebubu is offline   Reply With Quote
Old 3rd May 2020, 15:20   #2143  |  Link
Scope
Registered User
 
Join Date: Feb 2020
Posts: 13
AVIF (AV1 Image File Format): experimental support
https://bugzilla.mozilla.org/show_bug.cgi?id=1625363

Firefox 77.0a1 (2020-05-03)
https://i.imgur.com/uonsh58.png
https://i.imgur.com/5awSd0t.png
Scope is offline   Reply With Quote
Old 3rd May 2020, 21:11   #2144  |  Link
Tadanobu
Registered User
 
Join Date: Sep 2019
Posts: 37
Quote:
Originally Posted by Beelzebubu View Post
aomenc --denoise-noise-level= does the same as a FFT denoiser + examples/noise_model + aomenc --film-grain-table=.
Are you sure ? I thought --denoise-noise-level adds the same amount everywhere while the film grain table would calculate how much it adds for each frame/scene.
Tadanobu is offline   Reply With Quote
Old 4th May 2020, 13:54   #2145  |  Link
Beelzebubu
Registered User
 
Join Date: Feb 2003
Location: New York, NY (USA)
Posts: 109
Quote:
Originally Posted by Tadanobu View Post
Are you sure ?
Yes.

Quote:
I thought --denoise-noise-level adds the same amount everywhere while the film grain table would calculate how much it adds for each frame/scene.
That depends on the film grain table in the input argument. But generally speaking, if the film grain table was generated using examples/noise_model, then it invokes the exact same code as --denoise-noise-level= for film grain table generation.
Beelzebubu is offline   Reply With Quote
Old 4th May 2020, 16:45   #2146  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Thanks for the info.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 5th May 2020, 01:34   #2147  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Can I get FFmpeg with all AV1 encoders?
It seems like media autobuilds is something like that, but it also looks like a worthless POS. Spams me with a hundred questions (with stuff I don't care for maybe don't even know what they are) only to fail at the first step of trying to do anything.

What I mainly want is ffmpeg with all AV1, HEVC encoders. (and maybe other non-free good codecs)

Last edited by mzso; 5th May 2020 at 01:49.
mzso is offline   Reply With Quote
Old 5th May 2020, 03:46   #2148  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by mzso View Post
Can I get FFmpeg with all AV1 encoders?
It seems like media autobuilds is something like that, but it also looks like a worthless POS. Spams me with a hundred questions (with stuff I don't care for maybe don't even know what they are) only to fail at the first step of trying to do anything.

What I mainly want is ffmpeg with all AV1, HEVC encoders. (and maybe other non-free good codecs)
media-autobuild-suite is the only way to get it I know of other than finding someone who's already made a binary. That said, media-autobuild-suite has something wrong that keeps it from fully building about 85% of the time....
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 5th May 2020, 07:59   #2149  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
MABS allows you to configure the set of linked codec libraries with a file build/ffmpeg_options.txt where all known supported options are listed, grouped and partially disabled due to known issues or your choice to disable codecs during your configuration of MABS as a whole (stored in build/media-autobuild_suite.ini).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 5th May 2020, 10:11   #2150  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Quote:
Originally Posted by benwaggoner View Post
media-autobuild-suite is the only way to get it I know of other than finding someone who's already made a binary. That said, media-autobuild-suite has something wrong that keeps it from fully building about 85% of the time....
I only got to:
Code:
- Download and install msys2 basic system

-------------------------------------------------------------------------------
-------------------------------------------------------------------------------

- Downloading and unpacking msys2 basic system

-------------------------------------------------------------------------------
The Win32 internal error "Egy rendszerhez csatlakoztatott eszköz nem működik" 0x1F occurred while writing to the console output buffer at
 the current cursor position. Contact Microsoft Customer Support Services.

'7za' is not recognized as an internal or external command,
operable program or batch file.
Even though nothing is specified as requirement besides OS, RAM/diskspace and Powershell.

At the very fist step it actually tries to do something, after wasting me a quarter hour asking questions for nothing.
mzso is offline   Reply With Quote
Old 5th May 2020, 22:41   #2151  |  Link
Rumbah
Registered User
 
Join Date: Mar 2003
Posts: 480
Did you enable Powershell script execution?
Rumbah is offline   Reply With Quote
Old 5th May 2020, 23:03   #2152  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
For non-free codes you have to build it yourself then, because the resultant binary will be unredistributable. Anyone distributes that binary (like what Patman is doing) is illegal.
Which codec?
stax76 is offline   Reply With Quote
Old 6th May 2020, 10:45   #2153  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Quote:
Originally Posted by Rumbah View Post
Did you enable Powershell script execution?
I don't know what that entails. I ran the .bat in powershell.
mzso is offline   Reply With Quote
Old 6th May 2020, 16:25   #2154  |  Link
Rumbah
Registered User
 
Join Date: Mar 2003
Posts: 480
Quote:
Originally Posted by mzso View Post
I don't know what that entails. I ran the .bat in powershell.
Then that might be the problem. Nowadays Powershell blocks scripts by default. And the bat file calls a .ps1 script.

You can test it by calling
Code:
Get-ExecutionPolicy
in Powershell.

If it says restricted you have to change it.

You have to open a Powershell window as Administrator and set the policy to unrestricted with
Code:
Set-ExecutionPolicy Unrestricted
Then you can close it and try to start them MABS bat again. (I just tested MABS and on the first run it got stuck but closing it and then starting it again it downloaded everything and worked)

You can set the setting back to restricted in an admin shell by
Code:
Set-ExecutionPolicy Restricted
But generally you don't have to worry much as this whole blocking thing is no security feature. There are many ways to circumvent it and it's more for admins to not hurt themselves by accident.


PS: If you only build for yourself you can try replacing "-mtune=generic" with "-march=native" in media-autobuild_suite.bat to optimize for your CPU.
Rumbah is offline   Reply With Quote
Old 8th May 2020, 07:57   #2155  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,752
Quote:
Originally Posted by hajj_3 View Post
MPC-HC v1.5.5
Are you sure? My current version is 1.9.2, released by clsid.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 8th May 2020, 09:32   #2156  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,120
Quote:
Originally Posted by LigH View Post
Are you sure? My current version is 1.9.2, released by clsid.
oh, i mean't MPC-BE, sorry about that.
hajj_3 is offline   Reply With Quote
Old 10th May 2020, 23:46   #2157  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 80
If you don't want to compile your self ffmpeg and all you have already here a docker image with that: https://hub.docker.com/r/singhkays/ffmpeg-av1-libaom (updated every day)
Quote:
ARG nasm_version=2.14.02
ARG x264_version=master
ARG x265_version=3.2.1
ARG libvpx_version=v1.8.2
ARG fdk_aac_version=v2.0.1
ARG lame_version=3.100
ARG opus_version=v1.3.1
ARG libaom_version=master
ARG vmaf_version=v1.3.15
ARG ffmpeg_version=4.2.2
If you want to compile you self you have here the script: https://github.com/singhkays/docker-...ter/Dockerfile (Ubuntu Bionic)
__________________
AV1 win64 VS2019 builds
Last build here
marcomsousa is offline   Reply With Quote
Old 11th May 2020, 14:37   #2158  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Quote:
Originally Posted by Rumbah View Post
Then that might be the problem. Nowadays Powershell blocks scripts by default. And the bat file calls a .ps1 script.

You can test it by calling
Code:
Get-ExecutionPolicy
in Powershell.

If it says restricted you have to change it.

You have to open a Powershell window as Administrator and set the policy to unrestricted with
Code:
Set-ExecutionPolicy Unrestricted
Then you can close it and try to start them MABS bat again. (I just tested MABS and on the first run it got stuck but closing it and then starting it again it downloaded everything and worked)

You can set the setting back to restricted in an admin shell by
Code:
Set-ExecutionPolicy Restricted
But generally you don't have to worry much as this whole blocking thing is no security feature. There are many ways to circumvent it and it's more for admins to not hurt themselves by accident.


PS: If you only build for yourself you can try replacing "-mtune=generic" with "-march=native" in media-autobuild_suite.bat to optimize for your CPU.
I did that. It still failed at the first step with the same error:
Code:
PS E:\autobuild\media-autobuild_suite-master_2020-05-02> .\media-autobuild_suite.bat
-------------------------------------------------------------------------------

- Download and install msys2 basic system

-------------------------------------------------------------------------------
-------------------------------------------------------------------------------

- Downloading and unpacking msys2 basic system

-------------------------------------------------------------------------------
The Win32 internal error "Egy rendszerhez csatlakoztatott eszköz nem működik" 0x1F occurred while writing to the cons
ole output buffer at the current cursor position. Contact Microsoft Customer Support Services.

'7za' is not recognized as an internal or external command,
operable program or batch file.
PS E:\autobuild\media-autobuild_suite-master_2020-05-02>
mzso is offline   Reply With Quote
Old 11th May 2020, 20:44   #2159  |  Link
Greenhorn
Registered User
 
Join Date: Apr 2018
Posts: 61
I've experienced the same problem in the past.

Either it's got an invisible dependency on 7Zip, or it's trying to download MinGW and failing, without retrying on failure.
Greenhorn is offline   Reply With Quote
Old 13th May 2020, 16:22   #2160  |  Link
Rumbah
Registered User
 
Join Date: Mar 2003
Posts: 480
Quote:
Originally Posted by mzso View Post
I did that. It still failed at the first step with the same error:
Code:
PS E:\autobuild\media-autobuild_suite-master_2020-05-02> .\media-autobuild_suite.bat
-------------------------------------------------------------------------------

- Download and install msys2 basic system

-------------------------------------------------------------------------------
-------------------------------------------------------------------------------

- Downloading and unpacking msys2 basic system

-------------------------------------------------------------------------------
The Win32 internal error "Egy rendszerhez csatlakoztatott eszköz nem működik" 0x1F occurred while writing to the cons
ole output buffer at the current cursor position. Contact Microsoft Customer Support Services.

'7za' is not recognized as an internal or external command,
operable program or batch file.
PS E:\autobuild\media-autobuild_suite-master_2020-05-02>
Are you on a NTFS drive? You need NTFS.

If that does not help just open a github issue with the required log files. They help pretty fast.
Rumbah 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 12:47.


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