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. |
![]() |
#2221 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
hevron,
1) for JPSDR: -default one in Staxrip releases is Clang W7 AVX to allow compatibility with older generation CPUs -you can manually replace with Release tClang W7 AVX2 if you have a more recent processor (by recent I mean not older than 4-5 years approximately) 2) for AviSynth+, we use the 3.6xx fork, not the 2.x, get it here https://github.com/AviSynth/AviSynthPlus/releases Last edited by 44vince44; 16th November 2020 at 13:44. |
![]() |
![]() |
#2222 | Link |
Registered User
Join Date: Jun 2020
Posts: 25
|
44vince44, thanks a lot for the clarification, Release Clang W7 AVX2 is more suitable for me.
This link https://github.com/AviSynth/AviSynthPlus/releases has AviSynth + 3.6.1/ Date = 2020-06-20, but we have Version 3.6.2 test 2 /Date = 2020-08-31 ![]() |
![]() |
![]() |
#2223 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
You're welcome hevron!
I don't know where Stax76 got the beta, but I believe soon there'll be an official release. When Stax76 includes a beta in Staxrip, it's due to a specific fix that he has been expecting. Last edited by 44vince44; 22nd November 2020 at 08:14. |
![]() |
![]() |
#2224 | Link |
Registered User
Join Date: Nov 2019
Posts: 25
|
I tried to use DSS2 as a source filter for the first time (StaxRip v2.1.3.0) as I wanted to try it on a variable frame rate MKV (from a DVD using makemkv). But I run into the following error every time:
![]() Does anyone have an idea of what is wrong? I don't use vapoursynth, only avisynth so not sure if the "VS_In" refers to that. Checking in the apps-manage menu it says "DSS2mod - status OK". Here is the mediainfo of the file if that matters: "Width : 720 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate mode : Variable Frame rate : 24.035 FPS Original frame rate : 29.970 (30000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits" Would appreciate any advice if anyone has an idea on how to get DSS2 working. EDIT: Resolved, as described below Last edited by DavidRyan; 24th November 2020 at 11:21. |
![]() |
![]() |
#2225 | Link | |
Registered User
Join Date: Jun 2014
Posts: 82
|
A small question, is it possible that i can use my own compiled ffmpeg version to encode videos? If i change the folder for ffmpeg, ffmpeg crashed with error message.
Quote:
Last edited by Mister XY; 24th November 2020 at 08:52. |
|
![]() |
![]() |
#2226 | Link | |
Registered User
Join Date: Nov 2019
Posts: 25
|
Quote:
- installed on the system - LAVFilters.ax files in the \LAVFilters subfolder in the same folder where avss.dll is placed (not the case with staxrip) - a path to the LAVFilters.ax files specified using "lavf_path" |
|
![]() |
![]() |
#2227 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,752
|
Makes sense, as DirectShow uses codecs installed on your system. DSS2 does *not* require lavfilter but it happens to be that it installed the needed codec on your system.
Why not just use ffms2 or lsmash?
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository |
![]() |
![]() |
#2228 | Link |
Registered User
Join Date: Jun 2014
Posts: 82
|
A little problem. If I want to create a 2 pass video with ffmpeg, it saves the file ffmpeg2pass-0 in the Staxrip folder. The problem with this is if Staxrip does not have rights access to it will be prohibited. Can't you do it so that the ffmpeg2pass-0 file is saved in the Temp Files folder?
Thx |
![]() |
![]() |
#2229 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
Mister XY I confirm this. It's a bug. The command line of ffmpeg should include the -passlogfile option with the temp location specified. This is a real bug, I will create a ticket in github, mentioning your find.
The problem is solved by adding the custom switch -passlogfile "%temp_dir%\ffmpeg2passlog" I've noted that as well in the bug report. Last edited by 44vince44; 28th November 2020 at 05:40. |
![]() |
![]() |
#2230 | Link |
Registered User
Join Date: Jun 2014
Posts: 82
|
I must do anything wrong. I add this line -passlogfile "%temp_dir%\ffmpeg2passlog" to the custom line in ffmpeg window, but when start to encode i get this message.
Cannot write log file '%temp_dir%\ffmpeg2passlog-0.log' for pass-1 encoding: No such file or directory |
![]() |
![]() |
#2231 | Link | |
Registered User
Join Date: May 2020
Posts: 188
|
Quote:
Another bug? Not only %temp_dir%, but ALL MACROS are not passed from the custom line :-((((( It seems the custom line does not support macros. So in that case, only as workaround, use a system env variable -passlogfile "%temp%\ffmpeg2passlog" This will use the global user temporary folder (as defined in your system) Last edited by 44vince44; 29th November 2020 at 08:22. |
|
![]() |
![]() |
#2233 | Link |
Registered User
Join Date: Sep 2009
Location: Berlin
Posts: 173
|
[AOMediaCodec/SVT-AV1] Pre-release v0.8.6 - SVT-AV1 v0.8.6
default setting changed: --irefresh-type 2 [0.8.6] - 2020-11-28 Encoder Further quality-speed tradeoffs tuning for VOD use cases Improved TPL support within 1-pass and 2-pass CRF moode Continued non-optimized support for 2pass VBR and CRF Align kernel nomenclature to prefix svt_aom for kernels brough from libaom to avoid symbol conflicts Build and Testing Bug fixes Improve CI Added CI support for gitlab Improve Unit Test Coverage Address C vs asm mismatches Fix static analysis warnings / errors Add address sanitizer Fix symbol conflicts with libaom and libvpx when staticly linked to ffmpeg https://github.com/AOMediaCodec/SVT-...ses/tag/v0.8.6 Last edited by VincAlastor; 1st December 2020 at 19:30. |
![]() |
![]() |
#2235 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
It has some unfortunate bugs, get directly the fixed beta 2.1.6.1
here: https://www.dropbox.com/sh/4ctl2y928...dd3yqcAHa?dl=0 Stax76 has released a new Stable 2.1.7.0 Last edited by 44vince44; 7th January 2021 at 22:44. |
![]() |
![]() |
#2236 | Link |
Registered User
Join Date: Sep 2015
Posts: 14
|
I've been fighting an error similar to what Mister XY just mentioned, but I seem to have a different root cause. A log in my case will show:
Code:
------------------------- System Environment ------------------------- StaxRip : 2.1.7.0 Windows : Windows 10 Pro 2009 Language : English (United States) CPU : Intel(R) Xeon(R) CPU E3-1280 V2 @ 3.60GHz GPU : Microsoft Remote Display Adapter, NVIDIA GeForce GTX 1050 Ti Resolution : 1920 x 1080 DPI : 96 ----------------------- Media Info Source File ----------------------- C:\Files\Staxrip\The.File.mkv General Complete name : C:\Files\Staxrip\The.File.mkv Format : Matroska Format version : Version 4 File size : 598 MiB Duration : 51 min 8 s Overall bit rate : 1 636 kb/s Movie name : The.File Encoded date : UTC 2021-01-06 03:04:57 Writing application : mkvmerge v51.0.0 ('I Wish') 64-bit Writing library : libebml v1.4.0 + libmatroska v1.6.2 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L4@Main Codec ID : V_MPEGH/ISO/HEVC Duration : 51 min 8 s Bit rate : 1 424 kb/s Width : 1 920 pixels Height : 960 pixels Display aspect ratio : 2.000 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.032 Stream size : 521 MiB (87%) Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : AAC LC SBR Format/Info : Advanced Audio Codec Low Complexity with Spectral Band Replication Commercial name : HE-AAC Format settings : Explicit Codec ID : A_AAC-2 Duration : 51 min 8 s Bit rate : 206 kb/s Channel(s) : 6 channels Channel layout : C L R Ls Rs LFE Sampling rate : 48.0 kHz Frame rate : 23.438 FPS (2048 SPF) Compression mode : Lossy Delay relative to video : 23 ms Stream size : 75.5 MiB (13%) Language : English Default : Yes Forced : No Text #1 ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 48 min 51 s Bit rate : 52 b/s Count of elements : 744 Stream size : 18.9 KiB (0%) Title : English Language : English Default : No Forced : No ------------------------------ Demux MKV ------------------------------ mkvextract 52 C:\Users\Trench\StaxRip-x64-2.1.7.0-Stable\Apps\Support\MKVToolNix\mkvextract.exe C:\Files\Staxrip\The.File.mkv tracks 2:"C:\Files\Staxrip\The.File_temp\ID1 English {English}.srt" 1:"C:\Files\Staxrip\The.File_temp\ID1 23ms English.aac" --ui-language en Error: Failed to create the file 'C:\Files\Staxrip\The.File_temp\ID1 23ms English.aac': 0 (open file error) Start: 5:33:38 PM End: 5:33:38 PM Duration: 00:00:00 -------------------------------- Error -------------------------------- no output found -------------------------- Error Demux Audio -------------------------- Demux Audio 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 ----------------------------- Demux Audio ----------------------------- ffmpeg N-100448-gab6a56773f-x64-gcc10.2.0 Patman C:\Users\Trench\StaxRip-x64-2.1.7.0-Stable\Apps\Encoders\ffmpeg\ffmpeg.exe -i C:\Files\Staxrip\The.File.mkv -vn -sn -y -hide_banner -c:a copy "C:\Files\Staxrip\The.File_temp\ID1 23ms English.m4a" Input #0, matroska,webm, from 'C:\Files\Staxrip\The.File.mkv': Metadata: title : The.File encoder : libebml v1.4.0 + libmatroska v1.6.2 creation_time : 2021-01-06T03:04:57.000000Z Duration: 00:51:08.61, start: 0.000000, bitrate: 1635 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x960, SAR 1:1 DAR 2:1, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: BPS-eng : 1424359 DURATION-eng : 00:51:08.607000000 NUMBER_OF_FRAMES-eng: 73573 NUMBER_OF_BYTES-eng: 546350126 _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-06 03:04:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: aac (HE-AAC), 48000 Hz, 5.1, fltp (default) Metadata: BPS-eng : 206485 DURATION-eng : 00:51:08.459000000 NUMBER_OF_FRAMES-eng: 71917 NUMBER_OF_BYTES-eng: 79199106 _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-06 03:04:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: title : English BPS-eng : 52 DURATION-eng : 00:48:51.678000000 NUMBER_OF_FRAMES-eng: 744 NUMBER_OF_BYTES-eng: 19353 _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-06 03:04:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES C:\Files\Staxrip\The.File_temp\ID1 23ms English.m4a: Permission denied ----------------------------- Demux Audio ----------------------------- ffmpeg N-100448-gab6a56773f-x64-gcc10.2.0 Patman C:\Users\Trench\StaxRip-x64-2.1.7.0-Stable\Apps\Encoders\ffmpeg\ffmpeg.exe -i C:\Files\Staxrip\The.File.mkv -vn -sn -y -hide_banner -c:a copy "C:\Files\Staxrip\The.File_temp\ID1 23ms English.m4a" Input #0, matroska,webm, from 'C:\Files\Staxrip\The.File.mkv': Metadata: title : The.File encoder : libebml v1.4.0 + libmatroska v1.6.2 creation_time : 2021-01-06T03:04:57.000000Z Duration: 00:51:08.61, start: 0.000000, bitrate: 1635 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x960, SAR 1:1 DAR 2:1, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: BPS-eng : 1424359 DURATION-eng : 00:51:08.607000000 NUMBER_OF_FRAMES-eng: 73573 NUMBER_OF_BYTES-eng: 546350126 _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-06 03:04:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: aac (HE-AAC), 48000 Hz, 5.1, fltp (default) Metadata: BPS-eng : 206485 DURATION-eng : 00:51:08.459000000 NUMBER_OF_FRAMES-eng: 71917 NUMBER_OF_BYTES-eng: 79199106 _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-06 03:04:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: title : English BPS-eng : 52 DURATION-eng : 00:48:51.678000000 NUMBER_OF_FRAMES-eng: 744 NUMBER_OF_BYTES-eng: 19353 _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-06 03:04:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES C:\Files\Staxrip\The.File_temp\ID1 23ms English.m4a: Permission denied Start: 5:33:38 PM End: 5:33:39 PM Duration: 00:00:00 ------------------------------ Exception ------------------------------ StaxRip.ErrorAbortException: Demux Audio 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 ----------------------------- Demux Audio ----------------------------- ffmpeg N-100448-gab6a56773f-x64-gcc10.2.0 Patman C:\Users\Trench\StaxRip-x64-2.1.7.0-Stable\Apps\Encoders\ffmpeg\ffmpeg.exe -i C:\Files\Staxrip\The.File.mkv -vn -sn -y -hide_banner -c:a copy "C:\Files\Staxrip\The.File_temp\ID1 23ms English.m4a" Input #0, matroska,webm, from 'C:\Files\Staxrip\The.File.mkv': Metadata: title : The.File encoder : libebml v1.4.0 + libmatroska v1.6.2 creation_time : 2021-01-06T03:04:57.000000Z Duration: 00:51:08.61, start: 0.000000, bitrate: 1635 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x960, SAR 1:1 DAR 2:1, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: BPS-eng : 1424359 DURATION-eng : 00:51:08.607000000 NUMBER_OF_FRAMES-eng: 73573 NUMBER_OF_BYTES-eng: 546350126 _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-06 03:04:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: aac (HE-AAC), 48000 Hz, 5.1, fltp (default) Metadata: BPS-eng : 206485 DURATION-eng : 00:51:08.459000000 NUMBER_OF_FRAMES-eng: 71917 NUMBER_OF_BYTES-eng: 79199106 _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-06 03:04:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: title : English BPS-eng : 52 DURATION-eng : 00:48:51.678000000 NUMBER_OF_FRAMES-eng: 744 NUMBER_OF_BYTES-eng: 19353 _STATISTICS_WRITING_APP-eng: mkvmerge v51.0.0 ('I Wish') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2021-01-06 03:04:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES C:\Files\Staxrip\The.File_temp\ID1 23ms English.m4a: Permission denied at StaxRip.Proc.Start() in D:\Projekte\VB\staxrip\General\Proc.vb:line 384 at StaxRip.ffmpegDemuxer.DemuxAudio(String sourcefile, AudioStream stream, AudioProfile ap, Project proj, Boolean overrideExisting) in D:\Projekte\VB\staxrip\General\Demux.vb:line 366 at StaxRip.mkvDemuxer.Demux(String sourcefile, IEnumerable`1 audioStreams, IEnumerable`1 subtitles, AudioProfile ap, Project proj, Boolean onlyEnabled, Boolean videoDemuxing, Boolean overrideExisting, String title, Boolean useStreamName) in D:\Projekte\VB\staxrip\General\Demux.vb:line 963 at StaxRip.mkvDemuxer.Run(Project proj) in D:\Projekte\VB\staxrip\General\Demux.vb:line 731 at StaxRip.MainForm.Demux() in D:\Projekte\VB\staxrip\Forms\MainForm.vb:line 3212 at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isEncoding) in D:\Projekte\VB\staxrip\Forms\MainForm.vb:line 2134 But two different tools as shown in the log -- mkvextract.exe trying to create "ID1 23ms English.aac", and then ffmpeg.exe trying to create "ID1 23ms English.m4a" -- complain as though files cannot be created in the "C:\Files\Staxrip\The.File_temp" temp area. Microsoft's Process Monitor shows me the tools are receiving ACCESS_DENIED in their attempt to create those files, as though it actually is a permissions issue. But Staxrip creates the log file in the temp area successfully, and I can create files in the temp area using File Explorer. Both Staxrip.exe and File Explorer are running as normal non-elevated processes. Running Staxrip.exe as administrator still results in the same failure for mkvextract.exe and ffmpeg.exe. I've concluded that the issue this: In the path shown, C:\Files\ is a mount point. Meaning C:\ itself is an SSD drive, but C:\Files\ is the mount point of a multi-terabyte magnetic drive for work space. The successful temp folder creation & successful log file creation by Staxrip.exe itself receives REPARSE in response to the C:\Files\-involved path, but the tools simply fail with ACCESS_DENIED. It seems like "suddenly" Staxrip processing cannot traverse a mount point. Staxrip.exe itself can still traverse that path; but not the tools being launched. This happens with 2.1.5.5.Beta and 2.1.7.0.Stable. Note the log says "Windows 10 2009", and my WinVER confirms "20H2 19042.685". If I run 2.1.3.0.Stable or 2.1.4.8.Beta against the same source file in the same folder setup, the tools are able to create and write to files in the temporary area just fine. Some unintended consequence of how the tools were updated for long path handling? Or can someone refute these results, and you are able to use a mount point in the path under Windows 20H2 successfully; meaning I should continue digging for a more specific root cause? |
![]() |
![]() |
#2237 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
@Trench, is it possible to edit the properties of your C:\Files\Staxrip\ folder and set permissions (full control) to you as user? do mount points allow that ?
We must know if the problem persists after that. Last edited by 44vince44; 8th January 2021 at 15:42. |
![]() |
![]() |
#2238 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,800
|
@Trench
The only relevant change I remember is changing the current directory of the staxrip process to the video temp folder, this was not long ago. Before the current folder of the staxrip process was usually the startup folder where staxrip is located. That's something a child process inherits.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
![]() |
![]() |
#2239 | Link |
Registered User
Join Date: May 2020
Posts: 188
|
When creating folders directly in C:\ the system does not give them proper permissions for free read/write operations. Unlike a folder created in the user's official temp tree, or in the user's tree more generally.
As we are discussing something happening with a temp folder, it is wise to check the permissions on the folder C:\Files\Staxrip\ in Trench's case. This should not be considered as a problem in Staxrip, even if it used to work otherwise. So, @Trench, please check and do the permissions change, or set your paths to locations that you have R/W control on. |
![]() |
![]() |
Tags |
aac, hdr, hevc, nvenc, staxrip, x264, x265 |
Thread Tools | Search this Thread |
Display Modes | |
|
|