View Full Version : StaxRip 2.0 Support Thread
Patman
20th May 2020, 15:34
@Patman
...
Any idea?
Please download the new version, an error occurred while compiling :scared:
Arkana
20th May 2020, 15:53
did you try DFTTEST it's one of the most popular denoisers.
thanks, will give it a try
It depends on the type of noise you want to remove. Is this an SD or HD source? Old movie that has been digitized? B&W or color?
Take a look at SMDegrain and mClean.
for video like this
https://images2.imgbox.com/1e/69/3sZtnC03_o.jpg
JKyle
20th May 2020, 17:36
Please download the new version, an error occurred while compiling :scared:
You mean ffmpeg-N-97833-gc94550eb31-gb707abf091-gcc10.1.0.7z, right?
Unfortunately, ffmpeg.exe does not return anything this time.
For example, even the simplest command in the unarchived folder
.\ffmpeg.exe -version
returns nothing.
Patman
20th May 2020, 18:28
You mean ffmpeg-N-97833-gc94550eb31-gb707abf091-gcc10.1.0.7z, right?
Unfortunately, ffmpeg.exe does not return anything this time.
...
returns nothing.
ffmpeg-N-97833-gc94550eb31-gb707abf091-gcc10.1.0.7z is correct, but it's strange that your command gave no feedback... i got following feedback with the downloaded version
C:\Windows\system32>C:\Users\PATRIC~1\AppData\Local\Temp\Rar$DRa1344.14723\ffmpeg.exe -version
ffmpeg version N-97833-gc94550eb31-gb707abf091+3 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.1.0 (Rev2, Built by MSYS2 project)
configuration: --cc='ccache gcc' --cxx='ccache g++' --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-libsvthevc --enable-openal --enable-vapoursynth --enable-opencl --enable-opengl --enable-openssl --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --enable-nonfree
libavutil 56. 46.100 / 56. 46.100
libavcodec 58. 84.100 / 58. 84.100
libavformat 58. 43.100 / 58. 43.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 81.100 / 7. 81.100
libswscale 5. 6.101 / 5. 6.101
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
stax76
20th May 2020, 18:35
Thanks for remembering, but after talking with you about mpv/mpv.net failing to read a non-single-byte language named avs file on a non-UTF8 codepage system, I changed the codepage to UTF8.
I find the topic text encoding difficult but interesting and important. Regarding this avisynth issue I found something (https://www.reddit.com/r/programming/comments/7cfftq/wm4_talks_about_c_locales/) few days ago that is somehow related.
JKyle
20th May 2020, 19:49
ffmpeg-N-97833-gc94550eb31-gb707abf091-gcc10.1.0.7z is correct, but it's strange that your command gave no feedback... i got following feedback with the downloaded version
Well, it's pretty weird.
I re-downloaded the file, but I still get the same result: no return.
Maybe we need someone else's help about this.
Can anyone join us and test it please?
The file is here (http://www.mediafire.com/file/nbg5tz1xhtc353v/ffmpeg-N-97833-gc94550eb31-gb707abf091-gcc10.1.0.7z/file).
44vince44
20th May 2020, 21:30
Well, it's pretty weird.
I re-downloaded the file, but I still get the same result: no return.
Maybe we need someone else's help about this.
Can anyone join us and test it please?
The file is here (http://www.mediafire.com/file/nbg5tz1xhtc353v/ffmpeg-N-97833-gc94550eb31-gb707abf091-gcc10.1.0.7z/file).
Just tested ffmpeg.exe -version, i get the error:
The code execution cannot proceed because libbrotlidec.dll was not found. Reinstalling the program may fix this problem.
JKyle
20th May 2020, 21:47
Just tested ffmpeg.exe -version, i get the error:
The code execution cannot proceed because libbrotlidec.dll was not found. Reinstalling the program may fix this problem.
Well, AFAIK, libbrotlidec.dll is a Brotli compression library included in mingw64 / MSYS2. (Here (https://packages.msys2.org/package/mingw-w64-x86_64-brotli).)
I guess there was something wrong in the course of making ffmpeg static. (Not sure though.)
If I do more guesswork, I think it's related to MSYS2 and GCC 10.1.0.
:thanks:
44vince44
20th May 2020, 21:50
Well, AFAIK, libbrotlidec.dll is a Brotli compression library included in mingw64 / MSYS2. (Here (https://packages.msys2.org/package/mingw-w64-x86_64-brotli).)
I guess there was something wrong in the course of making ffmpeg static. (Not sure though.)
:thanks:
Indeed, there shouldn't be such depencies !
and you're welcome :-)
44vince44
20th May 2020, 21:59
Then, copying libbrotlidec.dll next to ffmeg.exe generates another error: libbrotlicommon.dll is missing.
Copying that one fixes the problem and i get the following output:
C:\Program Files\StaxRip\Apps\Encoders\ffmpeg>ffmpeg -version
ffmpeg version N-97833-gc94550eb31-gb707abf091+3 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.1.0 (Rev2, Built by MSYS2 project)
configuration: --cc='ccache gcc' --cxx='ccache g++' --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-libsvthevc --enable-openal --enable-vapoursynth --enable-opencl --enable-opengl --enable-openssl --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --enable-nonfree
libavutil 56. 46.100 / 56. 46.100
libavcodec 58. 84.100 / 58. 84.100
libavformat 58. 43.100 / 58. 43.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 81.100 / 7. 81.100
libswscale 5. 6.101 / 5. 6.101
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Atlantis
21st May 2020, 00:10
AviSynth+ 3.6.0 (https://github.com/AviSynth/AviSynthPlus/releases)
hello i have a problem everything else works fine with vapoursynth but when i give files as file batch it crashes so i have to give every single file one after another. is there any fix for this?
stax76
21st May 2020, 11:36
hello i have a problem everything else works fine with vapoursynth but when i give files as file batch it crashes so i have to give every single file one after another. is there any fix for this?
If it's not the last beta then please try the last beta.
mcjordan
21st May 2020, 19:41
Stax, do you plan to update the FrameServer generally to AviSynth headers interface V8 ?
There are a huge list of plugins that which are already in line with it or are in the process of the adapting.
Later I will publish what I have followed so far.
stax76
21st May 2020, 20:39
Stax, do you plan to update the FrameServer generally to AviSynth headers interface V8 ?
There are a huge list of plugins that which are already in line with it or are in the process of the adapting.
Later I will publish what I have followed so far.
I don't know if I should but can ask an avisynth dev.
Has anybody tried AviSynth+ 3.6.0, QTGMC working?
mcjordan
21st May 2020, 20:46
Not yet, but maybe later. I'm terribly tired, I'll continue tomorrow morning. Excuse me, Stax.
stax76
21st May 2020, 20:58
Have a good night.
Patman
22nd May 2020, 09:18
FFMPEG issue
I reinstalled msys2 and compiled ffmpeg again. Now it works without problems. Give it a try.
Patman
22nd May 2020, 09:37
I don't know if I should but can ask an avisynth dev.
Has anybody tried AviSynth+ 3.6.0, QTGMC working?
Have a look here (https://forum.doom9.org/showthread.php?p=1913013#post1913013)
JKyle
22nd May 2020, 11:04
I reinstalled msys2 and compiled ffmpeg again. Now it works without problems. Give it a try.
Super! The text input error is also gone.
:thanks:
mcjordan
22nd May 2020, 19:26
DirectN library have an update - 1.90
Changelog: Updated with Windows SDK 19041
colinhunt
23rd May 2020, 11:58
A bit of a mystery here, would appreciate any advice on how to solve.
StaxRip 2.1.1.4 on two PCs, both AMD Zen CPUs, both with Nvidia GPUs (1080Ti & 2080 Super). Both running same version of Win10, AviSynth+ and other dependencies as far as I can tell.
When I drop a file in StaxRip and try to set MCTemporalDenoise (Avisynth), the 1080Ti one has no problem, but the 2080 Super one says this:
"Cannot load file 'C:/Users/xxxxxx/Desktop/videotools/Stax2114/Apps/Plugins/AVS/FFT3DGPU/FFT3dGPU.dll' Platform returned code 126: the specified module could not be found.
But the .dll is definitely in that directory. I can't figure out why this is happening or how to fix it.
mcjordan
23rd May 2020, 14:08
NVEncC 5.0.2 is out
https://github.com/rigaya/NVEnc/releases/tag/5.02
Khun_Doug
23rd May 2020, 15:45
A bit of a mystery here, would appreciate any advice on how to solve.
StaxRip 2.1.1.4 on two PCs, both AMD Zen CPUs, both with Nvidia GPUs (1080Ti & 2080 Super). Both running same version of Win10, AviSynth+ and other dependencies as far as I can tell.
"Cannot load file 'C:/Users/xxxxxx/Desktop/videotools/Stax2114/Apps/Plugins/AVS/FFT3DGPU/FFT3dGPU.dll' Platform returned code 126: the specified module could not be found.
But the .dll is definitely in that directory. I can't figure out why this is happening or how to fix it.
One thing that you can check is what MS Visual C libraries are installed on each machine. It is possible that there is a dependency and the machine with the 2080 Super doesn't have something installed that the 1080 machine does.
-QfG-
24th May 2020, 02:59
Is there no more DGIndexNV Support in the newest BETA?
Atlantis
24th May 2020, 19:49
Has anybody re-encoded iphone videos? I get this error
-------------------------- System Environment --------------------------
StaxRip : 2.0.8.0
Windows : Windows 10 Pro 1909
Language : English (United States)
CPU : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
GPU : NVIDIA GeForce GTX 980 Ti
Resolution : 3840 x 2160
DPI : 168
------------------------ MediaInfo Source File ------------------------
Z:\Media\Video\Making\QVPI0471.MP4
General
Complete name : Z:\Media\Video\Making\QVPI0471.MP4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp41/mp42)
File size : 92.5 MiB
Duration : 12 s 672 ms
Overall bit rate : 61.2 Mb/s
Encoded date : UTC 2020-05-24 18:09:26
Tagged date : UTC 2020-05-24 18:09:39
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L5.1@High
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Duration : 12 s 672 ms
Source duration : 12 s 835 ms
Bit rate : 60.6 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 60.000 FPS
Minimum frame rate : 54.545 FPS
Maximum frame rate : 60.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.122
Stream size : 91.5 MiB (99%)
Source stream size : 92.4 MiB (100%)
Title : Core Media Video
Encoded date : UTC 2020-05-24 18:09:26
Tagged date : UTC 2020-05-24 18:09:39
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : hvcC
Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 12 s 671 ms
Source duration : 12 s 864 ms
Bit rate mode : Constant
Bit rate : 48.0 kb/s
Nominal bit rate : 64.0 kb/s
Channel(s) : 1 channel
Channel layout : C
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 76.9 KiB (0%)
Source stream size : 78.2 KiB (0%)
Title : Core Media Audio
Encoded date : UTC 2020-05-24 18:09:26
Tagged date : UTC 2020-05-24 18:09:39
--------------------------- AviSynth Script ---------------------------
LoadPlugin("Z:\Data\Portable Apps\Video\StaxRip\Apps\Plugins\Dual\L-SMASH-Works\LSMASHSource.dll")
LSMASHVideoSource("Z:\Media\Video\Making\QVPI0471.MP4")
#AssumeFPS(25)
---------------------- Source Script Information ----------------------
Width : 3840
Height : 2160
Frames : 770
Time : 20:25:05.000
Framerate : 0.0001075 (2/18593)
Format : YUV420P8
---------------------- Target Script Information ----------------------
Width : 3840
Height : 2160
Frames : 770
Time : 20:25:05.000
Framerate : 0.0001075 (2/18593)
Format : YUV420P8
- Error Video encoding using x265 3.3+10-g08d895bb6 GCC 10.0.1 Patman -
Video encoding using x265 3.3+10-g08d895bb6 GCC 10.0.1 Patman failed with exit code: 1 (0x1)
It's unclear what the exit code means, in case it's a Windows system error then it possibly means:
Incorrect function
---- Video encoding using x265 3.3+10-g08d895bb6 GCC 10.0.1 Patman ----
"Z:\Data\Portable Apps\Video\StaxRip\Apps\Support\avs2pipemod\avs2pipemod64.exe" -y4mp "Z:\Media\Video\Making\QVPI0471_temp\QVPI0471 new.avs" | "Z:\Data\Portable Apps\Video\StaxRip\Apps\Encoders\x265\x265.exe" --crf 21 --output-depth 10 --colorprim bt709 --colormatrix bt709 --transfer bt709 --range limited --frames 770 --y4m --output "Z:\Media\Video\Making\QVPI0471_temp\QVPI0471 new_out.hevc" -
[sgpd] box has more bytes than expected: 60
[sgpd] box has more bytes than expected: 2
[sgpd] box has more bytes than expected: 4
avs2pipemod[info]: writing 770 frames of 2/18593 fps, 3840x2160,
sar 0:0, YUV-420-planar-8bit progressive video.
x265 [error]: unable to open input file <->
avs2pipemod[info]: finished, wrote 0 frames [0%].
avs2pipemod[info]: total elapsed time is 0.351 sec.
avs2pipemod[error]: only wrote 0 of 770 frames.
---- Video encoding using x265 3.3+10-g08d895bb6 GCC 10.0.1 Patman ----
"Z:\Data\Portable Apps\Video\StaxRip\Apps\Support\avs2pipemod\avs2pipemod64.exe" -y4mp "Z:\Media\Video\Making\QVPI0471_temp\QVPI0471 new.avs" | "Z:\Data\Portable Apps\Video\StaxRip\Apps\Encoders\x265\x265.exe" --crf 21 --output-depth 10 --colorprim bt709 --colormatrix bt709 --transfer bt709 --range limited --frames 770 --y4m --output "Z:\Media\Video\Making\QVPI0471_temp\QVPI0471 new_out.hevc" -
[sgpd] box has more bytes than expected: 60
[sgpd] box has more bytes than expected: 2
[sgpd] box has more bytes than expected: 4
avs2pipemod[info]: writing 770 frames of 2/18593 fps, 3840x2160,
sar 0:0, YUV-420-planar-8bit progressive video.
x265 [error]: unable to open input file <->
avs2pipemod[info]: finished, wrote 0 frames [0%].
avs2pipemod[info]: total elapsed time is 0.351 sec.
avs2pipemod[error]: only wrote 0 of 770 frames.
Start: 8:41:11 PM
End: 8:41:12 PM
Duration: 00:00:01
Any idea? [sgpd] box has more bytes than expected?
Atlantis
24th May 2020, 19:58
I noticed, it is not indexing the file?
stax76
24th May 2020, 20:16
LSMASHVideoSource only supports .mp4 and it's an index free source filter because the container format allows that.
---------------------- Target Script Information ----------------------
Width : 3840
Height : 2160
Frames : 770
Time : 20:25:05.000
Framerate : 0.0001075 (2/18593)
Format : YUV420P8
videoh
24th May 2020, 20:23
Is there no more DGIndexNV Support in the newest BETA? It's not hard-wired in anymore, which is a reasonable decision. You can still use DGDecNV but you have to jump through a hoop or two. No big deal. It's been addressed here and a search should help you along.
Atlantis
24th May 2020, 20:39
---------------------- Target Script Information ----------------------
Width : 3840
Height : 2160
Frames : 770
Time : 20:25:05.000
Framerate : 0.0001075 (2/18593)
Format : YUV420P8
So what's the problem? What should I do? It's video shot by iPhone 11 Pro. It's detecting the framerate incorrectly it seems.
stax76
24th May 2020, 21:28
It also says:
Frame rate mode : Variable
Frame rate : 60.000 FPS
Minimum frame rate : 54.545 FPS
Maximum frame rate : 60.000 FPS
It's not something I know much or have interest, I hope somebody else can help, maybe ask in the synth section or better in the l-smash support thread.
Atlantis
25th May 2020, 00:17
Yes, it is the LSMASHVideoSource reader. Maybe it is good after all to index!
I put the file in an mkv container and now it encodes without any error.
JKyle
25th May 2020, 00:20
As you know, starting with 2.1.0.8, StaxRip stopped supporting DG Tools natively in the app {per the developer's request (X)}.
<= fix: see this post (https://forum.doom9.org/showthread.php?p=1913599#post1913599).
Four tools are affected by this change: DGIndexNV, DGSource, DGTonemap, and DGHDRtoSDR.
Among them, DGIndexNV and DGSource are packaged as DGDecNV (http://rationalqm.us/dgdecnv/dgdecnv.html), which is a non-free program you need to buy for $15.
In this post, I show how to register DGIndexNV and DGSource using the StaxRip macro %startup_dir% (https://staxrip.readthedocs.io/macros.html) assuming that a purchased/licensed copy of DGDecNV is unzipped to a folder somewhere under the app folder which is denoted by the macro %startup_dir%.
Here, I assume DGDecNV folder is %startup_dir%Apps\Support\DGDecNV.
For this setup, you need to launch a new StaxRip window without any project.
1. DGSource
1) Add DGSource in AVS Filters => Profiles
https://i.imgur.com/3Ie27Sp.jpg
Under the [Source] section, add the following lines:
DGSource =
# Setting is changed since 2.1.0.8 after native DG Tools support is dropped.
LoadPlugin("%startup_dir%Apps\Support\DGDecNV\DGDecodeNV.dll")
DGSource("%source_file%")
https://i.imgur.com/SPclIBU.jpg
2) Add DGSource as a source filter
Go to Tools => Settings, and register DGSource as a source filter for dgi.
https://i.imgur.com/NaHbHuW.jpg
For VapourSynth, switch to VapourSynth and repeat similar steps as follows:
https://i.imgur.com/UzDx8od.jpg
https://i.imgur.com/H1vU3NY.jpg
https://i.imgur.com/0ZBxOaX.jpg
DGSource =
# Setting is changed since 2.1.0.8 after native DG Tools support is dropped.
core.std.LoadPlugin(r"%startup_dir%Apps\Support\DGDecNV\DGDecodeNV.dll")
clip = core.dgdecodenv.DGSource(r"%source_file%")
https://i.imgur.com/mjKm3Dk.jpg
2. DGIndexNV
Under Preprocessing in Settings, register DGIndexNV as a command line demuxer.
https://i.imgur.com/H4L3Maa.jpg
You can create 2 types of demuxers with DGIndexNV depending on the input file types.
[Index, No demux]
https://i.imgur.com/myPXRv5.jpg
Arguments:-i %source_files_comma% -o "%source_temp_file%.dgi" -h
Depending on your situation, you may want to add additional Input File Types.
See this (https://forum.doom9.org/showpost.php?p=1913795&postcount=1914).
[Index & Demux]
https://i.imgur.com/1UZsVPZ.jpg
Arguments:-i %source_files_comma% -o "%source_temp_file%.dgi" -a -h
Make sure to put the command that points to DGIndexNV.exe file directly since DGIndexNV is not registered internally under Apps => Manage.
"%startup_dir%Apps\Support\DGDecNV\DGIndexNV.exe"
videoh
25th May 2020, 00:43
per the developer's request. Sorry but that is false. As I mentioned several times, I asked that instead of bundling my binaries that links be provided. Completely removing the dedicated support was stax76's decision.
Nevertheless, thank you for your guide. It will help a lot of people, I hope. :goodpost:
JKyle
25th May 2020, 01:11
Sorry but that is false. As I mentioned several times, I asked that instead of bundling my binaries that links be provided. Completely removing the dedicated support was stax76's decision.
I see. Sorry about the misunderstanding. I fixed the post accordingly.
BTW, I have a question: Are DGTonemap and DGHDRtoSDR free of charge?
My understanding is that they are free to use, but I want to double check.
I'd like to put a post on setting up those two filters in StaxRip after your confirmation.
:thanks:
videoh
25th May 2020, 01:25
Appreciate that! Yes, they are free for end users to use for their personal purposes. Get them from my website to be sure to have latest versions. I hope they are useful and thank you for your work, JKyle. It will help many.
lordalibaski
25th May 2020, 02:25
Hi guys just encountered a small problem now I have just converted one file perfectly fine it has the exact same audio profiles has this one
Format : MPEG-PS
File size : 8.57 GiB
Duration : 2 h 5 min
Overall bit rate mode : Variable
Overall bit rate : 9 812 kb/s
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : M=3, N=12
Format settings, picture struc : Frame
Duration : 2 h 5 min
Bit rate mode : Variable
Bit rate : 9 450 kb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.911
Time code of first frame : 00:00:13:11
Time code source : Group of pictures header
GOP, Open/Closed : Closed
Stream size : 8.17 GiB (95%)
Audio
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Muxing mode : DVD-Video
Duration : 2 h 5 min
Bit rate mode : Constant
Bit rate : 256 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -192 ms
Stream size : 229 MiB (3%)
I used the exact same method of encoding, I need to encode it so it will play on a Apple Mac hence the aac setting.
https://i.postimg.cc/597zVrkR/settings.png
I just tried to convert it but got this error
Error Audio encoding 1 using eac3to 3.34 (2.1.1.5)
Audio encoding 1 using eac3to 3.34 returned error exit code: 1 (0x1)
It's unclear what the exit code means, in case it's a Windows system error then it possibly means:
Incorrect function
-------------------- Audio encoding 1 using eac3to 3.34 --------------------
C:\Users\\Desktop\StaxRip\Apps\Audio\eac3to\eac3to.exe "C:\Users\\Desktop\To Convert
\1988 Technics DMC World DJ Finals_temp\1988 Technics DMC World DJ Finals ID1 -192ms.ac3" "C:\
Users\\Desktop\To Convert\1988 Technics DMC World DJ Finals_temp
\1988 Technics DMC World DJ Finals ID1_a1.m4a" -quality=0.4 -192ms -progressnumbers
The format of the source file could not be detected.
StaxRip.ErrorAbortException: Audio encoding 1 using eac3to 3.34 returned error exit code: 1 (0x1)
It's unclear what the exit code means, in case it's a Windows system error then it possibly means:
Incorrect function
-------------------- Audio encoding 1 using eac3to 3.34 --------------------
C:\Users\\Desktop\StaxRip\Apps\Audio\eac3to\eac3to.exe "C:\Users\\Desktop\
To Convert\1988 Technics DMC World DJ Finals_temp\
1988 Technics DMC World DJ Finals ID1 -192ms.ac3" "C:\Users\\Desktop\
To Convert\1988 Technics DMC World DJ Finals_temp\
1988 Technics DMC World DJ Finals ID1_a1.m4a" -quality=0.4 -192ms -progressnumbers
The format of the source file could not be detected.
at StaxRip.Proc.Start() in D:\Projekte\VB\staxrip\General\Proc.vb:line 367
at StaxRip.GUIAudioProfile.Encode() in D:\Projekte\VB\staxrip\General\AudioProfile.vb:line 698
at StaxRip.GlobalClass._Closure$__._Lambda$__41-0() in D:\Projekte\VB\staxrip\General\GlobalClass.vb:line 215
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 D:\Projekte\VB\staxrip\General\GlobalClass.vb:line 256
Any help is appreciated.
lordalibaski
25th May 2020, 02:50
Think I've got it did the same mistake as last time had to change the extension to mpg and it worked fine.
stax76
25th May 2020, 02:51
Re-open the project under:
File > Recent Projects
In the audio settings you can try:
Encoder > qaac
After that override/replace the AAC audio profile to use qaac, it's probably better and should be made the default AAC encoder.
lordalibaski
25th May 2020, 03:12
Cheers mate will try that on my next conversion see if its any better.
Ps...just a small question regarding the actual bitrate of the audio when setting it to encode to aac it always puts it down to AAC 106 kbps, I have just set the encoder now to use qaac like you said what setting should I be setting it on to get the same bitrate as 256 AC3.
I changed it to qaac CBR 256 is that correct?
JKyle
25th May 2020, 04:40
As we can register DGDecNV in StaxRip (>2.1.0.7) using macros (https://forum.doom9.org/showthread.php?p=1913597#post1913597), we can add DGTonemap & DGHDRtoSDR filters in a similar way as follows.
■ Download & unzip the filter files
Download DGTonemap (http://rationalqm.us/DGTonemap.rar) and DGHDRtoSDR (http://rationalqm.us/hdr/DGHDRtoSDR_1.13.rar) from the developer's site.
Make sure to put x64 versions.
DGTonemap supports AviSynth only while DGHDRtoSDR supports both AviSynth and VapourSynth.
For convenience, I assume you put the filters in somewhere under the StaxRip app folder as follows:
%startup_dir%Apps\Plugins\AVS\DGToneMap\
%startup_dir%Apps\Plugins\Dual\DGHDRtoSDR\
Now open an empty StaxRip window and do the following setting.
■ AviSynth filters
Open and edit AVS profiles:
https://i.imgur.com/3Ie27Sp.jpg
<DGTonemap>
Replace/Add the following item related to DGTonemap under the [Color] section:
https://i.imgur.com/Cqrxkco.jpg
HDRCore | Tone Mapping =
# DGTonemap setting is changed since 2.1.0.8 after native DG Tools support is dropped.
LoadPlugin("%startup_dir%Apps\Plugins\AVS\DGToneMap\DGTonemap.dll")
$select:msg:Select the Map Tone You Wish to Use;DGReinhard|DGReinhard();DGHable|DGHable()$
<DGHDRtoSDR>
Replace/Add the following item related to DGHDRtoSDR under the [Color] section:
https://i.imgur.com/DB5lAuV.jpg
DGHDRtoSDR =
# Setting is changed since 2.1.0.8 after native DG Tools support is dropped.
LoadPlugin("%startup_dir%Apps\Plugins\Dual\DGHDRtoSDR\DGHDRtoSDR.dll")
DGHDRtoSDR(mode="$select:msg:Select transfer function;Perceptual Quantizer|pq;Hybrid Log Gamma|hlg$", white=$enter_text:Enter overall brightness in integer (max 3,000 for PQ, max 10,000 for HLG)$)
■ VapourSynth filters
Change the filters type from AviSynth to VapourSynth by clicking Fiter Setup => VapourSynth:
https://i.imgur.com/UzDx8od.jpg
Open and edit VS profiles:
https://i.imgur.com/H1vU3NY.jpg
<DGHDRtoSDR>
Replace/Add the following item related to DGHDRtoSDR under the [Color] section:
https://i.imgur.com/fNPipCt.jpg
DGHDRtoSDR =
# Setting is changed since 2.1.0.8 after native DG Tools support is dropped.
core.std.LoadPlugin(r"%startup_dir%Apps\Plugins\Dual\DGHDRtoSDR\DGHDRtoSDR.dll")
clip = core.dghdrtosdr.DGHDRtoSDR(clip, mode="$select:msg:Select transfer function;Perceptual Quantizer|pq;Hybrid Log Gamma|hlg$", white=$enter_text:Enter overall brightness in integer (max 3,000 for PQ, max 10,000 for HLG)$)
You can edit the profile code by referring to the StaxRip macros document (https://staxrip.readthedocs.io/macros.html).
44vince44
25th May 2020, 16:16
Thanks JKyle, this was very useful !
JKyle
25th May 2020, 22:40
Thanks JKyle, this was very useful !
You're welcome. :)
BTW, I found a syntax error in DGHDRtoSDR VS filter core.std.LoadPlugin call in my original post.
path=
is obsolete. So I replaced it with
r
I've updated the post, so update your code in your app please.
bananenmann
26th May 2020, 01:10
@JKyle
I'm very sorry, but I think I still need your help :(
I exactcly followed your HowTo for registering DGIndexNV and DGSource, verified everything many times, but I always get an error message, when I want to load a Video-file. Here an Example with an MPEG2-File (this worked with Staxrip 2.1.1.2 (Beta), the last Version supporting DGIndexNV):
Script error: There is no function named 'DGSource'.
(D:\Video-Encode\Evanescence - Sweet Sacrifice_temp\Evanescence - Sweet Sacrifice_source.avs, line 1)
DGSource("D:\Video-Encode\Evanescence - Sweet Sacrifice.mpv")
My StaxRip-Folder is located here: C:\Sonstiges\StaxRip-Beta-x64. I copied the DGDecNV-Folder (including 64-Bit-Versions of DGDecodeNV.dll, DGIndexNV.exe and my Licence file) into that directory: C:\Sonstiges\StaxRip-Beta-x64\Apps\Support\
In both created demuxers, the command points to: "%startup_dir%Apps\Support\DGDecNV\DGIndexNV.exe"
I also tried: "C:\Sonstiges\StaxRip-Beta-x64\Apps\Support\DGDecNV\DGIndexNV.exe"
I filled out the rest of the fields with the informations from your Manual.
I added DGSource as a source filter for dgi (Avisynth AND Vapoursynth) and also edited the AVS and VS-Filter-Profiles as described by copying and pasting all the texts from your code boxes to the places where they belong. Afterwards I exited Staxrip, started it again, but I still get that error Message above mentioned. What did I wrong? (Please don't blame on me, I'm new to Staxrip)...
lordalibaski
26th May 2020, 01:28
@ stax
The qaac works brilliant mate thanks for that much easier to do than to change the extension all the time.
Just a question mate I have asked this before about boosting the volume on certain vhs captures I used this command
-af dynaudnorm=p=0.94:m=70:s=22
It works when I'm doing ac3 audio but it doesn't work with qaac can the audio boost be done when converting to qaac?
thanks
JKyle
26th May 2020, 01:52
Here an Example with an MPEG2-File (this worked with Staxrip 2.1.1.2 (Beta), the last Version supporting DGIndexNV):
Script error: There is no function named 'DGSource'.
(D:\Video-Encode\Evanescence - Sweet Sacrifice_temp\Evanescence - Sweet Sacrifice_source.avs, line 1)
DGSource("D:\Video-Encode\Evanescence - Sweet Sacrifice.mpv")
It seems like you didn't include LoadPlugin in avs profiles.
See if this line is missing in DGSource = before calling DGSource("%source_file%")
LoadPlugin("%startup_dir%Apps\Support\DGDecNV\DGDecodeNV.dll")
bananenmann
26th May 2020, 02:25
I put this into the [Source] - Section of my AVS-Filter-Profile:
DGSource =
# Setting is changed since 2.1.0.8 after native DG Tools support is dropped.
LoadPlugin("%startup_dir%Apps\Support\DGDecNV\DGDecodeNV.dll")
DGSource("%source_file%")
And I put this into the [Source] - Section of my VS-Filter-Profile:
DGSource =
# Setting is changed since 2.1.0.8 after native DG Tools support is dropped.
core.std.LoadPlugin(r"%startup_dir%Apps\Support\DGDecNV\DGDecodeNV.dll")
clip = core.dgdecodenv.DGSource(r"%source_file%")
JKyle
26th May 2020, 02:38
This is part of my edited AVS-Profile:
[Source]
Automatic = # can be configured at: Tools > Settings > Source Filters
AviSource = AviSource("%source_file%", audio=false)
DGSource =
LoadPlugin("%startup_dir%Apps\Support\DGDecNV\DGDecodeNV.dll")
DGSource("%source_file%")
.
.
.
LoadPlugin(...) and DGSource(...) should be indented.
Otherwise, DGSource(...) is recognized as a separate item.
bananenmann
26th May 2020, 03:04
Sorry, I pasted it wrong here... they are indented. See my edited post above (#1899) ... That's exactly how it looks like... but I still get the error message. It seems that the DGDecodeNV.dll still isn't loaded. Silly Question: There is no file called DGSource, right? I just need the files DGDecodeNV.dll, DGIndexNV.exe and my own license.txt in the DGDecNV-Folder, is this correct?
Are you shure there is no typing error in your Manual? It's getting late now, maybe we should sleep over one night.
Thank you for your great effort and help. Good night !!!
;)
Arkana
26th May 2020, 03:27
Hello, which parameter should be keep/changed to encode HDR10+
For HDR10 (not plus) is pretty easy, staxrip loads the HDR metadata automatically
but not for HDR10+
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.