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 September 2024, 14:59 | #4902 | Link | |
Registered User
Join Date: Jan 2006
Location: Italy
Posts: 277
|
Quote:
https://github.com/staxrip/staxrip/issues/1457
__________________
my PC with Ryzen 7950X |
|
6th September 2024, 12:44 | #4903 | Link |
Formally known as .......
Join Date: Sep 2021
Location: Down Under.
Posts: 1,124
|
Version 2.42.0 is released.
https://github.com/staxrip/staxrip/releases/tag/v2.42.0 Lots of changes, etc.
__________________
Long term RipBot264 user. RipBot264 modded builds.. *new* x264 & x265 addon packs.. |
9th September 2024, 15:37 | #4904 | Link |
Formally known as .......
Join Date: Sep 2021
Location: Down Under.
Posts: 1,124
|
Version 2.42.1 (update) is released. (just a small fix 1.16Mb)
https://github.com/staxrip/staxrip/releases/tag/v2.42.1 Here we go again..
__________________
Long term RipBot264 user. RipBot264 modded builds.. *new* x264 & x265 addon packs.. |
9th September 2024, 15:58 | #4905 | Link |
Registered User
Join Date: Jan 2006
Location: Italy
Posts: 277
|
Update needed at least for log file generation.
__________________
my PC with Ryzen 7950X |
5th October 2024, 20:26 | #4908 | Link | |
Registered User
Join Date: Dec 2018
Posts: 2
|
problems with fps conversion and deinterlacing with ffmpeg in staxrip
Hello guys,
since I changed from 2.29 to 2.42.1 last week, neither deinterlacing nor frame conversion work using ffmpeg within staxrip. On the end of a fps conversion the program stops with an error that there were too less frames to encode. How can I tell staxrip that exactly this was my intention (I have 720p50 input which I convert to 480p25)? And second, deinterlacing doesn't work with ffmpeg. My command line looks like: -hwaccel cuda -hwaccel_output_format cuda -c:v h264_nvenc -profile:v high -v verbose -vf yadif,delogo=x=100:y=59:w=30:h=60,eq=gamma=0.91:saturation=1.4,crop=1920:1080:0:0,scale=1744x980:flags=lanczos,unsharp=3:3:2 -preset p6 -tune hq -rc vbr -rc-lookahead 32 -spatial-aq 1 -temporal-aq 1 -coder cabac -refs 2 -bf 4 -b_ref_mode middle -b:v 4300k The log is this: Quote:
|
|
7th October 2024, 19:30 | #4909 | Link | |
Registered User
Join Date: Dec 2018
Posts: 2
|
Using ffmpeg to perform fps conversion and deinterlacing fails
I use staxrip since the very early days and always found a way for me to manage problems which occur with a new version.
But now I'm stuck... I convert 720p50 content to 480p25 that fails because staxrip counts the frames encoded and realizes a mismatch (of course...!). The second is a failure with deinterlacing. I use ffmpeg to impose the delogo filter and so I do all the work within an ffmpeg filter graph that fails completely. I tried to post a few days before. It was blocked. Maybe my log file was too big? Tanks in advance. My command line for the deinterlacing job is: "C:\Programme (portabel)\StaxRip-v2.42.0-x64\Apps\FrameServer\AviSynth\ffmpeg.exe" -hwaccel cuda -hwaccel_output_format cuda -i "D:\GBlueUE4k\1\20240921 Hello_fixed.ts" -c:v h264_nvenc -profile:v high -v verbose -vf yadif,delogo=x=143:y=69:w=60:h=80,eq=gamma=0.91:saturation=1.4,crop=1920:1080:4:4,scale=1744x980:flags=lanczos,unsharp=3:3:2 -preset p6 -tune hq -rc vbr -rc-lookahead 32 -spatial-aq 1 -temporal-aq 1 -coder cabac -refs 2 -bf 4 -b_ref_mode middle -b:v 4300k -an -y -hide_banner "D:\GBlueUE4k\1\20240921 Hello_fixed_temp\20240921 Hello_fixed_out.h264" error log output (excerpt): Quote:
Last edited by Bibo64; 7th October 2024 at 19:37. |
|
27th October 2024, 08:50 | #4910 | Link |
Registered User
Join Date: Mar 2002
Posts: 142
|
Hello, can someone help please?
I am trying to use Ngx-TrueHDR but i can not get a file that is 10 bit HDR on output, I have checked this thread below: Code:
https://github.com/staxrip/staxrip/issues/1509 Code:
Code:
Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main@L5.1@Main HDR format : SMPTE ST 2086 Codec ID : V_MPEGH/ISO/HEVC Duration : 1 h 58 min Bit rate : 29.5 Mb/s Width : 3 840 pixels Height : 2 160 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 24.000 FPS Color space : YUV Chroma subsampling : 4:2:0 (Type 2) Bit depth : 8 bits Bits/(Pixel*Frame) : 0.148 Stream size : 24.4 GiB (92%) Default : Yes Forced : No Color range : Limited Color primaries : BT.2020 Transfer characteristics : PQ Matrix coefficients : BT.2020 non-constant Mastering display color primaries : Display P3 Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2 Maximum Content Light Level : 1000 cd/m2 Maximum Frame-Average Light Level : 300 cd/m2 Thank you for any help. Last edited by DaMacFunkin; 27th October 2024 at 08:53. |
27th October 2024, 16:37 | #4911 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,738
|
Maybe the source is 8 bit ? Mediainfo please.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
27th October 2024, 18:14 | #4912 | Link |
Registered User
Join Date: Mar 2002
Posts: 142
|
Hi,
The source is 8 bit, but isn't the point of this to convert a 8 bit SDR to 10 bit HDR via NGX True HDR? I also have Output set at --output-depth 10 and transfer=bt709:bt2020-10 Surely Staxrip can convert 8bit to 10bit? |
27th October 2024, 20:58 | #4913 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,738
|
You got to upconvert in your script, Staxrip can not know otherwise.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
3rd November 2024, 15:42 | #4914 | Link |
Registered User
Join Date: Feb 2019
Posts: 9
|
Hmm... i got an error like this.
"Failed to load getVSScriptAPI function. Upgrade Vapoursynth to R55 or newer!" And, how to upgrade Vapoursynth? I don't see any update menu on Staxrip Last edited by Shuichiyagami; 4th November 2024 at 04:24. |
15th November 2024, 12:19 | #4915 | Link |
Registered User
Join Date: Oct 2019
Posts: 18
|
Thanks mainly use NVENC with variable bit rate - starting using the QP max in encoding, seems to work well as an overall insurance to certain std. I assume as well constraint by max bite rate , so another safety feature
Will play around a bit more to find perfect max QP for my needs Yes it pushed size up on some encodes , but SSIM and PSNR scores went up as well ( as an aside use VMAF as well for awhile - but seemed redundant as scores all correlated well , and that one maybe takes more time to calc ) anyway anyone else using NVENC qp int , max seem to work - interesting to see how much bitrate goes up on those 1 in 10 black and white movie that always gives lower SSIM scores -they look fine on viewing |
17th November 2024, 00:37 | #4916 | Link |
Registered User
Join Date: Feb 2003
Posts: 71
|
wow.. I had no idea Staxrip was supported any more, but really happy to see it is still in development.
I just updated from v2.8.0 and my old NVenc )using Rigaya's encoder (old v5.37, new 7.66) settings for hardware encoding were: old --vbr 0 --codec h265 --preset P7 --output-depth 10 --multipass 2pass-full --vbr-quality 33 --aq --aq-temporal --bref-mode middle --bframes 4 --ref 5 --lookahead 32 --multiref-l0 5 --multiref-l1 4 --vpp-deband range=24,thre=6,thre_y=6,thre_cb=6,thre_cr=6,dither=24,dither_y=24,dither_c=24 so re-creating that as best I could in v2.42.2 leads to: new --vbr 5000 --codec h265 --preset P7 --output-depth 10 --profile main --multipass 2pass-full --max-bitrate 17500 --aq --aq-temporal --bref-mode middle --bframes 4 --ref 5 --lookahead 32 --multiref-l0 5 --multiref-l1 4 --vpp-deband range=24,thre=6,thre_y=6,thre_cb=6,thre_cr=6,dither=24,dither_y=24,dither_c=24 The only difference I can see in the command line format (when I went through each options page in v2.8.0 and recreated them in v2.42.2) is the '--vbr 0' (2.8.0) changing to '--vbr 5000' (2.42.2) and the '--vbr-quality 33' (2.8.0) and '--vbr-quality 33 -' (2.42.2) options. I'm googling to find out what the actual difference is, but so far no luck. I did some testing with the same settings and same source file and 2.42.2 was slightly quicker (a total of 35 minutes instead of 42 minutes) and had a slightly higher VBR for video than 2.8.0, that was copying from an external USB C mechanical SATA drive to an nvme drive for the test files and audio conversion etc. Also I found it strange that the v2.8.0 encode with MAIN10 and 10bit video output was listed as 10bit, but the 2.42.2 encode was listed as 8bit when it has the same MAIN10 and 10bit video profile encoding settings. Source file is 8 bit, so maybe the 7.66 NVenc encoder doesn't convert 8 to 10 bit but the 5.37 NVEnc encoder did? Just wondering if anyone has any suggestions please which might improve the video quality (though to be honest I've been re-encoding DVDs and Blurays for the past 3 years using these settings and I cannot notice any quality loss). Thank you and THANK YOU! to the dev(s) still working on this (I'm catching up reading this thread) Last edited by craigpro; 17th November 2024 at 10:11. |
18th November 2024, 10:45 | #4918 | Link |
Registered User
Join Date: Oct 2019
Posts: 18
|
Craigpro, didn't know that was setting , quite like temp files as has text log and some stuff demuxed if need it - I also check SSIM scores
For DVDs I would just use H264 and CPU as so quick. For reasons i don't know - 264 is still best for DVDs.Some people use likes of Topaz AI to upscale and then encode to get smaller - Topaz isn't cheap and it's trial and error anyway My settings are --vbr 7000 --codec h265 --preset P7 --output-depth 10 --profile main10 --tier high --level 5.1 --multipass 2pass-full --qp-max 26 --max-bitrate 24000 --aq-temporal --bref-mode each --bframes 4 --ref 5 --lookahead 32 --gop-len 600 --slices 1 --multiref-l0 4 --multiref-l1 2 --no-b-adapt --no-i-adapt --weightp --ssim --psnr --mv-precision q-pel -i So pretty similar to yours minus vpp-deband etc the extra precision precision q-pel should technically improve your quality For non clean movies mainly older - I always do KNLMeansCL light ( setting ) -denoising done on Cuda cores as well. I find the results not displeasing - will still keep filmic look and details - but really has big impact on using my VBR 7000 much better , Purist will hate it, but some remasters by studios are more brutal that this, wiping grain and smoothing things . Some go other way, leaving in temporal noise like sparkling - just why ?? I used to use some of the other options, but thing they work better for encodes at 2000 or 3000 bits eg B and I adapt Just discovered the qp max - probably 26 is a bit demanding and will push bitrates out - i think for you qp max 30 maybe a good choice , will only hit those demanding parts of movie - shouldn't go over your max bitrate Also can work kind of other way to decrease overall bitrates. Eg if I have a modern Asian movie very clean, no noise , or modern style cartoon - I can drop my KNLMeansCL. set VBR to 3000 to 4000 and the have QP max at say 22 Ie I do encodes at 7000 and get a ssim score of .994 , so didn't really need all those bits , or pnr around 50 plus - For cartoons/anime , you should get close to perfect anyway I do change VBR for 4K or how much I like a movie , or if it's a doco - Some movies will eat bitrates , conversely 99% of movies are perfectly fine watched at 3000 or 2000 with CPU . Some movies I think they add random noise or something to make them hard to encode with a quality factor- just my opinion - ie if noise 100% random - there is no easy way to encode it efficiently Only shame is no open source will convert Atmos TrueHD to Dolby Digital Plus with atmos , same for DTS X - think no shrinking at moment - but DTS HD to DTS is a can do Only problem I find Starip can't handle well is movies with variable play back speeds ie not constant - So use handbrake then- I sure there are scripts , but if i was that much into it , i would use CPU And if say a subtitle goes for much longer that movie- Movie will play fine - just shows much longer length that has no video . just some sub wrongly timed for much later |
18th November 2024, 10:52 | #4919 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,820
|
StaxRip
Quote:
About noise: I find BM3DCUDA much more accurate and pleasant, leaving SMDegrain to some more noisy cases. About variable frame rates: you can extract timestamps with various tools and apply back when muxing to MKV. There is an option too in staxrip to deal with it but I never played with it enough.
__________________
@turment on Telegram |
|
20th November 2024, 08:57 | #4920 | Link | |
Registered User
Join Date: Feb 2003
Posts: 71
|
Quote:
title : Surround 5.1 BPS-eng : 1731917 DURATION-eng : 01:37:04.160000000 NUMBER_OF_FRAMES-eng: 546015 NUMBER_OF_BYTES-eng: 1260870592 SOURCE_ID-eng : 001101 _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2024-11-08 04:05:02 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID encoder : Lavc59.3.102 pcm_s16le frame=139640 fps=151 q=-0.0 Lq=-0.0 size=N/A time=01:37:04.15 bitrate=N/A speed= 6.3x video:120003kB audio:3276090kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [Parsed_ssim_0 @ 000001ce54676f00] SSIM Y:0.960329 (14.015279) U:0.975661 (16.136959) V:0.979870 (16.961561) All:0.966141 (14.703287) [Parsed_psnr_1 @ 000001ce54678000] PSNR y:41.829373 u:45.371809 v:45.719316 average:42.752872 min:30.327257 max:113.058966 C:\Staxrip\StaxRip-v2.8.0-x64> I tried the same settings in staxrip 2.42.2 and it was still around the same filesize, but it took longer.. so I think I'm going to stick with my tried and tested settings at the moment, but I will definitely give the qp max setting a bit of a test to see if I can improve it noticeably for not much increase in file size. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|