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 > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th October 2018, 23:15   #3221  |  Link
Zetti
Registered User
 
Join Date: Dec 2015
Posts: 305
MKVToolNix v28.2.0 is released.
Zetti is offline   Reply With Quote
Old 26th October 2018, 21:28   #3222  |  Link
Revan654
Registered User
 
Revan654's Avatar
 
Join Date: May 2004
Posts: 324
Release 2.0

Quote:
- Tweaked the Temp Folder Creator & Path.
- Removed some old Code, That wasn't doing anything anymore.
- AVSMeter has Been Updated to 2.8.6.
- Updated eac3to, fdkaac & qaac.
- Both FFMPEG and MPV now use custom Builds instead of the normal default build(Which Fully Supports VapourSynth).
- FFMPEG & Shared dll Files has been Updated to 20181026
- MPV has been Updated to 20181026
- Added Limited Support for VS in MPV(Requires VSPipe).
- nnedi3 for AVS has Been Updated to 0.9.4
- FFMPEG, x264, x265 & MPV are now compiled Using GCC ToolChain instead of MVS.
- x264 has Been Updated to 2935
- x265 has Been Updated to 2.9+2
- Python Search Path has been Updated to 3.7/3.7.1 & Python 3.6 has been Removed.
- Also Included Support for Anaconda3.
- The VapourSynth Script has been slightly altered to work better with Python Search Path.
- VS has been Updated to R45.
- MKVToolNix Updated to 28.2.0.7
- Updated the Update Script to Support additional HTML Protocols, due to the changes on the website.
- Added hnwvsfunc for VS & mClean to Context Menu.
- Cleaned up the AVS Filter Names.
- Added MultiSharpen Function
- Modified the Profile List for x265, Only Profiles that work with Current Selected Depth with Display.
- Removed any 8Bit x265 that no Longer used with 2.9(Based on: https://x265.readthedocs.io).
- Moved Some Extra Functions to the System Process.
- Custom Directory Output Option has been Added to StaxRip Thumbnail Creator & MTN. It's Default Directory is the last Used Location. If none is known it defaults to C Drive(Fresh Install)
- Added support for Long Path Aware(Make Sure to Enable it If your OS Supports it)
- Fixed any Issues for very Short filenames being converted to wrong type.
- Removed MediaInfo 18.08.1 Due to Bugs it contains and Re-Added MediaInfo 18.05.
- Added More Support for HDR to Intel Encoder.
- VS Filters Added: W3FDIF, MiniDeen, IT, TDeintMod, vcfreq, vcmove & TemporalMedian.
- Updated mvtools-sf to AVX, The latest Builds only use AVX2 which not all CPU's Support.
- Added Support for RawSourcePlus for Avisynth and RawSource for VapourSynth. Default Pixel_type is set to YUV420P10 (aka P010).
- Dual Package Setup for x264 have been Removed for Single release x264(8+10Bit). The Depth menu will set the Output Bits, exactly like x265.
- Following Have Been Added to x264:
- ColorMatrix: Added chroma-derived-nc, chroma-derived-c, and ICtCp.
- Added Alternative Transfer
- vbv-init has been modded to have a locked value and proper float point scaling.
- FFTW Files will auto copy to System Directory, if your PC is missing these files in the System32 Folder(Fresh Install).
- MP4Box is back to Static Once again.
- Included Setup files for Python 3.7.1 & VS R45 to make sure the proper versions are being installed for StaxRip.
Link: https://github.com/Revan654/staxrip/...es/tag/2.0.0.0
Revan654 is offline   Reply With Quote
Old 26th October 2018, 21:30   #3223  |  Link
jonesjrgr
Registered User
 
Join Date: Mar 2016
Posts: 11
Hello everyone !!!

I have a "weird" problem...I'm trying to convert HDR to SDR winth avisynth/Hable method,and at the end of demuxing.starting to encode,staxrip crashes with this error:

"Win32Exception (1.9.0.0)

The resource loader failed to find MUI file

System.ComponentModel.Win32Exception (0x80004005): The resource loader failed to find MUI file
at StaxRip.Proc.Start() in C:\Users\Revan\Desktop\staxrip-1.8.2.0\General\Proc.vb:line 327
at StaxRip.x265Enc.Encode(String passName, String commandLine, ProcessPriorityClass priority) in C:\Users\Revan\Desktop\staxrip-1.8.2.0\Encoding\x265Enc.vb:line 65
at StaxRip.x265Enc.Encode() in C:\Users\Revan\Desktop\staxrip-1.8.2.0\Encoding\x265Enc.vb:line 41
at StaxRip.GlobalClass.ProcessVideo() in C:\Users\Revan\Desktop\staxrip-1.8.2.0\General\GlobalClass.vb:line 231
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.<Invoke>b__0()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at StaxRip.GlobalClass.ProcessJob(String jobPath) in C:\Users\Revan\Desktop\staxrip-1.8.2.0\General\GlobalClass.vb:line 138
at StaxRip.GlobalClass.ProcessJobs() in C:\Users\Revan\Desktop\staxrip-1.8.2.0\General\GlobalClass.vb:line 37"

I know it's weird because it refers to staxrip 1.8.2.0 (and i use 1.9.0.0),and to some strange path users\Revan\desktop.

No previous staxrip installations.Do i have to install other programs/dependencies ?

Any help is highly appreciated!!!
jonesjrgr is offline   Reply With Quote
Old 26th October 2018, 21:57   #3224  |  Link
Revan654
Registered User
 
Revan654's Avatar
 
Join Date: May 2004
Posts: 324
Quote:
Originally Posted by jonesjrgr View Post
Hello everyone !!!

I have a "weird" problem...I'm trying to convert HDR to SDR winth avisynth/Hable method,and at the end of demuxing.starting to encode,staxrip crashes with this error:

"Win32Exception (1.9.0.0)

The resource loader failed to find MUI file

System.ComponentModel.Win32Exception (0x80004005): The resource loader failed to find MUI file
at StaxRip.Proc.Start() in C:\Users\Revan\Desktop\staxrip-1.8.2.0\General\Proc.vb:line 327
at StaxRip.x265Enc.Encode(String passName, String commandLine, ProcessPriorityClass priority) in C:\Users\Revan\Desktop\staxrip-1.8.2.0\Encoding\x265Enc.vb:line 65
at StaxRip.x265Enc.Encode() in C:\Users\Revan\Desktop\staxrip-1.8.2.0\Encoding\x265Enc.vb:line 41
at StaxRip.GlobalClass.ProcessVideo() in C:\Users\Revan\Desktop\staxrip-1.8.2.0\General\GlobalClass.vb:line 231
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.<Invoke>b__0()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at StaxRip.GlobalClass.ProcessJob(String jobPath) in C:\Users\Revan\Desktop\staxrip-1.8.2.0\General\GlobalClass.vb:line 138
at StaxRip.GlobalClass.ProcessJobs() in C:\Users\Revan\Desktop\staxrip-1.8.2.0\General\GlobalClass.vb:line 37"

I know it's weird because it refers to staxrip 1.8.2.0 (and i use 1.9.0.0),and to some strange path users\Revan\desktop.

No previous staxrip installations.Do i have to install other programs/dependencies ?

Any help is highly appreciated!!!
1.8.2.0 is just the folder name I used to store all the code in. I don't bother changing the name for each release.

32Bit is not supported, only x64, make sure your not running it as 32Bit.

MUI File - is Something that should be installed already, Which is installed by Windows.

Only files that are required by AVS is Avisynth+ and MS runtimes if there not already installed and sometimes dotnet 4.7(Should already be installed if your using Windows 10).


Last edited by Revan654; 26th October 2018 at 21:59.
Revan654 is offline   Reply With Quote
Old 26th October 2018, 23:50   #3225  |  Link
imhh11
Registered User
 
Join Date: Jul 2016
Posts: 171
thanks for the update!!


is it possible to encode a 422 avi source to 420 using vapoursynth? it keep crashing saying i cant.
It works fine with Avisynth but never worked with VS on any staxrip version.




------------------- Video encoding using x265 2.9+2 -------------------

"C:\Program Files (x86)\VapourSynth\core64\vspipe.exe" C:\temp\staxrip\hcidfgdfgp-001_temp\hcidfgdfgp-001_new.vpy - --y4m | D:\2.0.0.0.x64\Apps\x265\x265.exe --crf 17 --preset slow --profile main10 --level-idc 5.1 --output-depth 10 --vbv-bufsize 160000 --vbv-maxrate 160000 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50)" --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --max-luma 1023 --hdr --hdr-opt --repeat-headers --hrd --aud --vui-timing-info --vui-hrd-info --min-keyint 24 --keyint 240 --no-open-gop --deblock -3:-3 --no-sao --no-strong-intra-smoothing --chromaloc 2 --sar 1 --frames 720 --y4m --output C:\temp\staxrip\hcidfgdfgp-001_temp\hcidfgdfgp-001_new_out.hevc -

x265 [error]: main10 profile not compatible with i422 input chroma subsampling.
Error: fwrite() call failed when writing frame: 0, plane: 0, errno: 32
Output 29 frames in 1.22 seconds (23.71 fps)
obalClass.vb:ligne 138

Last edited by imhh11; 26th October 2018 at 23:54.
imhh11 is offline   Reply With Quote
Old 27th October 2018, 00:17   #3226  |  Link
Revan654
Registered User
 
Revan654's Avatar
 
Join Date: May 2004
Posts: 324
Quote:
Originally Posted by imhh11 View Post
thanks for the update!!


is it possible to encode a 422 avi source to 420 using vapoursynth? it keep crashing saying i cant.
It works fine with Avisynth but never worked with VS on any staxrip version.




------------------- Video encoding using x265 2.9+2 -------------------

"C:\Program Files (x86)\VapourSynth\core64\vspipe.exe" C:\temp\staxrip\hcidfgdfgp-001_temp\hcidfgdfgp-001_new.vpy - --y4m | D:\2.0.0.0.x64\Apps\x265\x265.exe --crf 17 --preset slow --profile main10 --level-idc 5.1 --output-depth 10 --vbv-bufsize 160000 --vbv-maxrate 160000 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50)" --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --max-luma 1023 --hdr --hdr-opt --repeat-headers --hrd --aud --vui-timing-info --vui-hrd-info --min-keyint 24 --keyint 240 --no-open-gop --deblock -3:-3 --no-sao --no-strong-intra-smoothing --chromaloc 2 --sar 1 --frames 720 --y4m --output C:\temp\staxrip\hcidfgdfgp-001_temp\hcidfgdfgp-001_new_out.hevc -

x265 [error]: main10 profile not compatible with i422 input chroma subsampling.
Error: fwrite() call failed when writing frame: 0, plane: 0, errno: 32
Output 29 frames in 1.22 seconds (23.71 fps)
obalClass.vb:ligne 138
FYI, That is x265.exe source Code, Not really part of StaxRip.

For VS It has to be converted to proper Pixel Format first before it can be feed into the encoder.

see fmtconv docs for proper layout and code.
Revan654 is offline   Reply With Quote
Old 27th October 2018, 08:27   #3227  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by Revan654 View Post
Very detailed release as always.

Thanks for the update.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 27th October 2018, 12:13   #3228  |  Link
FreaQ
Starfish
 
FreaQ's Avatar
 
Join Date: Aug 2004
Posts: 117
Quote:
Originally Posted by Revan654 View Post
Release 2.0
I always make a new folder for StaxRip. So I copied my templates to the 2.0 settings folder.
I wanted to encode a video file with x264 which resulted in an error.

Code:
x264 [error]: main profile doesn't support a bit depth of 10
Error: fwrite() call failed when writing frame: 0, plane: 0, errno: 22
Output 9 frames in 0.46 seconds (19.70 fps)
StaxRip added to my template 10-Bit depth on its own. That is annoying since I have to check now all my templates and correct them as well.
FreaQ is offline   Reply With Quote
Old 27th October 2018, 16:23   #3229  |  Link
RieGo
Registered User
 
Join Date: Nov 2009
Posts: 59
thanks for this release.
there's one thing which prevents me from switching to this staxrip: HDR metadata is not appended to x265 command line. import vui metadata setting is enabled. it only works on old staxrip 1.7.0.6
is this a known problem? anyone knows a fix?
thanks
RieGo is offline   Reply With Quote
Old 27th October 2018, 18:19   #3230  |  Link
Revan654
Registered User
 
Revan654's Avatar
 
Join Date: May 2004
Posts: 324
Quote:
Originally Posted by FreaQ View Post
I always make a new folder for StaxRip. So I copied my templates to the 2.0 settings folder.
I wanted to encode a video file with x264 which resulted in an error.

Code:
x264 [error]: main profile doesn't support a bit depth of 10
Error: fwrite() call failed when writing frame: 0, plane: 0, errno: 22
Output 9 frames in 0.46 seconds (19.70 fps)
StaxRip added to my template 10-Bit depth on its own. That is annoying since I have to check now all my templates and correct them as well.
x264 setup was been completely Re-Configured.
Revan654 is offline   Reply With Quote
Old 27th October 2018, 18:24   #3231  |  Link
Revan654
Registered User
 
Revan654's Avatar
 
Join Date: May 2004
Posts: 324
Quote:
Originally Posted by RieGo View Post
thanks for this release.
there's one thing which prevents me from switching to this staxrip: HDR metadata is not appended to x265 command line. import vui metadata setting is enabled. it only works on old staxrip 1.7.0.6
is this a known problem? anyone knows a fix?
thanks
Like I said previously, It's MediaInfo fault, It's nothing I can do about that. I tried to get them to go back to old format but there sticking with the new format.

They keep simplifying the read out. It went from the entire color coordinates now it only shows colorspace.

FYI, 1.7.0.6 + MediaInfo does have some bad ColorSpace values. Which was only fixed recently. It showed BT.709 instead of showing BT.2020.
Revan654 is offline   Reply With Quote
Old 27th October 2018, 19:17   #3232  |  Link
RieGo
Registered User
 
Join Date: Nov 2009
Posts: 59
Quote:
Originally Posted by Revan654 View Post
Like I said previously, It's MediaInfo fault, It's nothing I can do about that. I tried to get them to go back to old format but there sticking with the new format.

They keep simplifying the read out. It went from the entire color coordinates now it only shows colorspace.

FYI, 1.7.0.6 + MediaInfo does have some bad ColorSpace values. Which was only fixed recently. It showed BT.709 instead of showing BT.2020.
wow. didn't notice. so there's no (older) mediainfo we could use without any problems?
are values like Mastering display luminance even necessary to correctly encode hdr10 content?

Last edited by RieGo; 27th October 2018 at 19:20.
RieGo is offline   Reply With Quote
Old 27th October 2018, 21:00   #3233  |  Link
Revan654
Registered User
 
Revan654's Avatar
 
Join Date: May 2004
Posts: 324
Quote:
Originally Posted by RieGo View Post
wow. didn't notice. so there's no (older) mediainfo we could use without any problems?
are values like Mastering display luminance even necessary to correctly encode hdr10 content?
Master-display is required, it tells the playback device what colors to use.

You are also missing the HDR10 feature I added in with 1.9, which adds the remaining HDR metadata into the video.

------

MediaInfo, There is no perfect version.

Older versions report incorrect ColorSpaces, But contains Color Coordinates.

New Version contains Correct ColorSpaces but doesn't contain Color Coordinates.

Your going have to pick what you want.

As long as your HDR source is True Rec.2020 the VUI will be import. The issue is some studios forget to switch display monitor settings from P3 to Rec.2020.

Not even HDR service/applications accepts P3 as a acceptable HDR colorSpace.

Even YoutubeHDR rejects P3.

--------

You can use the PowerShell Scripts I've Created, Which will add 95% of all HDR Flags needed for encoding(Which contains the Master-Display data).
Revan654 is offline   Reply With Quote
Old 27th October 2018, 21:26   #3234  |  Link
RieGo
Registered User
 
Join Date: Nov 2009
Posts: 59
thanks so much for your help! i really missed out on that. will try your scripts tomorrow
RieGo is offline   Reply With Quote
Old 28th October 2018, 00:59   #3235  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 666
Raven,

I'm not sure if this has been reported already. I can't add more jobs while another video is being encoded. The app just quits. Present job encoding is not affected though. v1.8.2 and below does not have this problem
__________________
Asus ProArt Z790 - 13th Gen Intel i9 - RTX 3080 - DDR5 64GB Predator - LG OLED C9 - Yamaha A3030 - Windows 11 x64 - PotPlayerr - Lav - MadVR
Magik Mark is offline   Reply With Quote
Old 28th October 2018, 04:05   #3236  |  Link
Revan654
Registered User
 
Revan654's Avatar
 
Join Date: May 2004
Posts: 324
Quote:
Originally Posted by Magik Mark View Post
Raven,

I'm not sure if this has been reported already. I can't add more jobs while another video is being encoded. The app just quits. Present job encoding is not affected though. v1.8.2 and below does not have this problem
I'll take a look, if it exists it's like due to Auto-Close function that was added.
Revan654 is offline   Reply With Quote
Old 28th October 2018, 08:20   #3237  |  Link
RieGo
Registered User
 
Join Date: Nov 2009
Posts: 59
So i looked into the HDR scripts - "HDR to 10bit 1000nits(Rec.2100)AVS.ps1".
it basically just adds static metadata (color coordinates), but not the data which is in the source (i compared with older HDR files i encoded).
shouldn't this produce wrong results? is this because we have no way to read out color coordinates without a proper mediainfo?

actually i think i found an answer to this question here: https://github.com/SK-Hardwired/nv_h...tcher/issues/9
so these values are indeed always the same, no matter which hdr source you have, right?
in this case i assume it would be enough to save those values in a staxrip template

Last edited by RieGo; 28th October 2018 at 14:51.
RieGo is offline   Reply With Quote
Old 28th October 2018, 18:05   #3238  |  Link
Revan654
Registered User
 
Revan654's Avatar
 
Join Date: May 2004
Posts: 324
Quote:
Originally Posted by RieGo View Post
So i looked into the HDR scripts - "HDR to 10bit 1000nits(Rec.2100)AVS.ps1".
it basically just adds static metadata (color coordinates), but not the data which is in the source (i compared with older HDR files i encoded).
shouldn't this produce wrong results? is this because we have no way to read out color coordinates without a proper mediainfo?

actually i think i found an answer to this question here: https://github.com/SK-Hardwired/nv_h...tcher/issues/9
so these values are indeed always the same, no matter which hdr source you have, right?
in this case i assume it would be enough to save those values in a staxrip template
They should be the same if they follow the HDR10 specs.
Revan654 is offline   Reply With Quote
Old 29th October 2018, 00:02   #3239  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 666
Quote:
Originally Posted by Revan654 View Post
I'll take a look, if it exists it's like due to Auto-Close function that was added.
Thanks revan. FYI, I can no longer add any jobs now. The window just closes without showing the encoding template
__________________
Asus ProArt Z790 - 13th Gen Intel i9 - RTX 3080 - DDR5 64GB Predator - LG OLED C9 - Yamaha A3030 - Windows 11 x64 - PotPlayerr - Lav - MadVR
Magik Mark is offline   Reply With Quote
Old 30th October 2018, 16:19   #3240  |  Link
Lupissimo
Guest
 
Posts: n/a
Ever since I tried to use Version 1.8 and above I get the following error:

"---------------- Error Video encoding using NVEnc 4.20 ----------------

Video encoding using NVEnc 4.20 failed with exit code: 1 (0x1)

The exit code might be a system error code: STATUS_WAIT_1

The exit code might be a system error code: Unzulässige Funktion.


------------------- Video encoding using NVEnc 4.20 -------------------

C:\Portable\StaxRip2.0.0.0.x64\Apps\NVEnc\NVEncC64.exe --cqp 18:20:22 --preset quality -i D:\Torrent\Snow.White.and.the.Three.Stooges.1961.1080p.AMZN.WEBRip.DDP2.0.x264-ABM\Snow.White.and.the.Th..._temp\Snow.White.and.the.Three.Stooges.1961.1080p.AMZN.WEB-DL.DDP2.0.x264-ABM_new.avs -o D:\Torrent\Snow.White.and.the.Three.Stooges.1961.1080p.AMZN.WEBRip.DDP2.0.x264-ABM\Snow.White.and.the.Th..._temp\Snow.White.and.the.Three.Stooges.1961.1080p.AMZN.WEB-DL.DDP2.0.x264-ABM_new_out.h264

Error on nvEncGetEncodePresetConfig: 15 (NVENC indicates that an invalid struct version was used by the client)
Error on nvEncGetEncodePresetConfig: 15 (NVENC indicates that an invalid struct version was used by the client)
Failed to Initialize the encoder
.: 15 (NVENC indicates that an invalid struct version was used by the client)

------------------- Video encoding using NVEnc 4.20 -------------------

C:\Portable\StaxRip2.0.0.0.x64\Apps\NVEnc\NVEncC64.exe --cqp 18:20:22 --preset quality -i D:\Torrent\Snow.White.and.the.Three.Stooges.1961.1080p.AMZN.WEBRip.DDP2.0.x264-ABM\Snow.White.and.the.Th..._temp\Snow.White.and.the.Three.Stooges.1961.1080p.AMZN.WEB-DL.DDP2.0.x264-ABM_new.avs -o D:\Torrent\Snow.White.and.the.Three.Stooges.1961.1080p.AMZN.WEBRip.DDP2.0.x264-ABM\Snow.White.and.the.Th..._temp\Snow.White.and.the.Three.Stooges.1961.1080p.AMZN.WEB-DL.DDP2.0.x264-ABM_new_out.h264

Error on nvEncGetEncodePresetConfig: 15 (NVENC indicates that an invalid struct version was used by the client)
Error on nvEncGetEncodePresetConfig: 15 (NVENC indicates that an invalid struct version was used by the client)
Failed to Initialize the encoder
.: 15 (NVENC indicates that an invalid struct version was used by the client)"

Can anybody help?

Edit: Problem solved, I installed the latest NVidia Grafic Driver

Last edited by Lupissimo; 30th October 2018 at 16:55.
  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:26.


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