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. |
4th April 2020, 16:43 | #1623 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Thanks, I've bookmarked your post.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
5th April 2020, 06:54 | #1626 | Link |
App Digger
Join Date: Sep 2018
Posts: 411
|
Two errors
@Stax
I'd like to report two errors. 1) Opening/Remuxing TS to MKV failure I opened an issue about this error on GitHub, so please take a look. 2) qaac fails to encode some flac files I ran into this weird error (pop-up message) while encoding a 6 channel flac audio stream in a video file into a stereo aac stream using qaac. Code:
------------------- Audio encoding 1 using qaac 2.68 ------------------- D:\Utilities\StaxRip\Apps\Audio\qaac\qaac64.exe --tvbr 62 --delay -0.001 --normalize "D:\Work\tmp\test_temp\test ID1 -1ms Japanese.flac" -o "D:\Work\tmp\test_temp\test ID1 Japanese_a1.m4a" qaac 2.68, CoreAudioToolbox 7.10.9.0 test ID1 Japanese_a1.m4a ERROR: m_module.stream_decoder_seek_absolute(m_decoder.get(), count) StaxRip.ErrorAbortException: Audio encoding 1 using qaac 2.68 returned error exit code: 2 (0x2) It's unclear what the exit code means, in case it's a Windows system error then it possibly means: The system cannot find the file specified ------------------- Audio encoding 1 using qaac 2.68 ------------------- D:\Utilities\StaxRip\Apps\Audio\qaac\qaac64.exe --tvbr 62 --delay -0.001 --normalize "D:\Work\tmp\test_temp\test ID1 -1ms Japanese.flac" -o "D:\Work\tmp\test_temp\test ID1 Japanese_a1.m4a" qaac 2.68, CoreAudioToolbox 7.10.9.0 test ID1 Japanese_a1.m4a ERROR: m_module.stream_decoder_seek_absolute(m_decoder.get(), count) at StaxRip.Proc.Start() in D:\Projekte\VB\staxrip\General\Proc.vb:line 394 at StaxRip.GUIAudioProfile.Encode() in D:\Projekte\VB\staxrip\General\AudioProfile.vb:line 676 at StaxRip.GlobalClass._Closure$__._Lambda$__31-0() in D:\Projekte\VB\staxrip\General\GlobalClass.vb:line 101 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 133 I never had an error when I re-encoded aac streams with 2 channels using qaac even if I set the decoding method to FLAC. Thanks in advance. |
5th April 2020, 08:33 | #1627 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
It's probably because the file was split at some point without re-creating FLAC headers/re-encoding the FLAC part. This was discussed very recently in the MKVToolNix thread. If you use --delay option of qaac it tries seeking and will fail. (Piping from the mkv using ffmpeg should still work.)
https://gitlab.com/mbunkus/mkvtoolni...-not-supported Last edited by sneaker_ger; 5th April 2020 at 08:35. |
5th April 2020, 09:06 | #1628 | Link | |
App Digger
Join Date: Sep 2018
Posts: 411
|
Thanks for your advice.
You're right. Setting the decoding method to Pipe solved the problem by piping the flac file via ffmpeg. In this setting, qaac encodes the wav file piped via ffmpeg instead of directly dealing with the flac file. Quote:
|
|
5th April 2020, 09:08 | #1629 | Link | |
Registered User
Join Date: Nov 2017
Posts: 4
|
Quote:
Whenever I try to do two encoding instances of the same source file it always crashes both instances. This is when doing 2-pass x264 cpu encoding at least. |
|
5th April 2020, 10:22 | #1630 | Link |
Registered User
Join Date: Feb 2003
Posts: 68
|
Hi all,
I downloaded 2.1.0.2 beta as I was having issues with NeroEnc freezing in 2.0.8.0 stable and I noticed this error when encoding a video tonight: C:\Staxrip\Apps\Encoders\NVEnc\NVEncC64.exe --cqp 18:20:22 --codec h265 --preset quality --level 5.1 --output-depth 10 --qp-init 20 --qp-max 22 --qp-min 18 --aq --aq-temporal --gop-len 240 --lookahead 16 --slices 2 --multiref-l0 4 --multiref-l1 4 --strict-gop --nonrefp --weightp -i D:\Temp\videosource_temp\videosource.avs -o D:\Temp\videosource_temp\videosource_out.h265 -------------------------------------------------------------------------------------------------------------------------------------------- D:\Temp\videosource_temp\videosource_out.h265 -------------------------------------------------------------------------------------------------------------------------------------------- nvenc : Error on nvEncGetEncodePresetConfig: 4 (NVENC this indicates that device passed to the API call is invalid) multiref(L1) is lowered 4 -> 3 due to HEVC spec. weighted prediction with B frames unsupported. NVEncC (x64) 4.68 (r1402) by rigaya, Mar 7 2020 13:54:44 (VC 1916/Win/avx2) OS Version Windows 10 x64 (18363) CPU AMD Ryzen 7 3700X 8-Core Processor (8C/16T) GPU #0: GeForce RTX 2060 (1920 cores, 1710 MHz)[PCIe3x16][445.75] NVENC / CUDA NVENC API 9.1, CUDA 11.0, schedule mode: auto Input Buffers CUDA, 32 frames Input Info Avisynth+ 2.60(yv12)->nv12 [AVX2], 1280x720, 24000/1001 fps Vpp Filters copyHtoD cspconv(nv12 -> p010) Output Info H.265/HEVC main10 @ Level 5.1 1280x720p 1:1 23.976fps (24000/1001fps) Encoder Preset quality Rate Control CQP I:18 P:20 B:22 Lookahead on, 16 frames, Adaptive I, B Insert GOP length 240 frames B frames 3 frames [ref mode: disabled] Ref frames 3 frames, MultiRef L0:4 L1:3 AQ on CU max / min auto / auto Others mv:auto nonrefp what does the error mean please? Should I be using other NVenc settings? Sorry for my noobidity. Thank you. EDIT: nvidia driver 445.75 Last edited by craigpro; 5th April 2020 at 11:35. |
5th April 2020, 18:34 | #1631 | Link | ||||||
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
Quote:
Quote:
Quote:
Main Menu > Tools > Settings > Pre Processing > ffmpeg: Re-mux TS to MKV > Edit Command: powershell.exe Arguments: -nologo -file "D:\ffmpegTsToMkv.ps1" "%source_file%" "%temp_file%.mkv" Code: Code:
$muxingMode = Get-MediaInfoValue ($args[0]) -Kind Audio -Parameter MuxingMode if ($muxingMode -eq 'ADTS') { $bsf = '-bsf:a', 'aac_adtstoasc' } ffmpeg -hide_banner -analyzeduration 100M -probesize 50M -i $args[0] -map 0 -c copy @bsf -y $args[1] Quote:
Quote:
Main Menu > Help > Apps > nvenc > Online > Issues Code:
2.1.0.5 Beta ------------ - new: the global setting 'Add filter to convert chroma subsampling to 4:2:0' uses now ConvertToYUV420 instead of ConverttoYV12 - new: in custom command line based demuxers and in the ExecuteCommandLine command the path environment variable of the process has all exe tools added and all macros are available as environment variables - new: AviSynth filter profile using ColorYUV function - update: mkvtoolnix 45.0.0 - update: nvenc 4.69 - update: DFTTest 1.9.5 Clang - update: L-Smash-Works 2020-03-22 HolyWu - update: ffms2 89bd1e1 StvG - fix: the MediaInfo Folder view did not work unless Get-MediaInfo was installed, now it should work even without being installed, please try and give feedback https://1drv.ms/u/s!ArwKS_ZUR01g0kH4...3GaKe?e=qbOfGS
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
||||||
5th April 2020, 19:40 | #1632 | Link | |
Registered User
Join Date: Jan 2015
Posts: 286
|
Quote:
Some tools were updated... DFTTest 1.9.6, L-Smash-Works 2020-03-28 HolyWu (L-Smash-Works 2020-03-22 HolyWu is buggy), Xvid_encraw 1.3.7 (My Builds). |
|
5th April 2020, 23:48 | #1635 | Link | |
App Digger
Join Date: Sep 2018
Posts: 411
|
Quote:
And QSVEnc is updated to 4.00. |
|
6th April 2020, 02:14 | #1636 | Link |
Registered User
Join Date: Sep 2018
Posts: 391
|
Reporting a bug @Stax76
I'm on version 2.0.8.0 The issue is circled in red. No matter how many times I create an audio profile with the name that I want it to be. It defaults right back to taking on the track name of what it's encoding from. I have tried creating the profile many different ways and times. Thanks! EDIT: Found another bug. I'm trying to setup some batch encode profiles. When I setup the profile and set my bitrate here https://i.imgur.com/4wYNilT.jpg it will not carry over to the encode if I do multiple files with the same settings (batch) If i force the command with a custom command it does however work here https://i.imgur.com/3YRA0kv.png Last edited by jlw_4049; 6th April 2020 at 04:43. |
6th April 2020, 02:43 | #1637 | Link | |
Registered User
Join Date: Nov 2017
Posts: 4
|
Quote:
What do you mean by the second part of your reply, Im no expert so that went a bit over my head. And thanks for keeping Staxrip alive ! <3 |
|
6th April 2020, 06:41 | #1638 | Link | ||||||
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
https://mpv.io/manual/master https://x265.readthedocs.io/en/latest/cli.html
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 6th April 2020 at 06:43. |
||||||
6th April 2020, 11:30 | #1639 | Link | |
Registered User
Join Date: Nov 2017
Posts: 4
|
Quote:
|
|
6th April 2020, 11:40 | #1640 | Link |
Registered User
Join Date: Feb 2002
Posts: 758
|
An interesting observation I have made with encoding x265 4K. Encoding with a lower CRF takes more time. CRF 21 is a little slower than CRF 22 and CRF 20 is significantly slower.
I would have thought that if you wanted a better quality and use less compression, it should be faster to encode but it is the opposite. So, it is interesting on how to decide which CRF to use. Not only it depends on the quality you want, you have to consider how slow the encoding will be. I'm thinking that for me 4K CRF 20 is a no go for me. Too slow. |
Tags |
aac, hdr, hevc, nvenc, staxrip, x264, x265 |
|
|