Log in

View Full Version : StaxRip


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 [94] 95 96 97 98 99 100 101

hevron
14th March 2023, 15:38
I'm using it right now with x265
QTGMC()
SelectOdd()

On an interlaced 25fps clip. Does this cause problems?

I would like to use it for my dvds(interlaced) 25fps with x264.

john33
14th March 2023, 16:55
Haven't used it in years, but this used to work for me:

QTGMC( Preset="Slow", FPSDivisor=2 )

Atlantis
14th March 2023, 19:19
It's very slow however. They have to rewrite it for modern machines.

DMD
15th March 2023, 07:59
Good morning.
A question I always wanted to ask and I always had a doubt about it.
Before starting x265 encoding if you have source material with aspect ratio higher than 1.78:1 , if I do cropping, will these frame pixels be excluded from the encoding?
Thank you

BobDig
15th March 2023, 10:25
Frame rate goes up to 50 and That is what you want. If you want lower framerates, take another deinterlacer.

Khun_Doug
15th March 2023, 15:43
Be sure to use PreFetch to increase the speed/performance. I find that a PreFetch of 6 works well.

As for FPS, the deinterlace choice depends on the source. Sometimes I can get away with YadidMod2. Other times QTGMC is the best choice. Of course, we're talking about 25 FPS source, or material that was incorrectly interlaced. I've had source material where the interlacing was visible in nearly every frame. Pick one and go to preview and step through some scenes where there is movement. That will help determine if the deinterlacing is being properly handled.

Another choice would be TDEint. I have had fair results with choosing the bob option, and setting the deinterlace type to 5.

Encoding at 50 FPS, or even higher depending on the source, does not appear to increase file size of the encode.

guest
16th March 2023, 05:16
Good morning.
A question I always wanted to ask and I always had a doubt about it.
Before starting x265 encoding if you have source material with aspect ratio higher than 1.78:1 , if I do cropping, will these frame pixels be excluded from the encoding?
Thank you

Hi DMD,

If you don't get an answer, I would suggest that you just test a 5 minute or so, sample of that video.

Then you'll know...

Ripmann
22nd March 2023, 01:46
Thanks for the update. Is there a way to do hardware-based AV1 encoding on the latest version?

uper
3rd April 2023, 22:33
Could you share the command line that you use to compress with x265? I know that each command depends on a thousand factors but I suppose that I open some default configuration that works better

Zetti
7th April 2023, 13:02
Version 2.15.0 is released.
https://github.com/staxrip/staxrip/releases/tag/v2.15.0

DMD
7th April 2023, 17:57
Thanks for the news.
I wonder why the x265 encoder is not updated which remained at version 3.5+37+12-4e46995bc-.Mod-by-Patman (01/04/2022), maybe there are no stable bersions yet.
https://github.com/jpsdr/x265/releases

guest
9th April 2023, 03:10
Thanks for the news.
I wonder why the x265 encoder is not updated which remained at version 3.5+37+12-4e46995bc-.Mod-by-Patman (01/04/2022), maybe there are no stable bersions yet.
https://github.com/jpsdr/x265/releases

Yes, it's a shame that whoever is releasing these new builds, isn't keeping them as up to date, as they could be.. :(

But at least you know how to do it yourself :)

Emulgator
9th April 2023, 12:35
Learn to say thank you. Many thanks, Dendraspis !

Glarioo
9th April 2023, 16:42
Thank you very much for the update, Dendraspis.

Guest
11th April 2023, 03:57
Please help me, thanks
How can i set the zoom to 50:50

https://thumbs4.imagebam.com/97/78/a5/MEK2XP4_t.png (https://www.imagebam.com/view/MEK2XP4)


You've asked about this before.....

Check the settings shown in the blue text at the bottom of the window.

guest
11th April 2023, 13:35
Because I didn't get help before
My problem is only when Encode film with 1920 x 1030 ratio or higher
Can you tell in more detail?
Thank you

TBH, I don't use StaxRip very often, so you need to explain what you think the error is ??

The blue text at the bottom recommends what you need to do..

Do you want the 50:50, or is that the problem ?

Looks like you need to manually change some settings to fix it.

You might need to manually change the height to 1032 or 1040, as it states that it needs to be the width divisible by 8.

guest
11th April 2023, 15:49
I try to set it to be 50:50, without paying attention to the problem of divisibility by 8
Thank you for explaining! :thanks:
But is there any way to get a height that is not divisible by 8? :confused:

Again, I don't use StaxRip enough to answer that...but from what I can tell, it will show that same sort of error if its not.

But it looks like the video you've loaded isn't divisible by 8, and thats the problem.

Why its like that, is anybody's guess :(

AMED
11th April 2023, 22:58
You can change the divisible 8 by going in to options, Image and changing the output mod drop down.

Atlantis
19th April 2023, 22:37
https://github.com/staxrip/staxrip/releases/tag/v2.16.0

god_md5
22nd April 2023, 14:36
Assertion failed: TimecodeDelay >= int16(0x8000) && TimecodeDelay <= int16(0x7FFF), file lib/libmatroska/src/KaxCluster.cpp, line 261
how to fix this QTGMC ?

Atlantis
24th April 2023, 23:10
Maybe write what command you are using. I just used QTGMC and it worked.
QTGMC(InputType=2, TR2=2)

Tonysa
4th May 2023, 10:24
Hi everyone, I had already exposed my problem previously without solving it. If I can re -propose it, I will be more specific. I have to convert an MP4 file from television registration (it's a vfr video). If I convert the entire video without making cuts, the result is excellent and without audio synchronization problems. If, on the other hand, I make cuts to remove some advertisements, StaxRip warns me that "the duration changed and doesn't fit the original timestamps, which can cause unwanted results. You can delete/change the timestamps file selection under Container Option > Option" and the result is a video with synchronization problems... Anyone can help me?

guest
4th May 2023, 12:04
Hi everyone, I had already exposed my problem previously without solving it. If I can re -propose it, I will be more specific. I have to convert an MP4 file from television registration (it's a vfr video). If I convert the entire video without making cuts, the result is excellent and without audio synchronization problems. If, on the other hand, I make cuts to remove some advertisements, StaxRip warns me that "the duration changed and doesn't fit the original timestamps, which can cause unwanted results. You can delete/change the timestamps file selection under Container Option > Option" and the result is a video with synchronization problems... Anyone can help me?

What are you using to remove ads, etc ?

Might pay to do the StaxRip run beforehand.

Tonysa
4th May 2023, 12:32
What are you using to remove ads, etc ?

Might pay to do the StaxRip run beforehand.


To remove ads I use StaxRip

guest
4th May 2023, 12:53
To remove ads I use StaxRip

I didn't know you could do that with StaxRip....

I do a lot of ads removal, but I use VideoRedo... it's semi automatic :)

Tonysa
4th May 2023, 13:08
I didn't know you could do that with StaxRip....

I do a lot of ads removal, but I use VideoRedo... it's semi automatic :)

I also used video redo. But staxrip is much more intuitive and has options that videoredo doesn't have... for example automatic shutdown when the job is done

guest
4th May 2023, 13:54
I also used video redo. But staxrip is much more intuitive and has options that videoredo doesn't have... for example automatic shutdown when the job is done

Well, as my sig suggests, I use RipBot, and that just gained a nice edit feature.

Don't use StaxRip enough to know how to do that editing, I'll have to have a look.

But maybe there is something wrong with the trim function and that's why the audio is out of sync after you've done a cut.

But I think you'll find there is some way of getting VideoRedo to auto shutdown..

https://videoredo.net/msgBoard/index.php?threads/auto-shutdown-computer-after-batch-execution.35848/

fozter
9th May 2023, 19:07
Having some problems with staxrip not being able to cut the audio when using the cutting filter in v2.16.0.
Source container is avi(video=utvideo, audio=pcm_s16le)

Here is part of the log, seems to be a problem with ffmpeg:


----------------------------- Demux Audio -----------------------------

ffmpeg n6.0-8-g18dde8d4cf-20230319

C:\StaxRip-2.16.0-Stable\Apps\Encoders\ffmpeg\ffmpeg.exe -y -hide_banner -probesize 10M -i "C:\source.avi" -vn -sn -c:a pcm_s16le "C:\source_temp\ID1.wav"

Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from 'C:\source.avi':
Metadata:
software : Lavf60.3.100
Duration: 01:44:23.09, start: 0.000000, bitrate: 43144 kb/s
Stream #0:0: Video: utvideo (ULY0 / 0x30594C55), yuv420p(bt470bg/unknown/unknown), 720x480, 41598 kb/s, SAR 8:9 DAR 4:3, 29.97 fps, 29.97 tbr, 29.97 tbn
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'C:\source_temp\ID1.wav':
Metadata:
software : Lavf60.3.100
ISFT : Lavf60.3.100
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
encoder : Lavc60.3.100 pcm_s16le
video:0kB audio:1174400kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000006%

Start: 21:33:58
End: 21:34:01
Duration: 00:00:02

...

---------------------- Indexing using ffmsindex ----------------------

...

---------------------------- Configuration ----------------------------

...

--------------------------- AviSynth Script ---------------------------

...
Trim(37632, 41576)
Spline36ResizeMT(680, 510, prefetch=4)

------------------------- Source Script Info -------------------------

Width : 720
Height : 480
Frames : 187705
Time : 01:44:23.090
Framerate : 29.970029 (30000/1001)
Format : YUV420P8

------------------------- Target Script Info -------------------------

Width : 680
Height : 510
Frames : 3945
Time : 02:11.632
Framerate : 29.970029 (30000/1001)
Format : YUV420P8

---------------------- Media Info Audio Source 1 ----------------------

General
Complete name : C:\source_temp\ID1.wav
Format : Wave
Format settings : PcmWaveformat
File size : 1.12 GiB
Duration : 1 h 44 min
Overall bit rate mode : Constant
Overall bit rate : 1 536 kb/s
Writing application : Lavf60.3.100

Audio
Format : PCM
Format settings : Little / Signed
Codec ID : 1
Duration : 1 h 44 min
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 1.12 GiB (100%)

----------------------------- Find Gain 1 -----------------------------

ffmpeg n6.0-8-g18dde8d4cf-20230319

C:\StaxRip-2.16.0-Stable\Apps\Encoders\ffmpeg\ffmpeg.exe -i "C:\source_temp\ID1.wav" -sn -vn -hide_banner -af volumedetect -f null NUL

Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'C:\source_temp\ID1.wav':
Metadata:
encoder : Lavf60.3.100
Duration: 01:44:23.47, bitrate: 1536 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'NUL':
Metadata:
encoder : Lavf60.3.100
Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
encoder : Lavc60.3.100 pcm_s16le
video:0kB audio:1174400kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[Parsed_volumedetect_0 @ 00000153e159f800] n_samples: 601292800
[Parsed_volumedetect_0 @ 00000153e159f800] mean_volume: -41.0 dB
[Parsed_volumedetect_0 @ 00000153e159f800] max_volume: -14.2 dB
[Parsed_volumedetect_0 @ 00000153e159f800] histogram_14db: 5
[Parsed_volumedetect_0 @ 00000153e159f800] histogram_15db: 17
[Parsed_volumedetect_0 @ 00000153e159f800] histogram_16db: 41
[Parsed_volumedetect_0 @ 00000153e159f800] histogram_17db: 99
[Parsed_volumedetect_0 @ 00000153e159f800] histogram_18db: 273
[Parsed_volumedetect_0 @ 00000153e159f800] histogram_19db: 1497
[Parsed_volumedetect_0 @ 00000153e159f800] histogram_20db: 7938
[Parsed_volumedetect_0 @ 00000153e159f800] histogram_21db: 31045
[Parsed_volumedetect_0 @ 00000153e159f800] histogram_22db: 88245
[Parsed_volumedetect_0 @ 00000153e159f800] histogram_23db: 184295
[Parsed_volumedetect_0 @ 00000153e159f800] histogram_24db: 320557

Start: 21:35:31
End: 21:35:33
Duration: 00:00:02

----------------- Create avi file for audio cutting 1 -----------------

ffmpeg n6.0-8-g18dde8d4cf-20230319

C:\StaxRip-2.16.0-Stable\Apps\Encoders\ffmpeg\ffmpeg.exe -f lavfi -i color=c=black:s=16x16:d=6263.090166667:r=29.970029970 -y -hide_banner -c:v copy "C:\source_temp\ID1_2894080409_cut_.avi"

mkvmerge cannot cut audio without video so an avi file has to be created

Input #0, lavfi, from 'color=c=black:s=16x16:d=6263.090166667:r=29.970029970':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: wrapped_avframe, yuv420p, 16x16 [SAR 1:1 DAR 1:1], 29.97 fps, 29.97 tbr, 29.97 tbn
Output #0, avi, to 'C:\source_temp\ID1_2894080409_cut_.avi':
Metadata:
ISFT : Lavf60.3.100
Stream #0:0: Video: wrapped_avframe, yuv420p, 16x16 [SAR 1:1 DAR 1:1], q=2-31, 29.97 fps, 29.97 tbr, 29.97 tbn
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file is empty, nothing was encoded

Start: 21:35:33
End: 21:35:35
Duration: 00:00:01

General
Complete name : C:\source_temp\ID1_2894080409_cut_.avi
Format : AVI
Format/Info : Audio Video Interleave
Format settings : BitmapInfoHeader
File size : 5.63 KiB
Frame rate : 29.970 FPS
Writing application : Lavf60.3.100

Video
ID : 0
Format : RGB
Codec ID : 0x00000000
Codec ID/Info : Basic Windows bitmap format. 1, 4 and 8 bpp versions are palettised. 16, 24 and 32bpp contain raw RGB samples
Width : 16 pixels
Height : 16 pixels
Display aspect ratio : 1.000
Frame rate : 29.970 (30000/1001) FPS
Color space : RGB
Bit depth : 8 bits
Scan type : Progressive

----------------------------- Cut Audio 1 -----------------------------

mkvmerge 74.0

C:\StaxRip-2.16.0-Stable\Apps\Support\MKVToolNix\mkvmerge.exe -o "C:\source_temp\ID1_2894080409_cut_.mkv" "C:\source_temp\ID1_2894080409_cut_.avi" "C:\source_temp\ID1.wav" --split parts-frames:37632-41577 --ui-language en

mkvmerge v74.0 ('You Oughta Know') 64-bit
'C:\source_temp\ID1_2894080409_cut_.avi': Using the demultiplexer for the format 'AVI'.
Error: The demultiplexer for the file 'C:\source_temp\ID1_2894080409_cut_.avi' failed to initialize:
The file content does not match its format type and was not recognized.

Start: 21:35:35
End: 21:35:35
Duration: 00:00:00

--------------------------- Video encoding ---------------------------

NVEnc 7.24

C:\StaxRip-2.16.0-Stable\Apps\Encoders\NVEnc\NVEncC64.exe --vbr 2500 --preset P7 --multipass 2pass-full --aq --aq-temporal --bref-mode middle --bframes 4 --ref 5 --lookahead 32 --strict-gop --weightp --mv-precision q-pel --cabac -i "C:\source_temp\output.avs" -o "C:\source_temp\output_out.h264"

--------------------------------------------------------------------------------
C:\source_temp\output_out.h264
--------------------------------------------------------------------------------

...

-------------------------- Audio Encoding 1 --------------------------

qaac 2.79

C:\StaxRip-2.16.0-Stable\Apps\Encoders\ffmpeg\ffmpeg.exe -i "C:\source_temp\ID1.wav" -ac 2 -loglevel fatal -hide_banner -f wav - | C:\StaxRip-2.16.0-Stable\Apps\Audio\qaac\qaac64.exe --cvbr 192 --normalize --gain 14.2 - -o "C:\source_temp\ID1_2894080409.m4a"

qaac 2.79, CoreAudioToolbox 7.10.9.0
ID1_2894080409.m4a
Scanning maximum peak...
300646400/-1 samples processed in 0:03.422
Peak: 0.196045 (-14.1529dB)
AAC-LC Encoder, CVBR 192kbps, Quality 96
300646400/300646400 samples processed in 0:48.359
Overall bitrate: 197.406kbps

Start: 21:35:35
End: 21:36:27
Duration: 00:00:52

General
Complete name : C:\source_temp\ID1_2894080409.m4a
Format : MPEG-4
Format profile : Apple audio with iTunes info
Codec ID : M4A (M4A /mp42/isom)
File size : 149 MiB
Duration : 1 h 44 min
Overall bit rate mode : Variable
Overall bit rate : 199 kb/s
Encoded date : 2023-05-07 19:35:38 UTC
Tagged date : 2023-05-07 19:36:27 UTC
Writing application : qaac 2.79, CoreAudioToolbox 7.10.9.0, AAC-LC Encoder, CVBR 192kbps, Quality 96
Encoding Params : (Binary)

Audio
ID : 1
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 1 h 44 min
Bit rate mode : Variable
Bit rate : 197 kb/s
Maximum bit rate : 255 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 147 MiB (99%)
Encoded date : 2023-05-07 19:35:38 UTC
Tagged date : 2023-05-07 19:36:27 UTC

---------------------------- Muxing to MP4 ----------------------------
...

AMED
9th May 2023, 19:57
@fozter
Your problem may be related to this
https://github.com/staxrip/staxrip/issues/997

fozter
10th May 2023, 14:31
@fozter
Your problem may be related to this
https://github.com/staxrip/staxrip/issues/997

Thank you!

My temporary fix is to replace ffmpeg with an earlier version(5.1.2).
Hopefully it is resolved in the next version of staxrip

lawre
10th May 2023, 15:29
The latest version in which everything works well is Staxrip 2.14.0.

guest
11th May 2023, 03:38
The latest version in which everything works well is Staxrip 2.14.0.

OUCH...:scared:

Arkana
19th May 2023, 00:28
Using staxrip x265 to encode some bluray remuxs, after a 2 day long encode, mediainfo shows resulting file as variable frane rate 23.976 instead of constant.
Could anyone tell me how to set a constant frane rate please?

I'm having the same problem
and this is my encoding LOG

------------------------- System Environment -------------------------

StaxRip : v2.16.0
Windows : Windows Server 2022 Standard 2009
Language : English (United States)
CPU : AMD Ryzen 9 7950X3D 16-Core Processor
GPU : Microsoft Remote Display Adapter, Microsoft Basic Display Adapter
Resolution : 1366 x 768
DPI : 96
Code Page : 1252

---------------------- Indexing using ffmsindex ----------------------

D:\Apps\StaxRip-v2.16.0-x64\StaxRip-v2.16.0-x64\Apps\Plugins\Dual\ffms2\ffmsindex.exe D:\Apps\Dolby_Vision_Tool_v0.53\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX.mkv D:\Apps\Dolby_Vision_Tool_v0.53\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX_temp\temp.ffindex

Writing index... done.

Start: 4:55:58 AM
End: 4:56:06 AM
Duration: 00:00:07

----------------------- Media Info Source File -----------------------

D:\Apps\Dolby_Vision_Tool_v0.53\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX.mkv

General
Complete name : D:\Apps\Dolby_Vision_Tool_v0.53\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX.mkv
Format : Matroska
Format version : Version 4
File size : 12.4 GiB
Duration : 2 h 4 min
Overall bit rate : 14.2 Mb/s
Frame rate : 23.976 FPS
Writing application : mkvmerge v75.0.0 ('Goliath') 64-bit
Writing library : libebml v1.4.4 + libmatroska v1.7.1

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@High
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 4 min
Bit rate : 13.5 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS


-------------------------- Demux timestamps --------------------------

mkvextract 74.0

D:\Apps\StaxRip-v2.16.0-x64\StaxRip-v2.16.0-x64\Apps\Support\MKVToolNix\mkvextract.exe --ui-language en timestamps_v2 D:\Apps\Dolby_Vision_Tool_v0.53\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX.mkv 0:D:\Apps\Dolby_Vision_Tool_v0.53\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX_temp\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX_timestamps.txt

Start: 4:56:30 AM
End: 4:56:33 AM
Duration: 00:00:03

------------------------------ Auto Crop ------------------------------

AutoCrop 2.2

D:\Apps\StaxRip-v2.16.0-x64\StaxRip-v2.16.0-x64\Apps\Support\AutoCrop\AutoCrop.exe D:\Apps\Dolby_Vision_Tool_v0.53\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX_temp\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX_new_source.avs 15 0

0,68,0,68

Start: 4:56:35 AM
End: 4:56:40 AM
Duration: 00:00:04

---------------------------- Configuration ----------------------------

Template : Manual Workflow
Video Encoder Profile : x265 2160p HDR
Container/Muxer Profile : MKV (mkvmerge)

--------------------------- AviSynth Script ---------------------------

AddAutoloadDir("D:\Apps\StaxRip-v2.16.0-x64\StaxRip-v2.16.0-x64\Apps\FrameServer\AviSynth\plugins")
LoadPlugin("D:\Apps\StaxRip-v2.16.0-x64\StaxRip-v2.16.0-x64\Apps\Plugins\Dual\ffms2\ffms2.dll")
tcFile = "D:\Apps\Dolby_Vision_Tool_v0.53\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX_temp\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX_timestamps.txt" # timestamps file path
Exist(tcFile) ? FFVideoSource("D:\Apps\Dolby_Vision_Tool_v0.53\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX.mkv", cachefile="D:\Apps\Dolby_Vision_Tool_v0.53\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX_temp\temp.ffindex", timecodes=tcFile) : FFVideoSource("D:\Apps\Dolby_Vision_Tool_v0.53\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX.mkv", cachefile="D:\Apps\
Crop(0, 68, -0, -68)

------------------------- Source Script Info -------------------------

Width : 3840
Height : 2160
Frames : 179200
Time : 02:04:34.133
Framerate : 23.976023 (24000/1001)
Format : YUV420P10

------------------------- Target Script Info -------------------------

Width : 3840
Height : 2024
Frames : 179200
Time : 02:04:34.133
Framerate : 23.976023 (24000/1001)
Format : YUV420P10


--------------------------- Video encoding ---------------------------

x265 3.5+37+12-4e46995bc-.Mod-by-Patman.-x64-msvc1931

D:\Apps\StaxRip-v2.16.0-x64\StaxRip-v2.16.0-x64\Apps\Support\avs2pipemod\avs2pipemod64.exe -dll=D:\Apps\StaxRip-v2.16.0-x64\StaxRip-v2.16.0-x64\Apps\FrameServer\AviSynth\AviSynth.dll -y4mp | D:\Apps\StaxRip-v2.16.0-x64\StaxRip-v2.16.0-x64\Apps\Encoders\x265\x265.exe --frames 179200 --crf 20.5 --output-depth 10 --profile main10 --level-idc 5.1 --rd 4 --rdoq-level 2 --limit-modes --aq-mode 5 --vbv-bufsize 47500 --vbv-maxrate 38000 --subme 5 --me umh --merange 35 --max-merge 3 --rc-lookahead 25 --lookahead-slices 4 --min-keyint 24 --keyint 240 --frame-threads 5 --master-display "G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(10000000,1)" --hdr10 --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --range limited --chromaloc 2 --dolby-vision-profile 8.1 --dolby-vision-rpu D:\Apps\Dolby_Vision_Tool_v0.53\Ant.Man.and.the.Wasp.Quantumania.2023.IMAX_[EXTRACTED]\RPU.bin --repeat-headers --aud --hrd --deblock -3:-3 --no-sao --no-strong-intra-smoothing --y4m --

avs2pipemod[info]: writing 179200 frames of 24000/1001 fps, 3840x2024,
sar 0:0, YUV-420-planar-10bit progressive video.
y4m [INFO]: 3840x2024 fps 24000/1001 i420p10 unknown frame count
x265 [INFO]: HEVC encoder version 3.5+37+12-4e46995bc [Mod by Patman]
x265 [INFO]: build info [Windows][MSVC 1931][64 bit] 10bit
x265 [INFO]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [INFO]: Main 10 profile, Level-5.1 (High tier)
x265 [INFO]: Thread pool created using 32 threads
x265 [INFO]: Slices : 1
x265 [INFO]: frame threads / pool features : 5 / wpp (32 rows)
x265 [INFO]: Coding QT: max CU size / min CU size : 64 / 8
x265 [INFO]: Residual QT: max TU size / max TU depth : 32 / 1 inter / 1 intra
x265 [INFO]: ME / range / subpel / merge : umh / 35 / 5 / 3
x265 [INFO]: Keyint min / max / scenecut / bias : 24 / 240 / 40 / 5.00
x265 [INFO]: Lookahead / bframes / badapt : 25 / 4 / 2
x265 [INFO]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [INFO]: References / ref-limit cu / depth : 3 / on / on
x265 [INFO]: AQ: mode / str / qg-size / cu-tree : 5 / 1.0 / 32 / 1
x265 [INFO]: Rate Control / qCompress : CRF-20.5 / 0.60
x265 [INFO]: VBV buffer / maxrate / init : 47500 / 38000 / 0.900
x265 [INFO]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 early-skip rskip mode=1
x265 [INFO]: tools: signhide tmvp b-intra lslices=4 deblock(tC=-3:B=-3)
avs2pipemod[info]: finished, wrote 179200 frames [100%].
avs2pipemod[info]: total elapsed time is 22411.943 sec.
x265 [INFO]: VES muxing with Dolby Vision RPU file successful in x265
x265 [INFO]: frame I: 2362, Avg QP:19.17 kb/s: 25309.95
x265 [INFO]: frame P: 48136, Avg QP:21.34 kb/s: 12050.29
x265 [INFO]: frame B: 128702, Avg QP:25.31 kb/s: 3031.66
x265 [INFO]: Weighted P-Frames: Y:4.5% UV:3.5%
x265 [INFO]: consecutive B-frames: 18.9% 8.3% 9.8% 24.8% 38.1%
encoded 179200 frames in 22412.85s (8.00 fps), 5747.85 kb/s, Avg QP:24.16


Format : HEVC
Format/Info : High Efficiency Video Coding
File size : 5.04 GiB
Frame rate : 23.976 FPS
Writing library : x265 3.5+37+12-4e46995bc:[Windows][MSVC 1931][64 bit] 10bit

Video
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Width : 3 840 pixels
Height : 2 024 pixels
Display aspect ratio : 1.897
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Writing library : x265 3.5+37+12-4e46995bc:[Windows][MSVC 1931][64 bit] 10bit
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : BT.2020
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2



Start: 1:21:49 PM
End: 1:22:01 PM
Duration: 00:00:12


Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 4 min
Bit rate : 5 795 kb/s
Width : 3 840 pixels
Height : 2 024 pixels
Display aspect ratio : 1.897
Frame rate mode : Variable
Frame rate : 23.976 FPS


---------------------------- Job Complete ----------------------------

Start: 7:08:14 AM
End: 1:22:01 PM
Duration: 06:13:46

AMED
19th May 2023, 02:44
@Arkana,

In Staxrip > Option > Timestamps. untick extract timestamps from MKV files.

You don't need to re encode your files just load them in to MKVtoolnix and set the correct frame rate and start multiplexing. the new file should have a constant frame rate.

https://forum.doom9.org/showthread.php?t=183779

madey83
19th May 2023, 07:54
hi,

i have problem with encoding DV source like silo s01e01 Ntb/ggwp release. I've opened bug https://github.com/staxrip/staxrip/issues/1010 but to be honest i do not know if it is bug or source problem related.

Could you please take a look on this issue and give some suggestion how to solve it?

Thank you in advance.

Zetti
20th May 2023, 03:27
Version 2.17.0 is released.
https://github.com/staxrip/staxrip/releases/tag/v2.17.0

Zetti
22nd May 2023, 10:36
Version 2.18.0 is released.
https://github.com/staxrip/staxrip/releases/tag/v2.18.0

Atlantis
22nd May 2023, 10:42
@Arkana,

In Staxrip > Option > Timestamps. untick extract timestamps from MKV files.

I don't understand why it is not disabled by default. I said it a long ago, it causes a lot of problems. The majority of cases is constant framerate. It should be disabled.

In some very rare specialized advanced cases, the user should go and enable it. Which I have never encountered.

AMED
22nd May 2023, 19:58
I don't understand why it is not disabled by default. I said it a long ago, it causes a lot of problems. The majority of cases is constant framerate. It should be disabled.

In some very rare specialized advanced cases, the user should go and enable it. Which I have never encountered.
looks like it could be fixed in v2.18. Timestamps will only be extracted if the source is VFR is now enabled by default.

DMD
23rd May 2023, 11:44
Good morning
I just downloaded the latest version is giving me problems with the NVEncC encoder (7.25). it returns me error message.

I found the error my fault!!!
I had copied the NVEncC command line and some commands were not imported.

Emulgator
24th May 2023, 02:21
2.17 and 2.18: Drag-and drop of a .avs onto Source drop region collapses StaxRip.
2.16 works.

jinkazuya
26th May 2023, 15:24
Is there a way to have staxrip author implement the upscale feature or function in staxrip? I heard people keep saying about AI upscale besides training the models, pretty much they are also somewhat based on scripts and I think most of the scripts created by doom9 users or authors could do pretty much the same thing but just without training.

BTW, it seems we miss the old day when Didee was still around and he is one of the greatest video script creators ever. Just wonder if he will ever create scripts again for video enhancement. Here gotta say thanks to stax76 and whoever gets involved in this project. This is a great app.

AMED
27th May 2023, 09:15
Is there a way to have staxrip author implement the upscale feature or function in staxrip?
Best to make a polite request on github.
https://github.com/staxrip/staxrip/issues

Zetti
27th May 2023, 12:16
Version 2.19.0 is released.
https://github.com/staxrip/staxrip/releases/tag/v2.19.0

Atlantis
27th May 2023, 18:49
I just used 2.19. I noticed a huge performance improvement with Neo_FFT3D.

I don't know where it comes but it is almost the same speed as without it.

- Without it
27.35 fps

- Neo_FFT3D(bt=3, y=3, u=2, v=2, sigma=2)
24.88 fps

I don't remember exactly but I think in the past it was around 5 fps.

speedy
29th May 2023, 22:08
I'm sure this is news to almost no one here, but I just switched to StaxRip after using both ffmpeg cli and Handbrake and just wish I moved over sooner. StaxRip fits my needs extremely well and makes using AviSynth substantially easier.

One thing, I'm curious about though... is it possible to have StaxRip extract a Dolby Vision RPU from a source file and inject it into the destination file?

guest
30th May 2023, 01:14
I'm sure this is news to almost no one here, but I just switched to StaxRip after using both ffmpeg cli and Handbrake and just wish I moved over sooner. StaxRip fits my needs extremely well and makes using AviSynth substantially easier.

One thing, I'm curious about though... is it possible to have StaxRip extract a Dolby Vision RPU from a source file and inject it into the destination file?

Well, I prefer RipBot264....

As for DV rpu's, you have spent a fair bit of time on the DDVT thread, it's a pretty easy process to do after your encoding,
but it might be a little complicated to do within another app (I could be wrong).

And I think -QfG- is only going to make it easier to do...

cartman0208
1st June 2023, 15:40
One thing, I'm curious about though... is it possible to have StaxRip extract a Dolby Vision RPU from a source file and inject it into the destination file?

Not extract, but inject/encode.
For extraction I use the neat, yet quite unknown: HDR-Multi-Tool-GUI from github.
The insert location in Staxrip depends on the selected encoding method. With NVENC(H265) it's in the VUI Options

Emulgator
1st June 2023, 20:32
2.17 and 2.18 and 2.19 on Win10P64: Drag-and drop of a .avs onto Source drop region, or loading an .avs script via file manager collapses StaxRip.
2.16 works. Can anybody repeat that ?

A different system Win7U64SP1: 2.19 throws CLR20r3 Error, 2.16 works.
.net Incompatibilties ?

Arkana
4th June 2023, 01:28
Hi. I'm using Staxrip to convert HDR into SDR format with this DGTonemap method https://github.com/staxrip/staxrip/wiki/How-to-tonemap-HDR-to-SDR#method-2-dgtonemap-avs-only-preview-possible

My goal is replicate same color output to this https://caps-a-holic.com/c.php?d1=16585&d2=11107&s1=179356&s2=108990&i=9&l=0&a=1

But instead it went like this, horribly overexposed
https://i.postimg.cc/zb0y3bHT/Misery-1990-121240.png (https://postimg.cc/zb0y3bHT)
Then I set DGHable(exposure=1.0) and resulted like this. Better but color sightly washed
https://i.postimg.cc/3dWt820C/Misery-1990-2160p-121240.png (https://postimg.cc/3dWt820C)

another comparison
https://caps-a-holic.com/c.php?d1=16585&d2=11107&s1=179349&s2=108982&i=2&l=0&a=1
https://i.postimg.cc/CnS9r5cr/Misery-1990-29331.png (https://postimg.cc/CnS9r5cr)

Any help to get video converted like the caps-a-holic site?