View Full Version : StaxRip
Sulik
20th March 2016, 08:38
QSVEncC is based on a mixed/hybrid fixed function/GPU encoder with a lot more flexibility and options than NVEncC (Nvidia) or VCEEncC (AMD), but still is no match for a SW encoder like x264 in terms of encoding options.
What options are those ? QSV doesn't even support VBV.
NikosD
20th March 2016, 09:09
The encoding modes are these:
--cqp <int> or encode in Constant QP, default 24:26:27
<int>:<int>:<int> set qp value for i: p:b frame
--vqp <int> or encode in Variable QP, default 24:26:27
<int>:<int>:<int> set qp value for i: p:b frame
--la <int> set bitrate in Lookahead mode (kbps)
--la-hrd <int> set bitrate in HRD-Lookahead mode (kbps)
--icq <int> encode in Intelligent Const. Quality mode
default value: 23
--la-icq <int> encode in ICQ mode with Lookahead
default value: 23
--cbr <int> set bitrate in CBR mode (kbps)
--vbr <int> set bitrate in VBR mode (kbps)
--avbr <int> set bitrate in AVBR mode (kbps)
AVBR mode is only supported with API v1.3
--avbr-unitsize <int> avbr calculation period in x100 frames
default 90 (= unit size 9000 frames)
--qvbr <int> set bitrate in Quality VBR mode.
requires --qvbr-q option to be set as well
--qvbr-q <int> or set quality used in qvbr mode. default: 23
--qvbr-quality <int> QVBR mode is only supported with API v1.11
--vcm <int> set bitrate in VCM mode (kbps)
Encoding options:
--max-bitrate <int> set max bitrate(kbps)
--qpmin <int> or set min QP, default 0 (= unset)
<int>:<int>:<int>
--qpmax <int> or set max QP, default 0 (= unset)
<int>:<int>:<int>
-u,--quality <string> encode quality
- best, higher, high, balanced(default)
fast, faster, fastest
--la-depth <int> set Lookahead Depth, 10-100
--la-window-size <int> enables Lookahead Windowed Rate Control mode,
and set the window size in frames.
--la-quality <string> set lookahead quality.
- auto(default), fast, medium, slow
--(no-)mbbrc enables per macro block rate control
default: auto
--(no-)extbrc enables extended rate control
default: auto
--ref <int> reference frames for sw encoding
default 0 (auto)
-b,--bframes <int> number of sequential b frames
default 2(HEVC) / 3(others)
--(no-)b-pyramid enables B-frame pyramid reference (default: off)
--(no-)direct-bias-adjust lower usage of B frame Direct/Skip type
--gop-len <int> (max) gop length, default 0 (auto)
when auto, fps x 10 will be set.
--(no-)scenechange enables scene change detection
--(no-)open-gop enables open gop (default: off)
--strict-gop force gop structure
--(no-)i-adapt enables adaptive I frame insert (default: off)
--(no-)b-adapt enables adaptive B frame insert (default: off)
--(no-)weightp enable weight prediction for P frame
--(no-)weightb enable weight prediction for B frame
--(no-)fade-detect enable fade detection
--trellis <string> set trellis mode used in encoding
- auto(default), off, i, ip, all
--mv-scaling set mv cost scaling
- 0 set MV cost to be 0
- 1 set MV cost 1/2 of default
- 2 set MV cost 1/4 of default
- 3 set MV cost 1/8 of default
--slices <int> number of slices, default 0 (auto)
--no-deblock disables H.264 deblock feature
--sharpness <int> [vp8] set sharpness level for vp8 enc
--level <string> set codec level
- H.264: auto(default), 1, 1b, 1.1, 1.2, 1.3
2, 2.1, 2.2, 3, 3.1, 3.2, 4, 4.1, 4.2
5, 5.1, 5.2
- HEVC: auto(default), 1, 2, 2.1, 3, 3.1, 4
4.1, 5, 5.1, 5.2, 6, 6.1, 6.2
- MPEG2: auto(default), low, main, high
high1440
--profile <string> set codec profile
- H.264: auto(default), Baseline, Main, High
- HEVC: auto(default), main
- MPEG2: auto(default), Simple, Main, High
--sar <int>:<int> set Sample Aspect Ratio
--dar <int>:<int> set Display Aspect Ratio
--bluray for H.264 bluray encoding
--crop <int>,<int>,<int>,<int>
set crop pixels of left, up, right, bottom.
--fullrange set stream as fullrange yuv
VPP options:
--vpp-denoise <int> use vpp denoise, set strength (0-100)
--vpp-detail-enhance <int> use vpp detail enahancer, set strength (0-100)
--vpp-deinterlace <string> set vpp deinterlace mode
enabled only when set --tff or --bff
- none disable deinterlace
- normal normal deinterlace
- it inverse telecine
- bob double framerate
--vpp-image-stab <string> set image stabilizer mode
- none, upscale, box
--vpp-delogo <string> set delogo file path
--vpp-delogo-select <string> set target logo name or auto select file
or logo index starting from 1.
--vpp-delogo-pos <int>:<int> set delogo pos offset
--vpp-delogo-depth <int> set delogo depth [default:128]
--vpp-delogo-y <int> set delogo y param
--vpp-delogo-cb <int> set delogo cb param
--vpp-delogo-cr <int> set delogo cr param
--vpp-rotate <int> rotate image
90, 180, 270.
--vpp-half-turn half turn video image
unoptimized and very slow.
stax76
21st March 2016, 20:03
There is a user who reports DGDecNV does not work with StaxRip and a GTX 750 Ti card (Maxwell first generation) under Windows 10 Build 10586.
Is there anybody else with the same problem?
cards with the same chip:
GK106 GT 740
GK106 GTX 645 OEM
GK106 GTX 650 OEM
GK106 GTX 650 Ti
GK106 GTX 650 Ti Boost
GK106 GTX 650 Ti OEM
GK106 GTX 660
GK106 GTX 750 Ti
I've the same Windows Build but a GTX 960 which is Maxwell second generation.
IbrahimKh
22nd March 2016, 12:43
can't find option for 10 bit x264 encoding
any help?
stax76
22nd March 2016, 12:59
can't find option for 10 bit x264 encoding
any help?
It's not supported but you can try to replace the executable.
luigizaninoni
22nd March 2016, 13:08
It's not supported but you can try to replace the executable.
Yes, it definitely works. Just delete old x264.exe and replace with 10-bit binary.
jsquare
22nd March 2016, 14:15
{Detail Enhancement}: is the process of enhancing the edge contrast to improve its sharpness. VPP uses an adaptive detail enhancement algorithm to increase the edge sharpness.
Value of 0-100 (inclusive) indicates the level of details to be enhanced. Default value is 0 (disabled).
Sorry to break the party, but that option is not what you need.
There is not much you can do with QSV about finer detail retainment. Maybe LA-ICQ mode, higher value for la-depth scenechange, trellis for all, --quality sets to best, --b-pyramid on,--weightp, --weightb, --la-quality sets to slow .....etc?
It's not perfect but I'm getting OK results with ICQ 17 and these settings: --vpp-detail-enhance 1 --mbbrc --extbrc --weightp --weightb, trellis as auto or default.
With ICQ some features like --b-pyramid and --la are not available, also tried LA-ICQ but it seems worst than ICQ and makes a bigger file size.
By any chance, which QSV parameter is compatible to x264's mb-tree?
I always disable mb-tree and trellis on my x264 encodes, to keep most of the details.
nevcairiel
22nd March 2016, 16:11
Is there anybody else with the same problem?
cards with the same chip:
GK106 GT 740
GK106 GTX 645 OEM
GK106 GTX 650 OEM
GK106 GTX 650 Ti
GK106 GTX 650 Ti Boost
GK106 GTX 650 Ti OEM
GK106 GTX 660
GK106 GTX 750 Ti
I've the same Windows Build but a GTX 960 which is Maxwell second generation.
GK106 is Kepler, not Maxwell. GM* is Maxwell.
The actual GTX 750 (Ti) use GM107
stax76
22nd March 2016, 22:02
GK106 is Kepler, not Maxwell. GM* is Maxwell.
The actual GTX 750 (Ti) use GM107
DGDecNV has a file gpus.txt which contains the same name twice but with different architectures:
11c7 GK106 [GeForce GTX 750 Ti]
1380 GM107 [GeForce GTX 750 Ti]
really confusing...
nevcairiel
22nd March 2016, 23:21
DGDecNV has a file gpus.txt which contains the same name twice but with different architectures:
11c7 GK106 [GeForce GTX 750 Ti]
1380 GM107 [GeForce GTX 750 Ti]
really confusing...
11c7 was a rumored model that was never actually released. The only GTX 750 Ti is the 1380
IbrahimKh
23rd March 2016, 01:47
It's not supported but you can try to replace the executable.
Yes, it definitely works. Just delete old x264.exe and replace with 10-bit binary.
thanks
and should 16bit x265 work with this way?
stax76
23rd March 2016, 01:54
and should 16bit x265 work with this way?
in the x265 dialog is a search field to find options, paste --output-depth there, it will highlight what you are looking for
@all
I would like point out that I've reset all settings because the old settings were not compatible with new code. Typically I rewrite all code that relates to fixes and features I currently work on if I think it can be improved in some way, overall it improves the quality of the code but sometimes can cause problems like regressions or incompatible settings. What was causing the settings becoming incompatible was that I used regex to find all properties that can be written as much shorter auto properties. I know it's tedious for users with many settings, what can help a bit is knowing how StaxRip manages settings (can also be found in the wiki):
When StaxRip finds no settings on startup it shows a dialog asking for a location.
Different StaxRip locations/instances/versions use individual settings, whenever StaxRip starts from a new location it will ask for a settings folder to use for this location.
The current settings location can be found at Tools > Directories > Settings
build from today:
https://github.com/stax76/staxrip/wiki/Test-Build
brunosso
23rd March 2016, 11:02
Hi, i want to edit resize menu, and i want to add 480p to the existing value:
1920 x auto = 1920 x 0
1280 x auto = 1280 x 0
But i want to specify the Height, and calculate the Width in auto!
How can i do that?
I try this, but don't work
480 x auto = 0 x 480
stax76
23rd March 2016, 14:58
Hi, i want to edit resize menu, and i want to add 480p to the existing value:
1920 x auto = 1920 x 0
1280 x auto = 1280 x 0
But i want to specify the Height, and calculate the Width in auto!
How can i do that?
I try this, but don't work
480 x auto = 0 x 480
next build will support it
cegy
24th March 2016, 16:36
@stax76 i'm not liking the new look/chance of what you've done here :(
https://i.imgur.com/EwDx5zD.png
^old (test version before it)___________________ new^
stax76
24th March 2016, 17:04
It's a bit compressed and takes some getting used to but the new properties are very relevant, new is
Source:
file size
bit rate of video stream
color space
chroma subsampling
bit depth
scan type
scan order
Target:
frame rate
cegy
24th March 2016, 17:22
It's a bit compressed and takes some getting used to but the new properties are very relevant, new is
Source:
file size
bit rate of video stream
color space
chroma subsampling
bit depth
scan type
scan order
Target:
frame rate
but still this isn't so easy to read is it ? lets be honest.... :confused:
http://i.imgur.com/2olihFf.png
the version before it was both clean and easy to read surely something abit more like
http://i.imgur.com/Cz0MwgQ.png
is this any better? also this should you you a better idea of what i'm getting at :rolleyes: and maybe spark a better idea for the layout (even the target window could have a better layout aswell)
minor bug maybe? shouldn't 25.fps be 25 fps or 25.000 fps ?
stax76
24th March 2016, 17:43
With your example things look short but for most movies it's much longer like so:
http://oi63.tinypic.com/qn9p94.jpg
There isn't really room to display it better without making the window much bigger.
cegy
24th March 2016, 17:56
@stax76 still there's more you could do with the space that is there (so much text being together can be abit confusing whiles giving it slighly bigger gaps/spaces can help alot)
here's another example with the example your showing
http://oi63.tinypic.com/qn9p94.jpg vs https://i.imgur.com/xKImDlB.png
stax76
24th March 2016, 18:04
OK, I make some experiments.
Lupissimo
24th March 2016, 19:26
There seems to be a bug with cropping: If I use NVENC with avisynth/Vaporsynth-decode the crop values are multiplied by 2. Using NVENC with ffmpeg dvxa2 everything is ok.
stax76
24th March 2016, 19:49
There seems to be a bug with cropping: If I use NVENC with avisynth/Vaporsynth-decode the crop values are multiplied by 2. Using NVENC with ffmpeg dvxa2 everything is ok.
The build just uploaded fixes it.
https://github.com/stax76/staxrip/wiki/Test-Build
jonesjrgr
25th March 2016, 01:07
Sorry in advance,but this is my first post
in march 14 release has changed the autocrop feature (auto crop plugin replaced with new internal routine supporting both AviSynth and VapourSynth).
Since then,no matter what i do,cropping values are wrong.I installed in a new directory,create the same profiles,but in vain.Last working release for is "StaxRip_x64_2016-03-06_test"
For example:Batman vs Superman trailer
The right one:
------------------------------------------------------------
Script
------------------------------------------------------------
LoadPlugin("C:\Program Files (x86)\StaxRip_x64_1.3.1.7_beta\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll")
LSMASHVideoSource("E:\New folder\Batman v Superman_ Dawn of Justice - Comic-Con Trailer [HD].mp4")
Crop(0, 144, -0, -144)
Spline16Resize(1280, 528)
The wrong one:
------------------------------------------------------------
Script
------------------------------------------------------------
LoadPlugin("D:\Program Files (x86)\StaxRip_x64_2016-03-23_01-15_test\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll")
LSMASHVideoSource("E:\New folder\Batman v Superman_ Dawn of Justice - Comic-Con Trailer [HD].mp4")
Crop(486, 272, -6, -272)
Spline16Resize(1280, 480)
As you can see the crop values are wrong.In both cases,i used Automatic source,so i won't have to do it manually
I hope to have an answer (with a solution),and thanks for your time.Great program!!!!
stax76
25th March 2016, 06:54
@jonesjrgr
Should be much better:
https://github.com/stax76/staxrip/wiki/Test-Build
jonesjrgr
25th March 2016, 12:00
@jonesjrgr
Should be much better:
https://github.com/stax76/staxrip/wiki/Test-Build
OMG!!Works so much better!!!!
Thanks A LOT!!!!!!!
Yups
26th March 2016, 15:00
Been using and testing Quick Sync with Staxrip (QSVEncC) these past few days, QS encodes are very flat and kills a lot of detail unlike x264 that can be fine tuned, but the speed of QS is 4 times faster than x264 on my rig. I tried to solve this issue with one of the custom switches: The --vpp-detail-enhance <int> option, but it gives the same results no matter the value of the strength, tried from 1 to 100.
Anyone knows the values or range for this variable?
{Detail Enhancement}: is the process of enhancing the edge contrast to improve its sharpness. VPP uses an adaptive detail enhancement algorithm to increase the edge sharpness.
Value of 0-100 (inclusive) indicates the level of details to be enhanced. Default value is 0 (disabled).
Sorry to break the party, but that option is not what you need.
There is not much you can do with QSV about finer detail retainment. Maybe LA-ICQ mode, higher value for la-depth scenechange, trellis for all, --quality sets to best, --b-pyramid on,--weightp, --weightb, --la-quality sets to slow .....etc?
It is what he needs if he want an increased sharpness, although it can lead to some issues. I noticed the same as him, no difference between 1 and 100. The sharpness increase is too big for my taste. For Haswell or newer I would recommend LA_VBR, TU4 balanced, bframes 3, ref frames 3, gop length 256, Lookahead depth 100 with QSVEncC decoder.
Why is Avisynth/VapourSynth default decoder for Quicksync? QSVEncC decoder is the best choice by far for Quicksync encoding.
Lupissimo
27th March 2016, 23:11
I found a bug in the NVENC H264 profile: If I choose the avisynth default for decoding everything is ok, but using ffmpeg(DXVA2) to decode the encoding framerate is changed. The original movie was 23.976fps. But ffmpeg assumes it to be 29.970 fps and changes it to 23.976
Yups
28th March 2016, 20:20
It's not perfect but I'm getting OK results with ICQ 17 and these settings: --vpp-detail-enhance 1 --mbbrc --extbrc --weightp --weightb, trellis as auto or default.
With ICQ some features like --b-pyramid and --la are not available, also tried LA-ICQ but it seems worst than ICQ and makes a bigger file size.
By any chance, which QSV parameter is compatible to x264's mb-tree?
I always disable mb-tree and trellis on my x264 encodes, to keep most of the details.
With LA bitrate mode all these options doesn't work except trellis which kills details. I never liked trellis with Quicksync. vpp-detail-enhance should work but looks like there is a driver bug.
After some testing I think these gives me decent results. Only valid for Haswell or newer because of Lookahead.
http://fs5.directupload.net/images/160328/8benapjh.pnghttp://fs5.directupload.net/images/160328/t3o8m44f.png
ICQ has pros and cons, it's good in motion and stable but often it kills too many details.
Magik Mark
29th March 2016, 23:09
Stax,
I'm experimenting with 2pass x265. I noticed that when I drag a file in staxrip, the program sets a certain video bitrate value on its own. May I ask how staxrip arrives at that value? Though I could change it manually, I'm just curious how it calculates the initial value. The value changes depending on the video being process.
By the way, the default value being calculated by staxrip gives a very good image quality
Thanks a lot!
Q-the-STORM
30th March 2016, 11:32
With the current version of mkvtoolnix, mkvinfo shows up every time before an encode and I have to manually close it to start the encode.
Any way to supress it or automatically close?
stax76
30th March 2016, 11:40
I found a bug in the NVENC H264 profile: If I choose the avisynth default for decoding everything is ok, but using ffmpeg(DXVA2) to decode the encoding framerate is changed. The original movie was 23.976fps. But ffmpeg assumes it to be 29.970 fps and changes it to 23.976
What's the MediaInfo of the source?
@Magik Mark
The video bitrate is calculated from size and length:
sizeInMB * 1024 * 8 * 1.024 / lengthInSeconds
@Q-the-STORM
There was a breaking change in mkvinfo.exe, you can use an old mkvinfo.exe, next StaxRip build fixes it.
Lupissimo
30th March 2016, 18:08
http://pastebin.com/9yMGpgnR
This is the log including mediainfo
stax76
30th March 2016, 19:43
http://pastebin.com/9yMGpgnR
This is the log including mediainfo
It's due to StaxRip always setting fps for mkv muxing, I've now removed this altogether hoping there aren't any use cases where it's actually needed.
fantasmanegro
31st March 2016, 17:09
Sorry in advance,but this is my first post
in march 14 release has changed the autocrop feature (auto crop plugin replaced with new internal routine supporting both AviSynth and VapourSynth).
Since then,no matter what i do,cropping values are wrong.I installed in a new directory,create the same profiles,but in vain.Last working release for is "StaxRip_x64_2016-03-06_test"
For example:Batman vs Superman trailer
The right one:
------------------------------------------------------------
Script
------------------------------------------------------------
LoadPlugin("C:\Program Files (x86)\StaxRip_x64_1.3.1.7_beta\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll")
LSMASHVideoSource("E:\New folder\Batman v Superman_ Dawn of Justice - Comic-Con Trailer [HD].mp4")
Crop(0, 144, -0, -144)
Spline16Resize(1280, 528)
The wrong one:
------------------------------------------------------------
Script
------------------------------------------------------------
LoadPlugin("D:\Program Files (x86)\StaxRip_x64_2016-03-23_01-15_test\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll")
LSMASHVideoSource("E:\New folder\Batman v Superman_ Dawn of Justice - Comic-Con Trailer [HD].mp4")
Crop(486, 272, -6, -272)
Spline16Resize(1280, 480)
As you can see the crop values are wrong.In both cases,i used Automatic source,so i won't have to do it manually
I hope to have an answer (with a solution),and thanks for your time.Great program!!!!
and what if... we can pick one of both?.... i mean... plugin or internal routine...??
stax76
31st March 2016, 20:03
@fantasmanegro
Do you still get poor results compared to the old method?
@all
pinterf has fixed AviSynth+ and mvtools2 so QTGMC is included again in the last test build.
fantasmanegro
31st March 2016, 23:40
@fantasmanegro
Do you still get poor results compared to the old method?
@all
pinterf has fixed AviSynth+ and mvtools2 so QTGMC is included again in the last test build.
er.... nope... i use auto crop just for testing... manual crop... always
:D
Magik Mark
1st April 2016, 03:21
Stax,
Is it possible to have staxrip to use the default video bitrate set by the user in 2pass x265?
I created a template with 1500kbps video bitrate as a default. Every time a drag a file it reverts back to the video bitrate of the video and not the default bitrate set by the user
Thanks
stax76
1st April 2016, 07:49
@Magik Mark
You can set it at Options > Misc > Use fixed bitrate
Lupissimo
1st April 2016, 16:58
Could somebody tell me how to incorporate Video Preprocessing AviSynth tools?
I would like to use the ColourBriContr.vdf module including the ability to preview the resulting settings. Up to now I have to first encode into avi so that I can use Virtualdub to apply video corrections and reencode into avi again. Only after that I use StaxRip for the final encode. I am sure this is a stupid way, but I have not found any other.
So PLEASE help me :thanks:
LightSabre
1st April 2016, 21:07
@Stax76
Huge thanks for adding 7.1 sound output option in the latest build.:thanks:
JohnLai
2nd April 2016, 04:03
@Stax76
Is it possible to change the Temp directory to other disk location?
Current implementation of Temp directory; let say I have a "Test.mkv" at D drive opened with staxrip, there will a directory at "D:/Test temp"
I would like to have the temporary directory created elsewhere at one specific disk drive. (Example, RAMDISK)
stax76
2nd April 2016, 04:25
@JohnLai
go to:
main menu > Options > Paths > Temp Files Directory > Edit
to make it persistent:
main menu > Project > Save As Template
Yups
2nd April 2016, 17:37
I miss an option where I can save my encoding profile. I switch between Intel h264, h265, x264, x265, Nvidia h264, h265 and all my setting are gone when I do this. And some things like --b-pyramid or --max-bitrate have to be set manually again and again.
stax76
2nd April 2016, 23:27
I miss an option where I can save my encoding profile. I switch between Intel h264, h265, x264, x265, Nvidia h264, h265 and all my setting are gone when I do this. And some things like --b-pyramid or --max-bitrate have to be set manually again and again.
latest test build adds:
- profiles can be saved from the x265/AMD/Intel/NVIDIA/ffmpeg encoding options dialogs
- Intel encoder QSVEncC added switch --output-buf, --b-pyramid, --max-bitrate
JohnLai
3rd April 2016, 04:02
@JohnLai
go to:
main menu > Options > Paths > Temp Files Directory > Edit
to make it persistent:
main menu > Project > Save As Template
Thanks.
Another question, staxrip often auto-checks the box for english subtitles and audio, is there option for auto-checking every available subtitle and audio?
I got old dvd-rip (MPEG2) collection of HongKong TVB Drama with dual audio (both detected as Chinese although those are actually Cantonese and Chinese) and dual subtitles (English and Chinese).
Hmmmm......to rephrase, I would like to drag all 102 episodes and batch convert. Currently, using staxrip, I need to drag and drop each file to 'Source', then manually checks both audio and subtitles, then click 'OK', go to Container Option, checks the subtitles again, then 'OK', then 'NEXT', click 'X' ---->repeat from begining until all episodes added---->press F6 to see 'Jobs'--->then 'Start'.
It will take too long, any way to automated it?
stax76
3rd April 2016, 04:24
It can be configured at:
Main Menu > Options > Subtitles > Auto Load Subtitles
You can show the help by right-clicking the 'Auto Load Subtitles' label, by clicking on the question mark in the title bar or by pressing F1. It shows:
Subtitles loaded automatically using two letter language code (https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) separated by comma or the magic word 'all'.
Arabic: ar
Bangla: bn
Chinese: zh
English: en
French: fr
German: de
Hindi: hi
Italian: it
Japanese: ja
Korean: ko
Malay (Latin): ms
Portuguese: pt
Punjabi: pa
Russian: ru
Spanish: es
Undetermined: iv
JohnLai
3rd April 2016, 04:35
It can be configured at:
Main Menu > Options > Subtitles > Auto Load Subtitles
You can show the help by right-clicking the 'Auto Load Subtitles' label, by clicking on the question mark in the title bar or by pressing F1. It shows:
Okay, subtitle done, how about auto-check all audio at audio selection menu? I am using DSS2 source filter. I wish there is a way to automatically add all video into queue. (auto select all audio+subtitle+demux+auto queue)
For example, the competitor Handbrake has "Directory Batch Convert" mode, too bad it doesn't support VCE,Nvenc and more advanced functionality of QSV (Rigaya version is way flexible and feature rich)
stax76
3rd April 2016, 05:16
Only two audio files can be picked up automatically at the moment.
Regarding adding files for batch processing, isn't this:
Source > File Batch > Add > Add Folder
What you are looking for?
JohnLai
3rd April 2016, 06:53
Only two audio files can be picked up automatically at the moment.
Regarding adding files for batch processing, isn't this:
Source > File Batch > Add > Add Folder
What you are looking for?
.............I am sorry for being idiot here......Thanks again.
EDIT:
1) Can add "remove all" for "Jobs"? Currently, I am deleting "Jobs.dat" at "Settings" Folder as workaround. Possible to highlight multiple jobs and remove?
2) Seem like the batch mode doesn't ask for confirmation of overwriting existing files at Target location. Instead as renaming the file to Test_new.mkv, it overwrites the original file.
Yups
3rd April 2016, 15:25
latest test build adds:
- profiles can be saved from the x265/AMD/Intel/NVIDIA/ffmpeg encoding options dialogs
- Intel encoder QSVEncC added switch --output-buf, --b-pyramid, --max-bitrate
This is a great help. Not that important but custom names are not applied. When I save a new profile for Intel H.264 as "Intel H.264 Custom" it is saved as Intel H.264 in the list.
Lupissimo
3rd April 2016, 15:31
"Could somebody tell me how to incorporate Video Preprocessing AviSynth tools?
I would like to use the ColourBriContr.vdf module including the ability to preview the resulting settings. Up to now I have to first encode into avi so that I can use Virtualdub to apply video corrections and reencode into avi again. Only after that I use StaxRip for the final encode. I am sure this is a stupid way, but I have not found any other.
So PLEASE help me "
It is somewhat dissapointing that there is no reply to this question:(
There are many filters incorporated in Staxrip, but none deals with the basic video properties: brightness, gamma, contrast and saturation nor sharpness all of those are often required to improve old DVDs.
If it is realy not possible to provide such a function in StaxRip then please state this clearly, so that I can search for a different encoding software ( Which I would very much want to avoid! )
stax76
3rd April 2016, 15:46
Can add "remove all" for "Jobs"? Currently, I am deleting "Jobs.dat" at "Settings" Folder as workaround. Possible to highlight multiple jobs and remove?
I tried to enable multi select but the used CheckedListBox don't support it, I would have to replace it with a ListBox or DataGridView which would involve quite a bit work, if somebody creates a issue on the tracker I maybe change it sometime. For a dedicated button it's way to rare.
Seem like the batch mode doesn't ask for confirmation of overwriting existing files at Target location. Instead as renaming the file to Test_new.mkv, it overwrites the original file.
Did not happen in my test, see my signature.
This is a great help. Not that important but custom names are not applied. When I save a new profile for Intel H.264 as "Intel H.264 Custom" it is saved as Intel H.264 in the list.
It will be fixed in the next build.
@Lupissimo
Since it's a AviSynth problem you have much better chances for help in the AviSynth forum, scripting editing in StaxRip is another topic. Won't do Tweak what you want?
http://avisynth.nl/index.php/Tweak
Lupissimo
3rd April 2016, 16:34
@Stax: Thank you for your answer and pointing to TWEAK! Please understand that I am just a "user" and have almost no insight into the StaxRip structure. How would I incorporate TWEAK into a STAX profile such that I can adjust the values and preview the result ( In StaxRip preview? ) In VitualDub you can adjust values and in parallel watch the resulting picture.
NikosD
3rd April 2016, 16:49
Great new test build.
A few comments:
1) ffmpeg HW encoders look extremely poor regarding encoding options.
Are you planning to add more on the GUIs ?
2) Two pass encoding using ffmpeg HW encoder, crashes using MKV as output file.
3) ffmpeg decoders inside Intel H.264 profile (QSVEncC) are a lot slower than QSVEncC itself, especially now that the output-buf size is fixed for use inside StaxRip.
QSV decoder is extremely slow and DXVA2 is just slow.
4) Using ffmpeg - H.264 profile the Intel transcoding is still slow (but faster than using Intel decoder inside QSVEncC) and the DXVA2 transcoding is fast, faster than DXVA2 decoder inside QSVEncC, but still slower (a lot) than QSVEncC.
Still, all those options are useful in case something goes wrong using QSVEncC.
P.S
QSVEncC v2.44 is out implementing my suggestion to rigaya to include EU % (GPU load metric) and MFX % (MFX engine, fixed-function ASIC load metric) using publicly available Media Framework API by Intel.
It works only for the x64 version.
The overhead is low and the performance drop is almost zero.
I made the same suggestion to a few other developers building GPU monitor tools (like gadgets), but rigaya is the first developer who actually implemented in his app.
QSVEncC is an open-source app, hopefully other developers will follow.
Currently, using my platform Win 10 x64 - Core i7 4790 - iGPU - Drivers v4380 it doesn't work, but probably for Skylake and other platforms works already.
stax76
3rd April 2016, 17:40
@Lupissimo
I've added the code below to the default profiles now, in the scripting editor context menu look for 'Profiles...' and 'Video Preview... F5'.
Tweak(hue = 0, sat = 1, bright = 0, cont = 1, coring = true)
@NikosD
We'll surely continue to improve the support for rigaya's encoders in StaxRip. ffmpeg is great but has also many issues with stability and usability paired with difficult support... I'll continue with small improvements here and there.
I plan a new release but also a StaxRip pause.
JohnLai
3rd April 2016, 18:06
I tried to enable multi select but the used CheckedListBox don't support it, I would have to replace it with a ListBox or DataGridView which would involve quite a bit work, if somebody creates a issue on the tracker I maybe change it sometime. For a dedicated button it's way to rare.
Did not happen in my test, see my signature.
Oh well, at least I can use notepad to open job.dat and remove some unwanted jobs.
As for overwriting issue, maybe because I specify the path manually. Not an issue as I often output to different dedicated drive.
Great new test build.
3) ffmpeg decoders inside Intel H.264 profile (QSVEncC) are a lot slower than QSVEncC itself, especially now that the output-buf size is fixed for use inside StaxRip.
QSV decoder is extremely slow and DXVA2 is just slow.
4) Using ffmpeg - H.264 profile the Intel transcoding is still slow (but faster than using Intel decoder inside QSVEncC) and the DXVA2 transcoding is fast, faster than DXVA2 decoder inside QSVEncC, but still slower (a lot) than QSVEncC.
Still, all those options are useful in case something goes wrong using QSVEncC.
FFMPEG QSV decode/encoding is useful for me because my setup has issue with "device operation failure.
Error in encoding pipeline. : device operation failure.
error at encode thread." when using rigaya QSVencc.
EDIT: Now then....the only thing left is QSV hardware accelerated subtitle burn-in feature.....
Yups
3rd April 2016, 20:31
Haven't tried myself yet but vpp-detail-enhance might work properly with QSVEnc 2.44.
Lupissimo
3rd April 2016, 21:38
@Stax: Great ! Thank you!
ShamisOMally
5th April 2016, 19:29
So tried the newest build, video no matter what the encoder drifts out of spec, about 1 second per 22 minutes
So a 22:00 min video becomes 22:01
*EDIT* Traced the problem down to AVISYNTH+ I hope, trying other muxing tools
*EDIT2* Still same problem, I'm going to try another file series and see if that fixes it
*EDIT3* Confirmed, its the media that causes it. Passing the video through Xmedia first then staxrip fixes it
ashlar42
5th April 2016, 22:02
I'd like to try StaxRip to encode my old DVDs in HEVC. The problem I have is with deinterlacing. I have a GTX980 and I plan on using NVIDIA.H265, but deinterlacing... well, the different options on Field seem to be quite bad. What's the reccomended way to go for deinterlacing with StaxRip x264 when wanting to use Nvidia hardware encoding?
Thank you.
Edit: I see that NVENC has an instruction to use adaptive deinterlacing (which I assume should be good) but where should I insert -vpp-deinterlace adaptive?
Edit: tried... it errored out like this:
"C:\Program Files\StaxRip\Apps\NVEncC\NVEncC64.exe" --codec h265 -vpp-deinterlace adaptive --cqp 20:23:25 --crop 16,0,16,0 --sar 10:11 --input "C:\Temp\title00 temp files\Dead Can Dance - Toward The Within stax.avs" --output "C:\Temp\title00 temp files\Dead Can Dance - Toward The Within stax_out.h265"
------------------------------------------------------------
Error Encoding using NVEncC
------------------------------------------------------------
Encoding using NVEncC failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
NVEncC (x64) 2.00?3 by rigaya [NVENC API v6.0], build Jan 5 2016 23:19:12
avi reader: disabled
avs reader: enabled
vpy reader: enabled
avcuvid reader: enabled
Start: 23:50:53
End: 23:50:53
Duration: 00:00:00
JohnLai
6th April 2016, 03:46
I'd like to try StaxRip to encode my old DVDs in HEVC. The problem I have is with deinterlacing. I have a GTX980 and I plan on using NVIDIA.H265, but deinterlacing... well, the different options on Field seem to be quite bad. What's the reccomended way to go for deinterlacing with StaxRip x264 when wanting to use Nvidia hardware encoding?
Thank you.
Edit: I see that NVENC has an instruction to use adaptive deinterlacing (which I assume should be good) but where should I insert -vpp-deinterlace adaptive?
Edit: tried... it errored out like this:
"C:\Program Files\StaxRip\Apps\NVEncC\NVEncC64.exe" --codec h265 -vpp-deinterlace adaptive --cqp 20:23:25 --crop 16,0,16,0 --sar 10:11 --input "C:\Temp\title00 temp files\Dead Can Dance - Toward The Within stax.avs" --output "C:\Temp\title00 temp files\Dead Can Dance - Toward The Within stax_out.h265"
------------------------------------------------------------
Error Encoding using NVEncC
------------------------------------------------------------
Encoding using NVEncC failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
NVEncC (x64) 2.00?3 by rigaya [NVENC API v6.0], build Jan 5 2016 23:19:12
avi reader: disabled
avs reader: enabled
vpy reader: enabled
avcuvid reader: enabled
Start: 23:50:53
End: 23:50:53
Duration: 00:00:00
Did you select 'NVENcC (NVIDIA CUVID)' as decoder?
Because according to the help documentation;
--vpp-deinterlace <string> available only with avcuvid reader
ashlar42
6th April 2016, 03:52
Where does one select the decoder? I'm looking for the option but I can't find it.
Edit: I think it's under Tools/Settings/Demuxing and I should use DGDecNV... it requires a $15 donation. I'd like to be very sure it would do what I need before donating for something I would have otherwise no use for.
JohnLai
6th April 2016, 04:25
Where does one select the decoder? I'm looking for the option but I can't find it.
Edit: I think it's under Tools/Settings/Demuxing and I should use DGDecNV... it requires a $15 donation. I'd like to be very sure it would do what I need before donating for something I would have otherwise no use for.
..........Encoder Options--->Basic--->Decoder---->Select Cuvid?
ashlar42
6th April 2016, 04:32
..........Encoder Options--->Basic--->Decoder---->Select Cuvid?Holy hell! There are options around every corner... Thanks. I'll give it a try.
JohnLai
6th April 2016, 06:02
Holy hell! There are options around every corner... Thanks. I'll give it a try.
Indeed there are lotta options, I don't even know most of them although I have been using staxrip for more than a year.
Note: Not all video can be hardware decoded with CUVID. In such case, the vpp-deinterlace option might not be functioning.
EDIT: You might want to try Intel QSV deinterlacing (better than Nvidia Cuvid) if you have Intel IGPU...
stax76
6th April 2016, 06:05
@ShamisOMally
Would be interesting to see the log file.
ashlar42
6th April 2016, 15:16
I'm evaluating all the different deinterlacing options before embarking in the long conversion process of my DVDs... having tried NvencC and Intel QVS, it seems Intel wins, using the normal option (doubling the framerate produced inferior deinterlacing results).
Now I'm trying QTGMC from the latest nightly but it doesn't seem to be multithreaded (I see my i7 4770K at 25% usage more or less). Is that the case or is there something I should do to make it use all the cores?
stax76
6th April 2016, 15:34
@ashlar42
The latest StaxRip test build supports QTGMC for both AviSynth+ x64 and VapourSynth x64 so maybe you want to try both platforms and tell us your results. For AviSynth MT has to be enabled in the script, not for VapourSynth.
ashlar42
6th April 2016, 15:56
@ashlar42
The latest StaxRip test build supports QTGMC for both AviSynth+ x64 and VapourSynth x64 so maybe you want to try both platforms and tell us your results. For AviSynth MT has to be enabled in the script, not for VapourSynth.
Yup, that's what I ended up doing. I wasn't configured for VapourSynth, so I started with using AviSynth+ (which ended up not multithreading). So I thought about trying VapourSynth... it appears to be using all cores (8 logical cores on my i7) but still around 33%. Is that expected?
stax76
6th April 2016, 16:20
Yup, that's what I ended up doing. I wasn't configured for VapourSynth, so I started with using AviSynth+ (which ended up not multithreading). So I thought about trying VapourSynth... it appears to be using all cores (8 logical cores on my i7) but still around 33%. Is that expected?
Complex scripts running slow and not maxing out the CPU is normal, I can't tell you the exact technical reasons though. If you run slow anyway and have 67% CPU left then it's probably better using using x264 instead of a hardware encoder.
ashlar42
6th April 2016, 16:40
Complex scripts running slow and not maxing out the CPU is normal, I can't tell you the exact technical reasons though. If you run slow anyway and have 67% CPU left then it's probably better using using x264 instead of a hardware encoder.
Yes, and this is the same conclusion I reached. If I want to use QTGMC I'm far better off with x264 (it encodes faster, like double faster). I just need to decide whether the trade off in speed is worth the extra quality it entails compared to Intel's deinterlacing.
BTW, thanks for your awesome program. :D
ShamisOMally
7th April 2016, 04:45
This is probably an issue with windows 8.1 as well, but I thought I would ask here in hopes of finding out a solution to what is going on
With the move to Windows 10 I noticed a lot of quicksync options are missing, such at LA(VBR) etc, and enabling them causes apps to freeze/lock up and requires a shutdown of the program, and sometimes even a reboot
If I move to Windows 7 this same hardware functions 100% fine
Had this problem with both a Haswell and a Skylake iGPU, any idea's about what has changed?
stax76
9th April 2016, 01:40
Hello everybody,
I would like to make a new release soon so if possible please help testing the last test build.
Download
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
http://1drv.ms/1OqPDOe
New Features
support for 3 or more audio tracks added to the muxing dialog
code preview added to filters menu and script preview renamed to code preview in script editor
added a command line switch -show-dialogs:bool and project option 'Show all dialogs when invoked from CLI', by default dialogs are not shown when StaxRip receives CLI arguments
yadifmod2 plugin for AviSynth added
TComb AviSynth plugin added
auto crop plugin replaced with new internal routine supporting both AviSynth and VapourSynth
better subtitle support for m2ts container
decoding options added for AMD encoder
larger x265 custom command line TextBox
x265 new switch added --rc-grain
the encoding options dialogs for x265, AMD, Intel and NVIDIA have now an option to display the full command line
new ffmpeg encoder output options 'H.264 NVIDIA', 'H.264 Intel', 'H.265 Intel', the currently used ffmpeg built doesn't yet support NVIDIA
video encoder profiles added for all encoding codecs StaxRip supports for ffmpeg: 'VP9', 'Xvid', 'ASP', 'Theora', 'H.264 Intel', 'H.265 Intel', 'H.264 NVIDIA'
ffmpeg decoding option -threads added, multi-threading is enabled by default but not recommended for dxva2 decoding and maybe for hardware decoding in general
VapourSynth filter profiles added for mvsfunc functions AssumeFrame, AssumeTFF, AssumeBFF, AssumeCombed
VapourSynth QTGMC parameters TFF and Preset added to menu
more source and target parameters are now shown in the main dialog
in the scripting editor there is a Join feature to join all filters into one
QTGMC 3.33 for AviSynth
--vpp-detail-enhance added to QSVEncC GUI
profiles can be saved from the x265/AMD/Intel/NVIDIA/ffmpeg encoding options dialogs
Intel encoder QSVEncC added switch --output-buf, --b-pyramid, --max-bitrate
added shortcuts and Export to CSV to MediaInfo Folder View (Tools > Advanced)
added C# (Roslyn) and PowerShell scripting support. Scripts can be started at main menu > Tools > Scripts. There are commands in the command line, main menu and event commands to execute script code or script files.
three VapourSynth filter profiles added based on std.SetFieldBased
added user contributed script 'Convert Bluray (BT709) to 10bit 400nits (MaxFALL) HDR (rev2)'
Intel Quick Sync switches '--fullrange --videoformat --colormatrix --colorprim --transfer' added
Fixed Bugs
fixed window freeze in eac3to dialog happening when eac3to fails on the input.
fixed showing filter selection dialog even if the source is vpy or avs
fixed StaxRip trying to auto correct the script even if the source is avs
fixed StaxRip recalculating the video bitrate even when the fixed bitrate option is used
avi muxer supports two audio tracks now
in some cases the two audio output file paths were identical
moving subtitles up and down wasn't working correctly
the new mp4box update should fix a bug many people reported
fixed editing dates in apps dialog not working with Persian calendar
fixed crash using ' character in file paths using VapourSynth
fixed inaccurate right and bottom magnifiers in crop dialog
removed one x265 switch that was accidentally added twice :-)
fixed Python installed by miniconda not being detected
cropping values were multiplied by 2 using NVEncC
fixed subtitle size detection
fixed preview not fitting on screen under some conditions
fixed some issues opening avs or vpy as source file
added new source filter avisource.AVISource for VapourSynth, it can open avi and avs files
the filter selection dialog has now automatic options for both AviSynth and VapourSynth. For avs sources it shows also an option for VapourSynth since VapourSynth's AVISource can open avs files
d2vsource added to VapourSynth
fixed wrong font used pasting code in code editor
in the media info folder view (Tools > Advanced) the context menu functionality did not work for sub folders
in same situations it wasn't possible to close the crop dialog due to an script error, now the message box showing the error has an additional exit button
Tweaks
better error handling when the source is vpy or avs
when loading an audio file without language info the language of the audio profile/stream stays instead of being changed to undetermined
improved changelog
cutting with VapourSynth is now possible without AviSynth being installed (the audio cutting code was using AviSynth)
The info in the preview looks better and is readable regardless of the current background
source filter preferences in the settings dialog under Source Filter to configure which source filter should be used for a given file in case the source filter in the project is called Automatic is now also available for VapourSynth, with this VapourSynth support in StaxRip should be on par with AviSynth support making both scripting engines first class citizens
x265 tune grain defaults updated
improved bitrate calculation
The media info dialog shows the file size now also in mega byte instead of giga byte only
removed ffmpeg writing long build info to the log file
numerous improvements in AMD/Intel/NVIDIA dialog
Video Comparison shows now indexing progress
added version or at least change date and x86 or x64 to every app in the apps dialog
set font to Consolas 10 in scripting editor
the checked list controls of the event command and jobs dialog were replaced with themed controls, in the jobs dialog multi select and Ctrl+A and Delete shortcuts are supported
besides detecting the python location of the regular setup and miniconda setup StaxRip now also searches in the PATH and Path environment variables for python
Updated Tools
AVSMeter 2.1.7
ffmpeg 2016-03-10
fmtconv (vs) 18
mp4box 0.6.0
QSVEncC 2.43
x264 2665
x265 1.9+106
AviSynth+ 1828
mkvtoolnix 9.0.1
yadifmod2 (avs) 0.0.3
mvtools (vs) v13
NikosD
9th April 2016, 14:18
QSVEncC 2.43
Hello.
All of your last test builds contain the previous version of QSVEncC.
Is there a reason you don't include the last QSVEncC v2.44 version ?
Update:
It seems that you use latest QSVEncC v2.44, but you forgot to change it in the log file :)
Yups
9th April 2016, 18:55
An update to NVEnc 2.04 would be nice in the next version.
I noticed a small mistake in the Quicksync GUI.
http://fs5.directupload.net/images/160409/3jf9zb6k.png
B-Pyramid default is auto, SDK decides. It is often enabled actually. For a disabled b-pyramid custom switch --no-b-pyramid must be set.
stax76
9th April 2016, 22:32
It seems that you use latest QSVEncC v2.44, but you forgot to change it in the log file :)
I've updated the log file now.
@Yups
I've updated to NVEncC 2.04 and modified QSVEncC --b-pyramid, tooltip is now:
B Pyramid
--b-pyramid
--no-b-pyramid
Default: automatic
real.finder
10th April 2016, 07:26
I think StaxRip x64 will be more easy if it has built-in portable VapourSynth :rolleyes:
stax76
10th April 2016, 09:02
StaxRip and VirtualDub use the VFW interface of AviSynth and VapourSynth, for VapourSynth portable a direct interface is needed, this is much work for somebody using C++ only on rare occasions, for a direct AviSynth interface a wrapper DLL would be needed so there the situation is much worse. Not only StaxRip would need to support VapourSynth portable but also also the encoders, otherwise piping would be needed but then at least the tool at the beginning of the pipe would need to support VapourSynth portable. I don't know which tools currently supports VapourSynth portable and I don't see great benefit in supporting it, why is portable so popular? If people continue to suggest it I'll have to add support, maybe people should also suggest it to the authors of the encoding tools, typically they have much worse support for AviSynth and VapourSynth.
x264 does not support VapourSynth regular or portable
x265 does not support AviSynth regular or portable
x265 does not support VapourSynth regular or portable
ffmpeg does not support VapourSynth regular or portable
Yups
10th April 2016, 15:21
Using the newest Staxrip version with Trellis off for Quicksync: Error: Unknown value "1" for "--trellis"
Trellis 1/2/3 is wrong, instead Staxrip should use off, i, ip, all
stax76
10th April 2016, 17:12
Yes, I made a test enabling all switches noticing the trellis issue. I wrote 5 lines regex linq code that tells me all switches not yet supported by the QSVEncC or NVEncC GUI so adding the missing switches will be little work since adding new switches is only one line code per switch, GUI generation, command line generation, settings management all happens automatically. :)
Add("Advanced 1",
New NumParam With {.Switch = "--la-depth", .Text = "Lookahead Depth:", .Value = 30,
.VisibleFunc = Function() Mode.ValueText.EqualsAny("la", "la-hrd", "la-icq"),
.MinMaxStep = {0, 100, 1}},
jones1913
10th April 2016, 17:19
@stax
It seems 'Use AviSynth script as audio source' is not longer working with latest test build.
If I select Source:Automatic and open an avs script it loads the script and show it also in the first audio source textbox.
But on job start no audio processing is started, only video encoding starts.
It worked with the previous stable version.
cegy
10th April 2016, 18:26
@stax76 any progress with the gui as i suggested in http://forum.doom9.org/showpost.php?p=1761883&postcount=1017 and http://forum.doom9.org/showpost.php?p=1761890&postcount=1019 i have notice a every so slight change but nothing like what i suggested :(
stax76
11th April 2016, 00:04
@jones1913
I've uploaded a new build which fixes it.
@cegy
There are 2 spaces now, I'm very pleased with it.
cegy
11th April 2016, 00:30
@stax76 oh yeah i can see there is a small gap/spaces there now
so we've gone from this when i first suggested it_ http://i.imgur.com/2olihFf.png
to this (with more detail this time)_____________ https://i.imgur.com/UOlORqE.png took from april 11th test
i do wonder if 4 spaces might be more better since there's alot of free space in that window? :D
burfadel
11th April 2016, 03:47
@jones1913
I've uploaded a new build which fixes it.
The changelog still lists Avisynth+ 1828 under updated tools, not the included 1841.
stax76
11th April 2016, 07:24
The changelog still lists Avisynth+ 1828 under updated tools, not the included 1841.
fixed it
@cegy
You don't give up easy, don't you :), next build has up to 4 spaces, I tried more and settled with 4, for me 4 looks best.
https://i.imgur.com/uelIH1Z.png
cegy
11th April 2016, 09:33
fixed it
@cegy
You don't give up easy, don't you :), next build has up to 4 spaces, I tried more and settled with 4, for me 4 looks best.
https://i.imgur.com/uelIH1Z.png
@stax76 much better! :thanks: also there's a minor mistake still there it seems 25.fps should be 25 fps ?
Magik Mark
11th April 2016, 14:36
Stax
X265 v1.9 b125 is out. Is it possible to update?
Thanks
Sent from my iPhone using Tapatalk
fantasmanegro
12th April 2016, 14:39
Stax
X265 v1.9 b125 is out. Is it possible to update?
Thanks
Sent from my iPhone using Tapatalk
just replace x265 exe file with new one
alter4
12th April 2016, 19:30
It is not so easy. It might be changes in cmd switches.
fantasmanegro
12th April 2016, 20:12
It is not so easy. It might be changes in cmd switches.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Updated Tools
AviSynth+ 1841
AVSMeter 2.1.7
ffmpeg 2016-03-10
fmtconv (vs) 18
mkvtoolnix 9.0.1
mp4box 0.6.0
mvtools (vs) v13
NVEncC 2.04
QSVEncC 2.44
x264 2665
x265 1.9+125
yadifmod2 (avs) 0.0.3
Magik Mark
12th April 2016, 23:57
Stax,
Is it possible to use multi threading in your built in filters? If so, how do we do it? Is it advisable or its limited to some filters only?
Thanks
Magik Mark
13th April 2016, 01:17
Stax
How did you arrive at the parameters used on knlmeans? The light, moderate and strong? Was it through trial and error?
There's a new a new denoising algo called xnlmeans. We have been trying to figure out the best settings similar to knlmeans
knlmeans uses gpu. Most of the times it conflicts with madvr fse mode while xnlmeans uses multi threading cpu
Xnlmeans looks promising as an additional built in filter. Maybe we can take a look at it
Thanks
XinHong
13th April 2016, 06:48
Stax,
I'm using StaxRip to encode my DVB-T recordings. I would like to cut commercials: so I open preview, put the start cut point "[" and the end cut point "]", the selection goes green, then I hit "X" to delete selection but nothing happens. I still can navigate in the part which should have been deleted.
Should I see something ? like "trim" in the avisynth script ?
Thanks
dejong12
13th April 2016, 07:42
Stax,
I'm using StaxRip to encode my DVB-T recordings. I would like to cut commercials: so I open preview, put the start cut point "[" and the end cut point "]", the selection goes green, then I hit "X" to delete selection but nothing happens. I still can navigate in the part which should have been deleted.
Should I see something ? like "trim" in the avisynth script ?
Thanks
It doesnt work like that. Everything between the cut points will be saved and everything outside not. Like this:
[ Episode part 1 ] commercials [ episode part 2 ] commercials [ episode part 3 ]... and so on.
XinHong
13th April 2016, 12:07
It doesnt work like that. Everything between the cut points will be saved and everything outside not. Like this:
[ Episode part 1 ] commercials [ episode part 2 ] commercials [ episode part 3 ]... and so on.
Thanks for the tip
Magik Mark
13th April 2016, 23:02
Stax
I noticed that the program causes madvr in full screen exclusive mode to fail. This happens right after it finishes its encodes. The program window activates and FSE is disrupted. Is there a way for staxrip not to do this?
Thanks
Magik Mark
14th April 2016, 13:30
x265 v1.9 b140 is out.
mcjordan
15th April 2016, 15:01
...and today - NVEnc 2.05, QSVEnc 2.45
Yups
15th April 2016, 19:27
Is there a particular reason that x264 on Staxrip produces much worse quality and much faster encoding speed than Handbrake x264 at the same preset?
sneaker_ger
15th April 2016, 19:31
There must be some difference you are overlooking. Start by comparing the output of both programs given the very same test file and compare them in MediaInfo.
Yups
15th April 2016, 21:01
I don't overlook anything. Same output, same preset. The difference is in speed and quality.
sneaker_ger
15th April 2016, 21:10
Well, you're not giving a lot of info. No sample, no encoding logs, no MediaInfo, no nothing. There has to be a difference. If it's not the encoding side it must be decoding/filtering.
ismail0100
15th April 2016, 22:08
Thank u for all your exertion for us.
I make hevc 10bit thx to u :)
Yups
15th April 2016, 23:13
Well, you're not giving a lot of info.
It's an extremely big task to supply you with all infos that cost me a couple of hours, and you don't need them really if you do a test on your side which is a much easier task to do. There are lots of samples if not all where Staxrip x264 quality suffers on the same x264 preset.
No sample
http://www.smartredirect.de/redir/clickGate.php?u=lnwCExJb&m=1&p=3d26AYJ0k7&t=p09f7K1v&st=&s=&splash=2&url=https%3A%2F%2Fd85clmw03d1co.cloudfront.net%2Fmegascans%2FMegascans_Jungle.mp4&r=http%3A%2F%2Fwww.forum-3dcenter.org%2Fvbulletin%2Fnewreply.php%3Fdo%3Dpostreply%26t%3D572400
no MediaInfo
Handbrake http://abload.de/img/handbrake33ale.png
http://abload.de/img/handbrake_2dou3c.png
Staxrip http://abload.de/img/staxrip5wugp.png
http://abload.de/img/staxrip_2rxugc.png
This is a particular odd one since Staxrip produces a much bigger video output on a similar input bitrate, input bitrate has to be much lower for the same video file size ouput.
Yups
15th April 2016, 23:13
no encoding logs
HandBrake Nightly 20160306195707-af25ef9-master (2016030701) - 64bit Version
OS: Microsoft Windows NT 6.2.9200.0 - 64bit
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Ram: 16232 MB,
GPU Information:
Intel(R) HD Graphics 530 - 20.19.15.4416
NVIDIA GeForce GTX 970 - 10.18.13.6472
Screen: 1920x1080
Temp Dir: C:\Users\Michael\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\Michael\AppData\Roaming\HandBrake Team\HandBrake\0.0.0.0
-------------------------------------------
# Starting Encode ...
[23:37:22] 1 job(s) to process
[23:37:22] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": 65536,
"Gain": 0.0,
"Mixdown": 6,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "",
"Track": 0,
"DitherMethod": 0
},
{
"DRC": 0.0,
"Encoder": 1073743872,
"Gain": 0.0,
"Mixdown": 0,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "",
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
1073807360,
1073743872,
1074003968,
1073750016,
1090519040,
1074790400,
1074266112,
1107296256
],
"FallbackEncoder": 2048
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"File": "D:\\Quicksync\\Staxrip\\handbrake x264 medium decomb off.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": 131072
},
"Filters": {
"FilterList": [
{
"ID": 10,
"Settings": "1920:1080:0:0:0:0"
},
{
"ID": 5,
"Settings": "0"
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "D:\\Quicksync\\19_Megascans_Jungle.mp4"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": 65536,
"Level": "4.1",
"Bitrate": 3000,
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "medium",
"Profile": "high",
"OpenCL": false,
"HWDecode": false,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[23:37:22] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[23:37:22] - Intel microarchitecture Skylake
[23:37:22] - logical processor count: 8
[23:37:22] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 530
[23:37:22] - OpenCL version: 2.0
[23:37:22] - driver version: 20.19.15.4416
[23:37:22] - device type: GPU
[23:37:22] - supported: YES
[23:37:22] OpenCL device #2: NVIDIA Corporation GeForce GTX 970
[23:37:22] - OpenCL version: 1.2 CUDA
[23:37:22] - driver version: 364.72
[23:37:22] - device type: GPU
[23:37:22] - supported: no
[23:37:22] Intel Quick Sync Video support: yes
[23:37:22] - Intel Media SDK hardware: API 1.17 (minimum: 1.3)
[23:37:22] - Intel Media SDK software: API 1.17 (minimum: 1.3)
[23:37:22] - H.264 encoder: yes
[23:37:22] - preferred implementation: hardware (any)
[23:37:22] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[23:37:22] - capabilities (software): bpyramid vsinfo opt1 opt2
[23:37:22] - H.265 encoder: yes
[23:37:22] - preferred implementation: hardware (any)
[23:37:22] - capabilities (hardware): bpyramid vsinfo opt1
[23:37:22] hb_scan: path=D:\Quicksync\19_Megascans_Jungle.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:251: failed opening UDF image D:\Quicksync\19_Megascans_Jungle.mp4
src/libbluray/disc/disc.c:332: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:332: error opening file BDMV\BACKUP\index.bdmv
[23:37:22] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[23:37:22] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Quicksync\19_Megascans_Jungle.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42mp41
creation_time : 2015-02-27 01:24:58
Duration: 00:01:22.04, start: 0.000000, bitrate: 53106 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 52812 kb/s, 30 fps, 30k tbn, 60 tbc (default)
Metadata:
creation_time : 2015-02-27 01:24:58
encoder : AVC Coding
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, fltp, 317 kb/s (default)
Metadata:
creation_time : 2015-02-27 01:24:58
[23:37:22] scan: decoding previews for title 1
[23:37:22] scan: audio 0x1: aac, rate=48000Hz, bitrate=317375 English (AAC) (2.0 ch)
[23:37:24] scan: 10 previews, 1920x1080, 30.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[23:37:24] scan: supported video decoders: avcodec qsv dxva2
[23:37:24] libhb: scan thread found 1 valid title(s)
[23:37:24] starting job
[23:37:24] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[23:37:24] work: track 1, dithering not supported by codec
[23:37:24] work: mixdown not specified, track 2 setting mixdown Stereo
[23:37:24] work: bitrate not specified, track 2 setting bitrate 224 Kbps
[23:37:24] work: track 2, dithering not supported by codec
[23:37:24] work: only 1 chapter, disabling chapter markers
[23:37:24] job configuration:
[23:37:24] * source
[23:37:24] + D:\Quicksync\19_Megascans_Jungle.mp4
[23:37:24] + title 1, chapter(s) 1 to 1
[23:37:24] + container: mov,mp4,m4a,3gp,3g2,mj2
[23:37:24] + data rate: 53106 kbps
[23:37:24] * destination
[23:37:24] + D:\Quicksync\Staxrip\handbrake x264 medium decomb off.mp4
[23:37:24] + container: MPEG-4 (libavformat)
[23:37:24] * video track
[23:37:24] + decoder: h264
[23:37:24] + bitrate 52812 kbps
[23:37:24] + filters
[23:37:24] + Framerate Shaper (0)
[23:37:24] + frame rate: same as source (around 30.000 fps)
[23:37:24] + Crop and Scale (1920:1080:0:0:0:0)
[23:37:24] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[23:37:24] + Output geometry
[23:37:24] + storage dimensions: 1920 x 1080
[23:37:24] + pixel aspect ratio: 1 : 1
[23:37:24] + display dimensions: 1920 x 1080
[23:37:24] + encoder: H.264 (libx264)
[23:37:24] + preset: medium
[23:37:24] + profile: high
[23:37:24] + level: 4.1
[23:37:24] + bitrate: 3000 kbps, pass: 0
[23:37:24] * audio track 1
[23:37:24] + decoder: English (AAC) (2.0 ch) (track 1, id 0x1)
[23:37:24] + bitrate: 317 kbps, samplerate: 48000 Hz
[23:37:24] + mixdown: Stereo
[23:37:24] + encoder: AAC (libavcodec)
[23:37:24] + bitrate: 160 kbps, samplerate: 48000 Hz
[23:37:24] * audio track 2
[23:37:24] + decoder: English (AAC) (2.0 ch) (track 1, id 0x1)
[23:37:24] + bitrate: 317 kbps, samplerate: 48000 Hz
[23:37:24] + mixdown: Stereo
[23:37:24] + encoder: AC3 (libavcodec)
[23:37:24] + bitrate: 224 kbps, samplerate: 48000 Hz
[23:37:24] sync: expecting 2461 video frames
[23:37:24] encx264: min-keyint: 30, keyint: 300
[23:37:24] encx264: encoding at average bitrate 3000
[23:37:24] encx264: unparsed options: level=4.1:vbv-bufsize=78125:vbv-maxrate=62500
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile High, level 4.1
[23:37:24] reader: first SCR 3000 id 0x0 DTS 0
[23:37:24] sync: first pts audio 0x1 is 0
[23:37:24] sync: first pts audio 0x1 is 0
[23:37:24] sync: first pts video is 3000
[23:38:10] reader: done. 1 scr changes
[23:38:10] work: average encoding speed for job is 50.502384 fps
[23:38:10] render: lost time: 0 (0 frames)
[23:38:10] render: gained time: 0 (0 frames) (0 not accounted for)
[23:38:10] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[23:38:10] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[23:38:10] h264-decoder done: 2460 frames, 0 decoder errors, 0 drops
[23:38:10] sync: got 2459 frames, 2461 expected
[23:38:10] sync: framerate min 30.000 fps, max 30.000 fps, avg 30.000 fps
x264 [info]: frame I:11 Avg QP:29.44 size:228757
x264 [info]: frame P:1141 Avg QP:35.84 size: 19646
x264 [info]: frame B:1307 Avg QP:36.50 size: 3354
x264 [info]: consecutive B-frames: 1.6% 82.5% 0.1% 15.8%
x264 [info]: mb I I16..4: 17.5% 55.0% 27.5%
x264 [info]: mb P I16..4: 0.3% 1.0% 0.1% P16..4: 32.2% 6.5% 4.9% 0.0% 0.0% skip:55.0%
x264 [info]: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 30.2% 0.3% 0.1% direct: 0.4% skip:69.0% L0:30.3% L1:69.1% BI: 0.5%
x264 [info]: final ratefactor: 31.85
x264 [info]: 8x8 transform intra:65.4% inter:71.6%
x264 [info]: coded y,uvDC,uvAC intra: 53.6% 46.5% 19.0% inter: 6.2% 3.5% 0.6%
x264 [info]: i16 v,h,dc,p: 47% 19% 15% 19%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 10% 28% 7% 9% 8% 9% 6% 7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 15% 21% 8% 10% 8% 9% 6% 7%
x264 [info]: i8c dc,h,v,p: 80% 10% 8% 2%
x264 [info]: Weighted P-Frames: Y:10.6% UV:9.2%
x264 [info]: ref P L0: 74.6% 15.2% 7.9% 2.2% 0.2%
x264 [info]: ref B L0: 96.8% 3.2% 0.0%
x264 [info]: ref B L1: 100.0% 0.0%
x264 [info]: kb/s:2861.20
[23:38:11] mux: track 0, 2459 frames, 29314932 bytes, 2857.67 kbps, fifo 1024
[23:38:11] mux: track 1, 3845 frames, 1538487 bytes, 149.97 kbps, fifo 2048
[23:38:11] mux: track 2, 2564 frames, 2297344 bytes, 223.95 kbps, fifo 2048
[23:38:11] libhb: work result = 0
# Encode Completed ...
Yups
15th April 2016, 23:14
no encoding logs
Environment
------------------------------------------------------------
StaxRip x64 : 1.3.3.7
OS : Windows 10 Home
Language : German (Germany)
CPU : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
GPU : Intel(R) HD Graphics 530, NVIDIA GeForce GTX 970
------------------------------------------------------------
Source file MediaInfo
------------------------------------------------------------
D:\Quicksync\19_Megascans_Jungle.mp4
General
Complete name : D:\Quicksync\19_Megascans_Jungle.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/mp41)
File size : 519 MiB
Duration : 1mn 22s
Overall bit rate mode : Variable
Overall bit rate : 53.1 Mbps
Encoded date : UTC 2015-02-27 01:24:58
Tagged date : UTC 2015-02-27 01:25:04
©TIM : 00:00:00:00
©TSC : 30
©TSZ : 1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.2
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Format settings, GOP : M=3, N=30
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 22s
Bit rate mode : Variable
Bit rate : 52.8 Mbps
Maximum bit rate : 62.5 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.849
Stream size : 516 MiB (99%)
Language : English
Encoded date : UTC 2015-02-27 01:24:58
Tagged date : UTC 2015-02-27 01:24:58
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1mn 22s
Source duration : 1mn 22s
Bit rate mode : Constant
Bit rate : 317 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Frame rate : 46.875 fps (1024 spf)
Compression mode : Lossy
Stream size : 3.10 MiB (1%)
Source stream size : 3.10 MiB (1%)
Language : English
Encoded date : UTC 2015-02-27 01:24:58
Tagged date : UTC 2015-02-27 01:24:58
------------------------------------------------------------
Encoding video using x264 r2665 8-Bit x64
------------------------------------------------------------
C:\1\StaxRip_x64_2016-04-10_06-55_test\Apps\x264\x264.exe --bitrate 1858 --level 4.1 --output "D:\Quicksync\19_Megascans_Jungle_temp\19_Megascans_Jungle staxrip x264 medium_out.h264" "D:\Quicksync\19_Megascans_Jungle_temp\19_Megascans_Jungle staxrip x264 medium.avs"
avs [info]: 1920x1080p 0:0 @ 30/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile High, level 4.1
x264 [info]: frame I:13 Avg QP:34.44 size:190419
x264 [info]: frame P:1141 Avg QP:40.76 size: 17273
x264 [info]: frame B:1306 Avg QP:41.19 size: 6541
x264 [info]: consecutive B-frames: 1.7% 82.4% 0.1% 15.8%
x264 [info]: mb I I16..4: 20.4% 58.8% 20.8%
x264 [info]: mb P I16..4: 0.4% 0.7% 0.1% P16..4: 23.9% 2.4% 2.4% 0.0% 0.0% skip:70.1%
x264 [info]: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 25.5% 0.1% 0.0% direct: 0.3% skip:74.0% L0:27.4% L1:71.4% BI: 1.1%
x264 [info]: final ratefactor: 34.71
x264 [info]: 8x8 transform intra:58.8% inter:78.0%
x264 [info]: coded y,uvDC,uvAC intra: 40.3% 41.8% 15.1% inter: 3.1% 2.5% 0.7%
x264 [info]: i16 v,h,dc,p: 46% 22% 14% 18%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 10% 37% 7% 7% 6% 7% 5% 6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 16% 20% 8% 9% 8% 9% 6% 7%
x264 [info]: i8c dc,h,v,p: 87% 7% 5% 1%
x264 [info]: Weighted P-Frames: Y:10.5% UV:9.1%
x264 [info]: ref P L0: 77.2% 8.4% 10.7% 3.3% 0.3%
x264 [info]: ref B L0: 95.4% 4.5% 0.0%
x264 [info]: ref B L1: 100.0% 0.0%
x264 [info]: kb/s:2997.72
encoded 2460 frames, 66.33 fps, 2997.72 kb/s
Start: 23:46:17
End: 23:46:54
Duration: 00:00:37
General
Complete name : D:\Quicksync\19_Megascans_Jungle_temp\19_Megascans_Jungle staxrip x264 medium_out.h264
Format : AVC
Format/Info : Advanced Video Codec
File size : 29.3 MiB
Writing library : x264 core 148 r2665 a01e339
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=1858 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Bit rate : 1 858 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.030
Writing library : x264 core 148 r2665 a01e339
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=1858 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
sneaker_ger
15th April 2016, 23:54
Thx. Can you switch to "View"->"Text" in MediaInfo?
Yups
16th April 2016, 00:36
Handbrake
General
Complete name : D:\Quicksync\Staxrip\handbrake x264 medium.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/iso2/avc1/mp41)
File size : 31.7 MiB
Duration : 1mn 22s
Overall bit rate mode : Variable
Overall bit rate : 3 241 Kbps
Encoded date : UTC 2016-04-15 21:35:57
Tagged date : UTC 2016-04-15 21:35:57
Writing application : HandBrake 20160306195707-af25ef9-master 2016030701
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 21s
Bit rate : 3 000 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.048
Stream size : 28.0 MiB (88%)
Writing library : x264 core 144 r2525 40bb568
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=3000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2016-04-15 21:35:57
Tagged date : UTC 2016-04-15 21:35:57
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Staxrip
General
Unique ID : 240588892407403262290385247046931577560 (0xB4FFBC3735C24CB297C72D43A927FAD8)
Complete name : D:\Quicksync\Staxrip\19_Megascans_Jungle staxrip x264 medium.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 31.1 MiB
Duration : 1mn 22s
Overall bit rate : 3 181 Kbps
Encoded date : UTC 2016-04-15 21:46:54
Writing application : mkvmerge v9.0.1 ('Obstacles') 64bit
Writing library : libebml v1.3.3 + libmatroska v1.4.4
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1mn 22s
Bit rate : 2 998 Kbps
Nominal bit rate : 1 858 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.048
Stream size : 29.3 MiB (94%)
Writing library : x264 core 148 r2665 a01e339
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=1858 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
cegy
16th April 2016, 09:40
so from a quick look i can notice this myself and it does suggest the the same preset was used however the bitrate isn't the same :(
handbrake..: bitrate=3000
staxrip.......: bitrate=1858 (-1142kbps)
Yups
16th April 2016, 10:37
Output File size is the same, I told this video is an odd one. If I would use the same input bitrate as in Handbrake, the Staxrip x264 output is much bigger as a result.
stax76
16th April 2016, 11:06
https://www.diffchecker.com/pz3bhbb2
sneaker_ger
16th April 2016, 11:13
The sample seems to really mess up x264's 1pass ABR algo. When vbv is turned on it hits the target bitrate better but in the end I think I would go 2pass or CRF. (Other differences x264 version and keyint)
mcjordan
16th April 2016, 11:43
I love StaxRip over the all time of use since years.
But after last night... ;-)
And now seriously: I've a strange case with "internal" crop engine in last test build.
After encoding I've a huge green transparent bar on top of video with any crop values
(strongly divided by 4, 8 or 16 px). With other encoding software like MediaCoder Pro
or Adobe ME with nvenc_export plugin by nvenc4everyone this issue is not present.
My specs & encoding parameters:
Asus Strix GTX960 DC2OC 4GB
StaxRip 1.3.3.9 Test Build
Source -> AvySynth+ & DGSource (with DGencNV, march build, donate version)
Filters/Misc -> aWarpSharp2 (thresh=96, blur=3, type=1, depth=32, chroma=4)
Preset -> Nvidia H.265 (with some custom options like:
--vbr2 2560 --codec h265 --bframes 2 --max-bitrate 12288 --aq --avcuvid --crop 0,24,0,24 --cu-min 8 --cu-max 64
--fullrange --colormatrix bt709 --colorprim bt709 --mv-precision Q-pel --transfer bt709 --sar 12:11)
Decoder -> NVEncC (NVIDIA CUVID)
Mode -> VBR2
Level -> Unrestricted
Container -> MKV
Audio -> Just Mux etc.
On other hand - without cropping, result video have a nearly perfect encoding quality for thing like NVEnc
(measured with SSIM/PNSR in MSU VQMT Pro) and good size compression (2/3 to 1/2 of original video size).
I would be grateful if someone help me.
stax76
16th April 2016, 12:10
@mcjordan
Hi,
see my signature regarding log file, maybe I can reproduce it with my GTX 960.
mcjordan
16th April 2016, 12:30
New encoding - same result.
Here is my log:
http://pastebin.com/M6LB5P7C
Thanks in advance!
stax76
16th April 2016, 14:07
@mcjordan
I could reproduce it and think it's NVEncC cropping, left crop gives an error message and top crop gives green bars. I had reported the left crop issue to the NVEncC author some weeks ago and because it's probably a nv api problem he could only make a error message. Somebody has to report it to NVIDIA, I don't know if the author has contact with NVIDIA.
You don't need to add --avcuvid to the custom command line because it's the default.
There is a big issue with your settings! Choosing CUVID as decoder in the NVEncC options dialog will bypass AviSynth/VapourSynth entirely! Take a look at your NVEncC command line, there is no avs/vpy file! You have to select AviSynth/VapourSynth as decoder if you want to use AviSynth/VapourSynth, you can still decode with CUVID using either DGSource or DSS/DSS2/LAV Filters CUVID.
stax76
16th April 2016, 16:00
I uploaded a new stable release hoping actually not having missed a critical issue. Have fun. :)
StaxRip x64 1.3.4.0 Stable
New Features
support for 3 or more audio tracks added to the muxing dialog
code preview added to filters menu and script preview renamed to code preview in script editor
added a command line switch -show-dialogs:bool and project option 'Show all dialogs when invoked from CLI', by default dialogs are not shown when StaxRip receives CLI arguments
yadifmod2 plugin for AviSynth added
TComb AviSynth plugin added
auto crop plugin replaced with new internal routine supporting both AviSynth and VapourSynth
better subtitle support for m2ts container
decoding options added for AMD encoder
larger x265 custom command line TextBox
x265 new switch added --rc-grain
the encoding options dialogs for x265, AMD, Intel and NVIDIA have now an option to display the full command line
new ffmpeg encoder output options 'H.264 NVIDIA', 'H.264 Intel', 'H.265 Intel', the currently used ffmpeg built doesn't yet support NVIDIA
video encoder profiles added for all encoding codecs StaxRip supports for ffmpeg: 'VP9', 'Xvid', 'ASP', 'Theora', 'H.264 Intel', 'H.265 Intel', 'H.264 NVIDIA'
ffmpeg decoding option -threads added, multi-threading is enabled by default but not recommended for dxva2 decoding and maybe for hardware decoding in general
VapourSynth QTGMC parameters TFF and Preset added to menu
more source and target parameters are now shown in the main dialog
in the scripting editor there is a Join feature to join all filters into one
QTGMC 3.33 for AviSynth
profiles can be saved from the x265/AMD/Intel/NVIDIA/ffmpeg encoding options dialogs
added shortcuts and Export to CSV to MediaInfo Folder View (Tools > Advanced)
added C# (Roslyn) and PowerShell scripting support. Scripts can be started at main menu > Tools > Scripts. There are commands in the command line, main menu and event commands to execute script code or script files.
three VapourSynth filter profiles added based on std.SetFieldBased
added user contributed script 'Convert Bluray (BT709) to 10bit 400nits (MaxFALL) HDR (rev2)'
in the options dialog the subtitles to auto load can now be defined with both two and three letter code, this is useful for people more familiar with three letter codes, both can be mixed, for undetermined previously 'iv' had to be used, now 'und' can also be used.
added setting to scale the UI to a custom factor
many new switches added to Intel Quick Sync encoding GUI for QSVEncC
many new switches added to NVIDIA encoding GUI for NVEncC
added option to set audio default stream
Fixed Bugs
fixed window freeze in eac3to dialog happening when eac3to fails on the input.
fixed showing filter selection dialog even if the source is vpy or avs
fixed StaxRip trying to auto correct the script even if the source is avs or vpy
fixed StaxRip recalculating the video bitrate even when the fixed bitrate option is used
avi muxer supports two audio tracks now
in some cases the two audio output file paths were identical
moving subtitles up and down wasn't working correctly
the new mp4box update should fix a bug many people reported
fixed editing dates in apps dialog not working with Persian calendar
fixed crash using ' character in file paths using VapourSynth
fixed inaccurate right and bottom magnifiers in crop dialog
fixed Python installed by miniconda not being detected
cropping values were multiplied by 2 using NVEncC
fixed subtitle size detection
fixed preview not fitting on screen under some conditions
fixed some issues opening avs or vpy as source file
added new source filter avisource.AVISource for VapourSynth, it can open avi and avs files
the filter selection dialog has now automatic options for both AviSynth and VapourSynth. For avs sources it shows also an option for VapourSynth since VapourSynth's AVISource can open avs files
d2vsource added to VapourSynth
fixed wrong font used pasting code in code editor
in the media info folder view (Tools > Advanced) the context menu functionality did not work for sub folders
in same situations it wasn't possible to close the crop dialog due to an script error, now the message box showing the error has an additional exit button
fixed High DPI scaling bug in the navigation bar of the x265 dialog
in case the audio or subtitle source file is mkv the original stream title was muxed even if it was deleted in StaxRip
line indentation wasn't preserved for multiline filter profiles
Tweaks
better error handling when the source is vpy or avs
when loading an audio file without language info the language of the audio profile/stream stays instead of being changed to undetermined
improved changelog
cutting with VapourSynth is now possible without AviSynth being installed (the audio cutting code was using AviSynth)
The info in the preview looks better and is readable regardless of the current background
source filter preferences in the settings dialog under Source Filter to configure which source filter should be used for a given file in case the source filter in the project is called Automatic is now also available for VapourSynth, with this VapourSynth support in StaxRip should be on par with AviSynth support making both scripting engines first class citizens
x265 tune grain defaults updated
improved bitrate calculation
The media info dialog shows the file size now also in mega byte instead of giga byte only
removed ffmpeg writing long build info to the log file
Video Comparison shows now indexing progress
added version or at least change date and x86 or x64 to every app in the apps dialog
set font to Consolas 10 in scripting editor
the checked list controls of the event command and jobs dialog were replaced with themed controls, in the jobs dialog multi select and Ctrl+A and Delete shortcuts are supported
besides detecting the python location of the regular setup and miniconda setup StaxRip now also searches in the PATH and Path environment variables for python
Updated Tools
AviSynth+ 1841
AVSMeter 2.2.0
ffmpeg 2016-03-10
fmtconv (vs) 20
mkvtoolnix 9.0.1
mp4box 0.6.0
mvtools (vs) v13
NVEncC 2.05
QSVEncC 2.45
x264 2692
x265 1.9+140
yadifmod2 (avs) 0.0.3
Download
https://github.com/stax76/staxrip/releases
mcjordan
16th April 2016, 16:58
Excellent job, Stax!
StaxRip is becoming better and more better.
Thanks for help and explanation!
It's my fault in settings (in late night tests).
May be Rigaya will find some solution further in time...
stax76
16th April 2016, 17:16
I noticed that the program causes madvr in full screen exclusive mode to fail. This happens right after it finishes its encodes. The program window activates and FSE is disrupted. Is there a way for staxrip not to do this?
Before StaxRip activates the window it tries to detect which app is in the foreground and in case it's a known player in don't activate, right now only mpc, vlc and mediamonkey are known, I can make this a editable setting.
cegy
16th April 2016, 20:04
@stax76 the only major thing that you did miss was telling the users that there settings will be reset due to the changes you've done since the last stable version something of which would nice apart from that great work! :)
Magik Mark
16th April 2016, 23:08
Before StaxRip activates the window it tries to detect which app is in the foreground and in case it's a known player in don't activate, right now only mpc, vlc and mediamonkey are known, I can make this a editable setting.
Maybe we can add more players. We are using dsplayer through kodi.
Thanks stax!
Yups
16th April 2016, 23:51
http://fs5.directupload.net/images/160417/dsg9ygcm.png
Default is auto, means SDK decides.
NikosD
17th April 2016, 06:42
What a fabulous work regarding Intel's HW encoders!
You have spent a lot of time on HW encoding GUIs and this time rigaya should advertise and maybe "steal" your GUIs for all his HW encoders (Intel, Nvidia, AMD)
I think you literally have put every switch of the CLI apps in your GUIs!
Really great work and great progress regarding HW encoders in general, inside StaxRip.
ismail0100
17th April 2016, 10:07
What a different intel x265/nvdia x265/x265. I have i5 2350 cpu and amd 7610m gpu.
Yups
17th April 2016, 10:40
Is there no advanced options field anymore? How can I disable b-pyramid?
edit: I don't see scenechange
stax76
17th April 2016, 15:25
Maybe we can add more players. We are using dsplayer through kodi.
I've added a new setting with following defaults: mpc vlc media play kodi
Is there no advanced options field anymore? How can I disable b-pyramid?
edit: I don't see scenechange
Scenechange is only visibly with avs/vs, probably it's not possible with quick sync decoder.
The custom switches were removed by accident, new test build is online.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Yups
17th April 2016, 16:17
The custom switches were removed by accident, new test build is online.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Maybe I miss something, I still can't write something in the custom field at the bottom. It's locked.
stax76
17th April 2016, 16:29
Maybe a strange bug, I'm not aware of any locking or disabling being implemented.
edit:
Can you see a 'Custom Switches' text input box on the last tab called 'Other'?
Yups
17th April 2016, 19:21
This is what I missed, the custom field is located under Other.
NikosD
18th April 2016, 06:09
Is there no advanced options field anymore? How can I disable b-pyramid?
edit: I don't see scenechange
Scenechange is only visibly with avs/vs, probably it's not possible with quick sync decoder.
I had asked rigaya about a year ago (!) and he had told me that scenechange was visible using some specific encoding modes in HW encoding.
He had disabled it by default in both SW & HW encoding.
Also keep in mind that scenchange is incompatible with b-pyramid.
If you enable b-pyramid, then scenechange is off by default.
Run --check-features to see the table of encoding modes supported on your platform.
Magik Mark
18th April 2016, 09:39
I've added a new setting with following defaults: mpc vlc media play kodi
Thanks a lot. That worked!
zioneed
18th April 2016, 14:37
Hi all,
just switched from MEGui to Staxrip and as for encoding x265 this is definitely the tool I like more.
I have a weird issue, hoping someone will be able to share some light: encoding speed (can post settings in case of need).
I tend to encode BR tv series to 720 hevc files, bitrate 3000. Ok, my choice, dont want to start any issue here :)
The real question is: same encoder version, same (checked 3 times!) encoding settings, bit by bit I would say ans encoding speed is very different!
Tried different files and chunks: no matter what MEGui (ABR 3000+ command line switches) is faster than Staxrip (mode bitrate set as 3000).
About 17/18 fps Vs 11/12 fps. This is really bizarre, and quite annoying to be honest.
One thins I have noticed (medium preset for both) is that on Staxrip in basic options window I set 3000 as bitrate but have to select one QUALITY value as well (this is not needed in MEgui).
Question now would be: am I doing anything wrong or why encoding speed is so different?
I add extra switches in use for my profile: --bitrate 3000 --profile main --rd 4 --tu-intra-depth 3 --rdoq-level 1 --early-skip --fast-intra --b-intra --tskip --tskip-fast --limit-modes --qg-size 16 --nr-intra 400 --nr-inter 400 --vbv-bufsize 10000 --vbv-maxrate 10000 --me star --merange 38 --max-merge 3 --weightb --bframes 6 --rc-lookahead 40 --ref 6 --no-deblock --no-sao
Many thanks in advance!
stax76
18th April 2016, 14:52
@zioneed
You can use MediaInfo and diffchecker for comparison, please post the result like so:
https://www.diffchecker.com/pz3bhbb2
zioneed
18th April 2016, 15:11
@zioneed
You can use MediaInfo and diffchecker for comparison, please post the result like so:
https://www.diffchecker.com/pz3bhbb2
Will do, many thanks! might take awhile since need to re-encode one fresh chunk. 5 mins will do?
Just curious really, not really a noob at encoding but cant really tell why so much difference in terms of performance.
Rhade3000
18th April 2016, 18:39
im trying one of the new functions in 1.3.40 for the user scripts
added user contributed script 'Convert Bluray (BT709) to 10bit 400nits (MaxFALL) HDR (rev2)'
but i seem to be getting weird color space conversion issues.
The Reds are getting distorted as seen below
the source is Jonah Hex Bluray, but was getting it on any source that has red in it
Source
http://s4.postimg.org/82o6t306x/Jonah_Hex_t01_mkv_snapshot_00_00_20_2016_04_17.jpg (http://postimg.org/image/82o6t306x/)
Encode
http://s4.postimg.org/tmxkbvg6x/Jonah_Hex_t01_new_out_mkv_snapshot_00_20_2016_0.jpg (http://postimg.org/image/tmxkbvg6x/)
J1Man
18th April 2016, 22:41
Rhade3000:
When I convert BT709 videos from SDR to HDR using Staxrip's conversion script they look identical on my HDR TV when I play them via USB.
I also get incorrect brightness/colors when I play them on my PC Monitor via MadVR no matter which HDR brightness setting I select in MadVR settings menu. I see from your screenshots that the HDR video looks slightly darker than the original. If you play with HDR brightness (nits) settings in MadVR you can make it brighter or much darker, but you can't make it look identical.
That's the reason why there is a fine print/comment in the HDR conversion script that says "You must have a HDR compliant TV to play the output file". Currently perfect HDR playback on regular monitors is not possible via software players.
mcjordan
19th April 2016, 14:34
New AVS+ build: r1847
x64/x86, including XP versions
r1847 MT-pfmod (2016.04.18)
- fixed broken ffdshow integration (chainikdn)
- fixed theoretical and debug case cache corruption
http://forum.doom9.org/showthread.php?p=1764975#post1764975
ismail0100
21st April 2016, 14:30
can we use staxrip only audio converting?
I try meugui ac3,dts to aac but i failed.
stax76
21st April 2016, 14:46
The audio text box has a 'Execute' menu item to execute a audio profile, this works with or without a video source being opened, for multiple files you can run multiple StaxRip instances.
If you have a video source open you can add audio only processing to the job list by selecting 'Just Mux' as video encoder and 'No Muxing' as container.
ismail0100
21st April 2016, 14:51
The audio text box has a 'Execute' menu item to execute a audio profile, this works with or without a video source being opened, for multiple files you can run multiple StaxRip instances.
If you have a video source open you can add audio only processing to the job list by selecting 'Just Mux' as video encoder and 'No Muxing' as container.
any chance for img? I have poor eng I am so sorry..
stax76
21st April 2016, 15:07
try this:
audio text box > right click > Execute
or this
video encoder > Just Mux
muxer > No Muxing
add job
you can always use multiple StaxRip instances
mcjordan
21st April 2016, 21:19
KNLMeansCL v0.7.6 Update:
* Fixed wrong version displaying.
* VapourSynth: fixed wrong API usage.
http://forum.doom9.org/showthread.php?t=171379
https://github.com/Khanattila/KNLMeansCL/releases/tag/v0.7.6
stax76
21st April 2016, 21:45
@mcjordan
I've updated it, thanks.
ismail0100
21st April 2016, 22:33
try this:
audio text box > right click > Execute
or this
video encoder > Just Mux
muxer > No Muxing
add job
you can always use multiple StaxRip instances
yeah it works thnk u very much :)
Last question is staxrip support 6.1 channel audio?
I try convert video say something(dont remember).
LordVako
22nd April 2016, 03:42
Kinda noob on this still... Im encoding ( from a x264 blu-ray source to HEVC ) using vapoursynth with ffms2 source and HDR 10 bit with 2 pass at medium speed
Im on an I7 Skylake 6700k OC'D to 4.5ghz and on the first pass it doesnt go faster than 19.40 fps and then on the second pass it drops to 17fps.
Is there something im doing wrong? Is there a way to have better fps? Thanks
JohnLai
22nd April 2016, 06:03
Kinda noob on this still... Im encoding ( from a x264 blu-ray source to HEVC ) using vapoursynth with ffms2 source and HDR 10 bit with 2 pass at medium speed
Im on an I7 Skylake 6700k OC'D to 4.5ghz and on the first pass it doesnt go faster than 19.40 fps and then on the second pass it drops to 17fps.
Is there something im doing wrong? Is there a way to have better fps? Thanks
Nope, you done nothing wrong. There is simply no way to get better fps other than disabling many features (laymen term = use ultrafast preset which practically disable many encoding options)
From the benchmark here http://x265.ru/en/x265-hd-benchmark/ , what make you think 6700k 4.5ghz is 'godly' in first place? After all Core™ i7-5960X with 20Mb cache, 8 cores 16 threads that OC-ed to 4.5ghz only get paltry 32.42fps. ~.~
LordVako
22nd April 2016, 08:37
i didnt say it was godly. just thought it would perform much better or i was doing something wrong.
mcjordan
22nd April 2016, 09:11
My daily compilation of mp4box (0.6.2 Dev-rev357) wo libs from GPAC:
http://www17.zippyshare.com/v/ykWKCCsC/file.html
Any chance to compile Waifu2x Avisynth plugin in 64-bit?
(slow 2x neuron upscaler for anime video). Here is git source:
https://github.com/sunnyone/Waifu2xAvisynth
For VapourSynth is here (x64 version available):
https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Waifu2x-w2xc/releases/
Thanks in advance!
ismail0100
22nd April 2016, 13:11
Kinda noob on this still... Im encoding ( from a x264 blu-ray source to HEVC ) using vapoursynth with ffms2 source and HDR 10 bit with 2 pass at medium speed
Im on an I7 Skylake 6700k OC'D to 4.5ghz and on the first pass it doesnt go faster than 19.40 fps and then on the second pass it drops to 17fps.
Is there something im doing wrong? Is there a way to have better fps? Thanks
You using 1500 if use 2000 i can download :) 1500 good but bad for dark scene :(
is very irrelevant sorry...
Rhade3000
22nd April 2016, 13:33
Kinda noob on this still... Im encoding ( from a x264 blu-ray source to HEVC ) using vapoursynth with ffms2 source and HDR 10 bit with 2 pass at medium speed
Im on an I7 Skylake 6700k OC'D to 4.5ghz and on the first pass it doesnt go faster than 19.40 fps and then on the second pass it drops to 17fps.
Is there something im doing wrong? Is there a way to have better fps? Thanks
I would kill for 19.40 fps, im on the same CPU overclockd to 4.7 and im lucking if i can pull 4 - 6 FPS using my settings, however they are kinda extreme :P
mcjordan
22nd April 2016, 18:23
New AVS+ build: r1849 and vdubfilter.dll
x64/x86, including XP versions
r1849 MT-pfmod (20160422)
- Tweak internal FrameRegistry
- [VDubFilter.dll] Fix: VirtualDub filter x64 crash
- [VDubFilter.dll] Add: VirtualDub filter parameter type double
Download r1849 and vdubfilter.dll:
https://github.com/pinterf/AviSynthPlus/releases/tag/r1849-MT-pfmod
mcjordan
22nd April 2016, 20:34
...and also:
NNEDI3 r0.94.21
https://github.com/jpsdr/NNEDI3/releases
Change List:
17/04/2016 v0.9.4.21
* Update to asmlib 3.26.
+ Fix XP build with VS2015.
Magik Mark
24th April 2016, 00:54
Stax,
Is it possible to JUST run avysinth filter on a video? No transcoding at all
Thanks
Q-the-STORM
24th April 2016, 05:26
what do you mean exactly?
To permanently apply a avisynth filter, you need to reencode...
if you don't want any loss, you'd need to encode to a lossless codec (which will be huge)....
you can apply a avisynth filter on playback... just save the avisynth script and open it with MPC-HC, of course your PC has to be fast enough to process it in real time
mcjordan
24th April 2016, 14:12
QSVEnc v2.46
Add --avsync forcecfr for H.264
http://rigaya34589.blog135.fc2.com/
stax76
24th April 2016, 14:49
Last question is staxrip support 6.1 channel audio?
I've enabled in the GUI in the next built.
My daily compilation of mp4box (0.6.2 Dev-rev357) wo libs from GPAC:
I'll update it, thanks.
For VapourSynth is here (x64 version available):
https://github.com/HomeOfVapourSynth...w2xc/releases/
I'll add it, thanks.
New AVS+ build: r1849 and vdubfilter.dll
x64/x86, including XP versions
Does it add or fix anything important and or might it be less stable? Updating AviSynth is a bit work as I have to build the installer and modify the StaxRip code.
NNEDI3 r0.94.21
https://github.com/jpsdr/NNEDI3/releases
I'll update it, thanks.
Is it possible to JUST run avysinth filter on a video? No transcoding at all
AVSMeter does exactly that
Open a source a file and go to:
Main Menu > Tools > Advanced > AVSMeter
QSVEnc v2.46
Add --avsync forcecfr for H.264
I'll update it, thanks.
JohnLai
24th April 2016, 16:33
QSVEnc 2.46 also adds subtitle burn-in mode (All hail Rigaya ^.^ )
So, stax76, please add interface to staxrip as well. (Thanks in advance to you as well)
Finally, faster subtitle burn-in mode. The day of weird/slow/inaccurate/missing Android VLC's animated ASS rendering finally over with fast burn-in mode.
dejong12
24th April 2016, 18:51
QSVEnc 2.46 also adds subtitle burn-in mode (All hail Rigaya ^.^ )
So, stax76, please add interface to staxrip as well. (Thanks in advance to you as well)
Finally, faster subtitle burn-in mode. The day of weird/slow/inaccurate/missing Android VLC's animated ASS rendering finally over with fast burn-in mode.
MXPlayer for Android does a great job at displaying .ASS subtitles. ;)
JohnLai
25th April 2016, 03:40
MXPlayer for Android does a great job at displaying .ASS subtitles. ;)
Tried that. Too bad animated .ASS uses a lot of cpu power.
Not exactly an ideal situation with battery constrained smartphone. :cool:
mcjordan
25th April 2016, 07:40
MP4Box (wo libs; x86 & x64) - 0.6.2-DEV-rev394
* Fixed critical memory leak
http://www100.zippyshare.com/v/lhetYP62/file.html
ismail0100
25th April 2016, 14:03
I have a intel 2350m cpu. So if i make x265 rip Do I need to use Intel 265 for the best performance?
JohnLai
25th April 2016, 14:12
I have a intel 2350m cpu. So if i make x265 rip Do I need to use Intel 265 for the best performance?
What are you talking about?
Intel® Core™ i3-2350M (Sandy Bridge) doesn't support QuickSync HEVC/H265 hardware encoding. Only latest Intel Skylake and Nvidia Maxwell V2 support hardware HEVC/H265 encoding.
If you want to make a HEVC/H265 video for your laptop, the only way is to use software encoder x265 (Staxrip x265 preset). But, x265 encoding is really SLOW........
stax76
25th April 2016, 14:51
I have a intel 2350m cpu. So if i make x265 rip Do I need to use Intel 265 for the best performance?
John is right, it's one of the few things that are documented yet:
https://stax76.gitbooks.io/staxrip-handbook/content/system_requirements.html
ismail0100
25th April 2016, 14:56
What are you talking about?
Intel® Core™ i3-2350M (Sandy Bridge) doesn't support QuickSync HEVC/H265 hardware encoding. Only latest Intel Skylake and Nvidia Maxwell V2 support hardware HEVC/H265 encoding.
If you want to make a HEVC/H265 video for your laptop, the only way is to use software encoder x265 (Staxrip x265 preset). But, x265 encoding is really SLOW........
Thank u. I always wonder it but didint find documant(poor english.)
Yeah I know. I make two pass 2000 kbps and take 15-24 hours. :(
John is right, it's one of the few things that are documented yet:
https://stax76.gitbooks.io/staxrip-handbook/content/system_requirements.html
Thank u very much :)
ismail0100
25th April 2016, 15:10
by the way thank u so much for 6.1 channel :)
stax76
25th April 2016, 15:13
New test build with recent suggestions added.
https://github.com/stax76/StaxRip#download
ismail0100
25th April 2016, 15:44
Hey I must ask it :)
My audio file is DTS®ES-Discrete 6.1 . I select 6.1 aac 31(253) vbr. output is 8 ch aac 353-422kbps vbr.
stax76
25th April 2016, 16:35
take a look at the log file:
NeroAacEnc doesn't support 6.1 encoding. Will double the 7th channel.
choose qaac in the audio settings dialog ;)
ismail0100
25th April 2016, 16:39
take a look at the log file:
choose qaac in the audio settings dialog ;)
Ok. I am sorry for a lot asking :o :)
mcjordan
25th April 2016, 18:37
Two small missing updates for Vapoursynth part:
mvsfunc-r7
https://github.com/HomeOfVapourSynthEvolution/mvsfunc/releases
and vslsmashsource.dll (L-SMASH-Works-r877)
https://www.dropbox.com/sh/3i81ttxf028m1eh/AACXzuS67aM_k1o4z67pohKVa/L-SMASH-Works-r877-20160307-64bit.7z?dl=0
stax76
25th April 2016, 18:52
I've updated it, thanks.
Leinad4Mind
25th April 2016, 19:43
Hi there, I start using this today. I've one doubt. How can I select x264 8bits from 10bits? (In comparison with megui, I can select on the profile an option for that.)
stax76
25th April 2016, 19:48
Hi, it supports only x264 8-Bit due to most devices not supporting 10-Bit, you can replace the 8-Bit executable with a 10-Bit executable without problems.
Leinad4Mind
25th April 2016, 19:52
I see. I normally do 2 type of encodes one on 1080p maximum quality (i dont care about support devices) and other at 720p in 8bits, and with all "rules" for device support, when I want to see on a dvdplayer, ps3 wtv.
But you could add an option for that. That way I would saved different profiles, one for 8bits and other for 10bits. It would help a lot. (Sometimes im very lazy)
Thanks! ;)
stax76
25th April 2016, 20:06
Please create a feature request on the github issue tracker.
Magik Mark
26th April 2016, 00:39
Hi Stax!
I'm experimenting on a filter. This filter support multi threading. Is multi threading AUTOMATICALLY activated in staxrip? If not, how do I activate it?
Thanks
stax76
26th April 2016, 00:45
Hello Mark, the scripting editor has a menu item to open the AviSynth+ wiki, it explains how to use MT.
http://avisynth.nl/index.php/AviSynth%2B#MT_Notes
mcjordan
27th April 2016, 08:06
Aaaarghhh... MP4Box of GPAC have a very intensive development cycle...
Here is compilation of MP4Box v0.6.2-rev405-gdb8e8b9-master (x64 & x86):
http://www88.zippyshare.com/v/F3Iwh0K7/file.html
Vulpix
27th April 2016, 11:46
Some issue with NvencC
H.264/AVC
--tff same as --interlaced tff
--bff same as --interlaced bff
--interlaced <string> interlaced encoding
tff, bff
--cabac use CABAC
--cavlc use CAVLC (no CABAC)
--bluray for bluray / Default: off
--lossless for lossless / Default: off
--(no-)deblock enable(disable) deblock filter
Some of these settings are mis-represented in stax gui.
Cabac / Cavlc should be a listbox since only one of them can be active at a time and they are mutually exclusive
Deblock checkbox should produce a --no-deblock switch when unchecked (as the setting is "on" by default).
stax76
27th April 2016, 12:22
Cabac / Cavlc should be a listbox since only one of them can be active at a time and they are mutually exclusive
Deblock checkbox should produce a --no-deblock switch when unchecked (as the setting is "on" by default).
It's fixed locally.
Vincent Vega
29th April 2016, 08:56
i'm not sure if this is the right thread, so pls direct me where to ask elsewhere, but i just want to start playing with hd 530 gpu decode/encode more but dont have another monitor connected to it, and using the trick with extending desktop to fake VGA on intel graphics does not seem to work anymore for me on Win 10 + 6700k with digital-only outputs.
so its really inconvenient, cant access intel graphics control panel, tried an opencl test on intel gpu (https://github.com/ihaque/memtestCL), it hangs, but works fine on cpu or nvidia graphics. i suspect also because no monitor on igpu.
(some other igpu things do work though, like lav quicksync decode, or gpu caps viewer igpu opencl test)
so anyway i want to have fully functional igpu features/settings without monitor or dummy plug, is it possible?
mcjordan
29th April 2016, 12:29
Update: AVSMeter 2.2.3
New ini setting "SkipSpeedTest", see documentation.
Put back the script "speed" test at the start because it is the best method to determine a suitable interval for measuring CPU/GPU/memory usage and minimizing the overhead for these measurements.
http://forum.doom9.org/showthread.php?t=165528
...and Zeranoe silently update FFmpeg to version 3.0.2 "Einstein"
"...3.0.2 was released on 2016-04-28. It is the latest stable FFmpeg release from the 3.0 release branch, which was cut from master on 2016-02-14"
https://ffmpeg.zeranoe.com/builds/
stax76
29th April 2016, 13:05
@Vincent Vega
Here it works without any connection! I have two options in the Bios:
Initial Display: PCI
Internal Graphics: Enabled
I use Win 10 Pro, Gigabyte Skylake motherboard, GTX 960 card and i7-6700K CPU, I had an i5-6600K before which also didn't need any connection.
Yups
29th April 2016, 14:50
For me too. Windows 10 don't need a secondary monitor, it works out of the box.
Vincent Vega
29th April 2016, 15:07
@Vincent Vega
Here it works without any connection! I have two options in the Bios:
Initial Display: PCI
Internal Graphics: Enabled
I use Win 10 Pro, Gigabyte Skylake motherboard, GTX 960 card and i7-6700K CPU, I had an i5-6600K before which also didn't need any connection.
i have pretty much the same-
win10 pro x64, 6700k, gtx 960, asus z170;
in bios: initial display PCIe, iGPU enabled "for multi-monitor" with 512M memory allocated;
intel driver latest .4380 and intel opencl sdk for 2016 (https://software.intel.com/en-us/intel-opencl/download).
(a) could you try memtestcl on iGPU, i'm worried why it dont work.
if you have same settings and software you'll end up with these options
http://s32.postimg.org/4ufl9fs5x/memtestcl.png
for above screen an example usage (platform 0 (intel cpu/igpu), device 0(igpu), 256mb, 5 iterations)
memtestcl -p 0 -g 0 256 5
(binary here https://github.com/ihaque/memtestCL/tree/master/binaries)
(b) another question, can you open intel graphics control panel without attached monitor?
stax76
29th April 2016, 15:41
I can't open the control panel.
memtest: http://pastebin.com/P9JVMyEg
Q-the-STORM
29th April 2016, 15:49
can you add TIVTC.dll and its filters TFM() and TDecimate() in your next build?
http://www114.zippyshare.com/v/Yb0wAXMi/file.html
Vincent Vega
29th April 2016, 15:59
I can't open the control panel.
memtest: http://pastebin.com/P9JVMyEg
thank you for test, appreciate it!
mine on igpu still freezes there, only cpu and 960 works -(
stax76
29th April 2016, 16:06
@Vincent Vega
You could mail rigaya, maybe he can give you advice.
@Q-the-STORM
StaxRip x64 can only load AviSynth+ x64 which in return can only load x64 plugins, an x64 process/exe can only load x64 libraries/DLLs. The DLL you linked don't seem to be x64, TIVTC x64 was compiled 2010 and causes an access violation in StaxRip so there is nothing I can do.
mcjordan
29th April 2016, 18:03
Update: MediaInfo 0.7.85
https://mediaarea.net/MediaInfo/ChangeLog
Changes:
+ FFV1: ScanType and ScanOrder
+ Detection of Omneon VBI and move of the VBI track from Video part to Others part
+ N19/STL: Support of etection of less standard frame rates (23.976 and 29.970)
+ Teletext in MPEG-TS: Teletext not subtitle moved to "Other" part
+ Teletext in MPEG-TS: display of CodecID and timestamp of first frame
x Teletext in MXF: some IDs were wrong (when there are more than one Teletext service)
x MPEG-4/MOV: default of raw audio to Signed in case of stsd atom version
x MPEG Video: some CEA-608/708 captions were not correctly detected due to some packets discarded by the parser with interlaced content
x MPEG-4/MOV: Dolby E with 2 or more audio services were not correctly reported
ismail0100
29th April 2016, 18:21
I have a little question. I will not have desktop only laptop. So which cpu i look for fast convert hevc video?
stax76
29th April 2016, 19:04
@mcjordan
I've updated MediaInfo, I don't update ffmpeg and AVSMeter every week.
@ismail0100
On desktop Intel supports hevc encoding since Skylake.
ismail0100
29th April 2016, 22:35
@mcjordan
I've updated MediaInfo, I don't update ffmpeg and AVSMeter every week.
@ismail0100
On desktop Intel supports hevc encoding since Skylake.
Yeah you say before remember :) i wonder for laptop :)
mcjordan
29th April 2016, 23:59
Sorry, but some people never sleep... ;-)
News from http://rigaya34589.blog135.fc2.com/
QSVEnc 2.47 x64 r1071
Added to reader VP8 & VP9 ->
reader: raw, avi, avs, vpy, avqsv [H.264/AVC, HEVC, MPEG2, VC-1, VP8, VP9]
NVEnc 2.06
Added avcuvid suboptions:
--avcuvid [<string>]
use libavformat + cuvid for input this enables full hw transcode and resize.
avcuvid mode could be set as a option
- native (default)
- cuda
stax76
30th April 2016, 07:07
@mcjordan
Both updated, avcuvid cuda added to Basic > Decoder, speed is same and crop problem persist.
JohnLai
30th April 2016, 08:23
@mcjordan
Both updated, avcuvid cuda added to Basic > Decoder, speed is same and crop problem persist.
Still no burn-in subtitle GUI? :D
Magik Mark
30th April 2016, 08:24
Stax,
Can you pls check. Latest test build is 10fps slower in x265 2pass 10bit encoding. This is the one with the build x265 1.9 +147
stax76
30th April 2016, 08:53
Still no burn-in subtitle GUI? :D
I don't think NVEncC supports this!
@Magik Mark
I compared it to the new ffmpeg x265 GUI and used the copy command line feature to run it in the shell, all three had same speed.
JohnLai
30th April 2016, 09:15
I don't think NVEncC supports this!
Not NVencC.....but QSVencC supports it starting with version 2.46 and improvement in version 2.47
http://rigaya34589.blog135.fc2.com/blog-entry-776.html
and
http://rigaya34589.blog135.fc2.com/blog-entry-778.html
Nobody read full changelog? :eek:
stax76
30th April 2016, 09:23
Which switch don't StaxRip support?
JohnLai
30th April 2016, 09:44
Which switch don't StaxRip support?
--vpp-sub <int> or <string>
Maybe <int> is the ID of subtitle? Perhaps <string> refers to text.srt? Not sure how it works myself. Supported subtitle format = ass/srt/ttxt/txt Possibly by linking it to staxrip's "Container" subtitle?
--vpp-sub-shaping <string>
Simple and complex (default is simple, but i prefer complex);)
--vpp-sub-charset <string>
https://trac.ffmpeg.org/attachment/ticket/2431/sub_charenc_parameters.txt
stax76
30th April 2016, 09:46
All three are supported!
JohnLai
30th April 2016, 10:55
All three are supported!
Eh? Oh....I see, test build? I was using v1.3.4.0-stable.
I didn't notice it already been available in testbuild.
BTW....staxrip testbuild changelog;
added new QSVEncC switches for hordcoded subtitles
:p
Thanks again
EDIT:
Stax76, is it possible to automatically link the "Sub File" directly to the 'Containers' subtitles selection?
mcjordan
30th April 2016, 11:22
Update: mvtools2 2.7.0.22
https://github.com/pinterf/mvtools/releases
http://forum.doom9.org/showthread.php?t=173356
Changelog: Synchronized with Fizick's 2.5.11.22
fredlkrue
30th April 2016, 18:51
I don't know why StaxRip_x64_2016-04-29_19-54_test fails to run in my machine, Windows 7 64bits (via VirtualBox), right now I am using StaxRip_x64_2016-03-31_20-38_test and it runs fine. This is the error that I get:
http://s32.postimg.org/b80kbs7md/Stax_Rip.png
EDIT: I also see a bunch of .dll's that other versions don't have:
http://s32.postimg.org/h7ro5o4gl/Stax_Rip2.png
mcjordan
1st May 2016, 11:31
L-Smash r877 update:
L-SMASH-Works-r877-20160501-32bit.7z
L-SMASH-Works-r877-20160501-64bit.7z
LSMASHSource-AviSynth-plugin-r877-msvc-32bit.7z
https://www.dropbox.com/sh/3i81ttxf028m1eh/AAABkQn4Y5w1k-toVhYLasmwa?dl=0
stax76
1st May 2016, 12:57
@fredlkrue
It requires .NET 4.6.1 because of the C# scripting feature.
@mcjordan
L-Smash-Works and mvtools are locally updated.
Stax76, is it possible to automatically link the "Sub File" directly to the 'Containers' subtitles selection?
How would this work and make sense?
JohnLai
1st May 2016, 13:45
How would this work and make sense?
http://i.imgur.com/XYUPZYk.jpg
Errr............how to explain.......
If both purple checkbox are checked;
Then disable mkvmerge subtitle merging;
Then link the location of selected subtitle at Container Configuration's Subtitle to QSVEncC --vpp-sub
Possible? :confused:
mcjordan
1st May 2016, 14:06
D2V Source 1.0 for VapourSynth released on 29.04.2016
https://github.com/dwbuiten/d2vsource/releases
I do not know what's the difference with included in your compilation.
Yours is three years older (by file date). May be version 0.7 beta?
But... have some limitations & bugs:
* Only works with D2V files created by DGIndex (version flag 16) or D2VWitch
(https://github.com/dubhater/D2VWitch).
* Not all the IDCT algorithms in DGDecode are in libavcodec, so I've tried to
map them as best I could. See idct_algo_conv in d2v.hpp for more info.
* Does not support user specified cropping. Would be easy to add, but I disagree
with the premise. Use VapourSynth's cropping.
* Needs the full path to the D2V file.
* Probably more I'm forgetting!
stax76
1st May 2016, 14:16
@JohnLai
It's possible sure but I don't see sense and benefit in making an connection between container soft subs with encoder hard subs, it don't look like this mixes well.
@mcjordan
I've updated d2vsource.
JohnLai
1st May 2016, 14:39
@JohnLai
It's possible sure but I don't see sense and benefit in making an connection between container soft subs with encoder hard subs, it don't look like this mixes well.
Benefit ---> No need to manually locate the demuxed subtitle=srt.ass.txt.pgs at 'temp' directory (from Desktop every time) and uncheck subtitle selection.
>.<
fredlkrue
1st May 2016, 16:15
@fredlkrue
It requires .NET 4.6.1 because of the C# scripting feature.
Thanks!
Vincent Vega
1st May 2016, 21:32
@Vincent Vega
You could mail rigaya, maybe he can give you advice.
thx i mailed him but he probably has more important things to do -)
can you tell me what nvidia and intel graphics driver versions you use?
and what file size and version opencl.dll you have in
C:\Windows\SysWOW64
C:\Windows\System32 (if any)
Q-the-STORM
1st May 2016, 21:45
@Q-the-STORM
StaxRip x64 can only load AviSynth+ x64 which in return can only load x64 plugins, an x64 process/exe can only load x64 libraries/DLLs. The DLL you linked don't seem to be x64, TIVTC x64 was compiled 2010 and causes an access violation in StaxRip so there is nothing I can do.
It works here in Avisynth's plugins folder, though I have avisynth+ and avisynth installed on top of each other, so might be because of that...
stax76
1st May 2016, 22:04
@Q-the-STORM
the access violation don't happen on Windows 7, only Windows 8 and later
@Vincent Vega
Intel : 20.19.15.4404 2016-03-03
NVIDIA : 10.18.13.6472 2016-03-21
OpenCL : 2.0.2.0 2016-03-11 80,5 KB (82.432 Bytes)
Magik Mark
2nd May 2016, 00:26
Stax,
I'm having "ghost" problem. Can you help troubleshoot? I don't know if this is related to the new avisynth, x265 encoder or just missed switches. It started when new avysinth was included and changes in the switches. Doing x265 10bit 2pass
http://s32.postimg.org/nr161hk4h/Capture.jpg (http://postimg.org/image/nr161hk4h/)
Vincent Vega
2nd May 2016, 00:33
@stax
thanks man, its finally working, if anyone asks
- uninstall all nvidia software,
- uninstall intel graphics driver,
- delete opencl.dll from system32, syswow64 (takeownershipex can help),
- can run MS dism, sfc at this point to make sure everything's in place, it'll also restore stock MS opencl.dll to syswow64,
- install intel driver (.4424), it will overwrite opencl.dll to v2.0.2.0 in syswow64, and add 64bit one to system32,
- install nvidia software (it'll leave opencl.dll both 32/64 bit intact because i think its own version is still 1.2.11),
- don't run sfc after that, and check periodically after windows updates cos MS can revert opencl in syswow64 back to stock, which intel software might not like.
turns out its been an issue for many users in the past months, the opencl client dlls getting ovewritten chaotically by ms/nv/intel updates, is how i see it now.
mcjordan
2nd May 2016, 12:07
Update: x265 1.9+150 ML
http://www.mediafire.com/download/5td3190cir9dbbe/x265_1.9%2B150-00ea3784bd36.7z
Magik Mark
2nd May 2016, 13:18
Stax,
I'm having "ghost" problem. Can you help troubleshoot? I don't know if this is related to the new avisynth, x265 encoder or just missed switches. It started when new avysinth was included and changes in the switches. Doing x265 10bit 2pass
http://s32.postimg.org/nr161hk4h/Capture.jpg (http://postimg.org/image/nr161hk4h/)
Stax
I think I found the culprit. Choosing Tune-> Grain causes this. It should be Tune -> None. Then use --no-cutree option
Magik Mark
3rd May 2016, 00:35
Stax,
Is it possible to integrate fdk-aac?
zioneed
3rd May 2016, 06:37
Hi again,
dumb question but cant figure it out :)
Have a mp4 file and have to add extra audio track, without re-encoding the video. just mux.
Cant seem to find the right way or option.
Any help please??
Thanks a lot!
LordVako
3rd May 2016, 16:48
Hi again,
dumb question but cant figure it out :)
Have a mp4 file and have to add extra audio track, without re-encoding the video. just mux.
Cant seem to find the right way or option.
Any help please??
Thanks a lot!
mux them with mkvtoolnix
You said mp4 not quite sure if it will work though.
LordVako
3rd May 2016, 16:50
Does StaxRip support GPU encoding? Can you encode using both processor and GPU at the same time to increase encoding speed?
:thanks:
Leo 69
3rd May 2016, 18:50
Does StaxRip support GPU encoding? Can you encode using both processor and GPU at the same time to increase encoding speed?
:thanks:
You can find this basic information in the paragraph named "Features" here:
https://github.com/stax76/StaxRip
LordVako
3rd May 2016, 19:18
You can find this basic information in the paragraph named "Features" here:
https://github.com/stax76/StaxRip
Say nothing about if its able to use them both at the same time or how to.
zioneed
3rd May 2016, 19:53
mux them with mkvtoolnix
You said mp4 not quite sure if it will work though.
Would like to keep mp4 container b/c of compatibility with all devices at home.
Mkv at times is playing funny.
if memory serves well I managed to do this using MEGui, so I hope there's a way via Staxrip too since it's a true swiss knife!
Leo 69
3rd May 2016, 21:09
Say nothing about if its able to use them both at the same time or how to.
You can choose either "standard" CPU encoder or GPU encoder. You cannot use both in conjunction.
Bad_Ass
4th May 2016, 02:56
Hey all :p
First I should thank you Stax76 for creating such great tool! Keep up the good work! :thanks:
I'm really in need of using a filter called asharp, but that filter is missing in StaxRip!
Does anyone how to add asharp filter to StaxRip!? :)
Any help would gratefully appreciated! :thanks:
thewuz
4th May 2016, 09:17
Hi all,
I got a wierd problem with cropping per template.
Coming from very old staxrip 1180 i upgraded to the newest Version.
I encode my tv records usually with templates in batch.
I created a new template and fill in my crop settings 2 top 2 left 2 right and 4 bottom. But ever when i load a video file in, the crop is 2 top and 2 bottom after indexing. So i had to correct every single file crop settings! Really annoying. I have unchecked all boxes in crop related autocrop. What im doing wrong.
Thx in advance
Thewuz
LordVako
5th May 2016, 04:57
You can choose either "standard" CPU encoder or GPU encoder. You cannot use both in conjunction.
Which one would encode faster? Im on skylake oc'd to 4.5 and have SLI 980m
Magik Mark
5th May 2016, 05:07
Which one would encode faster? Im on skylake oc'd to 4.5 and have SLI 980m
GPU encodes faster. However, compression is not good. You'll end up bigger file. Better, just get a Xeon processor. Preferably a motherboard with dual Xeon capability
Magik Mark
5th May 2016, 07:56
Is it possible to include frame interpolation script?
LordVako
5th May 2016, 09:27
GPU encodes faster. However, compression is not good. You'll end up bigger file. Better, just get a Xeon processor. Preferably a motherboard with dual Xeon capability
Wish i could on a laptop,,, how do you go by using gpu instead of cpu? wheres the option. thanks
Magik Mark
5th May 2016, 09:42
Wish i could on a laptop,,, how do you go by using gpu instead of cpu? wheres the option. thanks
I like your encodes by the way. I do download them. Maybe we could add some filters to minimize the grainy stuffs. Knlmeans is good but will make your encoding a little bit slower
I used to like Nvidia x265. Very little options. Enable AQ mode + undot & knlmeans. Files are sometimes larger than the original. I gave up on this.
Instead, I got a Xeon and doing x265 with 14 Cores & 28 Threads. Very pleased with the results
mcjordan
5th May 2016, 12:12
Update: QSVEnc 2.48
http://rigaya34589.blog135.fc2.com/blog-entry-780.html
Mainly bug fixes and features that can be selected when the video stream is more than one.
Revan657
5th May 2016, 20:57
Quick question. I have installed the latest release and I'm trying to use the Thumbnail Maker feature. The program stops at 100% and never outputs a thumbnail file. Do I need some other software installed for this to work or do I need to do something else to get this to work?
Pulp Catalyst
5th May 2016, 22:23
Hi, seem to get a little unstable behaviour when using QTGMC VS mode (sometimes the first frames are not available which leads STAXRIP to complain about no input).
anyway, can someone help me... what i would like instead is use NNEDI3 instead in 50fps. I'm hoping this will be much more stable for STAX to use... QTGMC is great, but on every 10 encodes it fails on 3-4 of them...
i have to keep running the same batch again... and again, eventually the failed ones do go through (the issue is intermittent and not always repeatable). But i can't keep using a batch encoder that has a 70-80% success rate LOL
I've used YADIFMOD > NNEDI3 in the past in MeGUI, i do recall the results were pretty great, i'm just trying now to do the same in STAXRIP, but in vapoursynth though, as this vapoursynth is really great when it comes to multi-threading.... so much less hassle than AVISYNTH.
Thanks,
IbrahimKh
7th May 2016, 06:37
any idea what happened?
------------------------------------------------------------
AviSynth script failed to load
------------------------------------------------------------
LoadPlugin("C:\Users\Administrator\Desktop\staxripp\Apps\Plugins\both\ffms2\ffms2.dll")
FFVideoSource("D:\1. Halloween.1978.1080p.BluRay.x264-HDMI.mkv", cachefile = "D:\1. Halloween.1978.1080p.BluRay.x264-HDMI_temp\1. Halloween.1978.1080p.BluRay.x264-HDMI.ffindex")
AviSynth Plugins: DirectShowSource, ImageSeq, Shibatch, TimeStretch, VDubFilter
------------------------------------------------------------
Error opening source
------------------------------------------------------------
AVIFileOpen failed to execute
The AviSynth+ x64 or VapourSynth x64 setup might be damaged. You can verify this by opening the avs or vpy file with VirtualDub x64. avs is a AviSynth script, vpy is a VapourSynth script, StaxRip generates these scripts in the folder for temp files and VirtualDub should be able to open it.
LoadPlugin("C:\Users\Administrator\Desktop\staxripp\Apps\Plugins\both\ffms2\ffms2.dll")
FFVideoSource("D:\1. Halloween.1978.1080p.BluRay.x264-HDMI.mkv", cachefile = "D:\x264-HDMI_temp\x264-HDMI.ffindex")
------------------------------------------------------------
AviSynth script failed to load
------------------------------------------------------------
LoadPlugin("C:\Users\Administrator\Desktop\staxripp\Apps\Plugins\both\ffms2\ffms2.dll")
FFVideoSource("D:\1. Halloween.1978.1080p.BluRay.x264-HDMI.mkv", cachefile = "D:\x264-HDMI.ffindex")
AviSynth Plugins: DirectShowSource, ImageSeq, Shibatch, TimeStretch, VDubFilter
------------------------------------------------------------
Exception
------------------------------------------------------------
System.Exception: AVIFileOpen failed to execute
The AviSynth+ x64 or VapourSynth x64 setup might be damaged. You can verify this by opening the avs or vpy file with VirtualDub x64. avs is a AviSynth script, vpy is a VapourSynth script, StaxRip generates these scripts in the folder for temp files and VirtualDub should be able to open it.
at StaxRip.AVIFile..ctor(String path) in D:\Projekte\GitHub\staxrip\General\AVIFile.vb:line 53
at StaxRip.VideoScript.Synchronize(Boolean convertToRGB) in D:\Projekte\GitHub\staxrip\General\VideoScript.vb:line 203
at StaxRip.VideoScript.GetFrames() in D:\Projekte\GitHub\staxrip\General\VideoScript.vb:line 321
at StaxRip.GlobalClass.IsValidSource(Boolean warn) in D:\Projekte\GitHub\staxrip\General\Misc.vb:line 607
at StaxRip.MainForm.AviSynthListView_ScriptChanged() in D:\Projekte\GitHub\staxrip\Forms\MainForm.vb:line 5230
at StaxRip.AviSynthListView.OnChanged() in D:\Projekte\GitHub\staxrip\Controls\AviSynthListView.vb:line 163
at StaxRip.AviSynthListView._Lambda$__10-0(VideoScript script) in D:\Projekte\GitHub\staxrip\Controls\AviSynthListView.vb:line 30
at StaxRip.VideoScript.RaiseChanged() in D:\Projekte\GitHub\staxrip\General\VideoScript.vb:line 23
at StaxRip.VideoScript.SetFilter(Int32 index, VideoFilter filter) in D:\Projekte\GitHub\staxrip\General\VideoScript.vb:line 92
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isNotEncoding) in D:\Projekte\GitHub\staxrip\Forms\MainForm.vb:line 1904
LordVako
9th May 2016, 06:18
I like your encodes by the way. I do download them. Maybe we could add some filters to minimize the grainy stuffs. Knlmeans is good but will make your encoding a little bit slower
I used to like Nvidia x265. Very little options. Enable AQ mode + undot & knlmeans. Files are sometimes larger than the original. I gave up on this.
Instead, I got a Xeon and doing x265 with 14 Cores & 28 Threads. Very pleased with the results
Think you are seeing the "grainy" stuff in the HDR encodes. Remember if toyr TV is not HDR capable it will look like crap. And theres no software ATM that supports HDR 100%, you can tweak some but wont be 100%
BTW still did not tell me how to change staxrip to encode using GPU instead of CPU..
Havokdan
9th May 2016, 11:15
Think you are seeing the "grainy" stuff in the HDR encodes. Remember if toyr TV is not HDR capable it will look like crap. And theres no software ATM that supports HDR 100%, you can tweak some but wont be 100%
BTW still did not tell me how to change staxrip to encode using GPU instead of CPU..
Use the encoder to have "Intel" or "Nvidia" in the name, as is its GPU.
LordVako
9th May 2016, 12:50
Use the encoder to have "Intel" or "Nvidia" in the name, as is its GPU.
Dont see that option.
LordVako
11th May 2016, 18:59
Im having an isssue when encoding some extras from a blue ray. 2 of the 24 extras are having issues. for the first couple of minutes everything its ok, then halfway audio is faster than the video. How can that be fixed? thanks
reeboot
12th May 2016, 09:03
Hello , is it possible to turn a 4K 25fps film 4k 50fps maintaining the original speed ?
Magik Mark
14th May 2016, 00:06
Hi Frank! How are you doing?
Leo 69
14th May 2016, 21:19
Hey Stax,
Could you please tell when the next program update will be available?
There was a great development as to x265 codec with the introduction of --no-recursion-skip option. It would be great if you include this switch to the settings of x265.
Thanks!
luigizaninoni
14th May 2016, 21:52
Hey Stax,
Could you please tell when the next program update will be available?
There was a great development as to x265 codec with the introduction of --no-recursion-skip option. It would be great if you include this switch to the settings of x265.
Thanks!
You can easily add --no-recursion-skip in Custom field. It works fine. Just update x265 to 1.9.167 or later
Leo 69
14th May 2016, 22:04
Yeah, already done that and doing some testing, thanks mate. Slightly off topic, but do you happen to know if I should use this setting along with tune grain or not?
luigizaninoni
14th May 2016, 22:12
Yeah, already done that and doing some testing, thanks mate. Slightly off topic, but do you happen to know if I should use this setting along with tune grain or not?
Sorry, i really can't help you. I never use tune grain
lordalibaski
14th May 2016, 22:22
Hi everyone
Just wondered if you can help me with this one, 1st time I've actually had this problem.
I'm trying to convert a dvd but I keep seeing this
http://www.ultraimg.com/images/19ea4f.png
It won't even let me use justmux when I do it throws this error at me
Error Demux audio using ffmpeg 2016-03-10 x64
Demux audio using ffmpeg 2016-03-10 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
Input #0, mpeg, from 'C:\xxxxxxxxxx\New folder.mpeg':
Duration: 01:11:10.18, start: 0.280633, bitrate: 5944 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, smpte170m), 720x480 [SAR 8:9 DAR 4:3], max. 7000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:3[0x81]: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
Stream #0:4[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
Data stream encoding not supported yet (only streamcopy)
StaxRip.ErrorAbortException: Demux audio using ffmpeg 2016-03-10 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
Input #0, mpeg, from 'C:\xxxxxxxxx\New folder.mpeg':
Duration: 01:11:10.18, start: 0.280633, bitrate: 5944 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, smpte170m), 720x480 [SAR 8:9 DAR 4:3], max. 7000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:3[0x81]: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
Stream #0:4[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
Data stream encoding not supported yet (only streamcopy)
at StaxRip.Proc.Start() in D:\Projekte\GitHub\staxrip\General\Proc.vb:line 234
at StaxRip.Audio.Demuxffmpeg(String sourcefile, AudioStream stream, AudioProfile ap) in D:\Projekte\GitHub\staxrip\General\Audio.vb:line 100
at StaxRip.Audio.Process(AudioProfile ap) in D:\Projekte\GitHub\staxrip\General\Audio.vb:line 40
at StaxRip.MainForm.Encode() in D:\Projekte\GitHub\staxrip\Forms\MainForm.vb:line 2187
at StaxRip.MainForm.RunJobRecursive() in D:\Projekte\GitHub\staxrip\Forms\MainForm.vb:line 3463
Any advice would be helpfull.
edit...PS now I have just gone back to version StaxRip_1.2_Technical_Preview and it's letting me convert no problem at all!!!
fredlkrue
15th May 2016, 06:47
Hi Stax, I want to know if its possible to display/show what current video pass is encoding next to the ETA/fps. If that's not possible its not a big deal since I can check the current encoding commands that shows what pass is encoding, just that it takes some time to find it.
:thanks:
luigizaninoni
15th May 2016, 09:33
I'm trying to convert a dvd but I keep seeing this
http://www.ultraimg.com/images/19ea4f.png
It won't even let me use justmux when I do it throws this error at me
Keep first audio track as is
Change second track to "no audio"
lordalibaski
15th May 2016, 18:15
Hi luigizaninoni
That's what I did m8 and then it threw that error at me.
I've gone back to StaxRip_1.2_Technical_Preview because when I updated to the lastest stable version I had problem after problem.
luigizaninoni
15th May 2016, 19:08
Hi luigizaninoni
That's what I did m8 and then it threw that error at me.
I've gone back to StaxRip_1.2_Technical_Preview because when I updated to the lastest stable version I had problem after problem.
Well, in your picture it says "the first and second audio files or streams are identical". It doesn't show that you selected "no audio"
Anyway, it works fine on all my pcs, no reason it shoudn't work on yours, so please recheck if you set "no audio" to your second audio stream
lordalibaski
15th May 2016, 23:35
Yes it does m8 but when I changed it to no audio for the bottom one that's when it threw the error up.
This option usually works fine on my PC too but this option on this DVD didn't work.
Like I said I got it working straight away in the older version.
Something isn't right out of 100's of DVD's I have converted I haven't had these problems at all. Got another DVD here which I converted yesterday I used these settings below
http://www.ultraimg.com/images/185574.png
but the final output put the audio bitrate @ 448
General
Unique ID : 201953902291118512059016503738686752010 (0x97EEE822C9E1B5C18FDE97205BEFC50A)
Complete name : D:\05 - CONVERTED DVD\Rap Mania Side A.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 1.87 GiB
Duration : 1h 44mn
Overall bit rate : 2 571 Kbps
Encoded date : UTC 2016-05-14 16:56:01
Writing application : mkvmerge v7.5.0 ('Glass Culture') 32bit built on Jan 4 2015 16:37:25
Writing library : libebml v1.3.1 + libmatroska v1.4.2
DURATION : 01:44:06.112000000
NUMBER_OF_FRAMES : 195191
NUMBER_OF_BYTES : 349782272
_STATISTICS_WRITING_APP : mkvmerge v7.5.0 ('Glass Culture') 32bit built on Jan 4 2015 16:37:25
_STATISTICS_WRITING_DATE_UTC : 2016-05-14 16:56:01
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L3@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1h 44mn
Bit rate : 2 072 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.200
Stream size : 1.51 GiB (81%)
Writing library : x265 1.4+209-6ba7be7b1697:[Windows][GCC 4.6.3][64 bit] 16bpp
Encoding settings : wpp / ctu=64 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / no-fast-cbf / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / interlace=0 / keyint=250 / min-keyint=25 / scenecut=40 / rc-lookahead=20 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / weightp / no-weightb / aq-mode=1 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=0.00 / psy-rdoq=0.00 / signhide / lft / sao / no-sao-non-deblock / b-pyramid / cutree / rc=crf / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / ipratio=1.40 / pbratio=1.30
Default : Yes
Forced : No
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 1h 44mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 334 MiB (17%)
Language : English
Default : Yes
Forced : No
lordalibaski
17th May 2016, 17:55
I've just split 2 segments out of the dvd's I'm having problems with if anyone want's ago at trying to get the audio bitrate down to 192 because no matter what I try I can't get it below 448.
Rap Mania Side A Test 1
https://www.sendspace.com/file/8pk3gg
Beef-03 Test 2
https://www.sendspace.com/file/zlv1mm
It will probably be something so simple that I've missed.
Thanks for any help.
Atlantis
18th May 2016, 01:32
Please, I have StaxRip x64 1.3.4.0 Stable and I can't find 10bit encoding in x264. Thanks.
Atlantis
18th May 2016, 17:23
Anyone? x264 10bit encoding in StaxRip not possible?
Havokdan
18th May 2016, 17:50
Anyone? x264 10bit encoding in StaxRip not possible?
In test build, yes, in stable, i am not sure.
Atlantis
18th May 2016, 19:13
Thanks. Also how can you encode audio only with StaRip? I have only a DTS audio, it has no video track. I get error for no video.
ismail0100
19th May 2016, 08:48
Right click and execute
Magik Mark
20th May 2016, 12:47
Does somebody know how to make a svpflow scipt that would run in staxrip?
reeboot
22nd May 2016, 07:40
I found this topic https://www.svp-team.com/forum/viewtopic.php?id=3244 but whether with or vapoursynth Avisynth I can not seem to make it work with the scrip gave the example . (Error column line ...) :confused:
Dailleurs the topic remains unanswered is the innitateur it seems that it does not work here ... I asked the question as to previous page ... :script:
Magik Mark
22nd May 2016, 09:09
Use this code for 9 Core CPU 18 Thread 24fps -> 30fps:
SetMemoryMax(1024)
global threads=17
LoadPlugin("C:\Program Files\AviSynth+\plugins64+\svpflow1_64.dll")
LoadPlugin("C:\Program Files\AviSynth+\plugins64+\svpflow2_64.dll")
SetFilterMTMode("DEFAULT_MT_MODE",2)
SetFilterMTMode("SVSuper",1)
SetFilterMTMode("SVAnalyse",1)
SetFilterMTMode("SVSmoothFps",1)
SetFilterMTMode("ffdShow_source",3)
ConvertToYV12()
global crop_string = ""
global resize_string = ""
global super_params = "{pel:1,scale:{up:0},gpu:1,full:false}"
global analyse_params = "{main:{search:{coarse:{distance:-8},distance:0}}}"
global smoothfps_params = "{gpuid:0,rate:{num:5,den:4},algo:23,mask:{area:50,cover:80},scene:{blend:true,mode:3}}"
function interpolate(clip src)
{
input = crop_string=="" ? src : eval("src."+crop_string)
input = resize_string=="" ? input : eval("input."+resize_string)
super=SVSuper(input, super_params)
vectors=SVAnalyse(super, analyse_params, src=input)
smooth=SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, src=src)
return smooth
}
input = last eval("""interpolate(input)""")
Prefetch(threads)
reeboot
23rd May 2016, 01:47
Thank you but it does not work I have always an error :devil:
-----------------------------------------------------------
_________ __ __________.__
/ _____// |______ ___ __\______ \__|_____
\_____ \\ __\__ \ \ \/ /| _/ \____ \
/ \| | / __ \_> < | | \ | |_> >
/_______ /|__| (____ /__/\_ \|____|_ /__| __/
\/ \/ \/ \/ |__|
------------------------------------------------------------
Environment
------------------------------------------------------------
StaxRip x64 : 1.3.4.0
OS : Windows 10 Home
Language : French (France)
CPU : Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
GPU : NVIDIA GeForce GTX 960
------------------------------------------------------------
Source file MediaInfo
------------------------------------------------------------
E:\Téléchargements\P1100092.MP4
General
Complete name : E:\Téléchargements\P1100092.MP4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/avc1)
File size : 823 MiB
Duration : 1mn 12s
Overall bit rate mode : Variable
Overall bit rate : 94.6 Mbps
Encoded date : UTC 2015-08-08 13:28:25
Tagged date : UTC 2015-08-08 13:28:25
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 12s
Bit rate mode : Variable
Bit rate : 94.5 Mbps
Maximum bit rate : 106 Mbps
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.456
Stream size : 822 MiB (100%)
Encoded date : UTC 2015-08-08 13:28:25
Tagged date : UTC 2015-08-08 13:28:25
Color range : Full
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1mn 12s
Source duration : 1mn 13s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Frame rate : 46.875 fps (1024 spf)
Compression mode : Lossy
Stream size : 1.09 MiB (0%)
Source stream size : 1.09 MiB (0%)
Encoded date : UTC 2015-08-08 13:28:25
Tagged date : UTC 2015-08-08 13:28:25
------------------------------------------------------------
Demux audio using MP4Box 0.6.0 x64
------------------------------------------------------------
C:\StaxRip_x64_1.3.4.0_stable\Apps\MP4Box\MP4Box.exe -single 2 -out "E:\Téléchargements\P1100092_temp\P1100092 ID2.m4a" "E:\Téléchargements\P1100092.MP4"
Start: 02:43:20
End: 02:43:21
Duration: 00:00:00
General
Complete name : E:\Téléchargements\P1100092_temp\P1100092 ID2.m4a
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom)
File size : 1.11 MiB
Duration : 1mn 13s
Overall bit rate mode : Variable
Overall bit rate : 127 Kbps
Encoded date : UTC 2016-05-23 00:43:20
Tagged date : UTC 2016-05-23 00:43:20
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1mn 13s
Bit rate mode : Variable
Bit rate : 125 Kbps
Nominal bit rate : 265 bps
Maximum bit rate : 122 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Frame rate : 46.875 fps (1024 spf)
Compression mode : Lossy
Stream size : 1.09 MiB (99%)
Encoded date : UTC 2016-05-23 00:43:20
Tagged date : UTC 2016-05-23 00:43:20
------------------------------------------------------------
Error opening source
------------------------------------------------------------
unexpected character "'"
(E:\Téléchargements\P1100092_temp\P1100092_Source.avs, line 1, column 32)
clip= core.ffms2.Source(source=r'E:\Téléchargements\P1100092.MP4',cachefile=r'E:\Téléchargements\P1100092_temp\P1100092ffindex')
------------------------------------------------------------
Exception
------------------------------------------------------------
System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
à StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isNotEncoding) dans D:\Projekte\GitHub\staxrip\Forms\MainForm.vb:ligne 1892
reeboot
23rd May 2016, 01:56
This is my new script...:(
Magik Mark
23rd May 2016, 02:21
I'll let you know in this coming days. Kinda busy right now. You may want to try hybrid instead for the mean time
Sent from my iPhone using Tapatalk
Magik Mark
23rd May 2016, 13:23
Just tried the script and its working perfectly.
1. Make sure to use the latest test build
2. Make sure you are using the 64bit svp flow
3. Set source to automatic
4. For i7 5820 use threads = 11
5. My script is for 24fps to 30fps. You need to change num & den for another fps
reeboot
23rd May 2016, 16:17
Thank you very much Magic Mark!!
Last 8 days I try to get a result and thanks to your help and it works in 10 minutes.
I am not a programmer and I have big limitations ...
Here is my script I will find the video French "Repaire"
This excellent operation.
:thanks:
Magik Mark
23rd May 2016, 21:58
You can also try algo:13. This is the default
reeboot
23rd May 2016, 22:30
It changes what algo 23 or 13? :confused:
Magik Mark
24th May 2016, 00:28
It changes what algo 23 or 13? :confused:
Change 23 to 13
Sent from my iPhone using Tapatalk
reeboot
24th May 2016, 06:03
Change 23 to 13
Sent from my iPhone using Tapatalkok :thanks:
Magik Mark
24th May 2016, 10:45
Frank x265 has been updated with new switches settings
manolito
24th May 2016, 17:41
I still use StaxRip 1.1.9.0 a lot on my old XP desktop computer. Now I installed the stable version 1.3.4.0 on a much newer notebook (Core i5, Win7 64), and I do have a couple of comments: ;)
First of all I was pleasantly surprised that AviSynth+ and all the other 64bit stuff does not interfere with my 32bit AviSynth. And the interface is very familiar, no steep learning curve from the old version.
But I also ran into some problems. I have only loosely followed this thread, so forgive me if there are already solutions to my issues.
yadimod2 crashes on my machine each and every time. The error message is "System exception - Illegal instruction" for the line in the script where "yadifmod2()" is called.
I do have all the VC distributables correctly installed, Net.Framework 4.61 is installed. Any ideas?
My next complaint is about how StaxRip handles interlaced sources (this was already the case in the old 32bit version, my feature requests were not answered).
When the source is interlaced, you can either deinterlace it or encode it in interlaced mode. For X.264 you need to add --tff or --bff to the command line. Why does StaxRip not do this automatically if the user did not activate a deinterlacer? Of course StaxRip knows if a source is interlaced, and it also knows the field order (it shows it under the source window).
And if deinterlacing is selected, most deinterlacers need the correct field order (not sure about QTGMC, Field Deinterlace does not need it, but TDeint and YadifMod2 sure do need it). If not explicitly specified they will take the field order from AviSynth, and this is totally unreliable. The regular AviSynth defaults to BFF, no idea about AviSynth+. But it is always the safe way to put an AssumeTFF() or AssumeBFF() before the deinterlacer. StaxRip should do this automatically.
So far I have always edited my filter profile to include the field order command before the deinterlacer. I tried the same with the new version, but I found that the %newline% macro is no longer there. As a workaround I used the . (dot) character between the two commands. Is this the recommended method now?
But what really makes the new version unusable for me is that I cannot use 32bit VirtualDub plugins any more. I frequently need VD plugins for logo removal, and not having these plugins any more is a real show stopper for me. So I guess I will revert to StaxRip 1.9.1.0 on the notebook, too. It does have some rough edges, but I got used to them over the years, and it sure still gets the job done...
Cheers
manolito
Bad_Ass
25th May 2016, 19:08
Hey all :)
Anyone knows how to add asharp filter to StaxRip!?
lotnybartek
26th May 2016, 15:37
Can someone explain what s the difference between VBR and AVBR in QuickSync settings? There is also AVBR unit size. What does it mean?
Which one to choose? VBR or AVBR?
Magik Mark
28th May 2016, 23:37
Thanks for the new test build frank. May we ask if the switches in x265 have been updated?
burfadel
29th May 2016, 12:02
@Stax
QAAC has been updated to v2.59, latest test build (28 May) only has v2.58.
Also yadifmod2 has a new version.
luigizaninoni
29th May 2016, 16:57
There is an issue with new test build:
When cutting audio with mkvmerge, the cut_.mkv file is correctly created, but when muxing the whole (uncut) mp2 is used, not the cut_.mkv, so you have video of maybe 5 minutes and audio of 60 min
see attached log
mcjordan
29th May 2016, 20:32
Other updates: L-Smash r879; AVSMeter 2.27; MKVToolNix 9.20; QSVEncC 2.50; ffmpeg N-80117-gdac030d or new; mp4box 0.6.2-r519; x265 1.9+192 and may be some other...
mcjordan
30th May 2016, 06:14
...things like NVEncC 2.07
Changelog:
Fixed Bluray output is no longer done.
Thank you for reporting.
Fixed log there was a thing that does not appear correctly.
And improve the error message when the optional name of the command line does not exist.
...etc.
P.S. AviSynth+ r1849 have some (may be important in some custom scenarios) changes on github.
IbrahimKh
31st May 2016, 07:04
There is an issue with new test build:
When cutting audio with mkvmerge, the cut_.mkv file is correctly created, but when muxing the whole (uncut) mp2 is used, not the cut_.mkv, so you have video of maybe 5 minutes and audio of 60 min
see attached log
I second this
Please fix it :thanks:
stax76
31st May 2016, 07:54
Hi, I need a log file, see me signature.
IbrahimKh
31st May 2016, 09:28
another issues, when I'm encoding audio from AC3 using default AAC VBR 112kbps profile, audio duration doubled up
Audio source http://pastebin.com/Bc1MS4ea
Encoded audio (duration doubled) http://pastebin.com/pCp7PG15
Log http://pastebin.com/TtfWBvg3
profile used (default) http://s33.postimg.org/4odvh2pxb/Capture.png
luigizaninoni
31st May 2016, 12:27
Hi, I need a log file, see me signature.
pasted log file to pastebin
stax76
31st May 2016, 16:02
@IbrahimKh
It's a eac3to bug, you can try qaac instead.
@luigizaninoni
I need also the link to the pastebin page.
luigizaninoni
31st May 2016, 17:09
@luigizaninoni
I need also the link to the pastebin page.
oops sorry, here it is:
http://pastebin.com/3qyaZc6U
mcjordan
31st May 2016, 18:06
Avisynth+ r1858 MT with VDubFilter x64 fix
https://github.com/pinterf/AviSynthPlus/releases/tag/r1858-MT-pfmod
ChangeLog: r1858 MT-pfmod (20160531)
fix: RGB resizers shift horizontally to the opposite direction when src_left param is used (reported by MysteryX)
prevent fragmentation vfb buffer list for small sized vfbs
fix: x64 compatible type in acmDriverEnum call in VD_Audio
stax76
31st May 2016, 22:57
@luigizaninoni
@IbrahimKh
I can't reproduce it:
http://pastebin.com/UdZtDCpD
Please also try test build 1.3.5.3
https://github.com/stax76/StaxRip/blob/master/md/test-build.md
@IbrahimKh
Please read here regarding your AC3 problem:
http://forum.doom9.org/showthread.php?p=1769060#post1769060
luigizaninoni
1st June 2016, 07:22
@luigizaninoni
@IbrahimKh
I can't reproduce it:
http://pastebin.com/UdZtDCpD
Please also try test build 1.3.5.3
https://github.com/stax76/StaxRip/blob/master/md/test-build.md
Issue remains, even with new build
stax76
1st June 2016, 07:51
Issue remains, even with new build
Either you do something different or it's source specific. Try my sample and post the log file via email or pastebin.
http://www.mediafire.com/download/bxpcyg2wlzai1gm/sd-anamorphic.mpg
burfadel
1st June 2016, 11:46
On a particular drive where I was doing a large batch of encodes the drive ran out of space. Staxrip showed the error relating to not enough disk space, but there isn't an option to cancel. If you click off the message it just goes on to the next encode. There should be an option to stop the batch process when this happens.
stax76
1st June 2016, 13:35
On a particular drive where I was doing a large batch of encodes the drive ran out of space. Staxrip showed the error relating to not enough disk space, but there isn't an option to cancel. If you click off the message it just goes on to the next encode. There should be an option to stop the batch process when this happens.
I couldn't find such a message in the code so it was probably a system message. I've added now a check before each job runs, if the disk space is less then 3 times the source size, the message is shown and job processing is exited.
IbrahimKh
1st June 2016, 13:51
thanks for reply
luigizaninoni
1st June 2016, 19:00
Either you do something different or it's source specific. Try my sample and post the log file via email or pastebin.
http://www.mediafire.com/download/bxpcyg2wlzai1gm/sd-anamorphic.mpg
I made a fresh install of staxrip 1.3.5.3 and now everything works. I do not know why, perhaps some setting carried over from previous install was interfering
Edit: I copied a template of the old install to the new install, and the issue is here again. So it must be something in the old template. I'll try to create a template from scratch, and see what happens
Edit2: I think I have found the issue. If in Options - Audio - Preferred languages I leave the default (eng, ita, und) everything works fine. If I make only ita the default, it muxes the uncut audio file
Yanak
2nd June 2016, 17:25
Hi,
First i want to say thank you for this wonderful tool, last time i used it was like 4-5 years ago for some time, came back to it only now and I'm impressed by all the things added, great job and thanks a lot for this.
After exploring and messing with settings for last couple of days i have a few questions please :
- Is it possible to define the compression quality for the thumbnails capture and also for the jpg capture we can do in preview mode, the current compression rate seems to be 75%, is it somehow possible to get no compression at all on those jpeg's or simply allow us to choose it ?
- In the drop down section menu for the Event commands editor some lines are really hard to see due to the narrowed size of the drop down menu like seen here :
https://s14.postimg.org/n7uvfvli9/80876420160602172036.png
Will it be possible to extend a bit the width of this drop down menu to see the list of commands more clearly please ? Maybe by reducing a bit the width of the second parameter " is/ contain " ) .
- Will it be possible to add an option in the Event Command Editor for the muxer/container type like :
Muxer profile/container is/is not/contain MP4 or MKV or any custom created one present in the created muxers profiles please ?
And last thing a bit more specific and complex :
I would like to add a cover on some MP4's using MP4box "-itags cover=" command for this, would result in something like this :
%app:MP4Box% -itags "cover=F:\SomePicture.jpeg" -nodrop -add "%encoder_out_file%#video" -add "%audio_file1%" -new "%target_file%"
And would like to get this a bit automated while using a different picture for each videos and the picture name and path being a variable able to be sent to the muxing profile.
Let's say i create a special mp4 muxer profile :
%app:MP4Box% -itags "cover=%JPG_Picture%" -nodrop -add "%encoder_out_file%#video" -add "%audio_file1%" -new "%target_file%"
My problem is how to pass a picture path that will change for each video into a variable to the program .
During the initial process i will just have to open the video preview, capture a JPG or Bitmap and somehow send the complete path of the captured picture to the custom muxing profile.
If there was a macro for the last captured picture in preview mode with full path, like %Last_Bitmap_Path% or %Last_Jpg_Path% it will make things very easy but i'm not sure if this is possible.
I tried various things essentially using batch but no success yet into opening a batch and pasting manually the picture path to it and then include it later into a custom muxer profile as variable.
Things like :
@echo off
set /p JPG_Picture=Set MP4 Thumbnail Path :
Does not seems to give any result for now.
Saw also the custom message box we can set but not sure if we can get the path for the picture asked there then pasted as variable into a muxer custom profile, did not found many infos on this custom message box possibilities for now.
Still discovering and testing stuff and for now beside leaving muxing off and using a separate batch file at the end of the encoding asking me first for picture path and doing the muxing i have not really any success, and i don't like much this solution, i'b better like to have all this prepared and automated from the start instead of having to include the picture for cover and do the muxing manually at the end.
Maybe i am for now missing some obvious and easier ways to do this ?
Thanks in advance and thanks a lot for this great tool.
stax76
2nd June 2016, 18:46
Edit2: I think I have found the issue. If in Options - Audio - Preferred languages I leave the default (eng, ita, und) everything works fine. If I make only ita the default, it muxes the uncut audio file
I cannot reproduce it, please send me the old template.
- Is it possible to define the compression quality for the thumbnails capture and also for the jpg capture we can do in preview mode, the current compression rate seems to be 75%, is it somehow possible to get no compression at all on those jpeg's or simply allow us to choose it ?
I'll investigate it.
https://github.com/stax76/StaxRip/issues/72
In the drop down section menu for the Event commands editor some lines are really hard to see due to the narrowed size of the drop down menu like seen here
https://github.com/stax76/StaxRip/issues/73
- Will it be possible to add an option in the Event Command Editor for the muxer/container type like :
Muxer profile/container is/is not/contain MP4 or MKV or any custom created one present in the created muxers profiles please ?
This can be done with: 'Target Filename' Contains .mp4
The cover issue is indeed complex, a macro like %Last_Bitmap_Path% would be possible but I'm not sure if it's a good solution, other options would be adding direct/real support for the scenario or extend StaxRip's scripting API so it can be scripted with C# or Powershell. I'll think about it, in summertime I focus on fixing bugs, update apps and improvements that are very simple so I cannot promise much for the next months.
https://github.com/stax76/StaxRip/issues/74
luigizaninoni
2nd June 2016, 19:00
I cannot reproduce it, please send me the old template.
Please find the old template at the following link:
https://www.dropbox.com/s/1q8tdnp8mmye2sg/oldtemplate.srip?dl=0
Yanak
2nd June 2016, 19:23
Hello and thanks a lot for the quick replies,
This can be done with: 'Target Filename' Contains .mp4
In my screenshot in the previous post I used "Target File Path contain .mp4" and indeed it works, but my goal was to create a specific .mp4 muxing profile where i could add the cover path or even some other itags that for now i will have to edit manually for each video when this specific muxing profile is selected.
I will have the normal mp4 muxer and one "mp4 itags" profile and only when this particular one is selected it will open me the muxer profiles window where i will be able to quickly edit and add some itags infos like the cover path and some other infos.
Having a specific Event Command linked directly to the muxers profiles names will help in achieving this, ( ie : If Muxing Profile Name is/contains "mp4 itags" ) same if i want to create multiples mkv muxing profiles for different uses and do different things when a specific profile name is selected, but i understand it's a very limited use and probably not worth the effort to introduce such thing.
For the cover using directly the last captured image in the preview mode it will be really great to let us illustrate the Mp4's cover with something easy to catch for the eyes and fitting with the video content.
Maybe adding a simple way to add a custom path and transpose it as a variable will do too, and maybe more easy to implement and allowing the use of any picture for cover for example, not only those coming from the preview capture.
A simple way to set a custom path and paste it into the program as %Custom_Path% or something like this, not sure how this can be achieved, i know only a bit of batch coding but if such variable was possible it might allow to set a little batch opening under certain conditions and set a value for %Custom_Path% that will be sent into the program.
Thanks again for all the hard work you put into this, I'm not in a hurry so take your time and profit of the incoming summer, will continue to explore the possibilities of the program, like i said I'm really impressed by all work done and the evolution of your tool since the last time i used it years ago.
Disturbance
3rd June 2016, 04:48
Hello, I love your work on StaxRip it is my go to encoder as it just does just about everything. Just a quick question, I have tried searching this thread to see if it had been posted before and could find nothing. I am just seeing if there will possibly be any functionality in helping to facilitate Ordered Chapters at all, somewhat like how V.A.F.E. does it (below) mainly "Generate OC Template from Trims"
http://forum.doom9.org/attachment.php?attachmentid=15421&stc=1&d=1464925209
either via chapters or manually being able to set a time/frame, as the only way I have found to do it via staxrip is to add a
"--qpfile "Filepath\frames.txt" to the options to select which frames to make I frames so that it helps cutting without missing where I want cut. Thanks for your time
stax76
3rd June 2016, 09:08
@luigizaninoni
I finally found it, you were right that the language caused it. It was added with the 'Demux Audio' option (All, None, Preferred, Show Dialog)
@Disturbance
You can make a feature request on the github issue tracker. I don't really have any experience with chapters, a request that is easy to comprehend with great details has a higher chance to be accepted.
luigizaninoni
3rd June 2016, 12:11
@luigizaninoni
I finally found it, you were right that the language caused it. It was added with the 'Demux Audio' option (All, None, Preferred, Show Dialog)
Good ! happy you found the bug :)
ismail0100
3rd June 2016, 23:50
not important but must to say onedrives link not working
stax76
4th June 2016, 01:12
not important but must to say onedrives link not working
I generated a new link.
RainyDog
4th June 2016, 08:07
Hi stax, is it possible to get this LOTR: Fellowship of the Ring colour correction script (http://www.howtogeek.com/238725/how-to-fix-the-green-tint-in-the-lord-of-the-rings-fellowship-of-the-ring-extended-edition-blu-ray/) working through staxrip? I've tried to pipe it in a few ways but no joy.
Thanks.
stax76
4th June 2016, 10:39
Hi stax, is it possible to get this LOTR: Fellowship of the Ring colour correction script (http://www.howtogeek.com/238725/how-to-fix-the-green-tint-in-the-lord-of-the-rings-fellowship-of-the-ring-extended-edition-blu-ray/) working through staxrip? I've tried to pipe it in a few ways but no joy.
Thanks.
At least one of the used plugins isn't available as x64, because StaxRip and all video processing tools StaxRip uses are x64, x86 DLLs can not be loaded and used, I'm sorry.
luigizaninoni
4th June 2016, 10:51
Hi stax, is it possible to get this LOTR: Fellowship of the Ring colour correction script (http://www.howtogeek.com/238725/how-to-fix-the-green-tint-in-the-lord-of-the-rings-fellowship-of-the-ring-extended-edition-blu-ray/) working through staxrip? I've tried to pipe it in a few ways but no joy.
Thanks.
At least one of the used plugins isn't available as x64, because StaxRip and all video processing tools StaxRip uses are x64, x86 DLLs can not be loaded and used, I'm sorry
This should allow to insert an avisynth32 plugin inside an avs+64 script. It's rather complex, though:
http://forum.doom9.org/showthread.php?p=1668295#post1668295
ismail0100
4th June 2016, 11:20
I generated a new link.
Thank u
marax
6th June 2016, 18:22
Hello
here is my log:
I have trouble encoding h.265 using CUDA. (Btw. Cuda is working OK with Sony Vegas 12 for h.264) . Can somebody help me.
Here is log
http://pastebin.com/LQNreSsL
stax76
6th June 2016, 18:26
@marax
Please see my signature.
marax
6th June 2016, 19:51
@marax
Please see my signature.
Done, I hope it is ok now
stax76
6th June 2016, 20:12
Done, I hope it is ok now
Is this the full log file?
marax
6th June 2016, 20:25
Is this the full log file?
that is error message
stax76
6th June 2016, 20:28
I need the full log file.
marax
6th June 2016, 20:33
Here is full log
http://pastebin.com/rrwAvMHq
stax76
6th June 2016, 20:51
Here is full log
http://pastebin.com/rrwAvMHq
For H.265 encoding you need minimum a Maxwell gen2 card.
https://stax76.gitbooks.io/staxrip-handbook/content/system-requirements.html
stax76
6th June 2016, 21:00
A new stable release (1.3.6.0) is available:
https://github.com/stax76/StaxRip/releases
New Features
added setting to prevent the StaxRip window to become the active foreground window if certain applications are currently in the foreground
added new option to disable audio and subtitle demuxing
added subtitle formats column to MediaInfo Folder View
added all missing x265 switches
added hardware decoding methods to x265 'Other' tab, this will bypass AviSynth though
added new standalone mkvextract GUI (Apps > Demux)
added new QSVEncC switches for hard coded subtitles
added MP4 support to standalone demux app
added -avsinfo starting AVSMeter without a source opened
added support for unicode filenames using VapourSynth, AviSynth don't support it
added mkv cutting support without encoding
added MSharpen x64 filter for AviSynth+ x64
added x264 10-Bit support, binary is not included, StaxRip will ask for the location
added ffmpeg codecs x264, x265 and ProRes
added codec help menu to ffmpeg options dialog which shows help for the currently selected codec, it displayes the output queried with 'ffmpeg -h encoder=name'
added option to define preferred audio languages
added audio and subtitle demuxing modes 'Show Dialog', 'Preferred', 'All', 'None'
added x265 changes for v1.9 183
added new option to automatically add hard coded subtitle
added option to define JPEG compression quality in 'Preview > Save JPG' and thumbnail generator
Fixed Bugs
custom switches were missing in the Intel Quick Sync encoding GUI for QSVEncC
fixed crash with ass file by replacing VSFilter with VSFilterMod
Tweaks
the batch audio profile uses now always batch execution, the PATH variable knows the location of ffmpeg, eac3to and BeSweet, the temp files directory is set as current directory, if input files is empty all files are excepted
the search feature of the apps dialog searches now also the supported filters of plugins
enabled audio demuxing using MP4Box for mov files
removed mkvinfo.exe which is 18 MB large and not really needed. It's large due to QT toolkit being used
mkv audio demuxing happens now all streams together instead of every stream separate, it's much faster now.
changed filter profiles editor to support both tab and 4 spaces for multiline profiles, tabs are converted to 4 spaces which is the standard in Python and Visual Studio
log file improvements
filters list view did not accept drag and drop with source files
enabled posibility to remux mov to mp4
the apps dialog writes the customized versions now to the settings folder so it don't matter if the startup folder has no write access
demuxed subtitles are now detected by ID with proper numeric order
improved Dolby Atmos handling
added check if enough disk space is available before a job runs
replaced drop down menus in Event Commands editor with menu based drop downs
Updated Tools
ffmpeg 2016-04-25
mkvtoolnix 9.2.0
MP4Box 0.6.2
mvsfunc 7
mvtools2 2.7.0.22
nnedi3 0.9.4.21
StaxRip Toolbox Demux 1.1
yadifmod2 0.0.4
AviSynth 1858
NVEncC 2.07
L-SMASH-Works 879
QSVEncC 2.50
qaac 2.59
x265 1.9 200
AVSMeter 2.2.8
MediaInfo 0.7.86
x264 2694
marax
6th June 2016, 21:08
Guys,
I have video 1440x1080. How can I put correct PAR and DAR to encode it without resizing to 1080p (1920x1080).
I can't make ti to work without resizing, it gives me always resolution 1400x1080. I am going crazy, I can't get it to work properly.
http://p42i.imgup.net/Image00946f0.jpg
stax76
6th June 2016, 21:21
Guys,
I have video 1440x1080. How can I put correct PAR and DAR to encode it without resizing to 1080p (1920x1080).
I can't make ti to work without resizing, it gives me always resolution 1400x1080. I am going crazy, I can't get it to work properly.
http://p42i.imgup.net/Image00946f0.jpg
You don't have to do any change for this!
IbrahimKh
7th June 2016, 00:07
added MSharpen x64 filter for AviSynth+ x64
added x264 10-Bit support, binary is not included, StaxRip will ask for the location
Thank you for tbis
Magik Mark
7th June 2016, 00:40
Hi Stax,
I'm getting a trojan warning on qaac64 & refalac64. I hope its just a false positive
Thanks
jlpsvk
7th June 2016, 06:21
@Stax76
I am getting "No enough free space" when I want to start encode. And I have 60G free space on the destination drive.
marax
7th June 2016, 08:03
You don't have to do any change for this!
when I encode it it does not make 1920x1080p video but still 1440x1080:
Video
ID : 1
Format : hvc1
Codec ID : hvc1
Duration : 34mn 6s
Bit rate mode : Variable
Bit rate : 3 020 Kbps
Maximum bit rate : 9 482 Kbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 fps
I guess I must change something in PAR and DAR but I don't know which value to get proper 16/9 1920x1080 video
stax76
7th June 2016, 09:40
I'm getting a trojan warning on qaac64 & refalac64. I hope its just a false positive
It's unlikely that it contains malware, if you are worried you can contact qaac support.
@marax
open your source, post screenshots of the main dialog and the video encoder options dialog and as usual post the full log file after you encoded.
If you don't change any aspect ratio related value which you shouldn't unless you know exactly what you are doing which most users don't then you should see:
main dialog > source group > source PAR > 4:3
main dialog > resize group > target PAR > 4:3
video encoder options dialog > command line preview > PAR 4:3 is signaled
I am getting "No enough free space" when I want to start encode. And I have 60G free space on the destination drive.
Next build will fix it:
fixed the check for enough free space on the disk of the target file, instead of three times the source file one time is now enough
burfadel
7th June 2016, 14:33
When doing batch encoding with 1.3.6.0, I get the following message no matter what I do:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_________ __ __________.__
/ _____// |______ ___ __\______ \__|_____
\_____ \\ __\__ \ \ \/ /| _/ \____ \
/ \| | / __ \_> < | | \ | |_> >
/_______ /|__| (____ /__/\_ \|____|_ /__| __/
\/ \/ \/ \/ |__|
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Environment
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
StaxRip x64 : 1.3.6.0
OS : Windows 10 Pro Insider Preview
Language : English (Australia)
CPU : Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
GPU : Intel(R) HD Graphics 4000, AMD Radeon R9 200 Series
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Exception
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: The path is not of a legal form.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetPathRoot(String path)
at System.IO.DriveInfo..ctor(String driveName)
at StaxRip.MainForm.RunJobRecursive() in D:\Projekte\GitHub\staxrip\Forms\MainForm.vb:line 3444
at StaxRip.MainForm.StartJobs() in D:\Projekte\GitHub\staxrip\Forms\MainForm.vb:line 3430
at StaxRip.MainForm.ShowJobsDialog() in D:\Projekte\GitHub\staxrip\Forms\MainForm.vb:line 3416
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at StaxRip.CommandManager.Process(Command command, List`1 params) in D:\Projekte\GitHub\staxrip\General\General.vb:line 1291
at StaxRip.CommandManager.Process(String name, List`1 params) in D:\Projekte\GitHub\staxrip\General\General.vb:line 1282
at StaxRip.UI.CustomMenu.Process(CustomMenuItem item) in D:\Projekte\GitHub\staxrip\UI\Menu Types.vb:line 232
at StaxRip.UI.CustomMenu.OnCommand(CustomMenuItem item) in D:\Projekte\GitHub\staxrip\UI\Menu Types.vb:line 225
at StaxRip.UI.CustomMenu.MenuClick(Object sender, EventArgs e) in D:\Projekte\GitHub\staxrip\UI\Menu Types.vb:line 217
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at StaxRip.UI.MenuItemEx.OnClick(EventArgs e) in D:\Projekte\GitHub\staxrip\UI\Menu Types.vb:line 402
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
If I add the files manually they work fine. Also I retried 1.3.2.0 in a separate location (the 1828 Avisynth), worked fine. Tried the 1.3.6.0 in a new location, again fail (Avisynth 1858). I was using the build from 29 May? (not the 03 June build), and that had been working fine.
Also if I click "Demux and Index before creating jobs" it also works. It's just incovenient if you are batch encoding numerous jobs and you have to wait for it.
stax76
7th June 2016, 15:19
Sorry guys, the new free disk space check had 3 issues.
fixed the check for enough free space on the disk of the target file, instead of three times the source file one time is now enough
fixed crash StaxRip checking for enough free space in file batch mode and if target directory is network share
https://github.com/stax76/staxrip/blob/master/md/test-build.md
ismail0100
8th June 2016, 19:34
Exception
Audio encoding using qaac 2.59 x64 failed with exit code: 2 (0x2)
The exit code might be a system error code: STATUS_WAIT_2
The exit code might be a system error code: Sistem belirtilen dosyayı bulamıyor.
ERROR: CoreAudioToolbox.dll: Belirtilen modül bulunamadı.
StaxRip.ErrorAbortException: Audio encoding using qaac 2.59 x64 failed with exit code: 2 (0x2)
The exit code might be a system error code: STATUS_WAIT_2
The exit code might be a system error code: Sistem belirtilen dosyayı bulamıyor.
ERROR: CoreAudioToolbox.dll: Belirtilen modül bulunamadı.
konum: StaxRip.Proc.Start() D:\Projekte\GitHub\staxrip\General\Proc.vb içinde: satır 232
konum: StaxRip.GUIAudioProfile.Encode() D:\Projekte\GitHub\staxrip\General\AudioProfile.vb içinde: satır 642
konum: StaxRip.MainForm.ExecuteAudio(AudioProfile ap) D:\Projekte\GitHub\staxrip\Forms\MainForm.vb içinde: satır 5545
konum: StaxRip.MainForm._Closure$__432-0._Lambda$__7() D:\Projekte\GitHub\staxrip\Forms\MainForm.vb içinde: satır 5531
konum: StaxRip.UI.ActionMenuItem.OnClick(EventArgs e) D:\Projekte\GitHub\staxrip\UI\Menu Types.vb içinde: satır 460
konum: System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
konum: System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
konum: System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
konum: System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
konum: System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
konum: System.Windows.Forms.Control.WndProc(Message& m)
konum: System.Windows.Forms.ToolStrip.WndProc(Message& m)
konum: System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
konum: System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
IbrahimKh
9th June 2016, 00:34
When doing batch encoding with 1.3.6.0, I get the following message no matter what I do:
If I add the files manually they work fine. Also I retried 1.3.2.0 in a separate location (the 1828 Avisynth), worked fine. Tried the 1.3.6.0 in a new location, again fail (Avisynth 1858). I was using the build from 29 May? (not the 03 June build), and that had been working fine.
Also if I click "Demux and Index before creating jobs" it also works. It's just incovenient if you are batch encoding numerous jobs and you have to wait for it.
Yea I got this error too.
http://s33.postimg.org/pkt17pqj3/Capture.png
burfadel
9th June 2016, 11:46
Yea I got this error too.
---
@Stax any chance adding deinterlacing filter to next release?
It's good now it's fixed. BTW thanks Stax!
NikosD
10th June 2016, 08:23
The new Intel's MediaSDK v1.19 is out and the release notes contain some interesting information:
QSV-FF (FixedFunction-LowPower mode) limitations:
o Only I and P frame types supported, so no API related to B frames encoding support.
o CQP, CBR, VBR and QVBR rate control methods only.
o Supported QP values range: 10-51
o Only progressive encoding supported.
HW Accelerated HEVC Encode supports only CQP, CBR, VBR and ICQ rate control methods and supports maximum resolution 3840x2172 and Intel improved CPU utilization for synchronous pipeline and fixed delays in asynchronous pipeline.
HW Accelerated HEVC Encode supports MAIN10 profile only starting 7th generation Intel Core platforms (Kabylake)
VPP
Added mirroring filter support for horizontal flip.
I believe all of the above new features will be supported by QSVEncC in near future.
Magik Mark
10th June 2016, 22:48
Stax,
Is it possible just to make changes in the Audio and not to reencode the video? Made a mistake on the audio. Video is OK. If Im going to rencode everything it would take several hours again
IbrahimKh
11th June 2016, 02:03
Stax,
Is it possible just to make changes in the Audio and not to reencode the video? Made a mistake on the audio. Video is OK. If Im going to rencode everything it would take several hours again
http://s33.postimg.org/nn5z9x0gv/Capture.png
LordVako
11th June 2016, 08:24
Im getting this error
(25,1): error CS0656: Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create'
when trying to configure staxrip for HDR encoding... I go to source, select vapoursynth then when I go to tools > scripts and select https://i.imgur.com/xirxezU.png im getting that error... Any ideas how to fix it? thanks
Magik Mark
11th June 2016, 12:19
http://s33.postimg.org/nn5z9x0gv/Capture.png
Silly me. Thanks
Magik Mark
11th June 2016, 12:20
Guys,
Is there a way for us to use fdk-aac? Does it have to be harcoded in staxrip to be used?
Pulp Catalyst
11th June 2016, 16:12
Hello,
I'm trying to add this in Vapursynth mode (i have downloaded it from https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Yadifmod/releases)
yadifmod = yadifmod.Yadifmod(clip, edeint=nnedi3.nnedi3(clip), mode=1)
and also
yadifmod = clip = yadifmod.Yadifmod(clip, edeint=nnedi3.nnedi3(clip), mode=1)
but it's not working,
can anyone help me add this to the profile.
i want yadifmod + nnedi3 in 50fps mode.
the error is "yadifmod is not defined".
appreciate any help on this.
thanks,
sorry this is my profile... i forgot to add
Yadifmod =
clip = core.std.LoadPlugin(r"D:\Program Files\StaxRip 1.3.6.0\Apps\Plugins\vs\yadifmod\Yadifmod.dll")
clip = Yadifmod(clip, edeint=nnedi3.nnedi3(clip), mode=1)
and this is the code preview
import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin(r"D:\Program Files\StaxRip 1.3.6.0\Apps\Plugins\both\ffms2\ffms2.dll")
core.std.LoadPlugin(r"D:\Program Files\StaxRip 1.3.6.0\Apps\Plugins\both\KNLMeansCL\KNLMeansCL.dll")
core.std.LoadPlugin(r"D:\Program Files\StaxRip 1.3.6.0\Apps\Plugins\vs\nnedi3\libnnedi3.dll")
clip = core.ffms2.Source(r"F:\DISCS\MAKEMKV\Dads Army\title00 1 (1).mkv", cachefile = r"E:\Temp\title00 1 (1)_temp\title00 1 (1).ffindex")
clip = core.std.LoadPlugin(r"D:\Program Files\StaxRip 1.3.6.0\Apps\Plugins\vs\yadifmod\Yadifmod.dll")
clip = Yadifmod(clip, edeint=nnedi3.nnedi3(clip), mode=1)
clip = core.knlm.KNLMeansCL(clip, d = 1, a = 1, h = 2)
clip.set_output()
Yups
11th June 2016, 20:35
The new Intel's MediaSDK v1.19 is out and the release notes contain some interesting information:
QSV-FF (FixedFunction-LowPower mode) limitations:
o Only I and P frame types supported, so no API related to B frames encoding support.
o CQP, CBR, VBR and QVBR rate control methods only.
o Supported QP values range: 10-51
o Only progressive encoding supported.
HW Accelerated HEVC Encode supports only CQP, CBR, VBR and ICQ rate control methods and supports maximum resolution 3840x2172 and Intel improved CPU utilization for synchronous pipeline and fixed delays in asynchronous pipeline.
HW Accelerated HEVC Encode supports MAIN10 profile only starting 7th generation Intel Core platforms (Kabylake)
VPP
Added mirroring filter support for horizontal flip.
I believe all of the above new features will be supported by QSVEncC in near future.
The limitations of HEVC and fixed Function are not new.
I'm interested in the QPOffset per pyramid layer for HEVC.
LordVako
11th June 2016, 23:37
Im getting this error
(25,1): error CS0656: Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create'
when trying to configure staxrip for HDR encoding... I go to source, select vapoursynth then when I go to tools > scripts and select https://i.imgur.com/xirxezU.png im getting that error... Any ideas how to fix it? thanks
Can anyone help me here please?
NikosD
12th June 2016, 06:49
Frank,
1) Could you add a VP9 FFMPEG encoder build with 10bit support ?
2) Is it possible to add bit depth support information in your "MediaInfo Folder View" ?
Thanks
Vulpix
12th June 2016, 22:13
@stax76 , changing the name of the output file does some weird stuff. It causes about 0.5-1s delay for each typed character, and a new file is generated for everything I write. Didn't behave this way in the previous release.
Below, you can see what happened when I changed the name from "Test Encode H26b0" to "Test Encode H26bnotune22-12plac"
http://i.imgur.com/ByjQZrQ.png
LordVako
13th June 2016, 00:04
Im getting this error
(25,1): error CS0656: Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create'
when trying to configure staxrip for HDR encoding... I go to source, select vapoursynth then when I go to tools > scripts and select https://i.imgur.com/xirxezU.png im getting that error... Any ideas how to fix it? thanks
Jesus Lord, anybody knows how to fix this? how to set up staxrip to do HDR encoding with the new release. was working fine with the old one, now it does not want to work. PLEASE HELP.
NikosD
13th June 2016, 11:12
I'm interested in the QPOffset per pyramid layer for HEVC.
The new QSVEncC v2.51 has partial support of API v1.19 using latest v4454 driver for Skylake, including offset value of QP
Added an option to specify the quality of resizing by vpp ·. --vpp-scaling <string> simple, slightly faster when you select simple.
Added an optional mirror image reversal by vpp ·. Mirror---Vpp <String> H, V "V" if the vertical direction, "h" If the transverse direction.
Added --qp-offset to specify the offset value of QP for each hierarchy of the pyramid reference.
stax76
13th June 2016, 12:44
Im getting this error
(25,1): error CS0656: Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create'
when trying to configure staxrip for HDR encoding... I go to source, select vapoursynth then when I go to tools > scripts and select https://i.imgur.com/xirxezU.png im getting that error... Any ideas how to fix it? thanks
What Windows version, .NET version and CPU do you use?
@Pulp Catalyst
The usage is described here:
https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Yadifmod
yadifmod.Yadifmod(clip clip, clip edeint, int order[, int field=-1, int mode=0])
Is there a way for us to use fdk-aac? Does it have to be harcoded in staxrip to be used?
audio profiles menu > edit profiles > add > command line
changing the name of the output file does some weird stuff. It causes about 0.5-1s delay for each typed character, and a new file is generated for everything I write. Didn't behave this way in the previous release.
Below, you can see what happened when I changed the name from "Test Encode H26b0" to "Test Encode H26bnotune22-12plac"
There was code added some weeks ago that is meant to prevent this behavior, it's the first time I see that it don't work in every circumstance, please see my signature.
Audio encoding using qaac 2.59 x64 failed with exit code: 2 (0x2)
The exit code might be a system error code: STATUS_WAIT_2
The exit code might be a system error code: Sistem belirtilen dosyayı bulamıyor.
ERROR: CoreAudioToolbox.dll: Belirtilen modül bulunamadı.
What do the non English parts mean?
v4454 driver for Skylake
I cannot find this driver.
easyfab
13th June 2016, 15:12
I cannot find this driver.
http://www.station-drivers.com/index.php?option=com_remository&Itemid=352&func=fileinfo&id=2217&lang=en
stax76
13th June 2016, 15:20
http://www.station-drivers.com/index.php?option=com_remository&Itemid=352&func=fileinfo&id=2217&lang=en
Why isn't it available on Intel's website?
Leo 69
13th June 2016, 15:41
It is available: https://downloadcenter.intel.com/product/88350/Intel-HD-Graphics-P530
stax76
13th June 2016, 15:45
It is available: https://downloadcenter.intel.com/product/88350/Intel-HD-Graphics-P530
But only for Xeon.
NikosD
13th June 2016, 15:53
I edited a previous post that was writing completely different things with a new one.
So, in case you missed it, is there any feedback on this ?
Frank,
1) Could you add a VP9 FFMPEG encoder build with 10bit support ?
2) Is it possible to add bit depth support information in your "MediaInfo Folder View" ?
Thanks
Vulpix
13th June 2016, 16:16
There was code added some weeks ago that is meant to prevent this behavior, it's the first time I see that it don't work in every circumstance, please see my signature.
The log is here:
http://pastebin.com/7ALVQsRN
But I doubt it has any relevant information.
However, I noticed it doesn't happen until I do anything that calls video processing.
For example -> creating new project, nothing. Modifying cutting/etc filters -> no problem.
BUT
Compressibility check (regardless of whether you finish or cancel it) -> once you run it, the behavior occurs
OR
After you start an encode (regardless of whether you finish or cancel it) -> if you try to change the name after you encode, this happens again.
I sometimes do encode comparisons where I have one source and then I just encode it, then change the codec option and add something to the name (like b12 to signify 12bit encode) and then just hit next to encode again and have two files to compare. This "bug" manifests exactly when you do that and so it happens on my pc 100% of the time.
The log captures the following:
Creation of "Test" encode, running a compressibility check and then renaming the output file to Testabcdefgh.mkv (from just "Test.mkv"):
http://i.imgur.com/TGUvXbW.png
stax76
13th June 2016, 16:55
Could you add a VP9 FFMPEG encoder build with 10bit support ?
Is it supported by zeranoe's x64 static builds? Can you provide a example command line?
Is it possible to add bit depth support information in your "MediaInfo Folder View" ?
The code design is ugly so I don't like to improve it but rather would like to create a new stand alone tool using DataGridView instead off ListView, at the moment I just try to keep maintenance alive though.
@Vulpix
Thanks for all details, Test Build 1.3.6.3 has a fix for what you described.
NikosD
13th June 2016, 18:05
Is it supported by zeranoe's x64 static builds? Can you provide a example command line?
Just looking at the Zeranoe's forum, I think high bit - depth support is not included in his builds.
He will probably add it after a while or after request.
Judging by this reply, Selur uses vpxenc command line for high bit - depth support
vpxenc also support 10bit for quite some time now,...
LordVako
13th June 2016, 19:03
What Windows version, .NET version and CPU do you use?
Stax Win 7 pro 64bit. .net 4.6.1 and latest skylake cpu OC'd. HRD was working on the old release. as soon as I downloaded this latest one it doesnt work.
stax76
13th June 2016, 20:01
Stax Win 7 pro 64bit. .net 4.6.1 and latest skylake cpu OC'd. HRD was working on the old release. as soon as I downloaded this latest one it doesnt work.
I hope this will work:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Vulpix
13th June 2016, 21:26
@Vulpix
Thanks for all details, Test Build 1.3.6.3 has a fix for what you described.
Thanks!
Whilst encoding, I noticed another strange thing.
x265 - when you select the various "tune" modes from the main staxrip screen, selecting the "grain" mode will cause the --rc-grain switch to remain active even after you select anything else afterwards (even if you select tune - none). In other words, after you select "tune - grain" from the gui just once, the "--rc-grain" will remain active (as a switch, but also represented by a checkbox in "x265 options->rate control 1->specialised ratecontrol for film grain content") and you have to manually go there and uncheck it; or switch the encoder from x265 to anything else and then back, which resets all of the options.
stax76
13th June 2016, 21:41
Thanks!
Whilst encoding, I noticed another strange thing.
x265 - when you select the various "tune" modes from the main staxrip screen, selecting the "grain" mode will cause the --rc-grain switch to remain active even after you select anything else afterwards (even if you select tune - none). In other words, after you select "tune - grain" from the gui just once, the "--rc-grain" will remain active (as a switch, but also represented by a checkbox in "x265 options->rate control 1->specialised ratecontrol for film grain content") and you have to manually go there and uncheck it; or switch the encoder from x265 to anything else and then back, which resets all of the options.
If I enable tune grain I don't see --rc-grain, nor do I see it when I go back to tune none.
Vulpix
13th June 2016, 22:30
If I enable tune grain I don't see --rc-grain, nor do I see it when I go back to tune none.
Hmm...
http://i.imgur.com/0xS6rXn.gif
stax76
13th June 2016, 22:43
I changed tune in the x265 options dialog where it don't happen, with the main dialog I can reproduce it.
Vulpix
13th June 2016, 23:01
I changed tune in the x265 options dialog where it don't happen, with the main dialog I can reproduce it.
Oh so you can reproduce it :) My bad for not describing it better before.
Thanks!
Sorry to always be posting "bad news" and bugs :D I really love staxrip, been using it since forever!
stax76
13th June 2016, 23:24
Oh so you can reproduce it :) My bad for not describing it better before.
Thanks!
Sorry to always be posting "bad news" and bugs :D I really love staxrip, been using it since forever!
No problem, many bugs happen only in special circumstances which often take a while to understand.
How did you make the screen capture?
Vulpix
14th June 2016, 00:02
How did you make the screen capture?
This is exactly what I said when someone showed me a bug using this capture tool as well!
It's a superultraniftyepic free tool called LiceCap. Super simple/intuitive interface, basically 2 steps to make a gif.
http://www.cockos.com/licecap/ Highly recommended :)
Reel.Deel
14th June 2016, 02:00
@Vulvix
Very neat little program, thank you for sharing.
LordVako
14th June 2016, 04:48
I hope this will work:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
It did not work.. it shows 2 different versions both of which give 2 different errors...
https://i.imgur.com/Haq5CtW.png
https://i.imgur.com/zXnK1Nj.png
https://i.imgur.com/PsvCYd0.png
stax76
14th June 2016, 05:00
@LordVako
And this happens with rev6?
stax76
14th June 2016, 22:20
Last release had too many and big issues so I made a new release hoping for more luck:
v1.3.7-stable (2016-06-14)
New Features
added new QSVEncC switches
added support to use network drive as temp folder
added yadifmod for VapourSynth. Due to popular request I didn't reset the filter profiles, to make the default filter profile for yadifmod available the filter profiles must be manually reset in the filter profile editor.
added new command SaveJpgByPath to preview dialog which can be used to customize the menu to save a jpg file to a fixed path without the file browser showing, the path can contain macros.
added taskbar progress support
Fixed Bugs
fixed the check for enough free space on the disk of the target file, instead of three times the source file one time is now enough
fixed crash StaxRip checking for enough free space in file batch mode and if target directory is network share
fixed Umlaute don't work on Windows 7
fixed many avs/vs scripts are created when the target file name is changed by typing
fixed feature to run jobs in new instance and changed the behaviour of this feature in that when the jobs complete the instance exits without overwriting the settings
Updated Tools
QSVEncC 2.51
yadifmod (VapourSynth) r9
https://github.com/stax76/StaxRip/releases
LordVako
15th June 2016, 02:59
@LordVako
And this happens with rev6?
Yes Sir :( I dont understand. the earlier version works fine when I install it..
https://i.imgur.com/E5YHK7u.png
https://i.imgur.com/RHCnlYR.png
stax76
15th June 2016, 04:21
@LordVako
I finally installed Windows 7 in VMware and debugged it:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
burfadel
15th June 2016, 05:40
@LordVako
I finally installed Windows 7 in VMware and debugged it:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
That 1.3.7.1 test build seems to have broken it working in Windows 10! If I open an existing project (not one in batch, one where the file was indexed etc) I get the following message:
Exception
Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at StaxRip.VideoScript.Contains(String category, String search) in D:\Projekte\VS\VB\StaxRip\General\VideoScript.vb:line 119
at StaxRip.Package._Closure$__._Lambda$__231-4() in D:\Projekte\VS\VB\StaxRip\General\Package.vb:line 202
at StaxRip.Package.get_IsRequired() in D:\Projekte\VS\VB\StaxRip\General\Package.vb:line 610
at StaxRip.Package.VerifyOK(Boolean showEvenIfNotRequired) in D:\Projekte\VS\VB\StaxRip\General\Package.vb:line 638
at StaxRip.GlobalClass.VerifyRequirements() in D:\Projekte\VS\VB\StaxRip\General\Misc.vb:line 64
at StaxRip.MainForm.ShowPreview() in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 3370
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at StaxRip.CommandManager.Process(Command command, List`1 params) in D:\Projekte\VS\VB\StaxRip\General\General.vb:line 1291
at StaxRip.CommandManager.Process(String name, List`1 params) in D:\Projekte\VS\VB\StaxRip\General\General.vb:line 1282
at StaxRip.UI.CustomMenu.Process(CustomMenuItem item) in D:\Projekte\VS\VB\StaxRip\UI\Menu Types.vb:line 232
at StaxRip.UI.CustomMenu.OnCommand(CustomMenuItem item) in D:\Projekte\VS\VB\StaxRip\UI\Menu Types.vb:line 225
at StaxRip.UI.CustomMenu.MenuClick(Object sender, EventArgs e) in D:\Projekte\VS\VB\StaxRip\UI\Menu Types.vb:line 217
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at StaxRip.UI.MenuItemEx.OnClick(EventArgs e) in D:\Projekte\VS\VB\StaxRip\UI\Menu Types.vb:line 402
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.MenuStrip.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
If I open a new file, I get the message:
Exception
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at StaxRip.VideoScript.Contains(String category, String search) in D:\Projekte\VS\VB\StaxRip\General\VideoScript.vb:line 119
at StaxRip.Package._Closure$__._Lambda$__231-4() in D:\Projekte\VS\VB\StaxRip\General\Package.vb:line 202
at StaxRip.Package.get_IsRequired() in D:\Projekte\VS\VB\StaxRip\General\Package.vb:line 610
at StaxRip.Package.VerifyOK(Boolean showEvenIfNotRequired) in D:\Projekte\VS\VB\StaxRip\General\Package.vb:line 638
at StaxRip.GlobalClass.VerifyRequirements() in D:\Projekte\VS\VB\StaxRip\General\Misc.vb:line 64
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isNotEncoding) in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 1609
The release version 1.3.7.0 works fine.
stax76
15th June 2016, 07:16
It crashes if there is no filter of category Noise, I found out rgtools depends on VC++ 2012 redist so StaxRip checks the script for RemoveGrain to know if the user must be ask to install VC++ 2012.
What has caused the exception looks like a compiler bug:
https://github.com/dotnet/roslyn/issues/12027
burfadel
15th June 2016, 07:33
It crashes if there is no filter of category Field, I found out rgtools depends on VC++ 2012 redist so StaxRip checks the script for RemoveGrain to know if the user must be ask to install VC++ 2012.
What has caused the exception looks like a compiler bug:
https://github.com/dotnet/roslyn/issues/12027
Yes, that's it. If I remove the Noise filter from the filter list it crashes.
stax76
15th June 2016, 07:41
It's fixed now:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
burfadel
15th June 2016, 08:34
The new version works well! In the output log though, it still says 'StaxRip x64 : 1.3.6.0'
stax76
15th June 2016, 08:42
The new version works well! In the output log though, it still says 'StaxRip x64 : 1.3.6.0'
It's normal when the project was created with 1.3.6.
NikosD
15th June 2016, 17:24
Using latest StaxRip 1.3.7.2 test build, broke the Execute Command Line of QSVEncC with this error: (transcoding works fine though)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Exception
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
System.InvalidOperationException: StandardErrorEncoding is only supported when standard error is redirected.
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at StaxRip.CommandLine.CommandLineParams.Execute() in D:\Projekte\VS\VB\StaxRip\General\CommandLine.vb:line 49
at StaxRip.CommandLineForm._Closure$__35-0._Lambda$__0() in D:\Projekte\VS\VB\StaxRip\Forms\CommandLineForm.vb:line 53
at StaxRip.UI.ActionMenuItem.OnClick(EventArgs e) in D:\Projekte\VS\VB\StaxRip\UI\Menu Types.vb:line 460
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
NikosD
15th June 2016, 17:29
The Scaling Quality tab should have three options:
1) Auto (default)
2) Simple (simple scaling)
3) Fine (high quality scaling)
stax76
15th June 2016, 17:41
new build is online
ismail0100
15th June 2016, 20:26
new build is online
dou u offer which build?
I have i2350m Windows10
stax76
15th June 2016, 20:47
dou u offer which build?
I have i2350m Windows10
You can find the last test build here:
https://github.com/stax76/staxrip#download
ismail0100
15th June 2016, 21:03
You can find the last test build here:
https://github.com/stax76/staxrip#download
I know :)
I think may be have more stabil build :D I am using latest stabil all the time :)
LordVako
16th June 2016, 01:23
Question..
Does AQ mode 3 and Cu-tree slow lower the FPS in second pass?
This is one of my settings and the FPS are dramatically dropping whilst when I had version 1.3.4 the fps where holding firm.
wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / recursion-skip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=23 / scenecut=40 / rc-lookahead=20 / lookahead-slices=5 / bframes=8 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=3 / no-limit-modes / weightp / no-weightb / aq-mode=3 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=2.00 / rdoq-level=0 / psy-rdoq=0.00 / no-rd-refine / signhide / deblock=0:0 / sao / no-sao-non-deblock / b-pyramid / cutree / no-intra-refresh / rc=2 / pass / bitrate=1718 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30
what can I do to stop fps dropping?
LordVako
16th June 2016, 03:01
Found something VERY ODD.. When upgrading to any staxrip above 1.3.4
I dont know WHAT is making the laptop's cpu throttle. There must be a setting there that is causing that..
This is using both versions above 1.3.4
http://i.imgur.com/fNKaliP.png
When I downgrade back to 1.3.4 the Overclock stays stable and the FPS thus stay stable also.
https://i.imgur.com/V8h64QU.png
Stax you think you can look up into that,,, or what setting might be causing the cpu to throttle whe using the newer versions?
stax76
16th June 2016, 03:15
I know :)
I think may be have more stabil build :D I am using latest stabil all the time :)
The latest stable release is stable enough to keep it 2 months or more. Recently I didn't make many changes so the current test build should be relative stable.
Lynx_TWO
19th June 2016, 13:38
Hey, quick question Stax, would it be possible to have a thread to share settings for StaxRip that would include all filters and settings? Perhaps even with the ability to show pre and post screenshot examples?
It might be good for the community as well as there are a lot of pros that use StaxRip.
StaxRip could have support for exporting settings and filter versions as a post-friendly option as well that would standardize shared posts. Data that could be useful for analysis for future improvements could include the user's system information (CPU, GPU, Memory) as well as encoding speed, time, compression ratios, etc. StaxRip already writes most of this information to the log file...
Just a thought :)
Thanks again for all your hard work!
stax76
20th June 2016, 17:06
@LordVako
You did not state what encoder causes it, for x265 there is a drop down button at the bottom of the x265 options dialog that allows to run the x265 command line directly out of StaxRip, alternatively you can always copy a command line from the log file into the command prompt, with these two methods you can see if a console app behaves inside StaxRip different compared to outside of StaxRip, the Intel, NVIDIA and ffmpeg encoder options dialog are based on the same dialog framework than the x265 dialog so they have also the possibility to run the command line directly from the codec options dialog. If the problem is x265 you can use the x265 support thread.
@Lynx_TWO
I don't mind if somebody wants to create a thread, somebody posted a thread with filter profiles some time ago (was that you?). Exporting/importing profiles is technically difficult due to keeping compatibility between versions would require even more care, recently I'm started to reset things less often btw.
x264 supports command line import IIRC, this could probably added to x265 since the routine is already implemented (used by the C# script).
NikosD
20th June 2016, 20:07
Latest v4463 driver - for Haswell it's Windows 10 only - from Intel, added API v1.19 support even for Haswell
It supports the new scaling options, but not the mirroring (vertical/ horizontal)
The funny thing is that they removed rotation support on Haswell, that they had added in the previous API!
Oh Crazy Intel.
Update:
It seems that Intel only changed the function of rotate but hasn't removed it.
According to rigaya, next version of QSVEncC will bring back rotate feature, since it's still there.
So, Intel is not that crazy!
VelleX
20th June 2016, 23:15
is there an option to deactivate free disk space check? Because cant even convert a 18GB 1080p MKV to SD Resolution, which of course would not need 18GB of free disk space.
I know i am lack of hard disk space :P
Yanak
23rd June 2016, 15:13
Did not had much time before but thanks a lot for the pictures quality setting and the ability to set paths variables for the captures, works like a charm.
I set the program to open the preview once a file source is loaded then created a menu "Save Cover Picture" in the preview mode with "SaveJpgByPath" using this command " %working_dir%%source_name%.jpg"
Then added a custom mp4 muxing profile using the same path and name variables to add a cover picture on the MP4 files. It's perfect, thanks a million for adding this.
Little things that could be done maybe :
- an option to delete the temp files only when exiting the program instead of deleting them once the encoding is finished, right now it's either keep temp files or delete once the encoding is done only.
- Also if possible have directly a setting to set the picture quality by default and additionally an option to bring or not the menu asking for the quality each time we take a screen, but it's not that important.
Thanks a lot again for this great program.
PS: reported in github something about selecting flac audio output with mp4 muxer crashing the program as those are not compatible, a message should pop out telling us it's not possible instead of letting the encoding run and crash at the end : https://github.com/stax76/StaxRip/issues/84
burfadel
25th June 2016, 03:58
@Stax
aWarpSharp2 has an updated x64 version now (dated 24 June 2016) thanks to pinterf :).
http://forum.doom9.org/showthread.php?p=1771614#post1771614
brumsky
27th June 2016, 18:33
Hi everyone, I was hoping someone might be able to help with some Staxrip CLI questions.
I created a PowerShell script to automate the use of Handbrake, here is an example bit of code. I'd like to replace HB with Staxrip. I like the fact it supports 10bit HEVC and it's flexibility.
HBCLI -i $SourceToEncode --main-feature -o $FileDestination -m -e $HbEncoder --cfr -q $HbQaulity --audio-lang-list eng -E copy --audio-copy-mask $HbAudioMasks -X $HbWidth -Y $HbHeight --loose-anamorphic -F -N eng --native-dub -x $ExtraOptions$PerformanceOPts
I've reviewed the Command Line Reference page several times but I don't see how to add a source and destination file... Also, how to specify a template to use. I'm afraid my googlefu has failed me as I haven't been able to find a non-batch scripting answer myself.
jshimanek
27th June 2016, 21:19
I tried 256 but it didn't help.
Generally my first impression of the Intel H.265 encoder isn't that good, both speed and quality is somehow disappointing. :(
I'll add it if it's not too much work, regarding the current piping solution, maybe it's better to keep it as option instead to remove entirely.
@NikosD
Thanks for investigating, I'll work on it.
I set max gop length to 24 and that took care of the first 10 seconds of video being mosaic.
stax76
28th June 2016, 14:02
answers below refer to the test build from today:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
is there an option to deactivate free disk space check? Because cant even convert a 18GB 1080p MKV to SD Resolution, which of course would not need 18GB of free disk space.
I know i am lack of hard disk space :P
I've added a Continue and Abort button to the task dialog.
- an option to delete the temp files only when exiting the program instead of deleting them once the encoding is finished, right now it's either keep temp files or delete once the encoding is done only.
- Also if possible have directly a setting to set the picture quality by default and additionally an option to bring or not the menu asking for the quality each time we take a screen, but it's not that important.
The benefits are much smaller then the costs so I'm skeptical.
aWarpSharp2 has an updated x64 version now (dated 24 June 2016) thanks to pinterf
I've updated it, thanks.
I've reviewed the Command Line Reference page several times but I don't see how to add a source and destination file... Also, how to specify a template to use.
I've added some examples to the docs and a SetTargetFile command, try:
StaxRip -LoadTemplate:aaa "src path" -SetTargetFile:"dest path"
chummy
28th June 2016, 20:14
Avisynth+ multithreading not work for me, at least scripts i have dont improve speed from single-thread to multithreading. In normal Avisynth multithreading works and increase speed with same script.
I just dont know if Avisynth+ has broken multithreading for some filters or if i dont set it properly. I find not many information about it.
stax76
30th June 2016, 14:52
Avisynth+ multithreading not work for me, at least scripts i have dont improve speed from single-thread to multithreading. In normal Avisynth multithreading works and increase speed with same script.
I just dont know if Avisynth+ has broken multithreading for some filters or if i dont set it properly. I find not many information about it.
I does not relate to StaxRip but is a pure AviSynth+ issue and this thread is read only by a very limited amount of AviSynth+ experts. You can post in the AviSynth+ thread, people might guesswork your issue, if you actually post the full script code, avsmeter logs, MediaInfo and ideally a sample, then devs might actually be able to understand and debug the issue.
brumsky
30th June 2016, 17:34
Stax76, how can I specify an input and output file via the command prompt?
Thanks!
stax76
30th June 2016, 17:55
Stax76, how can I specify an input and output file via the command prompt?
Thanks!
as posted previously:
StaxRip "src path" -SetTargetFile:"dest path"
brumsky
30th June 2016, 17:59
Stax76, how can I specify an input and output file via the command prompt?
Thanks!
Ok so I found that you specify the file by itself.
This is what I have so far.
staxrip.exe -ensurex265 "Filename" -addjob:true,"Template Name"
Currently, my PS script waits for each encode to complete. This Staxrip I'd basically queue everything up then the script would exit.
Does that sound correct?
brumsky
30th June 2016, 18:04
as posted previously:
StaxRip "src path" -SetTargetFile:"dest path"
Stax76 thank you! Sorry I didn't read the complete post, I thought it was directly entirely to someone else.
:thanks:
I can't wait to ditch Handbrake and rock Staxrip instead! :cool:
LordVako
1st July 2016, 01:24
Does ANYBODY know what this error means? what causes it? a few of my encodes are hit by it...
>
>
> D:\Downloads\The Dead Pool 1988.mkv
>
> ------------------------------------------------------------
> Encoding video using x265 1.9+140 x64 multi lib 8/10/12 bit
> ------------------------------------------------------------
>
> C:\Stax\Apps\ffmpeg\ffmpeg.exe -i "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new.avs" -f yuv4mpegpipe -pix_fmt yuv420p -loglevel error - | C:\Stax\Apps\x265\x265_ml.exe --pass 1 --bitrate 1861 --output-depth 10 --aq-mode 3 --bframes 8 --frames 131224 --y4m --stats "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new.stats" --output NUL -
>
> cmd.exe /C call "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new_encode.bat"
>
> C:\Stax>C:\Stax\Apps\ffmpeg\ffmpeg.exe -i "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new.avs" -f yuv4mpegpipe -pix_fmt yuv420p -loglevel error - | C:\Stax\Apps\x265\x265_ml.exe --pass 1 --bitrate 1861 --output-depth 10 --aq-mode 3 --bframes 8 --frames 131224 --y4m --stats "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new.stats" --output NUL -
> y4m [info]: 1920x1072 fps 24000/1001 i420p8 unknown frame count
> raw [info]: output file: NUL
> x265 [info]: HEVC encoder version 1.9+140-34a3d35c5f97
> x265 [info]: build info [Windows][GCC 5.3.0][64 bit] 10bit
> x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
> x265 [info]: Main 10 profile, Level-4 (Main tier)
> x265 [info]: Thread pool created using 8 threads
> x265 [info]: frame threads / pool features : 3 / wpp(17 rows)
> x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
> x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
> x265 [info]: ME / range / subpel / merge : dia / 57 / 2 / 1
> x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40
> x265 [info]: Lookahead / bframes / badapt : 20 / 8 / 2
> x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
> x265 [info]: References / ref-limit cu / depth : 1 / on / on
> x265 [info]: AQ: mode / str / qg-size / cu-tree : 3 / 1.0 / 32 / 1
> x265 [info]: Rate Control / qCompress : ABR-1861 kbps / 0.60
> x265 [info]: tools: rd=2 psy-rd=2.00 early-skip signhide tmvp fast-intra
> x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao stats-write
> x265 [info]: frame I: 1303, Avg QP:21.09 kb/s: 11713.94
> x265 [info]: frame P: 32784, Avg QP:22.47 kb/s: 4286.01
> x265 [info]: frame B: 97137, Avg QP:28.01 kb/s: 913.93
> x265 [info]: Weighted P-Frames: Y:3.1% UV:2.7%
> x265 [info]: consecutive B-frames: 6.8% 4.4% 8.5% 65.4% 8.1% 6.3% 0.4% 0.1% 0.0%
> encoded 131224 frames in 7486.98s (17.53 fps), 1863.63 kb/s, Avg QP:26.56
>
> Start: 6:51:29 PM
> End: 8:56:17 PM
> Duration: 02:04:47
>
>
> ------------------------------------------------------------
> Encoding video second pass using x265 1.9+140 x64 multi lib 8/10/12 bit
> ------------------------------------------------------------
>
> C:\Stax\Apps\ffmpeg\ffmpeg.exe -i "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new.avs" -f yuv4mpegpipe -pix_fmt yuv420p -loglevel error - | C:\Stax\Apps\x265\x265_ml.exe --pass 2 --bitrate 1861 --output-depth 10 --aq-mode 3 --bframes 8 --frames 131224 --y4m --stats "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new.stats" --output "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new_out.hevc" -
>
> cmd.exe /C call "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new_encode.bat"
>
> C:\Stax>C:\Stax\Apps\ffmpeg\ffmpeg.exe -i "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new.avs" -f yuv4mpegpipe -pix_fmt yuv420p -loglevel error - | C:\Stax\Apps\x265\x265_ml.exe --pass 2 --bitrate 1861 --output-depth 10 --aq-mode 3 --bframes 8 --frames 131224 --y4m --stats "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new.stats" --output "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new_out.hevc" -
> y4m [info]: 1920x1072 fps 24000/1001 i420p8 unknown frame count
> raw [info]: output file: D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new_out.hevc
> x265 [info]: HEVC encoder version 1.9+140-34a3d35c5f97
> x265 [info]: build info [Windows][GCC 5.3.0][64 bit] 10bit
> x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
> x265 [info]: Main 10 profile, Level-4 (Main tier)
> x265 [info]: Thread pool created using 8 threads
> x265 [info]: frame threads / pool features : 3 / wpp(17 rows)
> x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
> x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
> x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
> x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40
> x265 [info]: Lookahead / bframes / badapt : 20 / 8 / 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 : 3 / 1.0 / 32 / 1
> x265 [info]: Rate Control / qCompress : ABR-1861 kbps / 0.60
> x265 [info]: tools: rd=3 psy-rd=2.00 signhide tmvp strong-intra-smoothing
> x265 [info]: tools: lslices=6 deblock sao stats-read
> av_interleaved_write_frame(): Broken pipe
> Error writing trailer of pipe:: Broken pipe
>
> ------------------------------------------------------------
> Error Encoding video second pass using x265 1.9+140 x64 multi lib 8/10/12 bit
> ------------------------------------------------------------
>
> Encoding video second pass using x265 1.9+140 x64 multi lib 8/10/12 bit failed with exit code: -1073741819 (0xC0000005)
>
> The exit code might be a system error code: The instruction at 0x
>
> C:\Stax>C:\Stax\Apps\ffmpeg\ffmpeg.exe -i "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new.avs" -f yuv4mpegpipe -pix_fmt yuv420p -loglevel error - | C:\Stax\Apps\x265\x265_ml.exe --pass 2 --bitrate 1861 --output-depth 10 --aq-mode 3 --bframes 8 --frames 131224 --y4m --stats "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new.stats" --output "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new_out.hevc" -
> y4m [info]: 1920x1072 fps 24000/1001 i420p8 unknown frame count
> raw [info]: output file: D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new_out.hevc
> x265 [info]: HEVC encoder version 1.9+140-34a3d35c5f97
> x265 [info]: build info [Windows][GCC 5.3.0][64 bit] 10bit
> x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
> x265 [info]: Main 10 profile, Level-4 (Main tier)
> x265 [info]: Thread pool created using 8 threads
> x265 [info]: frame threads / pool features : 3 / wpp(17 rows)
> x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
> x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
> x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
> x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40
> x265 [info]: Lookahead / bframes / badapt : 20 / 8 / 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 : 3 / 1.0 / 32 / 1
> x265 [info]: Rate Control / qCompress : ABR-1861 kbps / 0.60
> x265 [info]: tools: rd=3 psy-rd=2.00 signhide tmvp strong-intra-smoothing
> x265 [info]: tools: lslices=6 deblock sao stats-read
> av_interleaved_write_frame(): Broken pipe
> Error writing trailer of pipe:: Broken pipe
>
>
> Start: 10:27:43 PM
> End: 10:27:43 PM
> Duration: 00:00:00
stax76
1st July 2016, 13:13
please see my signature regarding log file
moonwhaler
1st July 2016, 14:19
Hello! Does anyone know whether nvidia Pascal supports NVENC with B Frames? Wikipedia does not help on that matter... Thanks!
JohnLai
1st July 2016, 15:54
Hello! Does anyone know whether nvidia Pascal supports NVENC with B Frames? Wikipedia does not help on that matter... Thanks!
Nobody know until nvidia release the next nvenc SDK.
But I can tell you.....the following features might/will be added for Pascal:
1) Frame look-ahead
2) Adaptive B-Frames
3) Temporal Adaptive Quantization
4) Adaptive GOP
Leo 69
1st July 2016, 22:49
Hi Stax,
It looks like either we have an elephant in the room (serious bug) or I'm doing something completely wrong - which I doubt.. Scenario:
1) As an input select ANY video file and choose Vapoursynth ffms2 or LWLibawSource.
2) In the codec selection choose "ffmpeg - VP9", for example. We are talking ONLY about ffmpeg section with its codecs (all of them do not work in the same manner).
3) Leave the codec settings at default and start the encoding.
4) There's an immediate error popping up:
------------------------------------------------------------------------------------------
Error Encoding VP9 using ffmpeg 2016-04-25 x64
Encoding VP9 using ffmpeg 2016-04-25 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
E:\Upload2\test.vpy: Invalid data found when processing input
StaxRip.ErrorAbortException: Encoding VP9 using ffmpeg 2016-04-25 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
E:\Upload2\test.vpy: Invalid data found when processing input
at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 262
at StaxRip.ffmpegEncoder.Encode(String args) in D:\Projekte\VS\VB\StaxRip\Encoding\ffmpegEncoder.vb:line 107
at StaxRip.ffmpegEncoder.Encode() in D:\Projekte\VS\VB\StaxRip\Encoding\ffmpegEncoder.vb:line 94
at StaxRip.MainForm.Encode() in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 2220
at StaxRip.MainForm.RunJobRecursive() in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 3449
-------------------------------------------------------------------------------------------------------------------
This bug or I don't know what this is is very easy to reproduce!
LordVako
1st July 2016, 23:26
please see my signature regarding log file
I even emailed you and no response.
http://pastebin.com/bGKH1yLZ
I even emailed you and no response.
http://pastebin.com/bGKH1yLZ
It looks like x265 hangs at beginning of 2nd pass. It's hard to tell why.
It could be that the stat files are corrupted. You can view your "D:\Downloads\The Dead Pool 1988_temp\The Dead Pool 1988_new.stats" file and check if it looks OK (especially at the end).
It could be related to stat file size -- you can try to cut source to about 500 frames and see if it hangs after new 1st pass of short encoding.
It could be related to mingw/msvcrt error(s) -- you can try to encode with x265 compiled by VS 2015 (for example).
stax76
2nd July 2016, 11:28
I even emailed you and no response.
http://pastebin.com/bGKH1yLZ
Thanks for the log file and sorry about not replying to your mail, I saw the log, googled a bit for 'av_interleaved_write_frame(): Broken pipe'
and after nothing interesting was found I gave up. Whenever something happens I cannot solve or expect not being able to solve easily, I usually wait if more people report the same issue.
Leo 69
2nd July 2016, 14:05
Stax, can you address my issue, please?
Magik Mark
3rd July 2016, 05:43
Stax, how do I apply avisynth filter to a video? But there will be no transcoding. Same video format and same audio format.
Sent from my iPhone using Tapatalk
NikosD
3rd July 2016, 08:01
Hello Frank.
I downloaded latest StaxRip test v1.3.7.7 and just a heads up for new versions of Rigaya's CLI HW encoders missing from your release.
He has updated all of them for Intel, Nvidia, AMD but I think for AMD he has added more features than the others, in order to be on par with them.
stax76
3rd July 2016, 12:42
@Leo 69
It's because ffmpeg don't support vpy, you can make a feature request on the github tracker to add support using vspipe
@Magik Mark
I don't understand the question.
@Nikos
I'll update them, thanks.
Magik Mark
6th July 2016, 14:06
Stax is there a way to port smdegrain found in vaporsynth to avisynth+? Thanks
Sent from my iPhone using Tapatalk
luigizaninoni
6th July 2016, 14:45
What's wrong with current Smdegrain for avisynth ?
Magik Mark
7th July 2016, 00:44
The only smdegrain I could find in staxrip is in vaporsynth. I'm using avisynth in conjunction with other filters. Or am I missing something
Sent from my iPhone using Tapatalk
luigizaninoni
7th July 2016, 07:43
SMdegrain is a script not a plugin. So it works both in 32 and 64 bits provided you have all the dependencies.
Download smdegrain.avsi from here http://avisynth.nl/index.php/SMDegrain and put it in your avisynth+ 64bit plugin folder
Make sure you have all the (64bit) required or optional dependencies
Update you Staxrip profiles with something like
SMDegrain = SMDegrain(tr=2,thSAD=250,contrasharp=true,refinemotion=true)
and you are good to go
Magik Mark
7th July 2016, 08:07
SMdegrain is a script not a plugin. So it works both in 32 and 64 bits provided you have all the dependencies.
Download smdegrain.avsi from here http://avisynth.nl/index.php/SMDegrain and put it in your avisynth+ 64bit plugin folder
Make sure you have all the (64bit) required or optional dependencies
Update you Staxrip profiles with something like
SMDegrain = SMDegrain(tr=2,thSAD=250,contrasharp=true,refinemotion=true)
and you are good to go
Thank you for clarifying. Where can I get all 64bit dependencies?
luigizaninoni
7th July 2016, 08:38
the dependencies are listed in the page previously linked
you can download the 64-bit plugins here:
http://avisynth.nl/index.php/AviSynth%2B#AviSynth.2B_x64_plugins
Magik Mark
7th July 2016, 09:29
the dependencies are listed in the page previously linked
you can download the 64-bit plugins here:
http://avisynth.nl/index.php/AviSynth%2B#AviSynth.2B_x64_plugins
Thanks a lot!
May I ask what your example do:
SMDegrain = SMDegrain(tr=2,thSAD=250,contrasharp=true,refinemotion=true)
Do you have settings something like light. moderate and heavy?
Magik Mark
7th July 2016, 09:47
I'm getting access violation. What can we do about it?
Groucho2004
7th July 2016, 09:57
I'm getting access violation. What can we do about it?
First you have to find out which module causes it. I recommend troubleshooting this with AVSMeter64. From the command line run "avsmeter64 -avsinfo -log". If there are errors, post the created log file (avsinfo.log). If there are no errors, run the script ("avsmeter64 script.avs -log). If there are errors, post the created log file.
Magik Mark
7th July 2016, 10:22
First you have to find out which module causes it. I recommend troubleshooting this with AVSMeter64. From the command line run "avsmeter64 -avsinfo -log". If there are errors, post the created log file (avsinfo.log). If there are no errors, run the script ("avsmeter64 script.avs -log). If there are errors, post the created log file.
Oh boy this getting complicated than I have anticipated. This is what I got:
http://i.imgur.com/lhOXGaa.png
Groucho2004
7th July 2016, 10:32
Oh boy this getting complicated than I have anticipated. This is what I got:
http://i.imgur.com/lhOXGaa.png
There are so many versions of smdegrain.avsi, you have to post these lines 199 and 568. I assume you didn't get any error with the "-avsinfo" switch? Also, you have to use the latest version of AVSMeter (2.2.9).
Magik Mark
7th July 2016, 22:20
Thanks you for all the help Groucho. I may have to give up on this. There are so many lines to look for
Groucho2004
7th July 2016, 22:21
I may have to give up on this. There are so many lines to look for
No, just two.
Magik Mark
8th July 2016, 01:57
I'm using notepad. I have to count 500 lines. Is there a faster way to do this?
Groucho2004
8th July 2016, 07:14
I'm using notepad. I have to count 500 lines. Is there a faster way to do this?
Yes, just post the file.
Magik Mark
8th July 2016, 08:09
No, just two.
Here you go:
http://pastebin.com/xyThjeYi
Groucho2004
8th July 2016, 08:41
Here you go:
http://pastebin.com/xyThjeYi
OK. Two more things:
- Post your script
- Run "avsmeter64 -avsinfo -log" and post the "avsinfo.log" file.
Magik Mark
8th July 2016, 09:51
OK. Two more things:
- Post your script
- Run "avsmeter64 -avsinfo -log" and post the "avsinfo.log" file.
Script:
SMDegrain(tr=2,thSAD=180,prefilter=2,contrasharp=30,refinemotion=true,lsb=true,chroma=false,plane=0)
avsmeter:
http://i.imgur.com/d72vGba.png
Groucho2004
8th July 2016, 09:59
Script:
SMDegrain(tr=2,thSAD=180,prefilter=2,contrasharp=30,refinemotion=true,lsb=true,chroma=false,plane=0)
That's one line from your script. :confused:
Magik Mark
8th July 2016, 10:22
Im sorry. I'm new to this. What am I supposed to do? That line came from smdegrain avisynth wiki. I'm using it as an example to see if it is working
Groucho2004
8th July 2016, 10:28
Oh boy this getting complicated than I have anticipated. This is what I got:
http://i.imgur.com/lhOXGaa.png
I tried to reproduce this and I got the same errors. It seems that RemoveGrainHD is the culprit. Try a different value for "Prefilter".
Magik Mark
8th July 2016, 11:26
I think this filter works with avisynth only. Not Avisynth+. RemovegrainHD is not being used by this filter. I think it uses Removegrain. The one included in rgtools
Groucho2004
8th July 2016, 12:03
I think this filter works with avisynth only. Not Avisynth+. RemovegrainHD is not being used by this filter. I think it uses Removegrain. The one included in rgtools
OK, you're the expert. ;)
JohnLai
8th July 2016, 14:51
PSA, for those who use NVencC or Nvidia H265, do not use the CU Min and Max switches. There is strange bug where 4x4 Intra PU sizes is not being used if those switches are specified with value.
EDIT: Confirmed with GTX 960 and 970 on two different pcs and different drivers......nvidia issue....-.-...hmmm.......<s>no idea how to report to nvidia</s>?
EDIT: Done reporting to nvidia.
Vulpix
9th July 2016, 13:00
@stax76 , are you planning to update the VCEencC ? There's v2 available @ rigaya's site
dandyclubs
10th July 2016, 05:17
The target drive has not enough free disk space.
StaxRip last test build use
i try BD extra to hdd
HDD space 45GB
how do space check disable?
stax76
14th July 2016, 18:02
@dandyclubs
@Vulpix
@Magik Mark
https://github.com/stax76/staxrip/blob/master/md/test-build.md
NikosD
14th July 2016, 19:30
Just before any release of StaxRip take a look at rigaya's blog.
He has already released QSVEncC v2.54 :)
brumsky
14th July 2016, 20:55
Hey Stax76,
Is there a way for staxrip to select the main feature only? Currently, I am getting commentary audio as well. I then manually remux the extra audio track out.
It would be awesome if staxrip could do that automagically.
Thanks!
Brumsky
stax76
14th July 2016, 21:24
@NikosD
I've updated it locally.
Is there a way for staxrip to select the main feature only? Currently, I am getting commentary audio as well. I then manually remux the extra audio track out.
You can remove the audio source before processing via the context menu of the audio text box, there is a menu item called 'Clear' which removes the source, or you can use the 'No Audio' audio profile.
brumsky
14th July 2016, 22:40
@NikosD
I've updated it locally.
You can remove the audio source before processing via the context menu of the audio text box, there is a menu item called 'Clear' which removes the source, or you can use the 'No Audio' audio profile.
Thanks for the quick reply!
I'm looking to do this from CLI. I have a PS script that monitors a folder and compresses the files automatically. Currently it uses HB but since staxrip > HB, I'd like to convert it over to use staxrip.
HB has a few options, one called main-feature and a audio mask. Basically, it'll determine the correct audio(s) and only copy based on the mask I supply. I can specify DTS,AC3 et cetera.
Is this something you could implement?
I'd be more than happy to share the PS script as it works great for processing in bulk! It does a few other things as well. ;)
All in all I really don't want to go back to HB, staxrip is by far nicer! Please save me from going back to HB!! :scared:
Magik Mark
14th July 2016, 22:44
You are the best stax!
Magik Mark
14th July 2016, 22:55
Stax the latest test build still has x265 v1.9 build 217 right? There's v2.0 I think
stax76
14th July 2016, 23:24
@brumsky
I don't see a use case for many people and it's not easy to code because the current detection is already very complicated, the scripting API for C# and PowerShell was made for such special things, I can help with it.
@Magik Mark
I wait for somebody posting a multi lib build.
Magik Mark
14th July 2016, 23:34
Tried the new SMDegrain using this parameters as depicted in wiki for HD sources:
SMDegrain(tr=2,thSAD=180,prefilter=2,contrasharp=30,refinemotion=true,lsb=true,chroma=false,plane=0)
Got this Error:
http://i.imgur.com/HruCDwS.png
stax76
14th July 2016, 23:48
Not all possible dependencies are included, I had googled 'AviSynth medianblur' but didn't find something helpful.
Magik Mark
15th July 2016, 00:35
In the smdegrain wiki all the required dependencies are indicated. Downloaded then at:
http://avisynth.nl/index.php/AviSynth%2B#AviSynth.2B_x64_plugins
I was able to successfully run it using avmeter. Im getting around 3 fps
Leo 69
16th July 2016, 08:57
@Mark
Did you manage to get this fixed with "medianblur"? I also get the same message when enabling the contrasharp function. I have no idea what to do.
Mr Alpha
16th July 2016, 12:47
I am in the process of transcoding my ripped DVD library from H.264 to H.265 using StaxRip and there is one thing I wonder if it would be possible to automate. The files have a variety of Color primaries, Transfer characteristics and Matrix coefficients set. Is it possible to have StaxRip automatically read this from the input stream and tell x265 to add it to the output stream?
NikosD
16th July 2016, 17:10
Hello Frank.
Latest QSVEncC v2.54 that you include in your latest 1.3.8.1 build has added an interesting option -avsw.
It can decode in SW video files using ffmpeg (so it's like every possible video file out there) instead of Avisynth or HW decoder.
Do you think you could add this option in the decoders section ?
robl45
16th July 2016, 17:14
Hi Guys, Incredible Newbie questions here so apologize in advance. I'd like to convert my bluray movies to 265. Is it best to do makemkv to make the mkv and then convert with staxrip? I'm trying that now as going straight into staxrip kept giving me errors. Then I have an I3 6100 processor and a GTX 950 card. Is it better to use Intel or Nvidia hardware encode? Last question and where I'm really stumped is I don't really understand the settings. Are there some basic settings to get a decent quality encode with a file size around 10GB or so? When I go to Intel or nvidia 265, I don't really understand what I'm looking at. Trying intel now and I changed it to best in the options. Should I be doing anything else?
Thanks
EDIT: another issue I am having is subtitles. I want hardcoded for non english parts so I checked hardcode the sub and got forced subs off of subscene, but it hardcoded the subs and put them below the actual movie while the soft subs are above. I want hard coded subs as many programs screw it up and I just want them to work for forced. I can't seem to find anyplace to adjust them higher, nor can I find a place to say just burn in the sub like dvdfab does.
stax76
18th July 2016, 00:22
I am in the process of transcoding my ripped DVD library from H.264 to H.265 using StaxRip and there is one thing I wonder if it would be possible to automate. The files have a variety of Color primaries, Transfer characteristics and Matrix coefficients set. Is it possible to have StaxRip automatically read this from the input stream and tell x265 to add it to the output stream?
with the test build 1.3.8.5 you can create a C# script, in the main menu go to Tools > Scripts to open the script folder, save following code with csx extension:
using static StaxRip.ShortcutModule;
string GetMediaInfo(string param) {
return MediaInfo.GetVideo(p.FirstOriginalSourceFile, param);
}
void SetParam(string param) {
g.DefaultCommands.ImportVideoEncoderCommandLine(param);
}
if (GetMediaInfo("colour_primaries") == "BT.709") SetParam("--colorprim bt709");
if (GetMediaInfo("colour_primaries") == "BT.2020") SetParam("--colorprim bt2020");
if (GetMediaInfo("transfer_characteristics") == "BT.709") SetParam("--transfer bt709");
if (GetMediaInfo("transfer_characteristics") == "SMPTE ST 2084") SetParam("--transfer smpte-st-2084");
if (GetMediaInfo("matrix_coefficients") == "BT.709") SetParam("--colormatrix bt709");
if (GetMediaInfo("matrix_coefficients") == "BT.2020 non-constant") SetParam("--colormatrix bt2020nc");
The script can then be called from the main menu, to automate it a event command can be created (Tools > Advanced > Event Commands), there is a command called ExecuteScriptFile.
Probably some community work is needed to support more formats...
Latest QSVEncC v2.54 that you include in your latest 1.3.8.1 build has added an interesting option -avsw.
It can decode in SW video files using ffmpeg (so it's like every possible video file out there) instead of Avisynth or HW decoder.
Do you think you could add this option in the decoders section ?
What interests you in this feature?
@robl45
MakeMKV is great for DVD and BD, StaxRip's eac3to demux GUI for BD folders and M2TS is better then what I've seen in other GUIs so it don't matter if you use MakeMKV or something else, what was the error message you got?
What encoder and settings to use isn't a simple topic, the H.265 hardware encoders are not as mature as the H.264 hardware encoders, you can try to find guides, search to learn about particular parameters and you can make test encodes and compare them, StaxRip offers a comparison tool (Tools > Advanced > Video Comparison).
For subtitle height I think you have to use some editor like Aegisub.
NikosD
18th July 2016, 02:20
What interests you in this feature?.
I'm interested in a decoder that doesn't use avisynth and is rock solid (or should be) like ffmpeg.
stax76
18th July 2016, 07:43
I'm interested in a decoder that doesn't use avisynth and is rock solid (or should be) like ffmpeg.
Next build will support it.
NikosD
19th July 2016, 10:07
Next build will support it.
Hello Frank.
It works like a charm in your latest beta, but not in the context of the whole app.
The way it is implemented is like a switch only in QSVEncC.
Meaning, that when I open a video file, the startup menu of preferred decoders that shows up automatically, doesn't allow me to avoid indexing unless I select DSS2.
There must be a way to select SW decoding without indexing from the beginning.
Thanks
stax76
19th July 2016, 10:15
You could use DSS2 in your startup template instead of Manual, I use automatic and demux everything automatic so I don't have any dialogs when I open a file.
JohnLai
19th July 2016, 11:10
So..stax76....you might wanna be prepared to add new features from rigaya's nvencc soon.....because nvidia just released nvenc sdk7.0.
What’s new in Video Codec SDK 7.0
HEVC 8K (8192 pixels x 8192 pixels) encoding *
HEVC 4:4:4 encoding *
HEVC 10-bit encoding *
HEVC lossless encoding *
HEVC Sample Adaptive Offset (SAO) *
HEVC Motion-Estimation-(ME)-only mode *
HEVC (up to 8K) decoding *
VP9 (up to 8K) decoding *
HEVC long term reference (LTR) frame support
Asynchronous H.264 Motion-Estimation-(ME)-only mode
Look-ahead
Improved H.264 spatial adaptive quantization
H.264 temporal adaptive quantization
Rate control and quality improvements
* These features require Pascal generation GPUs.
And so.......as I mentioned before...pascal still doesn't support hevc b-frames and 64x64 CU size. It is hardware limitation.
mcjordan
19th July 2016, 16:22
NVEnc v2.08 update by rigaya
---
Because finally NVENC SDK 7.0 has been published today, the implementation so that it can be used only part somehow in the rush job. So did not have time, please note that not be barely tested in the fullest only implementation.
Basically, should that become such Lookahead and AQ is available. The bottom line of the 10bit is there also implement the likely time-consuming...
---
And responding to NVENC SDK 7.0
Requires NVIDIA graphics driver 368.69 or later
- Added an option of additional features in SDK 7.0.
--vbr-quality <int> (NVEncC only)
It sets the target quality at the time of VBR mode use. (0-51, 0 = automatic)
--lookahead <int>
To enable the lookahead, to specify the target range by the number of frames. (0-32)
With help to improve the image quality, adaptive I, B frame insertion is enabled.
--no-i-apapt (NVEncC only)
lookahead to disable the adaptive I-frame insertion at the time of effectiveness.
--no-b-apapt (NVEncC only)
lookahead to disable the adaptive B-frames insertion at the time of effectiveness.
--strict-gop (NVEncC only)
To force a fixed GOP length.
--enable-ltr (NVEncC only)
LTR the (Long Term Reference pictures) to enable.
--aq
To enable the adaptive quantization of the frame (spatial direction). (Default: off)
--aq-temporal
To enable the adaptive quantization between the frame (time direction). (Default: off)
--aq-strength <int>
To specify the AQ strength. (1 (weak) to 15 (strong), 0 = automatic)
JohnLai
19th July 2016, 18:27
NVEnc v2.08 update by rigaya
---
Because finally NVENC SDK 7.0 has been published today, the implementation so that it can be used only part somehow in the rush job. So did not have time, please note that not be barely tested in the fullest only implementation.
Basically, should that become such Lookahead and AQ is available. The bottom line of the 10bit is there also implement the likely time-consuming...
---
And responding to NVENC SDK 7.0
Requires NVIDIA graphics driver 368.69 or later
- Added an option of additional features in SDK 7.0.
--vbr-quality <int> (NVEncC only)
It sets the target quality at the time of VBR mode use. (0-51, 0 = automatic)
--lookahead <int>
To enable the lookahead, to specify the target range by the number of frames. (0-32)
With help to improve the image quality, adaptive I, B frame insertion is enabled.
--no-i-apapt (NVEncC only)
lookahead to disable the adaptive I-frame insertion at the time of effectiveness.
--no-b-apapt (NVEncC only)
lookahead to disable the adaptive B-frames insertion at the time of effectiveness.
--strict-gop (NVEncC only)
To force a fixed GOP length.
--enable-ltr (NVEncC only)
LTR the (Long Term Reference pictures) to enable.
--aq
To enable the adaptive quantization of the frame (spatial direction). (Default: off)
--aq-temporal
To enable the adaptive quantization between the frame (time direction). (Default: off)
--aq-strength <int>
To specify the AQ strength. (1 (weak) to 15 (strong), 0 = automatic)
Well, the look-ahead option works in CQP mode for both HEVC and H264.
I tested HEVC encoding.
With lookahead 32
GOP length
Maximum GOP length 8000 msec (240 frames)
Minimum GOP length 400 msec (12 frames)
Median of GOP length 2800 msec (84 frames)
Standard deviation of GOP length 2491.28 msec (74.74 frames))
Without lookahead option, I-Frame is inserted every 240 frames.
GOP length
Maximum GOP length 8000 msec (240 frames)
Minimum GOP length 8000 msec (240 frames)
Median of GOP length 8000 msec (240 frames)
Standard deviation of GOP length 0.00 msec (0.00 frames)
Those who enables HEVC Long Term Reference pictures might wanna lower --ref by 1. Example, for 1920x1080, max ref for L4.1 is 5 frames. However, with LTF enabled, max ref will drop to 4 frames.
Edit: Enabling LTR and Look-Ahead 32 cause 20fps drop on GTX970....negligible ~.~
Leo 69
21st July 2016, 21:36
Hi Stax,
Would you please add finesharp() to Avisynth+ default selection as you did it for two of other great filters (SMDegrain, LSFMod)? That would be fantastic.
Thanks a lot in advance.
mcjordan
23rd July 2016, 11:40
NVEnc 2.09 (updated by rigaya)
Before the zombies wandering in search of Pokemon and the time being, including the Pokemon GO, updated to allow up to 10bit encoder in the walk through Pascal. ;-)
HEVC 10bit encoding and HEVC YUV4:4:4 additional encoding.
However, 10bit encoding with the following limitations of NVEncC at present.
- Avcuvid leader is non-compliant
- The 10bit read non-compliant
Since doing the direct conversion of the NVEnc.auo of Aviutl from YC48 to 10bit, the accuracy of the loss is not.
Magik Mark
24th July 2016, 03:48
Stax. Up to now there's no deband filter in vapoursynth. Is it possible to port f3kdb to vapoursynth? Thanks a LOT!
Sent from my iPhone using Tapatalk
sneaker_ger
24th July 2016, 12:00
It already has VapourSynth support.
http://nmm.me/10z
Example:
ret = core.f3kdb.Deband(ret, y=49, output_depth=16, dither_algo=2)
Magik Mark
24th July 2016, 14:34
It already has VapourSynth support.
http://nmm.me/10z
Example:
ret = core.f3kdb.Deband(ret, y=49, output_depth=16, dither_algo=2)
Trying to do this:
clip = core.f3kdb.Deband(clip, keep_tv_range=true)
Getting this error:
Python exception: name 'true' is not defined Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 1491, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:26897)
File "C:\Users\Magik Mark\Desktop\StaxRip Temp Files\Mother's Day (2016)_temp\Mother's Day (2016).vpy", line 6, in <module>
clip = core.f3kdb.Deband(clip, keep_tv_range=true)
NameError: name 'true' is not defined
Yups
24th July 2016, 15:24
So..stax76....you might wanna be prepared to add new features from rigaya's nvencc soon.....because nvidia just released nvenc sdk7.0.
What’s new in Video Codec SDK 7.0
HEVC 8K (8192 pixels x 8192 pixels) encoding *
HEVC 4:4:4 encoding *
HEVC 10-bit encoding *
HEVC lossless encoding *
HEVC Sample Adaptive Offset (SAO) *
HEVC Motion-Estimation-(ME)-only mode *
HEVC (up to 8K) decoding *
VP9 (up to 8K) decoding *
HEVC long term reference (LTR) frame support
Asynchronous H.264 Motion-Estimation-(ME)-only mode
Look-ahead
Improved H.264 spatial adaptive quantization
H.264 temporal adaptive quantization
Rate control and quality improvements
* These features require Pascal generation GPUs.
And so.......as I mentioned before...pascal still doesn't support hevc b-frames and 64x64 CU size. It is hardware limitation.
That's a huge update, they have easily the best HEVC hardware encoding in the market now in regards to quality. Intel needs Lookahead support for HEVC to counterattack this. And 10 bit support, but as we know it comes with Kabylake.
sneaker_ger
24th July 2016, 15:53
NameError: name 'true' is not defined
Not "true", use "True".
JohnLai
24th July 2016, 18:20
That's a huge update, they have easily the best HEVC hardware encoding in the market now in regards to quality. Intel needs Lookahead support for HEVC to counterattack this. And 10 bit support, but as we know it comes with Kabylake.
Except the part where........Nvidia nvenc HEVC only use 1 REFERENCE FRAME for encoding. :(
I have been wondering why file size* doesn't change much even though I specified nvenc to use 4, 8, 12 and 16 reference frames.
Finally, I use hevc analyser to analyse both FFMPEG (SDK 5.0) and Rigaya-san NvencC HEVC bitstream output only to discover NVENC HEVC encoding actually use 1 reference frame only. Not sure if it is a bug or hardware limitation. Currently awaiting Nvidia reply on this.
If NVENC HEVC encoding only use 1 reference frame, then Long-Term Reference is practically useless.
Not to mention......SDK7.0 doesn't include option to TURN ON SAO in first place. Guess Nvidia forgot to include the SAO code for turning it on and off.
Yups, do you have Skylake GPU? Can you provide 50 frames QSV HEVC encoding video sample (1920x1080) ? I want to verify intel hevc standard capability.
Yups
24th July 2016, 19:22
Yups, do you have Skylake GPU? Can you provide 50 frames QSV HEVC encoding video sample (1920x1080) ? I want to verify intel hevc standard capability.
Yes I have. One sample is not enough. Intels HEVC performance is very good except for scene change performance. H264 with Lookahead is much better in this regards. Where scene change matters HEVC is pretty poor especially when using a low bitrate. Intel is working on Lookahead support for HEVC at the moment. I hope it is ready in Q4 just before desktop Kabylake is available.
JohnLai
25th July 2016, 03:57
Yes I have. One sample is not enough. Intels HEVC performance is very good except for scene change performance. H264 with Lookahead is much better in this regards. Where scene change matters HEVC is pretty poor especially when using a low bitrate. Intel is working on Lookahead support for HEVC at the moment. I hope it is ready in Q4 just before desktop Kabylake is available.
I know QSV HEVC is fast, I just wanna check the analysis of the bitstream to determine which hevc standard is supported by QSV (Example, type of supported PU, CU size, SAO, deblocking, short + long reference frame usage, IPB frame allocation, GOP length and so on)
easyfab
25th July 2016, 07:45
I hope it is ready in Q4 just before desktop Kabylake is available.
Peharps with Intel Media Server Studio 2017 that will be out 3rd quarter of 2016 according to https://software.intel.com/en-us/forums/intel-media-sdk/topic/610546
IbrahimKh
25th July 2016, 09:42
Hi Stax,
Would you please add finesharp() to Avisynth+ default selection as you did it for two of other great filters (SMDegrain, LSFMod)? That would be fantastic.
Thanks a lot in advance.
I second this+
Yups
25th July 2016, 14:37
I know QSV HEVC is fast, I just wanna check the analysis of the bitstream to determine which hevc standard is supported by QSV (Example, type of supported PU, CU size, SAO, deblocking, short + long reference frame usage, IPB frame allocation, GOP length and so on)
Here is a 50 frames sample.
https://www.sendspace.com/file/51879f
JohnLai
25th July 2016, 16:08
Here is a 50 frames sample.
https://www.sendspace.com/file/51879f
Nice......
Initial check....QSV HEVC sure......disappointing.....
In term of supported encoding standard ;
Intra PU sizes
4x4
8x8
16x16
Inter PU sizes
4x8
8x4
8x8
8x16
16x8
16x16
Interesting.....
QSV max PU (Prediction Unit) sizes for both Intra and Inter frame is 16x16 while min size is 4x4
For comparison, Nvenc max PU sizes for Intra and Inter is 32x32. Meanwhile, Nvenc min PU sizes for Intra is 4x4 and Inter is 8x8.
x265 can use up to 64x64 max PU sizes and 4x4 min PU sizes for both Intra and Inter. (If one use 'very slow' preset)
Now, it seems like QSV HEVC only support I-Frame and B-Frame. There is no P-Frame being used at all. QSV HEVC B-Frame doesn't support B-Pyramid (Earlier/preceding and Latter/following reference frames). B-Frame only made use of Earlier reference frames. In the sample above, QSV HEVC intelligently uses up to maximum 3 reference frames as needed. Some B-Frame only use 1 and 2 reference frame.
There is no support for SAO and Long-Term Reference for QSV HEVC.
Both Nvenc and QSV HEVC support the generic deblocking filter.
~.~ Darn, both Nvenc and QSV HEVC doesn't fully support the highest possible HEVC specification features.
Yups
25th July 2016, 16:58
The above sample was converted with TU7, can you check if TU1 looks identical?
https://www.sendspace.com/file/sxorj7
Maximum reference frames can be changed manually, I prefer 3.
JohnLai
25th July 2016, 18:09
The above sample was converted with TU7, can you check if TU1 looks identical?
https://www.sendspace.com/file/sxorj7
Maximum reference frames can be changed manually, I prefer 3.
Now this is interesting. QSV HEVC TU1 sample shows additional PU sizes ;
Intra PU sizes
4x4
8x8
16x16
32x32
Inter PU sizes
4x8
8x4
8x8
8x16
16x8
16x16
32x32
The remaining result of bitstream analysis remains same.
I noticed a weird pattern on both of Intel QSV HEVC samples.
0th frame = I frame = 62.6 KBytes
1st frame = B frame = 29.4
2nd frame = B frame = 14.1
3rd frame = B frame = 16.6
4th frame = B frame = 14.0
5th frame = B frame = 27.3
6th frame = B frame = 14.1
7th frame = B frame = 15.0
8th frame = B frame = 13.2
9th frame = B frame = 28.9
The weird B-Frame pattern from 1st frame to 4th frame repeats itself until end of 49th frame.
It looks as if Intel QSV specifically treat the 1st B-Frame as 'P-Frame' by allocating extra bit.
If we calculate the ratio;
0th frame = I frame = 62.6 --> 100%
1st frame = B frame = 29.4 --> 46.96% of I-frame size
2nd to 4th B frames = (14.1+16.6+14.0)/3= 14.9 = 23.80% of I-frame size.
Isn't the ratio corresponding to ideal I,P,B frame ratio ?
Nvenc full PU sizes on the other hand ;
Intra PU sizes
4x4
8x8
16x16
32x32
Inter PU sizes
8x8
8x16
8x32
16x8
16x16
16x32
24x32
32x8
32x16
32x24
32x32
x265 only use full PU 4x4 and 64x64 on 'super slow preset'.
Intra PU sizes ----> Same as QSV and Nvenc above
Inter PU sizes
4x8 4x16 8x4 8x8
8x16 8x32 12x16 16x4
16x8 16x12 16x16 16x32
16x64 24x32 32x8 32x16
32x24 32x32 32x64 48x64
64x16 64x32 64x48 64x64
easyfab
25th July 2016, 18:43
Can we have some ssim and psnr for both nvenc and qsv compare to x264 or x265 .
If you have ffmpeg you can do something like :
ffmpeg -i original.mp4 -i encoded.mp4 -lavfi ssim="stats_file=ssim.log";[0:v][1:v]psnr="stats_file=psnr.log" -f null -
Vulpix
25th July 2016, 21:12
@stax76 , thanks for the VCE update - but somehow it breaks the .bat file creation. The file is created without the executable's path, i.e.
@echo off
--profile High --cqp 22:24:27 --sar 12:11 -i <etc etc etc> ...
and the encoding then (obviously) fails.
JohnLai
26th July 2016, 06:52
Can we have some ssim and psnr for both nvenc and qsv compare to x264 or x265 .
If you have ffmpeg you can do something like :
ffmpeg -i original.mp4 -i encoded.mp4 -lavfi ssim="stats_file=ssim.log";[0:v][1:v]psnr="stats_file=psnr.log" -f null -
We gonna need Yups to do it because he has all the hardware for H264 and HEVC encoding XD.
Anyway, I am not certain on how nvidia defines its algorithms usage.
Example:
1) Adaptive Quantization shouldn't work with CQP rate control method, but it does work (judging from the encoding frame rate drop and noticeable picture quality changes on I-Frame and P-frame when AQ is enabled)
2) By right, CQP rate control doesn't need lookahead since it use same QP for all frame. Yet, enabling lookahead in CQP mode for nvidia actually lead to I and B frames being adaptively inserted. (Resulting in better quality)
3) Nvenc SDK enables HEVC Long Term Reference frame support, but nvenc hevc uses 1 reference frame which makes the support pointless. How does LTR works if only 1 reference frame being used?
*Point 1 and 2 were mentioned by Dark Shikari in the past (year 2008 I think) where he wrote "using CQP mode instead of CRF disables adaptive quantization and complexity lookahead." Then again, he was talking about software based encoder....
EDIT: Anyone has HEVC 10bit encode sample from nvidia pascal?
abahram
26th July 2016, 14:46
Please someone help me to encode my recorded sat file to x264 MKV by staxrip these are sat program recorded from same provider one in SD MPG and one in TS HD i cut theme bye VideoReDo
I want no resize on SD and 1280x720 resize on HD also i save hd as mkv to staxrip reconize audio in file, is this correct? or there is better way to do that?
Please give me proper setting.
forgive me that i am so noob in encoding and my bad english
http://www.mediafire.com/download/61h5wb91t9ov7o6/ManotoHD23-07-2016.03.25.ts
http://www.mediafire.com/download/715jq2rdvdbca3b/MANOTO.22DEC2015.mpg
Leo 69
26th July 2016, 16:00
@abahram
Here is the 720p encode of your first file, I did it just for fun :)
http://www.mediafire.com/download/0k87idx1l39d8tk/Manoto720p.mkv
I have no access to the second file, mediafire says "Permission denied".
abahram
26th July 2016, 17:43
Dear Leo 69
I need good setting to encode this kind of file, so upload a sample in 1 minute for anyone that can help me with setting, please if you can give me your setting or send me in StaxRip Templates format also I send another link for SD quality thanks.
https://www.upload.ee/files/6005372/MANOTO.22DEC2015.mpg.html
mcjordan
28th July 2016, 15:41
NVEncC v2.10 (updated by rigaya)
And some bug fixes, respond to HEVC YUV444 10bit encoding, further support to the high-bit depth input in NVEncC.
Nearly This new feature of NVENC SDK 7.0 is whether not was pick up.
NVEncC / NVEnc.auo common
· Pascal corresponding to HEVC YUV444 10bit encoding.
NVEncC
· Added an option to set the output bit depth. (--output-Depth <int>)
· Avsw / y4m / vpy corresponding to yuv420 input of high bit depth from the reader.
· Avsw / y4m / vpy from the reader yuv444 (8bit, high bit depth) corresponding to the input of.
Examples of high-bit depth input of y4m
ffmpeg -y -i "<mp4 file>" -an -pix_fmt yuv420p10le -f yuv4mpegpipe -strict -1 - | NVEncC --y4m -i - -o "<outfilename.mp4>"
HEVC 10bit encode - how to use:
HEVC Encoding
NVEncC -c hevc -i "<mp4 file>" -o "<outfilename.mp4>"
HEVC 10bit encoding
NVEncC --avsw -c hevc --output-depth 10 -i "<mp4 file>" -o "<outfilename.mp4>"
HEVC YUV444 Encoding
NVEncC --avsw -c hevc --profile main444 -i "<mp4 file>" -o "<outfilename.mp4>"
HEVC YUV444 10bit encoded
NVEncC --avsw -c hevc --output-depth 10 --profile main444 -i "<mp4 file>" -o "<outfilename.mp4>"
With this update, the avsw / y4m / vpy read receipt in YUV420 / YUV444 (8bit or 10bit), became possible output in YUV420 / YUV444 (8bit / 10bit) in accordance with the encoded output you set this. Interconversion is if there is a lot of pattern of this color space, but I honestly head was hurt, well, was able to somehow implementation. (...mass production by using templates ...)
However, this is what you need to do really all CPU, and say, originally also feel it should do on the GPU side. Especially avcuvid read not been able to correspond to the case of (decoded by GPU) current 10bit encoding, etc., since the data is always on the GPU side, just for color space conversion on the GPU is essential.
Not in whether such have to use CUDA is that the implementation ... of the color space conversion on the GPU in the future that ....
NVEnc.auo
· Afs fix did not problems that can HEVC 10bit encoded at the time of use.
· Fixed an issue that is not the progress displayed in the status bar.
Sorry... google translated
JohnLai
30th July 2016, 09:24
@stax76
I have 50+ video with 'Undetermined' subtitle that need to be set as 'Default', otherwise MPC-HC and VLC will refuse to autoload the subtitle.
I would like to batch convert those videos, there is only single subtitle in each video.
Is there any option to automatically set the subtitle as 'Default'? (Auto check the 'Default' box)
http://i.imgur.com/OyLlZ8m.jpg
brumsky
30th July 2016, 19:12
Does anyone have a tutorial on how to use Vapoursynth with Staxrip? More specifically I'm trying to run this.
import vapoursynth as vs,havsfunc as haf,sys
vid = haf.SMDegrain(vid, tr=3,thSAD=300,RefineMotion=True,contrasharp=True,pel=2) #med grain
I get a script error: Syntax error.
Thanks!
lordalibaski
31st July 2016, 02:34
Come across another problem no idea why it's doing this, I have tried 3 different versions of Staxrip
StaxRip_1.2_Technical_Preview
StaxRip-x64-1.3.7.0-stable
StaxRip-x64-1.3.8.7
and still I get the same issue, this issue is with the audio again not like the last issue I had which didn't get resolved but another one which is strange.
If I encode a small part of this video the video properties are below the audio is there but when I encode the whole video there is no audio at all.
Format : MPEG-PS
File size : 1.55 GiB
Duration : 45mn 27s
Overall bit rate mode : Variable
Overall bit rate : 4 892 Kbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : Variable
Format settings, picture struc : Frame
Duration : 45mn 27s
Bit rate mode : Variable
Bit rate : 4 539 Kbps
Maximum bit rate : 9 400 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : NTSC
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.438
Time code of first frame : 00:00:02:15
Time code source : Group of pictures header
Stream size : 1.44 GiB (93%)
Color primaries : BT.601 NTSC
Transfer characteristics : BT.601
Matrix coefficients : BT.601
Audio
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Muxing mode : DVD-Video
Duration : 45mn 27s
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : -66ms
Stream size : 83.2 MiB (5%)
Encoded small part of video with audio set at justmux
Format : Matroska
Format version : Version 4 / Version 2
File size : 5.24 MiB
Duration : 58s 496ms
Overall bit rate : 752 Kbps
Encoded date : UTC 2016-07-31 01:24:34
Writing application : mkvmerge v9.3.1 ('Mask Machine') 64bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5
DURATION : 00:00:58.496000000
NUMBER_OF_FRAMES : 1828
NUMBER_OF_BYTES : 1871872
_STATISTICS_WRITING_APP : mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_DATE_UTC : 2016-07-31 01:24:34
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L3@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 58s 492ms
Bit rate : 481 Kbps
Width : 672 pixels
Height : 448 pixels
Display aspect ratio : 4:3
Original display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.053
Stream size : 3.35 MiB (64%)
Writing library : x265 2.0+5-98a948623fdc:[Windows][GCC 5.4.0][64 bit] 8bit+10bit+12bit
Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rskip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=25 / scenecut=40 / rc-lookahead=20 / lookahead-slices=0 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=3 / no-limit-modes / weightp / no-weightb / aq-mode=1 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=2.00 / rdoq-level=0 / psy-rdoq=0.00 / no-rd-refine / signhide / deblock=0:0 / sao / no-sao-non-deblock / b-pyramid / cutree / no-intra-refresh / rc=crf / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ipratio=1.40 / pbratio=1.30
Default : Yes
Forced : No
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 58s 496ms
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 1.79 MiB (34%)
Language : English
Default : No
Forced : No
Encode of all video with audio set at justmux
Format : Matroska
Format version : Version 4 / Version 2
File size : 325 MiB
Duration : 45mn 27s
Overall bit rate : 1 001 Kbps
Encoded date : UTC 2016-07-31 01:01:20
Writing application : mkvmerge v9.3.1 ('Mask Machine') 64bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5
DURATION : 00:45:27.725000000
NUMBER_OF_FRAMES : 81750
NUMBER_OF_BYTES : 340637024
_STATISTICS_WRITING_APP : mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_DATE_UTC : 2016-07-31 01:01:20
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L3@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 45mn 27s
Bit rate : 981 Kbps
Width : 672 pixels
Height : 448 pixels
Display aspect ratio : 4:3
Original display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.109
Stream size : 319 MiB (98%)
Writing library : x265 2.0+5-98a948623fdc:[Windows][GCC 5.4.0][64 bit] 8bit+10bit+12bit
Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rskip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=25 / scenecut=40 / rc-lookahead=20 / lookahead-slices=0 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=3 / no-limit-modes / weightp / no-weightb / aq-mode=1 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=2.00 / rdoq-level=0 / psy-rdoq=0.00 / no-rd-refine / signhide / deblock=0:0 / sao / no-sao-non-deblock / b-pyramid / cutree / no-intra-refresh / rc=crf / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ipratio=1.40 / pbratio=1.30
Default : Yes
Forced : No
Why is it not converting the audio when I try the whole video!!!
lordalibaski
31st July 2016, 03:07
Sorry for the double post I can't edit my post yet.
Just encoded it to x264/mp4 and the sound is perfectly fine but again no sound when converting to x265/mkv.
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 455 MiB
Duration : 45mn 27s
Overall bit rate : 1 399 Kbps
Encoded date : UTC 2016-07-31 02:02:08
Tagged date : UTC 2016-07-31 02:02:08
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 45mn 27s
Bit rate : 1 172 Kbps
Maximum bit rate : 2 586 Kbps
Width : 672 pixels
Height : 448 pixels
Display aspect ratio : 4:3
Original display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.130
Stream size : 381 MiB (84%)
Writing library : x264 core 148 r2694 3b70645
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2016-07-31 02:02:08
Tagged date : UTC 2016-07-31 02:02:17
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : ac-3
Duration : 45mn 27s
Bit rate mode : Constant
Bit rate : 224 Kbps
Maximum bit rate : 237 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 72.8 MiB (16%)
Encoded date : UTC 2016-07-31 02:02:16
Tagged date : UTC 2016-07-31 02:02:17
Just tried a different file and used just mux again and no sound :( Could this be because the original files audio bitrate is 256 and Staxrip doesn't support 256 bitrare anymore?
http://i67.tinypic.com/20hakpe.png
Format : Matroska
Format version : Version 4 / Version 2
File size : 399 MiB
Duration : 57mn 33s
Overall bit rate : 969 Kbps
Encoded date : UTC 2016-08-01 16:09:54
Writing application : mkvmerge v9.3.1 ('Mask Machine') 64bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5
DURATION : 00:57:33.600000000
NUMBER_OF_FRAMES : 86340
NUMBER_OF_BYTES : 417657825
_STATISTICS_WRITING_APP : mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_DATE_UTC : 2016-08-01 16:09:54
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L3@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 57mn 33s
Bit rate : 950 Kbps
Width : 672 pixels
Height : 544 pixels
Display aspect ratio : 4:3
Original display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.104
Stream size : 391 MiB (98%)
Writing library : x265 2.0+5-98a948623fdc:[Windows][GCC 5.4.0][64 bit] 8bit+10bit+12bit
Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rskip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=25 / scenecut=40 / rc-lookahead=20 / lookahead-slices=0 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=3 / no-limit-modes / weightp / no-weightb / aq-mode=1 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=2.00 / rdoq-level=0 / psy-rdoq=0.00 / no-rd-refine / signhide / deblock=0:0 / sao / no-sao-non-deblock / b-pyramid / cutree / no-intra-refresh / rc=crf / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ipratio=1.40 / pbratio=1.30
Default : Yes
Forced : No
JohnLai
2nd August 2016, 16:34
Stax76,
Apparently, staxrip has problem encoding multi chapter / multi video mkv properly. This is prominent in fansub release.
Example, episode 1 video (mkv container) may have op/end linked to another video.
When using staxrip for transcoding such files, the op/end was skipped directly causing out of sync output.
Any suggestion on how to transcode such video?
Menu
00:00:00.000 : en:Prologue / en:Opening / :Ending
00:02:13.008 : en:Episode
00:20:20.029 : :Preview
The problem, the 'Opening' and 'Ending' are linked to two separate independent videos. (Do we call it Multi Chapter MKV or what?)
Meanwhile the audio is continuous.
EDIT:
The one above --->Using DSS2 as source.
Seem like using FFVideoSource in conjunction with avisynth kinda solved the outofsync problem.....by skipping OP and ED completely...well, at least it works.
Question, does FFVideoSource use hardware acceleration for decoding stage?
MikeTR
5th August 2016, 16:06
Searching for an 'as much as possible' portable version of Staxrip, I came across the option of making VapourSynth & Python portable by simply merging (http://www.vapoursynth.com/doc/installation.html#windows-portable-instructions) the portable version of VapourSynth into the embeddable Python folder. It seems to me that way both programs could even be distributed in the Staxrip package. Is there a way to make these portable versions work with Staxrip?
EDIT: I see the possibility has already been brought up a few months back, but AFAIK there has been no follow up since (https://github.com/stax76/staxrip/issues/41). Is there anyting I might have missed?
aegisofrime
5th August 2016, 16:54
Hi there, just a quick question.
What's the function to get source framerate in Vapoursynth? I googled of course and found some function called Videonode, but I seem to be unable to call it.
I want to be able to do something like this:
super = core.mv.Super(clip, pel=2)
bv = core.mv.Analyse(super, isb=True, overlap=4)
fv = core.mv.Analyse(super, isb=False, overlap=4)
clip = core.mv.FlowFPS(clip, super, bv, fv, num=srcfps * 2,den=1)
The only thing is I don't know how to get srcfps! Any help would be appreciated!
Khun_Doug
5th August 2016, 20:50
Is there any method to select a section of the entire source for test encodes? I know there are similar type controls in myffmpeg, AVIDemux, VirtualDub, and Hybrid. The only way I have found to accomplish this so far is to save an uncompressed sample from another tool and then use that sample file until I have my desired settings.
For example, I would like to have an encode start at an offset of three minutes into a source and run for a length of eight minutes. I don't see anyway to do this.
JohnLai
7th August 2016, 09:26
Weird, it had been more than a week (counting 2 weeks) since I reported Nvidia about HEVC encoding only makes use of 1 reference frame bug to Nvidia and didn't get any reply back. (Yeah, both Maxwell V2 and Pascal affected)
Normally they replied within 2 or 3 working days and fixed stuff quickly enough once they confirmed it. (Example, the HEVC CU-Min & Max size bug was fixed before sdk 7.0 came out)
Oh, I got Pascal 10bit HEVC sample from rigaya and it seems SAO support is enabled by default (no on/off option). Seem like nvidia is using a form of 'low complexity sample adaptive offset encoding'. (google it if one wanna read the patent)
Everything else is exactly the same as Maxwell V2 (including bugs).
Speculation section:
I got a bad feeling on both Maxwellv2 and Pascal HEVC's amount of reference frame support and I hope I am wrong in this.
As we know, nvidia HEVC encoding does not support B-Frame.
For software encoder x265, P-Frame can refer multiple preceding P-Frame (and I Frame) as reference frames.
Nvenc cannot do so.
From FFMPEG-with-NVIDIA-Acceleration-on-Ubuntu_UG_v01.pdf, there is a section about B-Frame which nvidia defines "Reference frames are the frames that can be referred to by B frames."
So...based on nvidia definition of reference frame.....and there is no b-frame support for HEVC encoding.....does this mean it is a hardware limitation? :(
luigizaninoni
9th August 2016, 18:38
I have these two connected issues:
I am using staxrip 1.3.8.7 test build
The script is the following:
LoadPlugin("C:\Users\luigi\Desktop\video grafica\stax64\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll")
LWLibavVideoSource("C:\Users\luigi\Desktop\ConvertitiInMkv\00000.mkv", format = "YUV420P8")
MCTemporalDenoise()
First issue:
The encode works fine with x264
With x265 it crashes: avs2pipemod64.exe has stopped working
Second issue:
The script can't be previewed in staxrip: Access violation
However the script can be previewed easily with AVSPmod
So, why does it encode with x264 and doesn't with x265 ?
Why does preview work in Avspmod and not in staxrip ?
burfadel
9th August 2016, 20:03
I have these two connected issues:
I am using staxrip 1.3.8.7 test build
The script is the following:
LoadPlugin("C:\Users\luigi\Desktop\video grafica\stax64\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll")
LWLibavVideoSource("C:\Users\luigi\Desktop\ConvertitiInMkv\00000.mkv", format = "YUV420P8")
MCTemporalDenoise()
First issue:
The encode works fine with x264
With x265 it crashes: avs2pipemod64.exe has stopped working
Try the latest version of avs2pipemod (now 1.03). Apparently some possible memory leaks were rectified.
https://github.com/chikuzen/avs2pipemod/releases/download/1.0.3/avs2pipemod-1.0.3.zip
luigizaninoni
9th August 2016, 22:25
Try the latest version of avs2pipemod (now 1.03). Apparently some possible memory leaks were rectified.
https://github.com/chikuzen/avs2pipemod/releases/download/1.0.3/avs2pipemod-1.0.3.zip
Thanks for the heads-up, but encode with x265 still fails. However the error message has changed, it now gives "output various data from avs to stdout has stopped working"
luigizaninoni
10th August 2016, 10:41
The encode works fine with x264
With x265 it crashes: avs2pipemod64.exe has stopped working
Anyway, the x265 encode works fine in staxrip 1.3.7.0, so something must have changed between 1.3.7.0 and 1.3.8.7
Magik Mark
10th August 2016, 13:14
Why is it running avsmeter I get around 60fps. When the actual encoding begins it's only 30fps? Is there a variable that it not being considered during the test?
sneaker_ger
10th August 2016, 13:16
avsmeter only tests the speed of the script (decoding, filtering). When you encode you run script + x265 encoding. Of course it takes longer.
Khun_Doug
21st August 2016, 07:02
Are there any plans to add the TWEAK function/filter to the VapourSynth support?
ShogoXT
25th August 2016, 19:20
Hey have you guys seen that AMD released AMF encoding? Not sure if it would be more useful than the already existing one though as h265 is still not available.
https://github.com/GPUOpen-LibrariesAndSDKs/AMF
http://gpuopen.com/gaming-product/advanced-media-framework/
EDIT: I would take a close look at the issues page on the github. There seems to be question about Bframe support and useful links to "experimental" HEVC transcoders.
JohnLai
26th August 2016, 03:47
Hey have you guys seen that AMD released AMF encoding? Not sure if it would be more useful than the already existing one though as h265 is still not available.
https://github.com/GPUOpen-LibrariesAndSDKs/AMF
http://gpuopen.com/gaming-product/advanced-media-framework/
EDIT: I would take a close look at the issues page on the github. There seems to be question about Bframe support and useful links to "experimental" HEVC transcoders.
Been checking about AMD HEVC few days ago. Nope, no B-Frame in any of samples provided.
Now, the interesting part.....AMD HEVC sample shows support for 64x64 CU Size.......and minimum 4x4 for intra and 8x8 for inter.
ismail0100
26th August 2016, 13:58
can i give setting another video automaticly? (poor english)
So I want to copy all settings (10bit 22crf etc.).
Caroliano
29th August 2016, 22:53
How to set up the Python location? I have WinPython installed with the latest version, but StaxRip detects only an older python instalation to Program Files. I tried to follow the "download Python" button, but it installs to my local user directory and again staxrip don't detects it.
Magik Mark
29th August 2016, 23:10
Hi Fred!
It has been more than a month since staxrip has been updated. x265 has new switches now
Thank you for your efforts
IbrahimKh
2nd September 2016, 15:37
Yea, it almost 3 month
waiting for new build
ilovejedd
3rd September 2016, 16:25
First of all, thank you very much for all your work on StaxRip. While it may not be as simple to use as Handbrake, it's definitely far more flexible. One thing, though, when using QTGMC, I encountered errors with the Avisynth script (Code 126, cannot load module or something). After much googling, I eventually traced it to missing Microsoft Visual C++ 2012 Redistributable which is needed for masktools2.dll. Perhaps a link to the VC 2012 redist download could be added in the Runtimes section like with the VC 2013 and VC 2015? Thanks!
JohnLai
6th September 2016, 15:50
@stax76, apparently, qsv --vpp-sub will cause error:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Script
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LoadPlugin("C:\Users\Anonymous\Desktop\Staxrip\Apps\Plugins\both\ffms2\ffms2.dll")
FFVideoSource("K:\test.mkv", cachefile = "L:\test_temp\test.ffindex")
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Script Properties
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
source frame count : 43015
source frame rate : 23.976024
source duration : 00:29:54.0840000
target frame count : 43015
target frame rate : 23.976024
target duration : 00:29:54.0840000
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoding using QSVEncC 2.55 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
@echo off
C:\Users\Anonymous\Desktop\Staxrip\Apps\QSVEncC\QSVEncC64.exe --quality best --bframes 16 --ref 11 --b-adapt --scenechange --profile High --level 4.1 --vpp-sub "L:\test_temp\English.ass" --trellis all --fallback-rc --i-adapt --cqp 20:23:25 --sar 40:33 -i "K:\test\test.mkv" -o "L:\test_temp\test_out.h264"
cmd.exe /C call "L:\test_temp\test_QSVEncC.bat"
QSVEncC.exe finished with error!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Error Encoding using QSVEncC 2.55 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoding using QSVEncC 2.55 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
QSVEncC.exe finished with error!
Start: 10:44:18 PM
End: 10:44:18 PM
Duration: 00:00:00
I don't think I need to post full log. Stax76, you can test it by loading up any srt subtitle using qsv --vpp-sub (make sure QSV decoder being selected). I hope this can be fixed.
MOHAX777
10th September 2016, 10:30
StaxRip x64 : 1.3.8.7
OS : Windows 7 Home Premium
CPU : Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
GPU : Radeon (TM) RX 470 Graphics
--------------
with AMD x264 default profile got error:
----------------------------------------------------------
Error Encoding using VCEEncC 2.0 x64
StaxRip.ErrorAbortException: Encoding using VCEEncC 2.0 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
"--cqp" *Ґ пў«пҐвбп ў*гваҐ**Ґ© Ё«Ё ў*Ґи*Ґ©
Є®¬**¤®©, ЁбЇ®«*塞®© Їа®Ја*¬¬®© Ё«Ё Ї*ЄҐв*л¬ д*©«®¬.
в StaxRip.Proc.Start() в D:\Projekte\VS\VB\StaxRip\General\Proc.vb:строка 240
в StaxRip.AMDEncoder.Encode() в D:\Projekte\VS\VB\StaxRip\Encoding\AMDEncoder.vb:строка 76
в StaxRip.MainForm.Encode() в D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:строка 2220
в StaxRip.MainForm.RunJobRecursive() в D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:строка 3462
--------------------------------------------------
In temp-dir i found bat-file contain command string start with "--qcp .....". I add path to VCEEncC64.exe at start position, run this bat-file and encoded successes!
VelleX
13th September 2016, 09:06
is there an option to deactivate free disk space check? Because cant even convert a 18GB 1080p MKV to SD Resolution, which of course would not need 18GB of free disk space.
I know i am lack of hard disk space :P
I've added a Continue and Abort button to the task dialog.
Problem is if you have more than one Job, because you are asked every time to continue or abort, so you cant just batch convert over night.
spon
13th September 2016, 20:40
Hi everyone. I've read through a lot of this thread, but 99% of it is over my head. Are there any recommended settings for NVIDIA H265 Encoding? I see there are 37 options, but I'm not sure where to even start. I would prefer better quality over smaller file size. I'm currently using Handbreak and x265, but the process is soooooo slow. I'd be willing to give up some quality for encoding speed, but would like to test to see the visual difference.
If someone could point me in the right direction, I would greatly appreciate it.
Thanks!
JohnLai
14th September 2016, 04:39
Hi everyone. I've read through a lot of this thread, but 99% of it is over my head. Are there any recommended settings for NVIDIA H265 Encoding? I see there are 37 options, but I'm not sure where to even start. I would prefer better quality over smaller file size. I'm currently using Handbreak and x265, but the process is soooooo slow. I'd be willing to give up some quality for encoding speed, but would like to test to see the visual difference.
If someone could point me in the right direction, I would greatly appreciate it.
Thanks!
http://i.imgur.com/qaujIkT.jpg
You gonna have larger file compared to software based encoder......how large is the file size for comparable quality?
Here is rough calculation http://forum.doom9.org/showthread.php?p=1780493#post1780493
spon
14th September 2016, 05:07
http://i.imgur.com/qaujIkT.jpg
You gonna have larger file compared to software based encoder......how large is the file size for comparable quality?
Here is rough calculation http://forum.doom9.org/showthread.php?p=1780493#post1780493
Thank you! This is exactly what I was looking for.
JohnLai
14th September 2016, 07:02
Thank you! This is exactly what I was looking for.
Although Nvidia Video Codec SDK mentiones the VBR-CQ to be Constant Quality, it is wrong by definition. The method being used ought be called 'Constrained Quality' if you specify bitrate other than maximum 17500. It will behave as 'Constant Quality' if you specify 17500 as I shown in the strip.
Note: For some unknown reason, nvidia only allows CQ method to work with VBR single pass, it doesn't work work VBR two pass (If you use VBR2, it simply uses all of the bitrate 17500). But hey....we got a lookahead bitrate allocation....so there is no need for two pass in first place....
mcjordan
16th September 2016, 17:47
Dear JohnLai, thank you for good advice about NVEncC encoding in VBR-CQ mode.
About LTR in StaxRip/NVencC v2.11. It's working (--enable-ltr) but only if --level is set to unrestricted (or higher then L3.0 maybe - need some more tests).
Some recomendations for CABAC and Deblock (in good quality source situation)?
JohnLai
17th September 2016, 04:23
Dear JohnLai, thank you for good advice about NVEncC encoding in VBR-CQ mode.
About LTR in StaxRip/NVencC v2.11. It's working (--enable-ltr) but only if --level is set to unrestricted (or higher then L3.0 maybe - need some more tests).
Some recomendations for CABAC and Deblock (in good quality source situation)?
Only 1 frame being 'marked' as LTR in DPB.
Example:
NVENC HEVC Level 4.1 normally has maximum reference frames of 5 for 1920x1080p.
If LTR being specified, then you will need to drop the maximum reference number by 1. Thus, for lvl 4.1 with LTR, you will need to setup maximum reference frame of 4. (Just minus 1 from the maximum allowable frame for each level profile)
*I have no idea what being put in DPB by nvidia. From what I can see, nvenc's HEVC P-frame only make use of single/one previous frame.
I tested using unrestricted profile for both NVENC and HEVC by specifying 8 reference frames:
This is NVENC HEVC output:
NumNegativePics 8
NumPositivePics 0
NumDeltaPocs 8
UsedByCurrPicS0 1 0 0 0 0 0 0 0
UsedByCurrPicS1
DeltaPocS0 -1 -2 -3 -4 -5 -6 -7 -8
DeltaPocS1
This is software x265 output (I set bframe to 0 to match nvenc lack of bframe support):
NumNegativePics 8
NumPositivePics 0
NumDeltaPocs 8
UsedByCurrPicS0 1 1 1 1 1 1 1 1
UsedByCurrPicS1
DeltaPocS0 -1 -2 -3 -4 -5 -6 -7 -8
DeltaPocS1
See the difference with x265?
For nvenc HEVC and H264 encoding, the P-frame cannot refer to multiple preceding frame. On the other hand, nvenc H264 B-Frame can refer to multiple preceding frames (no b-pyramid support, so no future frame referencing....)
EDIT: Don't bother with other setting such as deblock or cabac.
For H264 encode, use the new 'temporal adaptive quantization' if your gpu supports it.
mcjordan
17th September 2016, 11:41
John, thanks for the useful info and sorry for disturbance.
VelleX
17th September 2016, 16:57
@Stax76
i often have problems extracting audio from recorded TS Files. I think its because of FFMPEG Stream Order (or the original TS File Stream Order, which is different to Mediainfo), so wrong stream is choosed to demux. Sometimes it may be an audio Stream too, but the wrong of course, but sometimes its a subtitle stream so i got an error and Staxrip just aborts.
Output file #0 does not contain any stream
Leo 69
17th September 2016, 18:52
Fred hasn't visited the forum for straight 17 days already. Hope he's OK.
Leo 69
17th September 2016, 18:53
@Vellex, in these cases I extract necessary streams using TSMuxer manually.
VelleX
17th September 2016, 21:24
Maybe he's just on holidays. Everyone deserves them.
I looked at the log, to see what command line was used, and then changed the command line.
In my case the stream looked like this, and i wanted the 448kbps AC3 Stream, which is #0:5, but StaxRip64 used in the FFMPEG command line "-map 0:3"
Stream #0:0[0x13f7]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x13f8](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:2[0x13f9](fra): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:3[0x13fa](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:4[0x13fb](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Stream #0:5[0x13fc](mul): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:6[0x13fd](mis): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:7[0x13fe](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream #0:8[0x13ff](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
spon
21st September 2016, 03:10
@johnlai (or anyone) - are there recommended settings for Intel h265 hardware encoding similar to the Nvidia that you shared? I happen to have both a GTX 960 and Intel Skylake CPU and am trying to find out which gives me the best combination of quality, speed and size (ranked in order of importance.
Thanks!
JohnLai
21st September 2016, 03:58
@johnlai (or anyone) - are there recommended settings for Intel h265 hardware encoding similar to the Nvidia that you shared? I happen to have both a GTX 960 and Intel Skylake CPU and am trying to find out which gives me the best combination of quality, speed and size (ranked in order of importance.
Thanks!
Post your skylake QSV features support first...I havent bought Skylake yet....waiting for cheaper skylake to come out at my local shop....
How to check?
http://i.imgur.com/cmP8zYG.jpg
I want to verify if weight-p and weight-b have been made available for skylake yet. (So...make sure your Intel IGPU driver is up to date)
The last time I checked with my friend pc, it only had i-adapt and b-adapt.
EDIT: Don't forget to update the QSVenCC first, I haven't update mine because the latest update doesn't have anything interesting for my Haswell IGPU.....
spon
21st September 2016, 05:50
Post your skylake QSV features support first...I havent bought Skylake yet....waiting for cheaper skylake to come out at my local shop....
How to check?
I want to verify if weight-p and weight-b have been made available for skylake yet. (So...make sure your Intel IGPU driver is up to date)
The last time I checked with my friend pc, it only had i-adapt and b-adapt.
EDIT: Don't forget to update the QSVenCC first, I haven't update mine because the latest update doesn't have anything interesting for my Haswell IGPU.....
Thanks John. I just updated the igpu driver (new one just came out) but I'm not entirely sure how to update QSVenCC. Staxrip has 2.54 and I do see that 2.56 is out. I downloaded it, but am not sure what to do now as most of it is in a different language. Should I just extract and replace the files in the Staxrip Apps folder? Or do I need to run the auto installer?
JohnLai
21st September 2016, 06:15
Thanks John. I just updated the igpu driver (new one just came out) but I'm not entirely sure how to update QSVenCC. Staxrip has 2.54 and I do see that 2.56 is out. I downloaded it, but am not sure what to do now as most of it is in a different language. Should I just extract and replace the files in the Staxrip Apps folder? Or do I need to run the auto installer?
-.-......hmmm.....
http://rigaya34589.blog135.fc2.com/blog-entry-830.html
https://onedrive.live.com/?id=6BDD4375AC8933C6%21482&cid=6BDD4375AC8933C6
Extract/Replace everything in \Staxrip\Apps\QSVEncC
Do I really need to 'sponfeed'
http://i.imgur.com/gCGtXO9.jpg
spon
21st September 2016, 07:20
Thanks again. Here are the results
QSVEncC available features attached.
JohnLai
21st September 2016, 07:34
Thanks again. Here are the results
QSVEncC available features attached.
Attachment pending approval --> This gonna take forever.
So....pastebin to the rescue?
spon
21st September 2016, 17:51
Attachment pending approval --> This gonna take forever.
So....pastebin to the rescue?
Oops! I didn't even notice that. Here is the link:
http://pastebin.com/h05rgkT4
Thanks again
JohnLai
21st September 2016, 19:18
Oops! I didn't even notice that. Here is the link:
http://pastebin.com/h05rgkT4
Thanks again
-.-???What the hell?
Few months ago, supported features were :
http://rigaya34589.blog135.fc2.com/blog-entry-672.html
Take a look on rigaya website detailing his skylake IGPU feature support and compare it with yours.
Why in the world the latest driver disable Trellis, B-adapt and I-adapt? Even Ext_BRC got disabled.
:confused:
Instead of adding features, existing feature got removed instead.
Originally, I plan to advice HEVC TU1 target usage (Only TU1 enables usage of 32X32 CTU blocks, other TU only make use up to 16x16 CTU block size), Trellis=all, scenechange, B-adapt (then we can enable B-frame=16, higher is better, after all, QSV HEVC make use of Generalized P/B (GPB)--> it means instead of using P frame, it substitutes P-frame with B-Frame) , I-adapt, higher reference frame around 5-16 depending on profile level and resolution (contrary to nvenc and vce, intel qsv's reference frame setting actually works), mbbrc and ICQ rate control at default 23.
Now this is troublesome.....
spon
21st September 2016, 19:24
-.-???What the hell?
Few months ago, supported features were :
Take a look on rigaya website detailing his skylake IGPU feature support and compare it with yours.
Why in the world the latest driver disable Trellis, B-adapt and I-adapt? Even Ext_BRC got disabled.
:confused:
Instead of adding features, existing feature got removed instead.
Originally, I plan to advice HEVC TU1 target usage (Only TU1 enables usage of 32X32 CTU blocks, other TU only make use up to 16x16 CTU block size), Trellis=all, scenechange, B-adapt (then we can enable B-frame=16, higher is better, after all, QSV HEVC make use of Generalized P/B (GPB)--> it means instead of using P frame, it substitutes P-frame with B-Frame) , I-adapt, higher reference frame around 5-16 depending on profile level and resolution (contrary to nvenc and vce, intel qsv's reference frame setting actually works), mbbrc and ICQ rate control at default 23.
Now this is troublesome.....
I'll double check when I get home tonight to verify that I updated to the latest version correctly and report back.
spon
22nd September 2016, 03:52
I'll double check when I get home tonight to verify that I updated to the latest version correctly and report back.
Looks like I was updated to the latest video drivers and QSVEncC. Here i a fresh pastebin just in case.
http://pastebin.com/uFi0c64u
Maybe I should roll back to an earlier driver?
Thanks
JohnLai
22nd September 2016, 05:56
Looks like I was updated to the latest video drivers and QSVEncC. Here i a fresh pastebin just in case.
http://pastebin.com/uFi0c64u
Maybe I should roll back to an earlier driver?
Thanks
I am not sure about rolling back, there must be reasons on why Intel disabled those features.
Well...have to make do with current available feature.
Thus, http://i.imgur.com/OaGdzPs.jpg
Edit: Since B-adapt feature is no longer available.....I am not sure if setting B-Frame = 16 will cause error under Lvl 4.1. It should works....otherwise, set it to 8 B-Frames.
Edit2 : I was hoping for Weight-p and Weight-b to be available... (Successor to B-adapt, I didn't expect b-adapt to be removed...) Same with Trellis quantization too.
Edit3 : Correction! After reading latest Intel Media SDK --> it turns out i_adapt and b_adapt are ignored if 'scenecut' (known as SceneChange) is specified. I wonder when Intel made such changes. SDK doesnt mention why Trellis quantization is missing though. Trellis can only be enabled in TU1. It is disabled in TU2 - TU7. Most of Intel SDK only mention H264 Trellis, no mention on HEVC Trellis.
spon
22nd September 2016, 07:09
I am not sure about rolling back, there must be reasons on why Intel disabled those features.
Well...have to make do with current available feature.
Thus,
Edit: Since B-adapt feature is no longer available.....I am not sure if setting B-Frame = 16 will cause error under Lvl 4.1. It should works....otherwise, set it to 8 B-Frames.
Edit2 : I was hoping for Weight-p and Weight-b to be available... (Successor to B-adapt, I didn't expect b-adapt to be removed...) Same with Trellis quantization too.
Edit3 : Correction! After reading latest Intel Media SDK --> it turns out i_adapt and b_adapt are ignored if 'scenecut' (known as SceneChange) is specified. I wonder when Intel made such changes. SDK doesnt mention why Trellis quantization is missing though. Trellis can only be enabled in TU1. It is disabled in TU2 - TU7. Most of Intel SDK only mention H264 Trellis, no mention on HEVC Trellis.
Thanks a lot! I noticed that Weight P and weight b do have checkboxes available in the motion search section.
I'll give it a try as soon as I can. Having some other issues with Staxrip where I can't load a file using Automatic AviSynth+ because it's reporting my Visual C++ 2015 is not updated, but the update link doesn't work. Downloaded it manually but Staxrip is not recognizing it. I need to sort that out first and then I'll test it.
Thanks again.
JohnLai
22nd September 2016, 07:42
Thanks a lot! I noticed that Weight P and weight b do have checkboxes available in the motion search section.
I'll give it a try as soon as I can. Having some other issues with Staxrip where I can't load a file using Automatic AviSynth+ because it's reporting my Visual C++ 2015 is not updated, but the update link doesn't work. Download it manually but Staxrip is not recognizing it. I need to sort that our first and then I'll test it.
Thanks again.
Even if you check those boxes, it will not function.
As for VC++ 2015 Runtime....is this the one you downloaded?
https://www.microsoft.com/en-us/download/details.aspx?id=48145
The official link above should work.
If I am not mistaken, staxrip needs vc++ 2015 runtime minimum version of 14.0.24210.
EDIT: -.-....read this for solution instead https://github.com/stax76/StaxRip/issues/104
Don't forget to set Source Filter to FFVideoSource too.
JohnLai
22nd September 2016, 18:35
Oh wow.....rigaya-san just released Nvencc 3.00....this is going to take a while to test all of those options;
One of the most interesting feature
・さまざまなリサイズアルゴリズムを追加。(--vpp-resize)
リサイズアルゴリズムを選択。
--vpp-resize <string>
標準で使用可能なもの
default 自動的に適切なものを選択
bilinear 線形補間
spline36 6x6 Spline補間
nppi64_80.dll導入で追加されるもの(x64のみ)
nn 最近傍点選択
npp_linear nppの線形補間
cubic 4x4 3次補間
cubic_bspline 4x4 3次補間 (B=1, C=0)
cubic_catmull 4x4 3次補間 (B=0, C=1/2)
cubic_b05c03 4x4 3次補間 (B=1/2, C=3/10)
super nppのsuper sampling(詳細不明)
lanczons Lanczos法 (参照点数不明)
I think the resize algorithm speaks for itself (no need translation) d^.^
*Note: Need to download NPP package separately.
Other than that.....noise filter and gaussian filter?
More on rigaya-san website
http://rigaya34589.blog135.fc2.com/blog-entry-832.html
Edit: From Rigaya-san email ;
--vpp-resize <string>
[CUDA resizer]
bilinear, spline36
[npp resizer]
nn, npp_linear, cubic, cubic_bspline, cubic_catmull, cubic_b05c03,super, lanczos
When using npp library, it is necessary to use x64 version since npp library is only supported on x64.
Also, please download npp64_80_dll.zip and put the dlls to the directory which NVEncC64.exe exists.
NikosD
22nd September 2016, 18:39
Vpp resize is been supported by QSVEncC for Intel GPUs years before.
What's new ?
JohnLai
22nd September 2016, 19:00
Vpp resize is been supported by QSVEncC for Intel GPUs years before.
What's new ?
AMD APU and FX-series buyers can finally make use of full hardware better resizers with their dedicated Nvidia GPU? After all, they don't have Intel IGPU..... :p
Okay, jokes aside :D ...the problem with QSVEncC --> It is limited to single algorithm, if I not recall wrongly, something about 8taps polyphase scaling filter with adaptive filter ringing suppression.
In nvidia case, there are several resizing algorithms can be chosen through NPP library https://developer.nvidia.com/npp , although ringing might still be an issue. It all about choices, really. Oh...and it is quite fast too.
EDIT: (some grammer correction)
Okay...initial testing....
In QSVencc case, the VPP is done in decode stage. Which means if one want to use QSV VPP Resize, one must use QSVENC hardware decoder. But what if the video format (let say 10bit H264) is incompatible with QSVEncc hardware decoder? In such case, there is no way to make use of QSV hardware based VPP filter.
Now, latest NVENCC is different. One can use ffmpeg+avisynth for software decoding, then send it to GPU resizing (labeled as copyHostToDevice), straight away send to NVENC chip for encoding.
IbrahimKh
23rd September 2016, 08:12
does anybody know what Staxrip filter I can use to make my video from like this http://i.imgbox.com/Cn5VWYEw.png to this http://i.imgbox.com/oxaKOa4F.png?
Leo 69
23rd September 2016, 08:31
does anybody know what Staxrip filter I can use to make my video from like this http://i.imgbox.com/Cn5VWYEw.png to this http://i.imgbox.com/oxaKOa4F.png?
LSFMod
Yups
23rd September 2016, 15:26
-.-???What the hell?
Few months ago, supported features were :
http://rigaya34589.blog135.fc2.com/blog-entry-672.html
Take a look on rigaya website detailing his skylake IGPU feature support and compare it with yours.
Why in the world the latest driver disable Trellis, B-adapt and I-adapt? Even Ext_BRC got disabled.
These features never worked for H265.
HEVC TU1 is dead slow, not recommended. There is too much shader work required which will cause a huge slowdown on a GT2.
JohnLai
23rd September 2016, 18:35
These features never worked for H265.
HEVC TU1 is dead slow, not recommended. There is too much shader work required which will cause a huge slowdown on a GT2.
Agree, TU1 perform more unknown works than TU2-TU7. Not sure where the slowdown comes from. It is very unlikely enabling additional 32x32 Prediction Unit sizes for HEVC encoding can cause that much slow down. Intel media sdk doesn't exactly describe what each TU specifically do.
Then again....among big 3 hardware encoders, only Intel HEVC reference frame option actually works.
IbrahimKh
25th September 2016, 06:57
LSFMod
thanks
I discovered it and having problem implementing to staxrip (considering I'm really new on video conversion)
I put Lsfmod line to filter profiles like this
http://s21.postimg.org/44670fd1z/screenshot_44.png
But I'm not sure what should I do with plugin (where can I download and put it on staxrip folder)
http://s21.postimg.org/cay6s034n/screenshot_45.png
A little help will be appreciated
AMED
27th September 2016, 08:08
Just wondering if anyone has seen a memory leak in Staxrip?
http://s21.postimg.org/5whg2rqjb/Staxrip.png
I saw this after doing 2 days straight of encoding.
StaxRip x64 : 1.3.8.7
OS : Windows Server 2012 R2 Standard
Language : English (New Zealand)
CPU : Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
GPU : Microsoft Basic Display Adapter
I'm encoding with Vapoursynth R33.1 and resizing with spline36 and denoising with mvdegrain.
Magik Mark
28th September 2016, 00:59
Stax,
A new milestone has been released for x265
rayman3003
1st October 2016, 08:27
Hi to all
I want to rip some VCD videos (MPEG1)[AVSEQ01.DAT] with Staxrip to x264 (MKV)[AviSynth+] But the problem is that after convert, It has no sound!
Staxrip shows 0 bitrate for Audio and I don't know how to change the settings to bring back the audio for converted files.
Could somebody help me here? :rolleyes:
Here is a short sample of MPEG1 videos that I want to rip:
http://uptobox.com/1n4eclqeo2dp
Leo 69
1st October 2016, 09:18
Hi to all
I want to rip some VCD videos (MPEG1)[AVSEQ01.DAT] with Staxrip to x264 (MKV)[AviSynth+] But the problem is that after convert, It has no sound!
Staxrip shows 0 bitrate for Audio and I don't know how to change the settings to bring back the audio for converted files.
Could somebody help me here? :rolleyes:
Here is a short sample of MPEG1 videos that I want to rip:
http://uptobox.com/1n4eclqeo2dp
Hi,
Change the extension of the file from .dat to .mpg. This will help.
rayman3003
1st October 2016, 09:55
Hi,
Change the extension of the file from .dat to .mpg. This will help.
Thank u very much. It worked. :p
lordalibaski
4th October 2016, 02:47
Explain this
I tried to convert this file.
Format : MPEG-PS
File size : 1.13 GiB
Duration : 6mn 12s
Overall bit rate mode : Variable
Overall bit rate : 26.2 Mbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : Variable
Format settings, picture struc : Frame
Duration : 6mn 12s
Bit rate mode : Variable
Bit rate : 25.2 Mbps
Maximum bit rate : 8 700 Kbps
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) : 2.432
Time code of first frame : 00:59:59:00
Time code source : Group of pictures header
GOP, Open/Closed : Closed
Stream size : 1.09 GiB (96%)
Audio #1
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Muxing mode : DVD-Video
Duration : 6mn 12s
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 9.93 MiB (1%)
Audio #2
ID : 189 (0xBD)-129 (0x81)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Muxing mode : DVD-Video
Duration : 6mn 12s
Bit rate mode : Constant
Bit rate : 224 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 9.93 MiB (1%)
Text #1
ID : 189 (0xBD)-32 (0x20)
Format : RLE
Format/Info : Run-length encoding
Muxing mode : DVD-Video
Text #2
ID : 189 (0xBD)-33 (0x21)
Format : RLE
Format/Info : Run-length encoding
Muxing mode : DVD-Video
Menu
With these settings
Complete name : D:\Beef Bonus DVD-01-.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 79.4 MiB
Duration : 6mn 11s
Overall bit rate : 1 791 Kbps
Encoded date : UTC 2016-10-04 01:39:33
Writing application : mkvmerge v9.3.1 ('Mask Machine') 64bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5
DURATION : 00:06:11.954000000
NUMBER_OF_FRAMES : 32065
NUMBER_OF_BYTES : 83006528
_STATISTICS_WRITING_APP : mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_DATE_UTC : 2016-10-04 01:39:33
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 6mn 11s
Bit rate : 1 755 Kbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Original display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 86.207 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.049
Stream size : 77.8 MiB (98%)
Writing library : x265 2.0+5-98a948623fdc:[Windows][GCC 5.4.0][64 bit] 8bit+10bit+12bit
Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rskip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=25 / scenecut=40 / rc-lookahead=20 / lookahead-slices=0 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=3 / no-limit-modes / weightp / no-weightb / aq-mode=1 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=2.00 / rdoq-level=0 / psy-rdoq=0.00 / no-rd-refine / signhide / deblock=0:0 / sao / no-sao-non-deblock / b-pyramid / cutree / no-intra-refresh / rc=crf / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ipratio=1.40 / pbratio=1.30
Default : Yes
Forced : No
It came out like this
https://www.sendspace.com/file/07p8mk
brucethemoose
7th October 2016, 04:28
Anyone else experiencing a memory leak in the last StaxRip test? (1.3.8.7)
I caught it using 14GB of memory by itself... when it wasn't even encoding anything:
https://github.com/stax76/StaxRip/issues/111
AMED
7th October 2016, 06:24
Anyone else experiencing a memory leak in the last StaxRip test? (1.3.8.7)
I caught it using 14GB of memory by itself... when it wasn't even encoding anything:
https://github.com/stax76/StaxRip/issues/111
Just wondering if anyone has seen a memory leak in Staxrip?
http://s21.postimg.org/5whg2rqjb/Staxrip.png
I saw this after doing 2 days straight of encoding.
StaxRip x64 : 1.3.8.7
OS : Windows Server 2012 R2 Standard
Language : English (New Zealand)
CPU : Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
GPU : Microsoft Basic Display Adapter
I'm encoding with Vapoursynth R33.1 and resizing with spline36 and denoising with mvdegrain.Yup i'm seeing on both my machines. The dual quad core CPUs running Server 2012R2 leaks worse than my quad core I7 running windows 10.
Windows 10 machine has been encoding for 3 days and memory usage is 2559 MB
Server 2012R2 machine has been encoding for 1 1/2 days and memory usage is 1572.6 MB.
Leo 69
7th October 2016, 06:52
I haven't got any leaks.. Encoding the movie for 3 days already with x265 and Staxrip.exe usage is 265.5 Mb.
Quad-core i5 on Windows 10 Pro.
AMED
7th October 2016, 08:56
Is that 1 encode job for 3 days or multiple encode jobs?
burfadel
7th October 2016, 09:15
Is that 1 encode job for 3 days or multiple encode jobs?
Surely it wouldn't be a single movie. If it were a 2 hour movie and took 72 hours (3 days) to complete, the speed of compression is 1/36 real time. If the movie is at 23.976 fps, that means an encode rate of 0.666 fps. Devilishly slow :devil: :D
AMED
7th October 2016, 09:41
With x265 isn't 0.66FPS quite normal :p
Leo 69
7th October 2016, 10:12
Is that 1 encode job for 3 days or multiple encode jobs?
One 10-bit encode job of a 1980x1020 movie. Encoding at heavy settings:
ME / range / subpel / merge : star / 57 / 7 / 5
References / ref-limit cu / depth : 5 / off / off
Also rect, rd=5, rdoq=2, etc.
Currently showing 0.48FPS with ~83 hours remaining :D
stax76
7th October 2016, 10:26
Hi Together,
I'm still breaking, trying to learn dancing and flying, trying to learn to read and write real and differ rent code and mails, Big ups to the doom9 and video community helping to evolve our tools and the things we love.
See You
JohnLai
7th October 2016, 16:03
Hi Together,
I'm still breaking, trying to learn dancing and flying, trying to learn to read and write real and differ rent code and mails, Big ups to the doom9 and video community helping to evolve our tools and the things we love.
See You
Welcome home ~
:D
brucethemoose
7th October 2016, 23:53
I haven't got any leaks.. Encoding the movie for 3 days already with x265 and Staxrip.exe usage is 265.5 Mb.
Quad-core i5 on Windows 10 Pro.
I got it while previewing frames, not encoding.
Surely it wouldn't be a single movie. If it were a 2 hour movie and took 72 hours (3 days) to complete, the speed of compression is 1/36 real time. If the movie is at 23.976 fps, that means an encode rate of 0.666 fps. Devilishly slow :devil: :D
I'm at ~2FPS on a good machine with some heavy filters I'm using :P
ismail0100
8th October 2016, 21:45
Anyone can u teech me dvd5 to upscale 720p without lose quality :)
IbrahimKh
9th October 2016, 00:19
Anyone can u teech me dvd5 to upscale 720p without lose quality :)
You can't
------
@Staxrip please add LSFMod as default filter on next release :thanks:
AMED
11th October 2016, 01:02
Yup i'm seeing on both my machines. The dual quad core CPUs running Server 2012R2 leaks worse than my quad core I7 running windows 10.
Windows 10 machine has been encoding for 3 days and memory usage is 2559 MB
Server 2012R2 machine has been encoding for 1 1/2 days and memory usage is 1572.6 MB.
I've found the cause for this, it turns out Vapoursynth 33.1 was the issue. I have updated to R34 RC1 (http://forum.doom9.org/showthread.php?p=1781901#post1781901) and my Staxrip memory usage for 5 hours encoding is 217MB (normally it would be in the GBs by now).
MikeTR
11th October 2016, 07:20
Searching for an 'as much as possible' portable version of Staxrip, I came across the option of making VapourSynth & Python portable by simply merging (http://www.vapoursynth.com/doc/installation.html#windows-portable-instructions) the portable version of VapourSynth into the embeddable Python folder. It seems to me that way both programs could even be distributed in the Staxrip package. Is there a way to make these portable versions work with Staxrip?
The possibility has already been brought up a few months back, but AFAIK there has been no follow up since (https://github.com/stax76/staxrip/issues/41). Is there anyting I might have missed, like a technical reason this might not work?
JohnLai
11th October 2016, 13:02
stax76, why does the VBR bitrate (Nvidia H265) change after I drag and drop a video into the GUI?
Example, I saved bitrate 3000 at the GUI. after I drag and drop a video, the bitrate become 10996 automatically. Any idea why this is happening?
spon
13th October 2016, 16:55
JohnLai - you helped we with some QSVEncC settings in this post - http://forum.doom9.org/showthread.php?p=1781256#post1781256 - and they have been very helpful. Is there a way to limit file size or bitrate? In some cases the resulting files are larger than I would like and increasing the ICQ doesn't seem to help much. I've tried to use CBR, but StaxRip seems to be hardcoded to run at CBR 1087, which is lower than I would like. Using VBR, I don't see anyway to set a minimum bitrate, just maximum.
Thanks again for any help you can provide.
JohnLai
13th October 2016, 18:52
JohnLai - you helped we with some QSVEncC settings in this post - http://forum.doom9.org/showthread.php?p=1781256#post1781256 - and they have been very helpful. Is there a way to limit file size or bitrate? In some cases the resulting files are larger than I would like and increasing the ICQ doesn't seem to help much. I've tried to use CBR, but StaxRip seems to be hardcoded to run at CBR 1087, which is lower than I would like. Using VBR, I don't see anyway to set a minimum bitrate, just maximum.
Thanks again for any help you can provide.
Hmm............aside from your CBR issue.....
For H264....we can use --qp-min option with value such as 18:21:23
However..... --qp-min doesn't work for HEVC.
So, I kinda outta idea here too.
EDIT: DELETED (Just noticed QVBR-Q doesn't work for QSV HEVC)
Yups
14th October 2016, 12:10
JohnLai - you helped we with some QSVEncC settings in this post - http://forum.doom9.org/showthread.php?p=1781256#post1781256 - and they have been very helpful. Is there a way to limit file size or bitrate? In some cases the resulting files are larger than I would like and increasing the ICQ doesn't seem to help much. I've tried to use CBR, but StaxRip seems to be hardcoded to run at CBR 1087, which is lower than I would like. Using VBR, I don't see anyway to set a minimum bitrate, just maximum.
Thanks again for any help you can provide.
CBR should work, it isn't hardcoded. For me no issue.
spon
16th October 2016, 18:22
CBR should work, it isn't hardcoded. For me no issue.
Hi Yups. That's interesting. I downloaded the latest Staxrip & QSVEncC and installed it on a completely different machine and still see a fixed CBR rate. As soon as I select CBR, it defaults to --CBR 1087 with no option in the UI to change it.
Is anyone else using Intel H265 hardware encoding?
Thanks
JohnLai
17th October 2016, 03:46
Hi Yups. That's interesting. I downloaded the latest Staxrip & QSVEncC and installed it on a completely different machine and still see a fixed CBR rate. As soon as I select CBR, it defaults to --CBR 1087 with no option in the UI to change it.
Is anyone else using Intel H265 hardware encoding?
Thanks
http://i.imgur.com/5OJw5Lz.jpg
spon
18th October 2016, 04:18
[url]
Thanks John! Not sure how I missed that.
stax76
21st October 2016, 17:07
I updated some apps old to the new, I hope it works nice & smooth ;)
https://github.com/stax76/staxrip/blob/master/md/test-build.md
more to follow shortly!
fredlkrue
21st October 2016, 17:10
Thanks stax76, and welcome back :)
Magik Mark
22nd October 2016, 00:54
Stax,
I'm getting this error:
This site can’t be reached
The webpage at http://download.microsoft.com/download/4/2/F/42FF78CE-8DE0-4C88-AD7A-5F8DFFB49F74/vc_redist.x64.exe might be temporarily down or it may have moved permanently to a new web address.
Which version do you require?
stax76
22nd October 2016, 01:14
Stax,
I'm getting this error:
This site can’t be reached
The webpage at http://download.microsoft.com/download/4/2/F/42FF78CE-8DE0-4C88-AD7A-5F8DFFB49F74/vc_redist.x64.exe might be temporarily down or it may have moved permanently to a new web address.
Mark, I've updated it to what the VapourSynth installer is using:
http://download.microsoft.com/download/6/A/A/6AA4EDFF-645B-48C5-81CC-ED5963AEAD48/vc_redist.x64.exe
https://github.com/vapoursynth/vapoursynth/blob/master/installer/scripts/products/vcredist2015.iss#L16
The VapourSynth installer is well done since it downloads the runtimes if necessary, very good job.
Magik Mark
22nd October 2016, 01:40
Thanks you. That worked!
JohnLai
22nd October 2016, 13:00
I updated some apps old to the new, I hope it works nice & smooth ;)
https://github.com/stax76/staxrip/blob/master/md/test-build.md
more to follow shortly!
So...how about some minor issue?
http://forum.doom9.org/showthread.php?p=1782654#post1782654
http://forum.doom9.org/showthread.php?p=1780022#post1780022
:D
stax76
23rd October 2016, 09:47
stax76, why does the VBR bitrate (Nvidia H265) change after I drag and drop a video into the GUI?
Example, I saved bitrate 3000 at the GUI. after I drag and drop a video, the bitrate become 10996 automatically. Any idea why this is happening?
John, it's by design, the video bitrate is calculated with the output size and output length, the output length changes when you open a source file and thus the video bitrate changes. There is a option (Options > Misc > Use fixed bitrate) where you can define a fixed bitrate, next build will change this option using a boolean/checkbox instead of an integer/number, took me a while to implement.
@stax76, apparently, qsv --vpp-sub will cause error
Are you sure it's a staxrip instead of a qsv problem?
JohnLai
23rd October 2016, 12:56
John, it's by design, the video bitrate is calculated with the output size and output length, the output length changes when you open a source file and thus the video bitrate changes. There is a option (Options > Misc > Use fixed bitrate) where you can define a fixed bitrate, next build will change this option using a boolean/checkbox instead of an integer/number, took me a while to implement.
Are you sure it's a staxrip instead of a qsv problem?
Eh? Never notice the 'Use fixed bitrate' at options there. :thanks:
EDIT: Maybe I should ask Rigaya about the --vpp-sub first.....
stax76
23rd October 2016, 13:19
-vpp-sub option directly using QSvencc at windows command prompt seem to work.
It doesn't work through staxrip.
neither works here:
https://s9.postimg.org/3txg5ton3/Unbenannt.png
what codepage is your console?
JohnLai
23rd October 2016, 13:45
neither works here:
what codepage is your console?
Same codepage, strange, it worked before, maybe there is something wrong with rigaya latest code. I will inform him.
Yanak
23rd October 2016, 20:24
Hello Stax, good to see you around again,
I'm wondering if there is a possibility while in preview or in video comparison mode to set up the mouse scroll button up & down inverted compared to now.Right now when you scroll down you go backward in the video, and forward when scrolling up.
It's more intuitive and easier to use with scrolling down going forward and scrolling up to go backward, at least for me it is, but i could not find a way to change this in your program.
Can you please add an option for this inverted use of the mouse scroll in the overall settings or let us set the keybinds for those controls too maybe ?
Tanks in advance
stax76
24th October 2016, 05:58
Hello Stax, good to see you around again,
I'm wondering if there is a possibility while in preview or in video comparison mode to set up the mouse scroll button up & down inverted compared to now.Right now when you scroll down you go backward in the video, and forward when scrolling up.
It's more intuitive and easier to use with scrolling down going forward and scrolling up to go backward, at least for me it is, but i could not find a way to change this in your program.
Can you please add an option for this inverted use of the mouse scroll in the overall settings or let us set the keybinds for those controls too maybe ?
Tanks in advance
Hello Yanak, the preview has a menu to customize the keybinds, next build will have a new setting:
Tools > Settings > General > Reverse mouse wheel video seek direction
burfadel
24th October 2016, 07:43
A few other apps need updating as well.
QAAC is now at v2.61
MKVToolNix is at v9.5.0
Avs2pipmod is at v1.1.1 (you have the older v1.0.1)
Mediainfo is at v0.7.89
L-SMASH-works is available in r911
YADIFMOD2 is at 0.0.4-1
KNLMeansCL is at v0.7.7
NNEDI3 is at 0.9.4.31
Maybe some others I've missed :).
Yanak
24th October 2016, 09:23
Hello Yanak, the preview has a menu to customize the keybinds, next build will have a new setting:
Tools > Settings > General > Reverse mouse wheel video seek direction
Fantastic Stax,
this may seems like a little detail but it will change a lot to me, thank you a lot for this.
About the settings directly in the preview mode window: i tried to change the forward and backward 100 frames keybind in it, the input field does not accept mouse wheel input on it, i think it's normal, but also tried to enter manually many commands i found by pasting them like WheelDown MouseWheelDown and few others and it never accepted them, always reverting to previous stored keybind, maybe i got the command wrong for this program used language tho
Have a nice day and thanks again for all Stax
Alexander
24th October 2016, 11:28
A few other apps need updating as well.
QAAC is now at v2.61
MKVToolNix is at v9.5.0
Avs2pipmod is at v1.1.1 (you have the older v1.0.1)
Mediainfo is at v0.7.89
L-SMASH-works is available in r911
YADIFMOD2 is at 0.0.4-1
KNLMeansCL is at v0.7.7
NNEDI3 is at 0.9.4.31
Maybe some others I've missed :).
There are still missing
x264 2721 http://komisar.gin.by
ffmpeg 3.1.5
RazorBurn
24th October 2016, 11:57
How to encode a VFR MP4/MKV file while preserving its VFR.. Encoding my video with the defaults settings results with an out-of-sync Audio/Video output..
General
Unique ID : 230682140556317834722106189408074053673 (0xAD8BC3A37B329D64B92E7BA8D571B829)
Complete name : C:\TEMP\Hell Girl.mkv
Format : Matroska
Format version : Version 2
File size : 339 MiB
Duration : 24mn 59s
Overall bit rate : 1 898 Kbps
Encoded date : UTC 2011-12-30 08:24:41
Writing application : mkvmerge v4.0.0 ('The Stars were mine') built on Jun 6 2010 16:18:42
Writing library : libebml v1.0.0 + libmatroska v1.0.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3
Format settings, CABAC : Yes
Format settings, ReFrames : 6 frames
Codec ID : V_MPEG4/ISO/AVC
Bit rate : 1 221 Kbps
Nominal bit rate : 1 556 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Original display aspect ratio : 3:2
Frame rate mode : Variable
Original frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.150
Writing library : x264 core 116 r2074 2641b9e
Encoding settings : cabac=1 / ref=6 / deblock=1:1:1 / analyse=0x3:0x133 / me=tesa / subme=8 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=2 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=1556 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:0.60
Default : Yes
Forced : No
mcjordan
24th October 2016, 16:01
and more potential updates:
AVSMeter 2.4.3
MP4Box 0.6.2 r1031
NVEncC 3.01 (recompiled by rigaya / CUDA 8 SDK; many new options)
mvtools2 2.71.22
nnedi3 v10 (vapoursynth)...
stax76
25th October 2016, 10:09
Fantastic Stax,
this may seems like a little detail but it will change a lot to me, thank you a lot for this.
About the settings directly in the preview mode window: i tried to change the forward and backward 100 frames keybind in it, the input field does not accept mouse wheel input on it, i think it's normal, but also tried to enter manually many commands i found by pasting them like WheelDown MouseWheelDown and few others and it never accepted them, always reverting to previous stored keybind, maybe i got the command wrong for this program used language tho
Have a nice day and thanks again for all Stax
You are welcome!
I thought you wanted to customize keyboard shortcuts, the dialog is strictly for mouse input. :)
How to encode a VFR MP4/MKV file while preserving its VFR.. Encoding my video with the defaults settings results with an out-of-sync Audio/Video output..
I'm sorry but I have little experience with VFR, I know it only from Japanese Anime productions. The only anime series I ever watches is Captain Future loooooong time ago, the German soundtrack was brilliant! It's probably one of the reasons I came to love black music from labels such as stax records...
For the German version, a completely new soundtrack was created by German composer Christian Bruhn. To this day, the soundtrack is considered cult for giving the series the right feeling, and not only the theme song is still used as background music in many magazines and other shows.
stax76
25th October 2016, 11:24
Thanks for all the update suggestions everybody!
1.3.8.9 unstable test build:
LSFmod 1.9
havsfunc 23
aWarpSharp2 2016-06-24
VCEEncC 2.0
nnedi3 (avs) 0.9.4.31
VC++ Runtime 2015
AviSynth+ 2290
x265 2.1+25
ffms2 2.23
QSVEncC 2.57
NVEncC 3.01
MKVToolNix 9.5.0
qaac 2.61
avs2pipemod 1.1.1
VapourSynth 34
MediaInfo 0.7.89
L-Smash-Works (avs/vs) 911
yadifmod2 (avs) 0.0.4-1
KNLMeansCL (avs/vs) 0.7.7
nnedi3 (vs) 10
x264 2721
ffmpeg 3.1.5
mvtools2 (avs) 2.7.1.22
MP4Box 0.6.2 current snapshot
https://github.com/stax76/staxrip/blob/master/md/test-build.md
JohnLai
25th October 2016, 12:26
Haha....I found out why QSVEncC vpp-sub doesn't work.
avqsv/avsw: found video stream, stream idx 0
avqsv/avsw: can be decoded by qsv.
avqsv: initialized h264_mp4toannexb filter.
avqsv: start predecode.
avqsv: fps decoder invalid: false
[Deleted]
avqsv: read 128 packets.
avqsv: checking 111 frame samples.
avqsv: stream timebase 1001/30000
avqsv: decoder fps 30000/1001
avqsv: duration histgram of 2 frames
avqsv: 33 [ 70 frames]
avqsv: 34 [ 41 frames]
avqsv: read 256 packets.
avqsv: checking 239 frame samples.
avqsv: stream timebase 1001/30000
avqsv: decoder fps 30000/1001
avqsv: duration histgram of 2 frames
avqsv: 33 [151 frames]
avqsv: 34 [ 88 frames]
avqsv: fps mul: 1001
avqsv: raw avgDuration: 33.368201
avqsv: estimatedAvgFps: 29999/1001
avqsv: use decoder fps...
avqsv: final AvgFps (raw64): 29999/1001
avqsv: final AvgFps (gcd): 30000/1001
avqsv: final AvgFps (round): 30000/1001
avqsv: avqsv video: H.264/AVC, 1072x712, 30000/1001 fps, sar 15737:12996, bitdepth 8, shift 0
Input: reader initialization successful.
d3d11 mode required on this system, but vpp-sub does not support d3d11 mode.
Closing pipeline...
Closing enc status...
Closing m_EncThread...
Closing Plugins...
Closing m_pmfxDEC/ENC/VPP...
Closing TaskPool...
Closing mfxSession...
DeleteFrames...
DeleteAllocator...
Closing audio readers (if used)...
Closing writer...
Closing reader...
avqsv: Closing...
avqsv: Cleared Stream Packet Buffer.
[AVIOContext @ 00000275b40380c0] Statistics: 3589720 bytes read, 2 seeks
avqsv: Closed avformat context.
avqsv: Closed video.
avqsv: Closed.
avqsv: Closing...
avqsv: Cleared Stream Packet Buffer.
avqsv: Closed video.
avqsv: Closed.
avqsv: Closing...
avqsv: Close...
Closing perf monitor...
Closed pipeline.
QSVEncC.exe finished with error!
It turned out if one is using 'headless' IGPU mode with dedicated GPU on windows 8/8.1 and 10, vpp-sub will not work because headless mode require dx11 surface copying.
stax76
25th October 2016, 12:29
It turned out if one is using 'headless' IGPU mode with dedicated GPU on windows 8/8.1 and 10, vpp-sub will not work because headless mode require dx11 surface copying.
Good find but what is 'headless' IGPU mode?
JohnLai
25th October 2016, 12:31
What is 'headless' IGPU mode?
The IGPU is active, but not connected to display/monitor.
That is 'headless' mode.
EDIT: I already informed rigaya about it.
Yanak
25th October 2016, 12:52
You are welcome!
I thought you wanted to customize keyboard shortcuts, the dialog is strictly for mouse input. :)
I had customized many of the keybinds settings in preview mode already :)
The dialog box to invert mouse wheel behavior will be perfect for the job.
Will test new build in few hours once at home, thank again.
TalasNetrag
25th October 2016, 19:06
How to encode a VFR MP4/MKV file while preserving its VFR.. Encoding my video with the defaults settings results with an out-of-sync Audio/Video output..
If its a MKV you can extract the timecodes from the video with mkvextract and merge it back into the encoded video. StaxRip cant do that.
stax76
25th October 2016, 20:29
If its a MKV you can extract the timecodes from the video with mkvextract and merge it back into the encoded video. StaxRip cant do that.
I created a feature request on the tracker:
https://github.com/stax76/staxrip/issues/118
mcjordan
25th October 2016, 21:32
...and little more updates for Vapoursynth:
finesharp (vs) 2016.08.21
havsfunc (vs) r24 - 2016.08.29
mvtools (vs) v17 - 2016.10.23
chummy
26th October 2016, 03:41
Getting VCE error in 1.3.7, 1.3.8 and 1.3.8.9 too. QSVencC just work fine. VCEencc 2.00 works fine at Rigaya own CLI. That a bit strange because if dont remember wrong VCEencc used to work at 1.3.7.0 in past for me.
Just tried 1.3.6 and there VCEencc 1.03v2 is working fine.
Error Encoding using VCEEncC 2.0 x64
Encoding using VCEEncC 2.0 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Função incorreta.
'--cqp' nÆo ‚ reconhecido como um comando interno
ou externo, um programa oper*vel ou um arquivo em lotes.
StaxRip.ErrorAbortException: Encoding using VCEEncC 2.0 x64 failed with exit code: 1 (0x1)
em StaxRip.Proc.Start() na D:\Projekte\VS\VB\StaxRip\General\Proc.vb:linha 240
em StaxRip.AMDEncoder.Encode() na D:\Projekte\VS\VB\StaxRip\Encoding\AMDEncoder.vb:linha 76
em StaxRip.MainForm.Encode() na D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:linha 2225
em StaxRip.MainForm.RunJobRecursive() na D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:linha 3472
stax76
26th October 2016, 07:40
...and little more updates for Vapoursynth:
finesharp (vs) 2016.08.21
havsfunc (vs) r24 - 2016.08.29
mvtools (vs) v17 - 2016.10.23
:thanks:
Getting VCE error in 1.3.7, 1.3.8 and 1.3.8.9 too. QSVencC just work fine. VCEencc 2.00 works fine at Rigaya own CLI. That a bit strange because if dont remember wrong VCEencc used to work at 1.3.7.0 in past for me.
Just tried 1.3.6 and there VCEencc 1.03v2 is working fine.
Does it work in your console? You can copy the command line from the log file.
RazorBurn
26th October 2016, 09:39
If its a MKV you can extract the timecodes from the video with mkvextract and merge it back into the encoded video. StaxRip cant do that.
Source is MKV.. I did this
clip = core.ffms2.Source(r"%source_file%", cachefile = r"%temp_file%.ffindex", timecodes = r"%temp_file%.tc" )
http://i.imgur.com/igTYV0D.png
But got this error
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Error Muxing using mkvmerge 9.5.0 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Muxing using mkvmerge 9.5.0 x64 failed with exit code: 2 (0x2)
The exit code might be a system error code: STATUS_WAIT_2
The exit code might be a system error code: The system cannot find the file specified.
mkvmerge v9.5.0 ('Quiet Fire') 64bit
Error: Invalid track ID specified in '--timecodes C:\TEMP\StaxRip Temp\Hell Girl_temp\Hell Girl.tc'.
sneaker_ger
26th October 2016, 09:56
Timecodes are per track so they need a trackID, e.g. --timecodes "0:%temp_file%.tc". But the command order in mkvmerge is also important so you might run into an error again. (I don't know where StaxRip puts them.).
TalasNetrag
26th October 2016, 13:17
You can try it manually by installing MKVtoolNix and gMKVExtractGUI.
1. With gMKVExtractGUI extract the timecodes from the source-video stream.
2. Open the encoded file with MKVToolNix GUI and select the video-steam. In the properties on the right side add the timecodes-file for the video stream.
Yanak
26th October 2016, 15:06
Hello Stax,
The setting for inverted wheel works perfectly in both preview and video comparison mode, very happy about this one, thanks man.
I reported and done again manually all my settings from the main build to the last one ( don't know if there is a safe way to export settings ) and found a strange behavior. I use a custom mp4 container adding a cover picture on a mp4, I take a capture in preview mode and use it as cover art on my mp4 :
%app:MP4Box% -itags cover="%working_dir%%source_name%.jpg" -nodrop -add "%encoder_out_file%#video" -add "%audio_file1%" -new "%target_file%"
But now look at this, when i go to the edit profiles menu of this container it adds the file extension of the container selected :
https://s14.postimg.org/mv3h9ndi9/214783_Video2000161026143755.gif
Then when selecting another container it adds his extension too, then the third one selected will copy previous containers an copy twice, next change will copy the 4 extensions and this is growing up each time you select another container in the list.
This does not happen in the main build, i have no clue what is causing this for now.
Edit : The following is reported and fixed now : http://forum.doom9.org/showthread.php?p=1783921#post1783921
Found another issue but seems related to this avisynth version not to the program itself :
I have a custom filter for adding a logo on my videos, used this since years with avisynth with no issues but now it seems to act differently with the avisynth version included in the test build, same stuff happen in avspmod :
https://s14.postimg.org/ilyr7hpoh/67068420161026153618cr.jpg
If i leave the "ConvertToYV12()" before the rest it ends up in a messed up result with the avisynth version included in the program, with avisynth included in the main staxrip version the result is correct, like it have always been.
Don't know what changed in this avisynth version, will have to go ask in avisynth thread for this one i guess.
Thanks a lot
Edit : seems like spoilers codes don't work here ;/ , sorry for the big post guys.
Yanak
26th October 2016, 19:44
Avisynth Plus r2294-MT released to fix the bug i was speaking above
link : http://forum.doom9.org/showthread.php?p=1783921#post1783921
Thanks .
chummy
27th October 2016, 06:03
Does it work in your console? You can copy the command line from the log file.
Yes in console goes without problem.
F:\Apps\StaxRip 1.3.8.9>"F:\Apps\StaxRip 1.3.8.9\Apps\VCEEncC\VCEEncC64.exe" --cqp 22:24:27 -i "D:\Downloads\Source (1080p)_new_temp\Source (1080p)_new_new.avs"
-o "D:\Downloads\Source (1080p)_new_temp\Source (1080p)_new_new_out.h264"
VCEEnc 2.00 (x64) / Windows 10 (x64)
CPU: Intel Core i7-4770K @ 3.50GHz [TB: 4.10GHz] (4C/8T)
GPU: AMD Radeon R9 390 [Hawaii 1040MHz (2117.13 (VM))]
Input Info: Avisynth 2.60 yv12->nv12[AVX2], 1920x1036p, 24000/1001 fps
Output: H.264/AVC High @ Level 4.1
1920x1036p 23.976fps (24000/1001fps)
Quality: balanced
CQP: I:22, P:24
VBV Bufsize: 20000 kbps
Bframes: 0 frames, b-pyramid: off
Motion Est: Q-pel
Slices: 1
GOP Len: 240 frames
Others: deblock hrd
encoded 1280 frames, 77.76 fps, 4228.48 kbps, 26.91 MB
encode time 0:00:16, CPULoad: 8.97%
F:\Apps\StaxRip 1.3.8.9>
Command line error from log file:
Encoding using VCEEncC 2.0 x64
@echo off
--cqp 22:24:27 -i "D:\Downloads\Source (1080p)_new_temp\Source (1080p)_new_new.avs" -o "D:\Downloads\Source (1080p)_new_temp\Source (1080p)_new_new_out.h264"
cmd.exe /C call "D:\Downloads\Source (1080p)_new_temp\Source (1080p)_new_new_VCEEncC.bat"
stax76
27th October 2016, 13:20
@chummy
There was a bug causing the executable path not being added to the command line.
@Yanak
I've updated AviSynth+ and fixed the extension being added to the output path even when no source is loaded.
@RazorBurn, sneaker_ger, TalasNetrag
I can probably add timecode support, a sample source file would be helpful.
stax76
27th October 2016, 14:13
The build I've uploaded today unfortunately is broke unless you have a 4K display with 300% zoom, it will be much work to fix. :(
edit:
new test build is online, hopefully without scaling/layout issues.
Yanak
27th October 2016, 18:20
Thanks for the new build and fixes will try later at home.
Stax can i use the settings from previous StaxRip-x64-1.3.8.9-test build in this build ( i use settings stored in the program folder ), I mean can I just move the settings folder into the new build or is it risky to do it like this for potential conflicts or errors ??
Thank you.
Yanak
27th October 2016, 18:56
Well i tested like this with importing settings, little things i found directly for the scaling :
default mp4 container selected on main window > containers options :
Before
https://s14.postimg.org/wsei2mssx/43893920161027194950.png
After :
https://s14.postimg.org/nxdns4jg1/19887620161027194947.png
And this :
Before
https://s14.postimg.org/3q07zttoh/37513320161027195157.png
After :
https://s14.postimg.org/a3pb336a9/33621820161027192922.png
Will see after a bit more testing in the next days if i find more.
Thank you.
stax76
27th October 2016, 20:15
thanks for testing Yanak, the build/upload scripts runs so a new build will be online in 2 minutes.
Yanak
28th October 2016, 00:02
Thanks to you for the dedicated work you put on this.
The first issue for the chapters is fixed, sadly the second one isn't and is somehow a bit worse now, previously the window had a reduced size compared to before and no border on the right side like highlighted here :
https://s14.postimg.org/z9q99uuox/34944633621820161027192922.png
Now with the StaxRip-x64-1.3.9.3-test the window for "command line container options " is different but a part of the command is missing/ not displaying until we click and get the edit batch command window :
https://s14.postimg.org/7z4y1xzht/268440_Video20161028005118.gif
Thank you.
stax76
28th October 2016, 14:52
I hope it's better now, I've connected my old monitor as second display and used vmware to test it on Win 7 with 96 and 144 DPI.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Yanak
28th October 2016, 15:12
All good now, window is smaller for the command line compared to main build but it's perfect as it is, was too big before for just a few commands.
https://s14.postimg.org/cxsggeazl/76755820161028161125.png
Thanks a lot, will see in the next days playing with it if i find something else to report ;)
Lupissimo
28th October 2016, 21:26
When I start the latest testversion it looks like this with the bottom cut off:
https://s12.postimg.org/xvwa7li4t/Stax_Rip_x64_1_3_9_4_test.png
stax76
28th October 2016, 21:37
@Lupissimo
I need the following infos:
Windows version
zoom or DPI value
resolution
Lupissimo
29th October 2016, 05:36
Win 10 Pro Version 1511 64bit
Zoom: 100%
1920x1080
stax76
29th October 2016, 06:01
my Win 10 is build 1607, what's the StaxRip build version? 1.3.9.4 looks fine here with 100% (96 DPI) and 1920x1080
Lupissimo
29th October 2016, 06:21
The test version 1.3.9.4
stax76
29th October 2016, 07:14
The test version 1.3.9.4
I don't know anything else other then waiting if somebody else sees the same issue, sorry.
Lupissimo
29th October 2016, 08:30
Tested it on a different PC with
Win 10 Pro Version 1607
Zoom 100%
and it's OK.
The difference of the version seems to be, that I disabled on the first PC the updates for "upgrades".
stax76
29th October 2016, 09:50
What graphics adapters were in use?
Lupissimo
29th October 2016, 10:50
NVIDIA Geoforce GTX 950 ( there it fails)
NVIDIA Geoforce 9400 GT ( it's OK)
stax76
29th October 2016, 11:00
I use a GTX 1060
telarium
29th October 2016, 12:45
Same issue as Lupissimo.
980ti, 375.70
Windows 10 Pro, 1607
Scaling Mode: Aspect ratio
1920x1080, 60hz
stax76
29th October 2016, 16:02
Scaling Mode: Aspect ratio
Are you referring to a windows setting? Where do I find it?
Lupissimo
29th October 2016, 17:31
I found that it is caused by my 2nd monitor! If I switch to use only 1 monitor Staxrip is ok!
telarium
29th October 2016, 20:03
Are you referring to a windows setting? Where do I find it?
https://s16.postimg.org/ydkia2k3p/nvcp.png
I also have a multi-monitor setup. When I'm not working, I'll test it on a single monitor.
lordalibaski
29th October 2016, 22:18
What was once my favourite program to use for all my videos is now one of my worst nightmares to use.
I'm getting fed up of seeing this error
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_________ __ __________.__
/ _____// |______ ___ __\______ \__|_____
\_____ \\ __\__ \ \ \/ /| _/ \____ \
/ \| | / __ \_> < | | \ | |_> >
/_______ /|__| (____ /__/\_ \|____|_ /__| __/
\/ \/ \/ \/ |__|
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Environment
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
StaxRip x64 : 1.3.9.4
OS : Windows 10 Pro
Language : English (United Kingdom)
CPU : Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
GPU : AMD Radeon HD 6670
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Source file MediaInfo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
C:\Users\\Desktop\upload\N.W.A Legacy The Video Collection.mpeg
General
Complete name : C:\Users\\Desktop\upload\N.W.A Legacy The Video Collection.mpeg
Format : MPEG-PS
File size : 3.28 GiB
Duration : 33 min 6 s
Overall bit rate : 14.2 Mb/s
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=10
Format settings, picture structure : Frame
Duration : 33 min 6 s
Bit rate : 12.4 Mb/s
Maximum bit rate : 8 000 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) : 1.193
Time code of first frame : 00:59:59:00
Time code source : Group of pictures header
GOP, Open/Closed : Open
Stream size : 2.86 GiB (87%)
Color primaries : BT.601 PAL
Transfer characteristics : BT.470 System B, BT.470 System G
Matrix coefficients : BT.601
Audio
ID : 189 (0xBD)-160 (0xA0)
Format : PCM
Format settings, Endianness : Big
Format settings, Sign : Signed
Muxing mode : DVD-Video
Duration : 33 min 6 s
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 : 364 MiB (11%)
Menu
Duration : 33 min 6 s
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Index with ffmsindex
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
C:\Users\\Desktop\StaxRip-x64-1.3.9.4-test\Apps\Plugins\both\ffms2\ffmsindex.exe "C:\Users\\Desktop\upload\N.W.A Legacy The Video Collection.mpeg" "C:\Users\\Desktop\upload\N.W.A Legacy The Video Collection_temp\N.W.A Legacy The Video Collection.ffindex"
Writing index... done.
Start: 22:07:31
End: 22:07:48
Duration: 00:00:16
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Script
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LoadPlugin("C:\Users\\Desktop\StaxRip-x64-1.3.9.4-test\Apps\Plugins\both\ffms2\ffms2.dll")
LoadPlugin("C:\Users\\Desktop\StaxRip-x64-1.3.9.4-test\Apps\Plugins\both\KNLMeansCL\KNLMeansCL.dll")
LoadPlugin("C:\Users\\Desktop\StaxRip-x64-1.3.9.4-test\Apps\Plugins\avs\yadifmod2\yadifmod2.dll")
FFVideoSource("C:\Users\\Desktop\upload\N.W.A Legacy The Video Collection.mpeg", cachefile = "C:\Users\\Desktop\upload\N.W.A Legacy The Video Collection_temp\N.W.A Legacy The Video Collection.ffindex")
yadifmod2()
KNLMeansCL(D = 0, A = 6, h = 6)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Script Properties
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
source frame count : 74191
source frame rate : 37.345483
source duration : 00:33:06.6120000
target frame count : 74191
target frame rate : 37.345483
target duration : 00:33:06.6120000
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Demux audio using ffmpeg 3.1.5 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
C:\Users\\Desktop\StaxRip-x64-1.3.9.4-test\Apps\ffmpeg\ffmpeg.exe -i "C:\Users\\Desktop\upload\N.W.A Legacy The Video Collection.mpeg" -c:a copy -vn -sn -y -hide_banner "C:\Users\\Desktop\upload\N.W.A Legacy The Video Collection_temp\N.W.A Legacy The Video Collection ID1.wav"
Guessed Channel Layout for Input Stream #0.2 : stereo
Input #0, mpeg, from 'C:\Users\\Desktop\upload\N.W.A Legacy The Video Collection.mpeg':
Duration: 00:33:06.71, start: 0.094044, bitrate: 14189 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg), 720x576 [SAR 16:15 DAR 4:3], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:2[0xa0]: Audio: pcm_dvd, 48000 Hz, 2 channels, s16, 1536 kb/s
[wav @ 00000000027e9580] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[wav @ 00000000027e9580] pcm_dvd codec not supported in WAVE format
Output #0, wav, to 'C:\Users\\Desktop\upload\N.W.A Legacy The Video Collection_temp\N.W.A Legacy The Video Collection ID1.wav':
Metadata:
encoder : Lavf57.41.100
Stream #0:0: Audio: pcm_dvd, 48000 Hz, stereo (16 bit), 1536 kb/s
Stream mapping:
Stream #0:2 -> #0:0 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Error Demux audio using ffmpeg 3.1.5 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Demux audio using ffmpeg 3.1.5 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
Guessed Channel Layout for Input Stream #0.2 : stereo
Input #0, mpeg, from 'C:\Users\\Desktop\upload\N.W.A Legacy The Video Collection.mpeg':
Duration: 00:33:06.71, start: 0.094044, bitrate: 14189 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg), 720x576 [SAR 16:15 DAR 4:3], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:2[0xa0]: Audio: pcm_dvd, 48000 Hz, 2 channels, s16, 1536 kb/s
[wav @ 00000000027e9580] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[wav @ 00000000027e9580] pcm_dvd codec not supported in WAVE format
Output #0, wav, to 'C:\Users\\Desktop\upload\N.W.A Legacy The Video Collection_temp\N.W.A Legacy The Video Collection ID1.wav':
Metadata:
encoder : Lavf57.41.100
Stream #0:0: Audio: pcm_dvd, 48000 Hz, stereo (16 bit), 1536 kb/s
Stream mapping:
Stream #0:2 -> #0:0 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented
Start: 22:09:01
End: 22:09:01
Duration: 00:00:00
Leo 69
30th October 2016, 00:25
lordalibaski
Where did you obtain this .mpeg file from? Did you happen to change the extension of this file from .vob and then feed it to the program?
lordalibaski
30th October 2016, 01:59
Can't believe how stupid I feel at the moment ...thanks Leo for spotting that out something so simple VOBMERGE the program I use to join the VOB files was set to merge as mpeg and not vob works straight away now...no idea how it changed itself to mpeg from vob.
stax76
30th October 2016, 06:18
Are both monitors the same resolution and DPI? Duplicated or Expanded?
Lupissimo
30th October 2016, 09:10
Expanded Mode
1: 1920x1080
2: 1280x1024
RieGo
30th October 2016, 18:57
same problem here with cut off window. only using 1 monitor @ 2560*1080 / Windows 10 / 100% DPI
AMED
31st October 2016, 02:59
Hi stax76
I was hoping you could add support for a debanding filter for Vapoursynth and Avisynth in a future release.
flash3kyuu_deband 2.0pre2 (http://forum.doom9.org/showthread.php?p=1712577#post1712577) supports both VS and AVIsynth.
Thank you for all your had work on this excellent tool.
stax76
31st October 2016, 08:19
@Lupissimo, telarium, RieGo
You can use scripting (main menu > Tools > Scripting) to get the DPI values for both screens, script code:
using static StaxRip.ShortcutModule;
dynamic app = Scripting.App;
var graphics = g.MainForm.CreateGraphics();
app.ShowMsg(graphics.DpiX.ToString() + "/" + graphics.DpiY.ToString());
graphics.Dispose();
Lupissimo
31st October 2016, 09:31
Cannot find "scripting" under tools, only scripts. When I click on that the explorer open and shows 2 files. Why do you need to use StaxRip to find the Monitor DPI?
RieGo
31st October 2016, 09:55
@Lupissimo, telarium, RieGo
You can use scripting (main menu > Tools > Scripting) to get the DPI values for both screens, script code:
i got "96/96"
Cannot find "scripting" under tools, only scripts. When I click on that the explorer open and shows 2 files. Why do you need to use StaxRip to find the Monitor DPI?
just create a new text file in that folder and call it something like dpi.csx.
fill it with the code and you can run it from scripts menu.
that's how i did it.
stax76
31st October 2016, 10:04
i got "96/96"
And if you move StaxRip to the other screen and call it from there?
Lupissimo
31st October 2016, 10:10
I get 96/96 from both monitors
thomy22
31st October 2016, 10:16
The window in the new test version is too small. How can I reset this?
http://fs5.directupload.net/images/161031/pyaso2yi.jpg
stax76
31st October 2016, 10:51
I'll try to implement PROCESS_PER_MONITOR_DPI_AWARE instead of PROCESS_SYSTEM_DPI_AWARE, I hope it can work without rounding errors messing up the layout.
https://msdn.microsoft.com/en-us/library/windows/desktop/dn280512(v=vs.85).aspx
RieGo
31st October 2016, 16:53
And if you move StaxRip to the other screen and call it from there?
i personally have only one screen connected :)
telarium
31st October 2016, 18:06
@Lupissimo, telarium, RieGo
You can use scripting (main menu > Tools > Scripting) to get the DPI values for both screens, script code:
using static StaxRip.ShortcutModule;
dynamic app = Scripting.App;
var graphics = g.MainForm.CreateGraphics();
app.ShowMsg(graphics.DpiX.ToString() + "/" + graphics.DpiY.ToString());
graphics.Dispose();
96/96 on all three monitors.
SaboraPie
31st October 2016, 21:03
Why not use all CPU cores at full when encore with x265 (or x264)? It is always about 60% only. Although saturate the CPU, I prefer get some FPS.
Is there any way to do it?
Magik Mark
31st October 2016, 23:17
Guys,
Windows clipping started happening to me as well. Did you find a work around while waiting for an updated version?
Lupissimo
31st October 2016, 23:19
When I disable the 2nd monitor it is OK in my setup
Magik Mark
31st October 2016, 23:49
I only have 1 monitor in the first place
Yanak
1st November 2016, 00:10
I have 3 screens, switching between them and having at most a dual monitor setup, never having a 3 screen connected at the same time, mostly running on a 1920x1080 for main screen and a 1024x1280 set in portrait mode as second screen , the third one is a 1920x1080 connected through HDMI, using it as a display for movies and only from times to times.
https://s14.postimg.org/6wurjati9/60188320161101000047.png
Today i switched to the display of the main 1080p one with the 2nd 1080p one in extended and forgot to switch back to normal dual screen mode. When launching Staxrip i have the same issue as others.
Weird stuff if that it doesn't happen in single or dual screen mode when using the main 1080p alone or in combination with the 1024p one in portrait mode, Main connected in DVI, and the small one via a displayport to DVI adaptator, but when using both 1080p ones ( Main one in DVI and extended one connected in HDMI) i get the problem.
All screens reports 96/96 when using the script in previous page, scaling is at 100% for all screens, on a 7970Ghz and win7.
Should have tested this before when testing the various scaling issues, sorry for noticing this only now.
stax76
1st November 2016, 08:08
I figured out that the form size gets cut at screen size before scaling happens, I have to go back to the initial 144 DPI at design time which not only means revoking much of recent work but also having to change resolution and zoom every time I want to use the WinForms designer. Working with WinForms using a 4K display is a sad situation I'm afraid, I wish now having used WPF since day one.
Winston_Smith_101
1st November 2016, 16:00
I would like to encode x265 on my dual Xeon CPU machine.
To use the nodes as effectively as possible I encode 2 movies at the same time. Movie a with node 0 and movie b with node 1. This works pretty good. But what to do when there is only one movie to encode?
Is it possible to cut the movie (only the video track) into two parts and encode part a with node 0 and part b with node 1 with staxrip? After that I would like to merge the parts and mux them with the audio tracks in "MKVToolNix Gui". I encode the audio tracks separately with another application.
How to cut the movie into two parts? I tried it with staxrip, but never succeeded. Is there a instruction manual?
stax76
1st November 2016, 21:23
The scaling issues are hopefully fixed now.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Yanak
1st November 2016, 22:14
Works fine on the 3 display screens now for me, thanks a lot for all the hard work Stax.
Lupissimo
2nd November 2016, 08:55
Thank you for the update! The screens are ok now. I had to install the latest grafic driver to avoid a program crash.
Now I have the following problem trying to edit the container configuration ( throw out subtitles or attachments). There is no OK button to transfer the edited settings to the script.
I tried to overcome this by deselecting all subs, so that they are not extracted, in order to be able to cut the movie, but even though there are no subs in the temp directory, staxrip still does not allow processing due to subs not being able to be cut.
stax76
2nd November 2016, 09:32
you are right, new build:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
mcjordan
2nd November 2016, 12:33
Dear Frank, would you include in the development new options of NVEncC 3.0.1?
(like a --vbr-quality --lookahead --enable-ltr --vpp-resize --vpp-gauss/knn/pmd etc./eg. my current encoding settings /HQ-HD/:
--vbr2 4428 --codec h265 --bframes 0 --ref 4 --qp-init 1 --aq --level 4.1 --output-buf 128
--cabac --no-deblock --mv-precision Q-pel --vbr-quality 1 --lookahead 32 --enable-ltr --fullrange)
Will be nice for owners of GTX 10xx.
TalasNetrag
2nd November 2016, 13:07
@chummy
@RazorBurn, sneaker_ger, TalasNetrag
I can probably add timecode support, a sample source file would be helpful.
Here is a sample.
http://www.mediafire.com/file/exs05w3oej99d24/VFR+timecodes+sample.mkv
VelleX
5th November 2016, 17:09
@Stax76
i often have problems extracting (copying) audio from recorded TS Files. I think its because of FFMPEG Stream Order (or the original TS File Stream Order, which is different to Mediainfo), so wrong stream is choosed to demux. Sometimes it may be an audio Stream too, but the wrong of course, but sometimes its a subtitle stream so i got an error and Staxrip just aborts.
Output file #0 does not contain any stream
Gibts dafür schon eine Lösung bzw alternative?
Any solution for this or maybe a workaround?
DaMacFunkin
5th November 2016, 23:52
Hello, i have a GTX 1060, is it possible to re encode HEVC to HEVC with hardware acceleration with this program?
Thank You.
DaMacFunkin
6th November 2016, 18:28
Hi have got this working, does anybody have anything i can read about the bit rate settings or CQP sttings when using X265 Nvenc.
Thank You.
need4speed
9th November 2016, 04:23
Hi, been using Staxrip for ages and works like a charm, really great results with newer hevc versions.
Switching to Linux and wondering if there will be any chance to have a Linux version.. kinda doubt that but asking never hurts.
Thanks again for the big effort!
Inviato dal mio GT-N7100 utilizzando Tapatalk
DaMacFunkin
9th November 2016, 07:56
Good luck with your question, it is a bit like a Ghost Town in here.
Yanak
11th November 2016, 00:10
Edit : figured it after finding a newer post this morning about this :
[Source]
Debugmode Frameserver Import =
MP_Pipeline("""
### platform: win32
AVISource("%source_file%", audio=false).AssumeFPS(%media_info_video:FrameRate%)
### ###
""")
It needs at least 4 blank spaces at the start of each new line, with only 3 blank spaces the lines will never show up,
Following stuff is solved now ^^
Hello Stax, i found this (http://forum.doom9.org/archive/index.php/t-149832.html) searching a bit the web :
The filter code may contain macros. Clicking the Macro button shows a list of possible macros. A filter profile is restricted to a single line, there are two ways to overcome this restriction, the first is to separate different functions with blanks which is legal AviSynth syntax:
Yadif = LoadCplugin("%application:Yadif%") Yadif()
Another way is to use the newline macro:
Yadif = LoadCplugin("%application:Yadif%")%newline%Yadif()
It's quite an old post and i did not found this %newline% in the help file of macros but I tried few times and newline macro doesn't seems to work it only adds the %newline% as it is into the avs file
tried to add this into a profile :
test = test %newline% test2 %newline% test3
and this
test = test%newline%test2%newline%test3
ends up in the avs as :
test %newline% test2 %newline% test3
and
test%newline%test2%newline%test3
Is this still working ? If not, what can i use to make a profile using multiples lines , i can not use space between the different action needed for this one please.
( can also not put a dot like this .crop(10,10).ChangeFPS(60).Subtitle() for example )
Thanks in advance.
ShogoXT
11th November 2016, 09:21
Great software! I have been wanting to try to work with vapoursynth because Avisynth MT was a real pain.
Been trying to get some quality upscaling working my older PC. I got most of the filters working that I wanted, but I tried to add in nnedi3_rpow2, but it gives me "fapprox" arguement errors. I did a search and fapprox was replaced in nnedi3 since v8.
I tried to swap out the older version of nnedi3 dll, but it gives me a unsupported version error in staxrip. I guess il have to wait til one of those gets updated?
I noticed you have waifu2x in there, maybe il try that.... Hope its not too slow.
Thanks for all the hard work!
EDIT: And I still cant grasp how to load plugins in vapoursynth lol....
Waifu2x =
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\Waifu2x-w2xc.dll")
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\w2xc.dll")
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\libiomp5md.dll")
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\svml_dispmnd.dll")
clip = w2xc.Waifu2x(clip)
I tried a few different ways based on what was on the documentation, but I probably mislabeled it somehow....
luigizaninoni
11th November 2016, 13:05
Great software! I have been wanting to try to work with vapoursynth because Avisynth MT was a real pain.
Been trying to get some quality upscaling working my older PC. I got most of the filters working that I wanted, but I tried to add in nnedi3_rpow2, but it gives me "fapprox" arguement errors. I did a search and fapprox was replaced in nnedi3 since v8.
I tried to swap out the older version of nnedi3 dll, but it gives me a unsupported version error in staxrip. I guess il have to wait til one of those gets updated?
I noticed you have waifu2x in there, maybe il try that.... Hope its not too slow.
Thanks for all the hard work!
EDIT: And I still cant grasp how to load plugins in vapoursynth lol....
Waifu2x =
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\Waifu2x-w2xc.dll")
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\w2xc.dll")
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\libiomp5md.dll")
w2xc = core.std.LoadPlugin(r"C:\Users\x\Documents\Staxrip\Apps\Plugins\vs\Waifu2x-w2xc\svml_dispmnd.dll")
clip = w2xc.Waifu2x(clip)
I tried a few different ways based on what was on the documentation, but I probably mislabeled it somehow....
edit your edi_rpow2.py and remove all references to fapprox. Save. Enjoy
re waifu2x what is error message ?
anyway the correct syntax for loading plugins is core.std.LoadPlugin(r"whateveryouneed"), you should not prefix "w2xc="
luigizaninoni
11th November 2016, 13:38
Also, don't be too ready to give up when you receive "unsupported version" message. Just go to apps-manage-yourpluginorapp press F12 and manually change version number.
This happens very often, for example whenever there is a new version of x265 and you wish to use the updated version
Yanak
11th November 2016, 14:34
Hello Stax and sorry to bother you again :p
In the test build on the macros list i noticed the addition of those ones :
$browse_file$
$enter_text$
$enter_text:<prompt>$
$select:<param1;param2;...>$
I tried to create a filter with a selection box to add a rotation avisynth filter with this added in the profiles :
Rotate = $select:TurnLeft;TurnRight;Turn180$
Problem is that after creating the filter if i right click on the filters list i have the prompt box for the selection of the options i created but there is no way to select it, the box appears non stop and if i click cancel i have to cancel it 3 times each tiem before having the filters list back to normal.
This seems to happens with all macros i listed.
Step to reproduce :
- Create a custom filter profile with this content :
Rotate = $select:TurnLeft;TurnRight;Turn180$
- Validate the filter profile creation. Once back to main window of Staxrip program make a right click on the list of filters, immediately the selection box appears :
https://s14.postimg.org/ub2qv83pt/56099920161111142605.png
- Select one of the 3 options in the drop down list and the box will continue to come back.
- To remove the box you need to press cancel 3 times, cancelin once or twice only will make the box come back ( same stuff for all those new macros, a simple $enter_text$ custom filter have the same results )
-This will continue to happen each time you will make a right click on the filters list area, even if the custom created filter is not on the list of the filters.
-Selected input option seems to never appear in the code preview too
Thank you.
ShamisOMally
14th November 2016, 02:43
Some reason with the current test build if you encode a x264 wrapped with a .avi file from Premiere it comes out extremely dark
Leo 69
15th November 2016, 19:56
Stax, can you add STPresso and maybe some other denoisers, deband filters and "tweak" to default list of filters of Vapoursynth and/or Avisynth, please?
ShogoXT
19th November 2016, 06:12
Thanks for the help Luigi.
I have been adding the plugins in no problem, just gotta throw them into the vapoursynth autoload folders.
My current problem is im working on a earlier season DVD for my anime show One Piece. It has insane amounts of rainbow and dot crawl.
I have gotten most of the rainbows removed with TComb, Bifrost, and using Temporal Denoisers like Fluxsmooth, but the Dot crawl is another matter.
TComb isnt very effective and after looking into it, all the ones available are TEMPORAL only for Vapoursynth. Is there no Dot Crawl solutions for motion? Checkmate doesnt seem to be ported over.
Thanks again!
luigizaninoni
19th November 2016, 08:13
Thanks for the help Luigi.
I have been adding the plugins in no problem, just gotta throw them into the vapoursynth autoload folders.
My current problem is im working on a earlier season DVD for my anime show One Piece. It has insane amounts of rainbow and dot crawl.
I have gotten most of the rainbows removed with TComb, Bifrost, and using Temporal Denoisers like Fluxsmooth, but the Dot crawl is another matter.
TComb isnt very effective and after looking into it, all the ones available are TEMPORAL only for Vapoursynth. Is there no Dot Crawl solutions for motion? Checkmate doesnt seem to be ported over.
Thanks again!
One of the functions in havsfunc.py is LUTDeCrawl, try it
burfadel
20th November 2016, 05:40
@stax
If you have a large number of files in the job list the scroll bar is missing. In previous builds you could always scoll down the list, now you can only see what is on the screen. If you move down the list with the cursor it just disappears off the bottom of the window.
ShogoXT
22nd November 2016, 10:26
One of the functions in havsfunc.py is LUTDeCrawl, try it
Played with that one and it also seems to be temporal only. I dont know of any that have the spacial component like Checkmate does. I know one episode in question has a ton of side and vertical scrolling. The bad IVTC is showing too. VDecimate has been showing its limits. I have been forced to use VFM on Mode=0 because any more gets me tons of duplicate frames.
I feel like im so close, just issues with the aliasing on the vertical movement and the left over dotcrawl and rainbowing is all thats holding me back. Im sure I could try SSIQ for rainbows though.
clip = core.std.CropRel(clip, 8, 8, 0, 0)
clip = core.tcomb.TComb(clip,mode = 2,fthreshl = 20,fthreshc = 20,othreshl = 20,othreshc = 20)
clip = core.bifrost.Bifrost(clip)
clip = core.vivtc.VFM(clip, 1, mode = 0)
clip = core.vivtc.VDecimate(clip)
clip = core.flux.SmoothST(clip, temporal_threshold = 7, spatial_threshold = 7, planes = [0, 1, 2])
clip = core.rgvs.RemoveGrain(clip, 1)
clip = edi.nnedi3_rpow2(clip,rfactor = 2)
clip = core.resize.Spline36(clip, 1440, 1080)
clip = core.warp.AWarpSharp2(clip)
clip = havsfunc.LSFmod(clip, strength = 100)
clip = haf.DeHalo_alpha(clip,darkstr= 0.6)
My junk code so far. Luckily its only for the first season or so that has rainbow and dot crawl.
Thank you though.
NikosD
24th November 2016, 15:08
The scaling issues are hopefully fixed now.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Hello Frank.
I hope you are doing fine.
I have a bunch of MKV files that I want to transcoding in file batch mode, but at the same time I want to remove the embedded subtitles which are inside.
The default option is to include subtitles in "file batch" mode.
Is there any way to remove them ? (In File batch mode of course)
Thank you !
IbrahimKh
28th November 2016, 05:31
does anyone know how to encode 10-bit x264 source video?
https://s21.postimg.org/hnnv3rbyv/screenshot_217.png
Leo 69
30th November 2016, 19:08
does anyone know how to encode 10-bit x264 source video?
As a source filter, choose Vapoursynth ffms2.
IbrahimKh
5th December 2016, 05:50
As a source filter, choose Vapoursynth ffms2.
thanks
it works
SaboraPie
9th December 2016, 00:03
This error when use the video comparision with a mkv (x265) in version 1.3.9.6:
Exception
Se produjo una excepción en el destino de la invocación.
System.Reflection.TargetInvocationException: Se produjo una excepción en el destino de la invocación. ---> System.ArgumentException: El identificador nativo es 0.
Nombre del parámetro: handle
en System.Drawing.Image.SetNativeImage(IntPtr handle)
en System.Drawing.Bitmap.FromGDIplus(IntPtr handle)
--- Fin del seguimiento de la pila de la excepción interna ---
en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
en System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
en System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
en System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
en StaxRip.AVIFile.GetBMPFromDib(IntPtr pDIB) en D:\Projekte\VS\VB\StaxRip\General\AVIFile.vb:línea 147
en StaxRip.AVIFile.GetBitmap() en D:\Projekte\VS\VB\StaxRip\General\AVIFile.vb:línea 139
en StaxRip.VideoComparisonForm.VideoTab.GetBitmap() en D:\Projekte\VS\VB\StaxRip\Forms\VideoComparisonForm.vb:línea 348
en StaxRip.VideoComparisonForm.VideoTab.Draw() en D:\Projekte\VS\VB\StaxRip\Forms\VideoComparisonForm.vb:línea 343
en StaxRip.VideoComparisonForm.VideoTab.OnPaint(PaintEventArgs e) en D:\Projekte\VS\VB\StaxRip\Forms\VideoComparisonForm.vb:línea 392
en System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
en System.Windows.Forms.Control.WmPaint(Message& m)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Havokdan
9th December 2016, 11:33
Change source filter?
Enviado de meu XT1069 usando Tapatalk
stax76
12th December 2016, 23:29
Hi everybody,
after roughly 15 years building and supporting staxrip I will have to more or less stop the project except for maybe 1-2 small updates per year to keep it alive.
The thing is I don't use staxrip any longer, nowadays I only stream from Amazon or Netflix.
Maybe somebody wants to take over development or submit some pull requests, that would be great.
Thanks to everybody that supported staxrip with donations, contributions, bug reports or anything else.
I uploaded 1.4.0.0-stable with 2-3 updated apps, I've changed the license to MIT and removed my email address, I try to look at the issue tracker from time to time.
see you!
NikosD
13th December 2016, 07:07
Have fun!
luigizaninoni
13th December 2016, 09:13
Thanks for your work, I use your software a lot, a pity you can't carry on. Best wishes !
NikosD
13th December 2016, 09:21
The links from this page don't work:
https://github.com/stax76/staxrip/blob/master/md/changelog.md
The first one is for 1.3.9.6 test build and the other one from live.com asks for signing-in.
This link is the latest stable 1.4.0.0
https://github.com/stax76/staxrip/releases/download/v1.4.0.0-stable/StaxRip-x64-1.4.0.0-stable.7z
Keep it alive Frank, it's a very useful application.
Leo 69
13th December 2016, 11:31
Sad. The best application in business has come to its end. Anyways..good luck Frank and thanks for your hard and high quality work.
mcjordan
13th December 2016, 11:31
Oh, Frank, do not leave us!
StaxRip is my favorite tool from years ago.
Will be sad after so long to be abandoned. ;-(
jlpsvk
13th December 2016, 21:46
where to find nvencc64 3.02 changelog?
ismail0100
14th December 2016, 02:59
I am very sad now :(
JohnLai
15th December 2016, 09:45
Eh? stax76 is leaving the project? Oh my..........
SaboraPie
19th December 2016, 20:02
I hope that at least major maintenance and updates are done. :(
_matt_
20th December 2016, 04:19
Although I only encode video occasionally, staxrip has always been my favorite tool for doing so. Thanks so much, stax76, for sharing your great work for as long as you have.
Would you care to post/PM your current preferred link for a donation? I'd like to make a small contribution as thanks for all the years I've benefited from your hard work, regardless of any development staxrip may or may not see in the future.
Thanks again, and happy holidays!
need4speed
20th December 2016, 16:12
Would like to add my personal thank you for the hard job, now clearly we need a substitute
Inviato dal mio GT-N7100 utilizzando Tapatalk
mcjordan
21st December 2016, 10:52
A little strange question.
I'd be grateful if you help me.
Testing GTX960 and GTX1080 at the same settings in NVencC 3.0.2 / StaxRip 1.4.0.1
I got close to the ideal result, but... In the case of GTX1080 the resulting image
is little more blurry in comparison with result of GTX960.
I guess this is due to activated by default SAO on internal HEVC encoder of GTX1080.
How do I turn off f...ng SAO? (smooth antialiasing Oh ;-) Any ideas?
Pulp Catalyst
28th December 2016, 18:34
the crop feature seems broken in vapoursynth mode, tried with three diffren sources.
anyone else having issue?
i'm using the 1.4.0.0
mcjordan "1.4.0.1"? where is this version?
sorry to see you go STAX.... you've done great, and lasted so long and given so much, but i hope you at least can maybe switch over to a small window of bug fixes only for a small while.
mcjordan
29th December 2016, 13:05
To Pulp Catalyst
Test build:
https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM
https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z
P.S. I have some interesting experiences with NVidia HEVC under AsVideo and hardware edge enhancement filter.
With minimal input values (desired) result is pretty good compared to NVEncC VBR2 encoding (following good advices of JohnLai)
plus banal avs Sharpen e.g. (0.2,0.2)...
Magik Mark
31st December 2016, 16:01
Stax,
Is it possible to include the new Motion Search Method - "SEA"
Leo 69
31st December 2016, 16:14
Stax,
Is it possible to include the new Motion Search Method - "SEA"
Mark, you can manually type in --me sea in Custom Switches. It will override the setting in the gui.
burfadel
1st January 2017, 08:55
That's true, just make sure the default setting is set in the gui so the ME override is only stated once. There has just been added SSIM based RDO and AQ motion added to the latest builds.
Magik Mark
2nd January 2017, 04:45
New CLI that are missed:
--me-sea
--aq-motion
--ssim-rd
--multi-pass-opt-analysis
--multi-pass-opt-distortion
DaMacFunkin
2nd January 2017, 14:55
Hello, is there an option to enable look ahead with Nvenc x265 using Stax 1.4.0.0?
Thank you.
fogbav
2nd January 2017, 17:42
Just add "--lookahead 32" in encoding options / other / custom - there is a field where you can add custom CLI parameters ....
DaMacFunkin
4th January 2017, 13:01
Thanks for that reply, much appreciated, hope i can have some new help, i have tried to add the switches
--me sea
--aq motion
but i get the error:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Error Encoding using NVEncC 3.02 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoding using NVEncC 3.02 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
Error: Unknown option: --me
Did you mean option(s) below?
--y4m
--ref
Are these new switches not supported by NVEnnC?
Thank You.
JohnLai
8th January 2017, 04:43
Thanks for that reply, much appreciated, hope i can have some new help, i have tried to add the switches
--me sea
--aq motion
but i get the error:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Error Encoding using NVEncC 3.02 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoding using NVEncC 3.02 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
Error: Unknown option: --me
Did you mean option(s) below?
--y4m
--ref
Are these new switches not supported by NVEnnC?
Thank You.
Those switches are for x265, not NVENCC
mcjordan
9th January 2017, 20:17
NVEncC 3.0.3
[NVEnc.auo / NVEncC.exe common]
Updated NVENC SDK to 7.1.
Organize rate control mode according to NVENC SDK 7.1
--cqp
- vbr
- vbrhq (old - vbr 2)
- cbr
- cbrhq (new!)
- Fixed the problem that error termination occurs even if --level 3 etc. are specified at low resolution.
Address this issue.
[NVEncC]
HEVC encoding with mkv as input eliminates freezing immediately after starting encoding.
Yups
9th January 2017, 21:45
Any improvements or is it just a renaming?
JohnLai
10th January 2017, 03:47
Based on SDK 7.0 and 7.1 comparison.....it just a renaming on rate control.
mcjordan
10th January 2017, 09:48
- cbrhq ? Any additional information?
JohnLai
10th January 2017, 16:36
- cbrhq ? Any additional information?
The "HQ" means two pass encoding.
edit:
Source from SDK 7.1.9 in case people are skeptical
http://i.imgur.com/RCHXHa1.png
edit2:
I guess my Constant Quality deduction back when SDK7.0 was released ....is right on the money. From 7.1.9 itself.
Target quality: This mode is specified by setting rateControlMode to one of the
VBR modes and desired target quality in targetQuality . The range of this target
quality is 1 to 51, roughly corresponding to the range of possible QP values. In this
mode, the encoder tries to maintain constant quality for each frame, by allowing the
bitrate to vary subject to the bitrate parameters specified in maxBitRate and
averageBitRate. If maxBitRate and averageBitRate are not specified, the
encoder will use as many bits as needed to achieve the target quality. However, if
both parameters are set, they will form the upper bound on the actual bitrate. The
bitrate will become constrained, resulting in the desired target quality possibly not
being achieved.
In my previous method....I actually proposed to max both averageBitRate and maxBitRate to 17500 kbps which produced more or less the same result as it is not constrained by bitrate and is able to reach defined target quality. Hmm.......
mcjordan
10th January 2017, 20:10
Thanks, John.
And... hmm... today again:
NVEnc 3.04
To be able to output lossless even with HEVC.
It was restricted so as to be impossible.
Magik Mark
11th January 2017, 11:55
Stax,
New x265 CLIs:
--ssim-rd
--aq-motion
--multi-pass-opt-rps
--multi-pass-opt-analysis
--multi-pass-opt-distortion
mcjordan
11th January 2017, 16:00
Another day, another version:
NVEnc 3.05
To be able to output lossless even with HEVC.
It was restricted so as to be impossible*
* Updated to 3.05 (2017.01.11)
It was corrected again as it could not be fixed by 3.04...
I'm sorry I updated it repeatedly.
P.S. Fast test with new edition (StaxRip command line) - vbrhq vs cbrhq (in combination with simple avs r2376 Sharpen (0.2,0.2):
"%app:NVEncC%" --cbrhq 4428 --codec h265 --bframes 5 --ref 4 --lookahead 32 --qp-init 1 --aq --level 4.1 --output-buf 128 --cabac --cu-max 64 --device 1 --vbr-quality 1 --enable-ltr --fullrange -i "%script_file%" -o "%encoder_out_file%"
and same but --vbrhq (--vbr2).
The resulting image in vbr mode in comparision with cbrhq is slightly better (GTX960). On GTX1080 the image is constantly more blurry (may be because default SAO?). In all cases -> High lookahead value -> more blurred result. And all of this in static frame comparision. Playback of the final video doesn't contain significant differences (vs original source) or visible artefacts. John - advise me, please? Where I'm wrong (or better ;-) ?
A... and in my mind - Is it possible inclusion of hardware edge enhancement into NVEncC like AsVideo converter (by steps from 1 to 100; working on both GTX960 and 1080)?
JohnLai
11th January 2017, 16:57
Another day, another version:
NVEnc 3.05
To be able to output lossless even with HEVC.
It was restricted so as to be impossible*
* Updated to 3.05 (2017.01.11)
It was corrected again as it could not be fixed by 3.04...
I'm sorry I updated it repeatedly.
P.S. Fast test with new edition (StaxRip command line) - vbrhq vs cbrhq (in combination with simple avs r2376 Sharpen (0.2,0.2):
"%app:NVEncC%" --cbrhq 4428 --codec h265 --bframes 5 --ref 4 --lookahead 32 --qp-init 1 --aq --level 4.1 --output-buf 128 --cabac --cu-max 64 --device 1 --vbr-quality 1 --enable-ltr --fullrange -i "%script_file%" -o "%encoder_out_file%"
and same but --vbrhq (--vbr2).
The resulting image in vbr mode in comparision with cbrhq is slightly better (GTX960). On GTX1080 the image is constantly more blurry (may be because default SAO?). In all cases -> High lookahead value -> more blurred result. And all this in static frame comparision. Playback of the final video doesn't contain significant differences (vs original source) or visible artefacts. John - advise me, please? Where I'm wrong?
..............use unconstrained* VBR Constant Quality mode instead.
http://i.imgur.com/qaujIkT.jpg
Two pass encoding is pointless because there is "lookahead" rate control being used.
If you take a look on nvenc sdk list of presets, you will notice HQ (two pass encoding) mode is only used for low latency video (eg, videoconferencing)
EDIT:
Now...the problem with your command line for nvenc hevc encoding.
--bframes 5 = option useless because there is no b-frame support
--ref 4 = useless because nvenc hevc only make use of 1 single reference frame
--output-buffer 128 = if you use SSD, maybe 128mb. However, if you use HDD, better stick with sane value like 32mb or 64mb (matching HDD cache, you know, HDD has fast DRAM cache)
--cabac = -.- no need to specify this, HEVC use cabac by default
--cu-max = -.- NVENC encoding chip is limited to 32x32 max, just let it auto.
--enable-ltr = useless because there is only one active reference frame in DPB
--fullrange = give this one up....nvidia has color reproduction bug https://devtalk.nvidia.com/default/topic/958132/video-technologies/nvenc-hevc-with-full-range-colors-/
EDIT2: (rephrasing)
-> High lookahead value -> more blurred result? Are you analysing it based on PSNR?
First reason = SAO
Second reason = spatial adaptive quantization(SAQ). Probably SAQ algorithm decides to raise QP factor after analyzing more frames (higher lookahead value) and determine those frames are heavy in motion.
From SDK :
http://i.imgur.com/j3ANeDb.png
mcjordan
11th January 2017, 17:51
Yes, thank you very much, John. I know more of this things.
But strange - StaxRip log indicate that 64x64 cu-max is activated?! It's real or not (most likely)?
Encoding with NVEnc is a real pain - must guess all things into smoke on the water ;-)
JohnLai
11th January 2017, 17:56
Yes, thank you very much, John. I know more of this things.
But strange - StaxRip log indicate that 64x64 cu-max is activated?! It's real or not (most likely)?
Encoding with NVEnc is a real pain - must guess all things into smoke on the water ;-)
Nope....it is not.
If you specify 64x64, it automatically fallback to "auto"...which mean 32x32.
It is mentioned in SDK documentation and I also verify it through hevc bitstream analyzer.
http://i.imgur.com/xwIASap.png
mcjordan
11th January 2017, 19:44
John, thank you again for responsiveness and sorry for disturbing.
Things, a little bit, began to explain to me. Obviously I need to read more (SDK, I mean)
and especially - more carefully. Obviously, there is still much more to be done in development of NVEnc.
Pity, this is one of the fastest hardware encoders, that I know. I'll do some more tests, but generally, soon,
if Ryzen prove what I guess - I'll assemble such kind of configuration and will go on pure x265.
With AVX512 support, may be? (as rumor has ;-)
JohnLai
12th January 2017, 06:20
John, thank you again for responsiveness and sorry for disturbing.
Things, a little bit, began to explain to me. Obviously I need to read more (SDK, I mean)
and especially - more carefully. Obviously, there is still much more to be done in development of NVEnc.
Pity, this is one of the fastest hardware encoders, that I know. I'll do some more tests, but generally, soon,
if Ryzen prove what I guess - I'll assemble such kind of configuration and will go on pure x265.
With AVX512 support, may be? (as rumor has ;-)
Not sure about Zen AVX512, but so far, Zen can't do single cycle AVX and AVX2 256bit unlike Intel.
Zen needs two cycles (128bit each) to execute AVX/AVX2 instruction.
Anyway, back to topic....stax76.....have you add NVENC NPP resizers into the GUI and NPP library itself (maybe provide a link to NPP library as it is 37MB) to the test-build yet?
Note: I am still using v1.4.0.0-stable.....
mcjordan
12th January 2017, 07:55
John, NPP library (on Rigaya shareplaces / working like a charm in command line mode by the way /) -
https://onedrive.live.com/?cid=6bdd4375ac8933c6&id=6BDD4375AC8933C6%212293&lor=shortUrl
or
https://drive.google.com/drive/folders/0BzA4dIFteM2dS1ZUT1FjTnF3Q0E?usp=sharing
P.S. Concerning Zen - in this case the price is a determining factor...
JohnLai
12th January 2017, 09:37
John, NPP library (on Rigaya shareplaces / working like a charm in command line mode by the way /) -
https://onedrive.live.com/?cid=6bdd4375ac8933c6&id=6BDD4375AC8933C6%212293&lor=shortUrl
or
https://drive.google.com/drive/folders/0BzA4dIFteM2dS1ZUT1FjTnF3Q0E?usp=sharing
P.S. Concerning Zen - in this case the price is a determining factor...
I know about using command line.
Just wanna make thing easier for newbie with GUI implementation......
Or maybe implement the custom preset for unconstrained VBR Target Quality rate control method. If one ask me about UVBRTQ, I think it is quite similar to software encoder CRF method.
EDIT: I just tested staxrip testbuild StaxRip-x64-1.4.0.2-test, but apparently, ffms2 as source filter doesn't play well with nvencc
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Script
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LoadPlugin("C:\Users\Anonymous\Desktop\Staxrip\Apps\Plugins\both\ffms2\ffms2.dll")
FFVideoSource("C:\Users\Anonymous\Desktop\test_track1_und.h264", cachefile = "L:\test_track1_und_temp\test_track1_und.ffindex")
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Script Properties
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
source frame count : 2184
source frame rate : 23.976024
source duration : 00:01:31.0910000
target frame count : 2184
target frame rate : 23.976024
target duration : 00:01:31.0910000
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoding using NVEncC 3.02 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
@echo off
C:\Users\Anonymous\Desktop\Staxrip\Apps\NVEncC\NVEncC64.exe --cqp 20:26:30 --codec h265 --ref 6 --aq --level 5.1 --lookahead 32 -i L:\test_track1_und_temp\test_track1_und.avs -o L:\test_track1_und_temp\test_track1_und_out.h265
cmd.exe /C call "L:\test_track1_und_temp\test_track1_und_NVEncC.bat"
avs: invalid colorformat.
Failed to open input file.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Error Encoding using NVEncC 3.02 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoding using NVEncC 3.02 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
avs: invalid colorformat.
Failed to open input file.
Start: 10:00:45 PM
End: 10:00:45 PM
Duration: 00:00:00
Other source filter such as LSMASHSource works well. But I need FFVideoSource filter for exact timing.
EDIT: Turn out AviSynth+r2294 is the problem. Uninstall 2294 and install AviSynthPlus-r1576 somehow works.
EDIT2: Hmm...apparently AviSynth+_v0.1.0_r1825-MT works too. Source video is 10bit h264. R2172 doesn't work too.
mcjordan
12th January 2017, 16:45
Try these updates:
ffms2 have a new version ->
https://github.com/FFMS/ffms2/releases/download/2.23/ffms2-2.23.1-msvc.7z
Chagelog:
Updated FFmpeg APIs used (Daemon404)
Added new API that can read/write indexes to a memory buffer (Daemon404)
Added support for high bitdepth output in Avisynth+ (Myrsloik)
vapoursource: Add nfMakeLinear flag to better performance in most cases (Myrsloik)
Remove bad colorspace matrix guessing for YUV (Myrsloik)
Tell libavformat to discard packets we don't want (Daemon404)
Restore original FFCopyrightInfringement behavior (Myrsloik)
Make FFMS_Init threadsafe (Daemon404)
Support latest libav* APIs (Daemon404)
And -> latest Avisynth+ is r2380
http://www.mediafire.com/file/6pyic6yoto80vtq/avsplus-r2380.7z
Includes support for 10-bit formats & various color space conversions.
LSMASHSource -> r921
https://www.dropbox.com/sh/3i81ttxf028m1eh/AAABkQn4Y5w1k-toVhYLasmwa?dl=0
P.S. Specifically I use as source filter DGDecNV r2052 (2017.01.09 is latest)
JohnLai
12th January 2017, 17:59
StaxRip-x64-1.4.0.2-test uses ffms2 2.23.1
Latest Avisynth+ r2380 still have the same "avs: invalid colorformat." error.
LSMASHSource doesn't exactly work well for multichapters plus separate MKV content. Only FFVideoSource can properly index and load multichapter mkv files.
Example, load chapter1.mkv, then at 1:30, load OP.mkv, next at 3:20, load chapter2.mkv.
LSMASHSource and LWLibavVideoSource actually skipped the OP.mkv resulting in out of audio sync with video.
Not a big deal since older avisynth+ works fine.
mcjordan
12th January 2017, 19:35
Thank you for response.
I will do test to reproduce a problem, but tomorrow.
I had a quite hard day in work.
pinterf
13th January 2017, 20:24
StaxRip-x64-1.4.0.2-test uses ffms2 2.23.1
Latest Avisynth+ r2380 still have the same "avs: invalid colorformat." error.
Beginning with r2290 Avisynth+ has native 10 bit support. Your 10 bit video is probably opened as real 10 bit by ffms2. Thus the output is also 10 bits which is not handled well by the encoder at least not without appropriate parameters. Try ConvertBits(8) line before the end of the script, or right after opening the video, or try to use a 8 bit colorspace parameter directly with ffms2.
Dark Eiri
13th January 2017, 21:19
Are you planning to support HEVC thru AMD VCE on Polaris \ Vega GPUs soon?
NikosD
13th January 2017, 21:21
Are you planning to support HEVC thru AMD VCE on Polaris \ Vega GPUs soon?
http://forum.doom9.org/showthread.php?p=1790780
Khun_Doug
16th January 2017, 14:23
Using the latest 1.4.0.2 build to encode with X265. I have the latest encoder that supports the limit-tu option. But the test build of Stax appears to create a command string "--limit-tu level 2", but it should really be "--limit-tu 2". The word "level" needs to be removed from the command string.
PS - Sorry to read Stax76 is going to leave the project. This is surely going to be a loss sorely felt.
dracore
16th January 2017, 18:05
im new to all this and ive been trying to add lookahead for my encodes in staxrip .. could someone please help me how to .... thank you
JohnLai
17th January 2017, 03:43
im new to all this and ive been trying to add lookahead for my encodes in staxrip .. could someone please help me how to .... thank you
You didn't even mention which encoder.
If I didn't bother to check your post at videohelp forum, nobody will even bother to help you.
http://i.imgur.com/h84owC1.png
Or if you use latest Staxrip beta.
http://i.imgur.com/Y2HThzR.jpg
drpepper
18th January 2017, 17:01
Hey folks, I'm fairly new here but I already have a problem, haha.
So I was trying to encode a video that I created using Vegas Pro 13.0 with staxrip. But when I try to load my source file (in this case, the video file is about 350 GB) and choose AviSynth+ as source filter I get an error: "Failed to open source, try another filter? System exception - Access violation (C:\Users\Jan\Videos\2016_1_temp\2016_1_Source.avs, line 2)".
Now, this is peculiar because I cannot seem to find the cause of this problem. My AviSynth script is actually very simple and I didn't write it myself, it was generated automatically by staxrip.
LoadPlugin("C:\Users\Jan\Documents\Zeug\Programme\staxrip\Apps\Plugins\both\ffms2\ffms2.dll")
FFVideoSource("C:\Users\Jan\Videos\2016_1.avi", cachefile = "C:\Users\Jan\Videos\2016_1_temp\2016_1.ffindex")
ConvertToYV12()
I tried using other source filters, but none of them worked. This left me a little puzzled since I don't understand any of this. I don't know if this is relevant, but here are the MediaInfo of my source file:
General
Complete name : C:\Users\Jan\Videos\2016_1.avi
Format : AVI
Format/Info : Audio Video Interleave
Format profile : OpenDML
File size : 337 GiB
Duration : 58 min 11 s
Overall bit rate : 830 Mb/s
TCOD : 0
TCDO : 34916800000
Video
ID : 0
Format : YUV
Codec ID : UYVY
Codec ID/Info : Uncompressed 16bpp. YUV 4:2:2 (Y sample at every pixel, U and V sampled at every second pixel horizontally on each line). A macropixel contains 2 pixels in 1 u_int32.
Duration : 58 min 11 s
Bit rate : 829 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:2
Compression mode : Lossless
Bits/(Pixel*Frame) : 16.000
Stream size : 337 GiB (100%)
So, can anybody shed some light on this please :)?
dracore
18th January 2017, 22:27
You didn't even mention which encoder.
If I didn't bother to check your post at videohelp forum, nobody will even bother to help you.
http://i.imgur.com/h84owC1.png
Or if you use latest Staxrip beta.
http://i.imgur.com/Y2HThzR.jpg
thank you
chummy
19th January 2017, 00:52
I dont know if that is the best place to talk about this but since the noticed issue started with Youtube i would say here. A guy noticed than when uploading Nvenc source to Youtube the reencoding results were worse than feeding with x264 source. So i tried samething and find same problem. Then i decided to reencode at low bitrate with my own x264 software from both NVENC and x264 high bitrate sources which you will not notice quality difference and i see than samething happens, when reencoding at low bitrate like youtube (1080p@5mbit) NVENC source give worse result. With Quicksync happened samething. Is that something was already known?
spon
26th January 2017, 01:34
Hi everyone. JohnLai posted some recommended QSVEncC HW encoding settings for me a few months back that have been helpful. http://i.imgur.com/OaGdzPs.jpg
I just updated to the latest Staxrip and Rigaya QSVEncC and was wondering if any of the recommendations have changed. Thanks for any advice!
Yups
26th January 2017, 15:54
Hi everyone. JohnLai posted some recommended QSVEncC HW encoding settings for me a few months back that have been helpful. http://i.imgur.com/OaGdzPs.jpg
I just updated to the latest Staxrip and Rigaya QSVEncC and was wondering if any of the recommendations have changed. Thanks for any advice!
His recommendation is flawed. B-frames over 4 results in playback issues when converting with a low bitrate, TU4 and even more TU1 is dead slow under H265 because Intels GPU is too slow, it's a bad tradeoff. You may try TU4 which is slow, but forget about TU1. Ref frames 5 - never saw improvements in real world over 3. MBBR is enabled by default, no matter if you disable or enable it, it won't change anything. It runs enabled even if you try to disable it. ICQ Bitrate mode has lower quality than VBR, yes it has some benefits over VBR in some cases but it can be really poor in static scenes for example. Better go with VBR as a starting point. The non QSV decoder is much slower with more CPU use, only use it if you need scenechange (doesn't work with QSV decoding)
JohnLai
26th January 2017, 18:05
-.- Spon wants the best possible out of Intel HEVC encoding. Those options are the best possible options.
B-frame over 4 only problematic for smartphone or low end devices. Beside, Intel is using GPB, which mean, IBBBBBBBBBBBBBBBB, might as well as max it and leave it to 'scenechange' to insert new I-frame when it is necessary......
TU1 --> Remember 32x32 CU? Efficiency?
REF --> Real world, not really, in synthetic PSNR, there is an impact.
Oh, I think you are the one who provide me the HEVC sample last time for Intel. Technically, the reference top out* at 2 frames. The third reference frame only account for around 1-5%.
Example from your Intel HEVC sample last time with 3 reference frame. (Note, Frame number 40 is being analysed)
Reference pictures % Pixels
29 1.26 26240
33 39.80 831488
37 77.37 1616320
But, for animated content, high count of reference frames are very useful.
ICQ ---> which is why 'scenechange' enabled to minimize static scene artifact. Note, VBR is worse than ICQ in my test.
Decoder ---> That why I wrote only use QSVENC as decoder if one is certain the source file can be QSV-decoded.
spon
26th January 2017, 18:39
Yups & JohnLai -
Thank you both for your responses. It's interesting to see the differing opinions. I'm going to try them both and see which one looks better to my eyes.
One question - I can't seem to find the TU1/TU4 that you reference. Which menu is is located in - Basic, Slice, Rate Control, Motion Search, Porfile, Performance, Bitstream, VPP, VUI, Deinterlace or Other? Also, can the latest version of QSVEnnC encode 10bit? I saw a reference to it on Rigaya's site, but don't see anything in Staxrip.
Thanks again
JohnLai
26th January 2017, 18:46
It is at Basic --> Quality/Speed
Best = TU1
.
.
.
Fastest = TU7
You know the rest.
EDIT: Latest Qsvencc can encode HEVC* 10bit just fine....if you have kaby lake cpu......
spon
26th January 2017, 19:07
It is at Basic --> Quality/Speed
Best = TU1
.
.
.
Fastest = TU7
You know the rest.
EDIT: Latest Qsvencc can encode HEVC* 10bit just fine....if you have kaby lake cpu......
Ahhh ok, thanks John. I don't mind the slowness of the TU1 - it's still exponentially faster than Handbrake.
I have a skylake CPU, so probably no-go on 10but.
Thanks again
NikosD
28th January 2017, 07:13
@Stax76
Hello Frank.
A brand new VCEEncC v3.01 HW encoder for AMD is here:
http://rigaya34589.blog135.fc2.com/blog-entry-891.html?sp
It has a few new options for H.264 and it's the first one with H.265 HW encoding support for Polaris cards and newer.
Rigaya has also added some other useful features like HW decoding, --check-features etc
Yups
28th January 2017, 14:41
.
B-frame over 4 only problematic for smartphone or low end devices.
I'm running a i7-7700k, would you call it a low end device? B-frames over 4 requires some amount of minimum bitrate, a 1080p video with 3 Mbps isn't going to work. It's clear you didn't test anything in real world. And ICQ is below VBR in image quality, confirmed by Intel (and me).
JohnLai
28th January 2017, 15:10
I'm running a i7-7700k, would you call it a low end device? B-frames over 4 requires some amount of minimum bitrate, a 1080p video with 3 Mbps isn't going to work. It's clear you didn't test anything in real world. And ICQ is below VBR in image quality, confirmed by Intel (and me).
Duh.....I don't have skylake/kaby based system, being saying this since forever. The only QSV HEVC sample I have and tested was from you.
Beside, I can only test lotta B-frames with Haswell H264 (IPBBBBBBBBBBBBBBB). I am certain ICQ is better than VBR for H264 from PSNR and MSSIM analysis. Some old smartphone has problem decoding H264 with a lot of B-frames, but generally, PC discrete GPU can decode such video just fine.
I assume it would be the same for intel HEVC.
Anyway, I had been requesting QSV HEVC sample with many b-frames and refs from you for some time now......
NikosD
28th January 2017, 15:23
ICQ for H.264 is A LOT better than VBR.
No idea regarding HEVC though.
After lots of test with Haswell, my opinion is that plain ICQ is the best mode for Haswell H.264 HW encoding.
Magik Mark
30th January 2017, 01:57
Guys,
Which among the resizer is the best for 2160p->1080p?
JohnLai
30th January 2017, 04:19
Guys,
Which among the resizer is the best for 2160p->1080p?
Downscaling?
Stick with avisynth default BicubicResize.
BicubicResize default value parameters b (0) and c (0.5) = Cubic-Catmull-Rom spline.
Hmmm.....for you to learn more about b and c as well as resampling filter.....you must visit http://www.imagemagick.org/Usage/filter/
I propose you to read from the beginning. Critical reading for your question is at Mitchell-Netravali Filter section
*Note: don't skip the reading at imagemagick site. Some links at the site had become rotten due to time passing.......May the information can be a help for your question. :helpful:
Magik Mark
30th January 2017, 04:57
Thanks john! That's what I did. I used the default settings in staxrip. Do you happen to know as well if the default setting extends to retaining the original aspect ratio?
JohnLai
30th January 2017, 07:11
Thanks john! That's what I did. I used the default settings in staxrip. Do you happen to know as well if the default setting extends to retaining the original aspect ratio?
:confused:
I thought staxrip has Resize's DAR, SAR and PAR settings plus Output Mod for retaining original aspect ratio right next to the "Filters"?
Magik Mark
30th January 2017, 07:16
Yeah, there is. Not sure how to interpret it. Dunno if the values there indicate same aspect ratio
JohnLai
30th January 2017, 07:40
Yeah, there is. Not sure how to interpret it. Dunno if the values there indicate same aspect ratio
As you move around the resize slider and selecting the resolution, make sure the DAR,PAR,SAR match the original source DAR,PAR,SAR
One can click on PAR for more selection:
http://i.imgur.com/h64b5jY.png
Back in the day when H264 just made it first appearance on satellite/terrestrial broadcast, some broadcaster broadcasted video with frame size 1440x1080 (for bandwidth cost reason), but for video to be properly displayed, it need to be stretched to 1920x1080. Kinda similar method for anamorphic DVD-Video too.
I remembered I screwed up with my DVD archives after resizing without noticing the DAR. The good old day of XVID encoding......
Magik Mark
30th January 2017, 07:54
Thanks John :helpful:
Magik Mark
30th January 2017, 07:59
JohnLai,
Can't believe you're still doing GPU encoding. I gave up on that. It could only do so much. Aren't you moving to CPU based? Quality is a lot better and it has more options to tweak
JohnLai
30th January 2017, 11:18
JohnLai,
Can't believe you're still doing GPU encoding. I gave up on that. It could only do so much. Aren't you moving to CPU based? Quality is a lot better and it has more options to tweak
True, but I simply don't have the time to wait......
plus those Intel HEDT or Xeon multi socket stuff costs a bomb for me.
I only earn USD 451.31 (after conversion from my nation currency) per month. ~.~""
Let see if AMD Zen can change everything.
x265 = 1fps with 3570k 4.4ghz....not exactly good idea....
NVENC HEVC = 150 - 180 fps
Intel H264 = 300 - 400fps
As long as hardware encoder quality is 'acceptable'.
Magik Mark
30th January 2017, 11:43
In ebay john there's a lot of used xeon. That's where I got mine
Magik Mark
30th January 2017, 12:56
Is there a way to convert bt2020 to bt709 color matrix? That's 4kuhd to 1080p
JohnLai
30th January 2017, 13:18
In ebay john there's a lot of used xeon. That's where I got mine
Used Xeon still unaffordable for me. ~.~
Is there a way to convert bt2020 to bt709 color matrix? That's 4kuhd to 1080p
Note: I never try this before.
http://avisynth.nl/index.php/Dither_tool
Dither_convert_yuv_to_rgb
then
Dither_convert_rgb_to_yuv
The string matrix (undefined) for both dither_convert
Convert BT2020 to rgb, then convert rgb to BT709.
Not sure if this one works.
Zetto
1st February 2017, 09:59
@JohnLai, since you appear to be an expert on using nvenc, could you please post a guide of sorts? I'm sure a lot of people would appreciate an explanation of different options for nvenc encoding, pluses and minuses. I tried searching for something of the kind to no avail.
JohnLai
1st February 2017, 11:02
@JohnLai, since you appear to be an expert on using nvenc, could you please post a guide of sorts? I'm sure a lot of people would appreciate an explanation of different options for nvenc encoding, pluses and minuses. I tried searching for something of the kind to no avail.
All big three hardware encoders info is available from their own published SDKs.
For instance:
Info on Lookahead, Spatial AQ, Temporal AQ, 10bit encoding can be found at Chapter 8 of https://developer.nvidia.com/nvenc-programming-guide
Some info on nvidia two-pass and other rate control:
http://on-demand.gputechconf.com/gtc/2014/presentations/S4654-detailed-overview-nvenc-encoder-api.pdf
Nvidia NVENC architecture back in kepler day.
http://on-demand.gputechconf.com/gtc/2013/presentations/S3379-High-Performance-GPU-Video-Encoding.pdf
EDIT: I am still waiting for nvidia new nvenc hardware revision for proper HEVC B-frames. I mean, back in 2015, nvidia said HEVC B-frame support was in their roadmap.....
http://i.imgur.com/nk8FcSv.png
With Pascal.....nvidia had implemented motion estimation only, SAO, 10bit encode, lossless, new rate control, 8K, AQ
Missing part --> 12bit HEVC encoding and HEVC B-frames.
I wish for b-pyramid support too.......
Zetto
1st February 2017, 16:18
I'm not that proficient to wade through those technical documents from nvidia. I'm looking more for a guide in layman's terms, so that anyone could gain at least a basic understanding what nvenc does. Right now I'm just blindly wandering through it, poking at different options with little to no understanding what they really do.
Pengaban
10th February 2017, 15:45
I'm wondering why on the latest Stax1.4.0.0 with NVEnc 3.02 I cant find the deinterlace function in Encoder Options?
The info "help.txt" for 3.02 lists the deinterlace function.
Tried to use the commandline "--vpp-deinterlace adaptive" only gives me NVEnc errors.
Is this a known bug? Or did I broke something on my setup?
I'm using 376.06 NV driver on Win7 x64 with a GK106.
With Stax1.3.4.0 with NVEnc 2.04 "--vpp-deinterlace adaptive" works as supposed.
@JohnLai
For me another advantage of GPU(ASIC) encoding over the CPU is power draw. Would be interesting to see how much watt a Xeon CPU eats up in comparison to NVEnc. And switching a GPU takes 10 minutes including Driver Update. In contrast trying to change a motherboard would take hours on the minimum(days are more realistic) and probably needs to clean reinstall the OS also various driver Update sessions and so on. Not talking about the money side. The cheapest current gen NV/AMD encoding GPU 100,-?
JohnLai
11th February 2017, 03:52
I'm wondering why on the latest Stax1.4.0.0 with NVEnc 3.02 I cant find the deinterlace function in Encoder Options?
The info "help.txt" for 3.02 lists the deinterlace function.
Tried to use the commandline "--vpp-deinterlace adaptive" only gives me NVEnc errors.
Is this a known bug? Or did I broke something on my setup?
I'm using 376.06 NV driver on Win7 x64 with a GK106.
With Stax1.3.4.0 with NVEnc 2.04 "--vpp-deinterlace adaptive" works as supposed.
@JohnLai
For me another advantage of GPU(ASIC) encoding over the CPU is power draw. Would be interesting to see how much watt a Xeon CPU eats up in comparison to NVEnc. And switching a GPU takes 10 minutes including Driver Update. In contrast trying to change a motherboard would take hours on the minimum(days are more realistic) and probably needs to clean reinstall the OS also various driver Update sessions and so on. Not talking about the money side. The cheapest current gen NV/AMD encoding GPU 100,-?
"--vpp-deinterlace adaptive" option only works IF the decoder is set to use 'avcuvid'. Now here the problem, the video has to be hardware decoded by GPU.
This means if your video is 10bit H264, then --vpp-deinterlace will never work as avcuvid decoder can't decode the video in hardware (Nvidia PureVideo hardware limitation, never see any 10bit H264 hardware decoder in the market).
https://s88.imgup.net/NVENCf7d2.PNG
https://m53.imgup.net/NVENC2f2a6.PNG
Pengaban
11th February 2017, 11:23
Thanks for that information!
I must have messed things up here. I used a source.ts that worked in Stax1.3.4.0 with deinterlace adaptive setting.
Now I tried it again in Stax1.4.0.0 with the command line option and it worked as supposed. Sorry, but thanks for the explanation.
So the only question remaining is why the deinterlace setting disappeared from the Encoder Options GUI? This GUI is probably part of Stax?
I noticed when I have source.ts files captures that have a small video bug/disruption in the stream the NVEnc deinterlacer goes mad at the point of the bug and produces bad quality(kind of interlaced) till the end of the stream.
And files produced with deinterlaced adaptive are smaller than files with no deinterlacing done by NVEnc. About 15% or so. And looking better than the bigger interlaced files.
Yups
15th February 2017, 01:29
NVIDIA GeForce Game Ready 378.66 WHQL supports Video SDK 8.0.
Video SDK 8.0
•High-bit-depth (10/12-bit) decoding (VP9/HEVC)
•OpenGL input surface support for encoder
•Weighted Prediction
•H.264 ME-only mode enhancements
http://uk.download.nvidia.com/Windows/378.66/378.66-win10-win8-win7-desktop-release-notes.pdf
burfadel
16th February 2017, 14:54
When adding a few hundred (yes I know...) files to Staxrip using the file batch add method, at the end after it had completed I got the following message:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Exception
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
System.OutOfMemoryException: Out of memory.
at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)
at System.Drawing.Font.GetHeight()
at System.Drawing.Font.get_Height()
at System.Windows.Forms.GroupBoxRenderer.DrawThemedGroupBoxWithText(Graphics g, Rectangle bounds, String groupBoxText, Font font, Color textColor, TextFormatFlags flags, GroupBoxState state)
at System.Windows.Forms.GroupBoxRenderer.DrawGroupBox(Graphics g, Rectangle bounds, String groupBoxText, Font font, TextFormatFlags flags, GroupBoxState state)
at System.Windows.Forms.GroupBox.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.OnPrint(PaintEventArgs e)
at System.Windows.Forms.Control.WmPrintClient(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.GroupBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Krizzz989
17th February 2017, 05:42
My File Batch is defaulting to avisynth, is there a way to have it use vapoursynth? Thank you
stax76
17th February 2017, 14:12
@burfadel
I would guess staxrip.exe consumed too much memory, it can be caused by either staxrip itself or by avisynth/vapoursynth/plugin.
Take a look in task manager regarding memory, especially while and after using crop and preview dialogs.
My File Batch is defaulting to avisynth, is there a way to have it use vapoursynth? Thank you
Yes there is, before you open the files right-click the filters list and choose 'Filter Setup' > VapourSynth from the menu.
So the only question remaining is why the deinterlace setting disappeared from the Encoder Options GUI? This GUI is probably part of Stax?
I don't remember it, for missing switches you can make a request here or better at the github issue tracker.
Magik Mark
18th February 2017, 00:42
Hey stax,
Is is possible for you to release a new build? A lot of changes are now available especially x265 with new switches
stax76
18th February 2017, 01:06
Hey Mark,
I worked on a new audio player project lately because Media Monkey is hardly usable on my 4K display and I didn't find a good alternative, it means I've even less time for staxrip but still want to do a small update this or next month. I'm much interested in UWP apps lately so made a new simple high resolution flat style icon for StaxRip (black tombstone with RIP label), maybe I also make a simple installer, with the store it's incompatible.
Magik Mark
18th February 2017, 01:09
Looking forward to it stax! Take Care
NikosD
18th February 2017, 01:54
One other useful addition is HW encoding of H.265 for AMD cards that is missing from StaxRip.
VCEEnc is already in v3.05 version with many new options compared to v2.00
stax76
18th February 2017, 02:02
Nicos, I will update x265 and all of rigaya's encoders.
NikosD
18th February 2017, 07:22
Perfect!
stax76
22nd February 2017, 14:16
I've uploaded it now, I try to work on x265 and the github tracker issues in the next build in 1-2 weeks.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
NikosD
22nd February 2017, 16:05
I've uploaded it now, I try to work on x265 and the github tracker issues in the next build in 1-2 weeks.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Hello Frank.
I couldn't manage getting StaxRip to work, because for the first time it keeps asking for VC 2015 runtime although it's installed.
I downloaded again the exe from the link inside StaxRip and I unistalled the old one - restart - reinstall and didn't work.
It keeps asking for the VC 2015 runtime and says "Unsupported outdated version"
Maybe your link points to an older version ?
Now, using VCEEnc I managed to find out a few bugs even without being able to use AviSynth+
Minor bugs of VCEEnc:
1) Check VCE and Check features open a new window (pop up) for each option but they are empty for both choices.
StaxRip doesn't crash or stall, just can't fill the windows with data.
2) Using H.265 encoder, Level should go up to 6.2, but it shows 5.2 like H.264.
3) AMD and VCEEnc don't support any profile option, besides Main for H.265 encoding.
You have left all options (Baseline, Main, High) like H.264 encoder in H.265 encoder.
4) The default behavior of VCEEnc is to automatically select Profile and Level for both H.264 & H.265 based on the input/output.
So, instead of "Main" as default option for profile of H.264 encoder, you should write "Automatic" like in Level tab.
That's all for now, I hope you to give me a hint of how could I manage to run StaxRip.
P.S
Nice new icon, but it's black and says "RIP" :scared:
Khun_Doug
22nd February 2017, 19:33
I can report the same error as NickosD regarding VC2015 being needed. StaxRip reports the version is outdated or missing. I have installed the latest from Microsoft, and also installed the x86 version of VC2015. Still no go, version 1.4.0.3 won't go beyond the point of trying to find VC2015. StaxRip 1.4.0.2 runs and does not report this error.
I see this version requires a newer VapourSynth and a newer Python. Both are installed / updated. It's just the VC2015 error preventing this version from running.
Douglas
Khun_Doug
22nd February 2017, 19:34
I like the new Icon, but I hope this is not ominous message.
Morku
22nd February 2017, 20:18
I couldn't manage getting StaxRip to work, because for the first time it keeps asking for VC 2015 runtime although it's installed.
When VC2015 is missing window is popping up, press F12, press OK and it works again.
NikosD
22nd February 2017, 22:26
When VC2015 is missing window is popping up, press F12, press OK and it works again.
Thank you, it works.
IIt's just the VC2015 error preventing this version from running.
Douglas
Do what Morku says with F12 key.
I've uploaded it now, I try to work on x265 and the github tracker issues in the next build in 1-2 weeks.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
One more thing you could add is HW decoding using VCEEnc.
The switch is --avvce and supports HW decoding of HEVC (it's broken in latest release), AVC, MPEG2, WMV3, VC1 (it's broken)
It's like QSVEnc's HW decoding switch.
NikosD
23rd February 2017, 09:13
EDIT2: Hmm...apparently AviSynth+_v0.1.0_r1825-MT works too. Source video is 10bit h264.
ffms2 have a new version ->
https://github.com/FFMS/ffms2/releases/download/2.23/ffms2-2.23.1-msvc.7z
Chagelog:
Added support for high bitdepth output in Avisynth+ (Myrsloik)
And -> latest Avisynth+ is r2380
http://www.mediafire.com/file/6pyic6yoto80vtq/avsplus-r2380.7z
Includes support for 10-bit formats & various color space conversions.
LSMASHSource -> r921
https://www.dropbox.com/sh/3i81ttxf028m1eh/AAABkQn4Y5w1k-toVhYLasmwa?dl=0
StaxRip-x64-1.4.0.2-test uses ffms2 2.23.1
Latest Avisynth+ r2380 still have the same "avs: invalid colorformat." error.
Beginning with r2290 Avisynth+ has native 10 bit support. Your 10 bit video is probably opened as real 10 bit by ffms2. Thus the output is also 10 bits which is not handled well by the encoder at least not without appropriate parameters. Try ConvertBits(8) line before the end of the script, or right after opening the video, or try to use a 8 bit colorspace parameter directly with ffms2.
For the first time I remember, latest StaxRip x64 v1.4.0.3 can actually open a 10bit HEVC source file using default LWLibavVideoSource without crashing.
But LSMASHVideoSource crashes on the same file in this avs line:
LSMASHVideoSource("D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color.ts", format = "YUV420P8")
Also, I saw that LWLibavVideoSource is using the same format "YUV420P8" as LSMASH and when I tried to change it manually to "YUV420P10" it changed automatically the resolution from 3840x2160 to 7680x2160, crashing the HW encoder which is 4K only.
Using FFMpegVideoSource I get the same "avs: invalid colorformat." as John, probably because I try to feed an 8 bit HW encoder.
So the questions regarding 10 bit sources are:
1) What's the problem with LSMASH filter crashing while LWLibav works OK on the same 10 bit source ?
2) How can I change LWLibav format from "YUV420P8" to "YUV420P10" without LWLibav changing automatically resolution ?
3) How can I use ffms2 filter to handle the 10 bit -> 8 bit conversion to feed the 8 bit HW encoder ?
4) Which is the best way (in quality terms not speed) for a 10 bit -> 8 bit conversion using StaxRip avisynth filters ?
sneaker_ger
23rd February 2017, 14:35
1.) LSMASHVideoSource() can only open mp4/mov/3gp. (though it should never crash, just show an error message)
2.) I don't understand your question. It doesn't change resolution.
3.) Current ffms2 for AviSynth will automatically dither to 8 bit. For AviSynth+ and VapourSynth you need to use an additional filter for the downconversion (e.g. fmtconv) or use the colorspace parameter (https://github.com/FFMS/ffms2/blob/master/doc/ffms2-avisynth.md#string-colorspace--).
4.) For lossy 8 bit encoding use an ordered dither.
NikosD
23rd February 2017, 14:48
1.) LSMASHVideoSource() can only open mp4/mov/3gp. (though it should never crash, just show an error message)
It doesn't crash. It just shows an error message.
Thanks for your reply, I thought it works for MKV too.
2.) I don't understand your question. It doesn't change resolution.
I know it's strange, but it does.
Maybe a bug of StaxRip ?
3.) Current ffms2 for AviSynth will automatically dither to 8 bit. For AviSynth+ and VapourSynth you need to use an additional filter for the downconversion (e.g. fmtconv) or use the colorspace parameter (https://github.com/FFMS/ffms2/blob/master/doc/ffms2-avisynth.md#string-colorspace--).
4.) For lossy 8 bit encoding use an ordered dither.
Thanks. I'll try it.
sneaker_ger
23rd February 2017, 14:56
I know it's strange, but it does.
Maybe a bug of StaxRip ?
Provide log.
NikosD
23rd February 2017, 15:39
Provide log.
The original clip is 3840x2160:
D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color.ts
General
ID : 0 (0x0)
Complete name : D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color.ts
Format : MPEG-TS
File size : 687 MiB
Duration : 1 min 51 s
Overall bit rate mode : Constant
Overall bit rate : 51.6 Mb/s
Video
ID : 257 (0x101)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
Codec ID : 36
Duration : 1 min 50 s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Writing library : ATEME Titan KFE 3.6.2 (4.6.1.9)
Using the format = "YUV420P10" it becomes 7680x2160 and crashes the 4K HW encoder.
Input width should be in range of 64 - 4096 (7680 specified).
Finished with error in VCEEncC.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Error Encoding using VCEEncC 3.05v2 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoding using VCEEncC 3.05v2 x64 failed with exit code: 1 (0x1)
The exit code might be a system error code: STATUS_WAIT_1
The exit code might be a system error code: Incorrect function.
Input width should be in range of 64 - 4096 (7680 specified).
Finished with error in VCEEncC.
Take a look of the screenshot:
https://s15.postimg.org/juu2vegwb/7680x2160.jpg
sneaker_ger
23rd February 2017, 15:44
Ah, my bad. Yes, since AviSynth is only 8 bit outputting 10 or 16 bit will seemingly double the resolution. It has to be passed to x264/x265 with raw input in a special way. I don't know how that works in Stax Rip. I assume it should work in VapourSynth, though. Otherwise let lwlibavvideosource wither to 8 bit or use something like dither tools to do the job.
fredlkrue
23rd February 2017, 18:01
Doesn't anyone else have problems opening the latest Staxrip test buid under windows 7 64 bits?, I am getting this error message: "The application has failed to start becuase its side-by-side configuration is incorrect."
NikosD
24th February 2017, 12:26
I've uploaded it now, I try to work on x265 and the github tracker issues in the next build in 1-2 weeks.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
I can't figure it out why, but using the above 10 bit HEVC source and the default LWLibavVideoSource filter and ffms2, the original 59.940 fps becomes 25 fps changing completely the initial duration of 1min 51sec to 4min 25sec, using VCEEnc HW HEVC encoder.
Using x264 8bit, works fine with all other parameters equal to VCEEnc.
Log here:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Source file MediaInfo
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color.ts
General
ID : 0 (0x0)
Complete name : D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color.ts
Format : MPEG-TS
File size : 687 MiB
Duration : 1 min 51 s
Overall bit rate mode : Constant
Overall bit rate : 51.6 Mb/s
Video
ID : 257 (0x101)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
Codec ID : 36
Duration : 1 min 50 s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Writing library : ATEME Titan KFE 3.6.2 (4.6.1.9)
Audio
ID : 258 (0x102)
Menu ID : 1 (0x1)
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Muxing mode : ADTS
Codec ID : 15
Duration : 1 min 50 s
Bit rate mode : Variable
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 spf)
Compression mode : Lossy
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Script
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LoadPlugin("D:\various_progs\Video\Transcoders\Progs\GUI\StaxRip-x64-1.4.0.3-test\Apps\Plugins\avs\L-SMASH-Works\LSMASHSource.dll")
LWLibavVideoSource("D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color.ts", format = "YUV420P8")
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Script Properties
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
source frame count : 6646
source frame rate : 59.940060
source duration : 00:01:50.8770000
target frame count : 6646
target frame rate : 59.940060
target duration : 00:01:50.8770000
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoding using VCEEncC 3.05v2 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
@echo off
D:\various_progs\Video\Transcoders\Progs\GUI\StaxRip-x64-1.4.0.3-test\Apps\VCEEncC\VCEEncC64.exe --codec hevc --vbr 22514 -i "D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color_temp\Samsung_SUHD_Journey_of_Color.avs" -o "D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color_temp\Samsung_SUHD_Journey_of_Color_out.hevc"
cmd.exe /C call "D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color_temp\Samsung_SUHD_Journey_of_Color_VCEEncC.bat"
VCEEnc 3.05 (x64) / Windows 10 (x64)
CPU: Intel Core i5-2400 @ 3.10GHz [TB: 3.20GHz] (4C/4T)
GPU: Radeon RX 470 Graphics [Ellesmere 1300MHz (2264.11), AMF 1.4]
Input Info: Avisynth 2.60 yv12->nv12[AVX], 3840x2160p, 60000/1001 fps
Output: H.265/HEVC main @ Level 5.1 (main tier)
3840x2160p 1:1 59.940fps (60000/1001fps)
Quality: balanced
VBR: 22514 kbps, Max 40000 kbps
QP: Min: 0, Max: 51
VBV Bufsize: 40000 kbps
Bframes: 0 frames
Motion Est: Q-pel
Slices: 1
GOP Len: 600 frames
Others: deblock
encoded 6646 frames, 27.41 fps, 19594.91 kbps, 259.00 MB
encode time 0:04:02, CPULoad: 77.44
storage->SetProperty(HevcFillerDataEnable) failed Error:AMF_FAIL
Start: 1:11:33 μμ
End: 1:15:37 μμ
Duration: 00:04:03
General
Complete name : D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color_temp\Samsung_SUHD_Journey_of_Color_out.hevc
Format : HEVC
Format/Info : High Efficiency Video Coding
File size : 259 MiB
Video
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L5.1@Main
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Muxing using mkvmerge 9.9.0 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
D:\various_progs\Video\Transcoders\Progs\GUI\StaxRip-x64-1.4.0.3-test\Apps\MKVToolNix\mkvmerge.exe -o "D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color.mkv" --noaudio --nosubs --no-chapters --no-attachments --no-track-tags --no-global-tags "D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color_temp\Samsung_SUHD_Journey_of_Color_out.hevc" --novideo --nosubs --no-chapters --no-attachments --no-track-tags --no-global-tags --audio-tracks 1 --language 1:und --track-name "1:" --default-track 1:0 "D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color.ts" --ui-language en
mkvmerge v9.9.0 ('Pick Up') 64bit
'D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color_temp\Samsung_SUHD_Journey_of_Color_out.hevc': Using the demultiplexer for the format 'HEVC/h.265'.
'D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color.ts': Using the demultiplexer for the format 'MPEG transport stream'.
'D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color_temp\Samsung_SUHD_Journey_of_Color_out.hevc' track 0: Using the output module for the format 'HEVC/h.265 (unframed)'.
'D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color.ts' track 1: Using the output module for the format 'AAC'.
The file 'D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color.mkv' has been opened for writing.
The cue entries (the index) are being written...
Multiplexing took 5 seconds.
Start: 1:15:37 μμ
End: 1:15:42 μμ
Duration: 00:00:05
General
Complete name : D:\Video\Beyond HD\4K (3840x)\H.265\10bit\Samsung_SUHD_Journey_of_Color.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 262 MiB
Duration : 4 min 25 s
Overall bit rate : 8 252 kb/s
Encoded date : UTC 2017-02-24 11:15:37
Writing application : mkvmerge v9.9.0 ('Pick Up') 64bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L5.1@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 4 min 25 s
Bit rate : 8 171 kb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.039
Stream size : 259 MiB (99%)
Default : Yes
Forced : No
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 1 min 50 s
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 spf)
Compression mode : Lossy
Stream size : 2.50 MiB (1%)
Default : No
Forced : No
stax76
25th February 2017, 14:26
I can't figure it out why, but using the above 10 bit HEVC source and the default LWLibavVideoSource filter and ffms2, the original 59.940 fps becomes 25 fps changing completely the initial duration of 1min 51sec to 4min 25sec, using VCEEnc HW HEVC encoder.
I compared your log against a log created using x265, the difference was that mediainfo showed the framerate for the hevc, you could ask rigaya if he can write the framerate to the hevc file, I've added a check for it and if it's missing it's set by the muxer, I've not tested it, I hope it works.
Doesn't anyone else have problems opening the latest Staxrip test buid under windows 7 64 bits?, I am getting this error message: "The application has failed to start becuase its side-by-side configuration is incorrect."
I had edited the manifest file which unfortunately was incompatible with Win 7, it's fixed in the new built. Two things to note:
1) Win 7 support might get dropped tomorrow
2) Windows is all about UWP, anything else is on life support just like staxrip
Ah, my bad. Yes, since AviSynth is only 8 bit outputting 10 or 16 bit will seemingly double the resolution. It has to be passed to x264/x265 with raw input in a special way. I don't know how that works in Stax Rip. I assume it should work in VapourSynth, though. Otherwise let lwlibavvideosource wither to 8 bit or use something like dither tools to do the job.
The settings and defaults used for avisynth and vapoursynth can be edited in various ways, in the x265 dialog there are options on the Input/Output tab, for now there isn't any automation or error detection in staxrip regarding such options. You can see what options staxrip used in the log file which can be opened from main menu > tools > log file
I like the new Icon, but I hope this is not ominous message.
I created it with paint.net mostly because the old one looked too blurry in the Win 10 start menu using 288 DPI.
Probably there won't be great new features but I should be able to keep everything up-to-date, I will update tools and codecs, fix changed and new switches and add new codecs, av1 will be added once finalized.
I couldn't manage getting StaxRip to work, because for the first time it keeps asking for VC 2015 runtime although it's installed.
I couldn't figure out what exactly went wrong but I changed the message to:
Unsupported outdated version, continue with F12 if you must.
What I did is a) install vapoursynth R36 which forces a VC++ 2015 install and b) copy the download link from the vapoursynth installer found on githup
Check VCE and Check features open a new window (pop up) for each option but they are empty for both choices.
Does it work in the current build? Before there was a copy paste bug pointing to nvencc.exe, thanks for the feedback on vceencc, check out the new build.
I'm wondering why on the latest Stax1.4.0.0 with NVEnc 3.02 I cant find the deinterlace function in Encoder Options?
it's only visible with nvencc decoder selected on the basic tab but due to a bug was always hidden
new build has x265 updated:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
NikosD
25th February 2017, 15:54
https://github.com/stax76/staxrip/blob/master/md/test-build.md
You fixed (almost) everything and you added all the features I asked, thank you.
The two minor bugs of --check-features and --check-vce still exist.
The pop up window is still empty for both.
manolito
25th February 2017, 16:45
1) Win 7 support might get dropped tomorrow
Wow, this is what I call "being far ahead of all the rest"... :devil:
Dropping support for an OS which according to the latest statistics still has a market share of 50% (vs. 25% for Win10). Even 3 years ahead of Microsoft which will drop Win7 support in Jan. 2020. Very impressive indeed...
2) Windows is all about UWP, anything else is on life support just like staxrip
Really? So why don't you make an UWP app out of StaxRip? I am sure that there are tons of StaxRip users who can't wait to run StaxRip on their X-Box or on a smartphone.
Cheers
manolito
stax76
25th February 2017, 16:54
it reads std out in both cases:
ProcessHelp.GetStdOut(Package.NVEncC.Path, "--check-features")
ProcessHelp.GetStdOut(Package.VCEEncC.Path, "--check-features")
do you get output with:
VCEEncC.exe --check-features
and do you also get output with:
VCEEncC.exe --check-features 2> nul
NikosD
25th February 2017, 16:58
Do you mean in a Windows command prompt ?
Yes, it works for the first one.
The second with 2>nul does nothing (no error messages, just nothing)
If you mean somehow inside StaxRip, you have to tell me how to do that.
stax76
25th February 2017, 17:59
Wow, this is what I call "being far ahead of all the rest"...
Dropping support for an OS which according to the latest statistics still has a market share of 50% (vs. 25% for Win10). Even 3 years ahead of Microsoft which will drop Win7 support in Jan. 2020. Very impressive indeed...
yes sorry, bold statement :D, though staxrip was often early with various things since 2002 being the first .net 1.0 app here at doom9, I use Visual Studio 2017 RC for staxrip development and there isn't anything new which isn't Win 7 compatible so it should remain compatible for minimum 2-3 years.
Really? So why don't you make an UWP app out of StaxRip? I am sure that there are tons of StaxRip users who can't wait to run StaxRip on their X-Box or on a smartphone.
it will likely never happen because:
1) staxrip was my first app and the GUI code isn't decoupled making a port difficult
2) since staxrip includes command line apps and maybe more UWP limitations a port is not possible
3) legacy desktop apps are fine for years to come (or even decades)
personally I'm very excited about UWP apps and also about chromium/electron apps
The second with 2>nul does nothing (no error messages, just nothing)
I think this means that it writes to std err instead of std out, I can read from std err, probably better if rigaya fixes it. Maybe you can mail him that it should rather write to std out instead of std err.
NikosD
25th February 2017, 19:22
I compared your log against a log created using x265, the difference was that mediainfo showed the framerate for the hevc, you could ask rigaya if he can write the framerate to the hevc file, I've added a check for it and if it's missing it's set by the muxer, I've not tested it, I hope it works.
I think this means that it writes to std err instead of std out, I can read from std err, probably better if rigaya fixes it. Maybe you can mail him that it should rather write to std out instead of std err.
I have emailed him for both.
He will probably see his emails tomorrow.
manolito
25th February 2017, 20:42
... and there isn't anything new which isn't Win 7 compatible so it should remain compatible for minimum 2-3 years.
Thanks Stax...
no need to worry about Win7 compatibility for me since I still use (and love) the old 32bit version 1.1.9.0. Main reason is that my workflow requires to use some VDub plugins which will not run under 64bit AviSynth+.
And the old version does everything I need. I have not much use for GPU assisted encoding for quality reasons, and HEVC is also not on my wish list. In fact I found out that starting in April when German DVB-T2 broadcasts in HEVC I will have to downconvert all the HD TV captures to AVC. My old and trusted Xtreamer Sidewinder streaming box cannot decode HEVC, and I refuse to get myself a newer streaming box just for this reason. Call me Old-School... :p
Cheers
manolito
fredlkrue
25th February 2017, 22:08
I had edited the manifest file which unfortunately was incompatible with Win 7, it's fixed in the new built. Two things to note:
1) Win 7 support might get dropped tomorrow
2) Windows is all about UWP, anything else is on life support just like staxrip
Thanks for fixing it, long live Windows 7...
DaMacFunkin
26th February 2017, 15:59
Long Live Windows 7 +1...
Is there a way for StaxRip to demux the audio and subtitles at the same time instead of doing separate passes?
Thank You.
Leo 69
26th February 2017, 16:08
Stax, many thanks for the new build.
Next time you'll release a stable or test build, please include --qg-size 8 to the selection menu of x265 as well. On the side note, that new icon (RIP) is really bad:) Is there a chance you'll change it to something more happier in the future?
Cheers.
NikosD
27th February 2017, 14:24
new build has x265 updated:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Next VCEEnc v3.06 will send --check-vce and --check-features to std out.
Now, regarding framerate written on the file, it works for H.264 but it's not working for H.265.
This is a problem of AMD AMF API and we must wait for AMD to fix it.
NikosD
27th February 2017, 15:35
new build has x265 updated:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
New VCEEncC v3.06 is out http://rigaya34589.blog135.fc2.com/blog-entry-901.html and by replacing the app inside StaxRip I can now see both --check-vce and --check-features, although I think the pop up window of --check-features is a little small but generates automatically a right scroll bar.
stax76
1st March 2017, 01:41
although I think the pop up window of --check-features is a little small but generates automatically a right scroll bar.
I made it a bit larger.
please include --qg-size 8 to the selection menu of x265 as well
New build is available.
On the side note, that new icon (RIP) is really bad Is there a chance you'll change it to something more happier in the future?
Probably not soon except somebody creates an awesome icon.
Is there a way for StaxRip to demux the audio and subtitles at the same time instead of doing separate passes?
This would be very difficult to change.
New build with font/runtime generated icons.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
https://s29.postimg.org/5ghf7voaf/Screenshot_46.png
NikosD
1st March 2017, 03:37
I made it a bit larger.
New build is available.
Ι'll see your new version later today.
In the meantime, is there any answer regarding this ?
Hello Frank.
I hope you are doing fine.
I have a bunch of MKV files that I want to transcode in file batch mode, but at the same time I want to remove the embedded subtitles which are inside.
The default option is to include subtitles in "file batch" mode.
Is there any way to remove them ? (In File batch mode of course)
Thank you !
stax76
1st March 2017, 03:51
Deleting 'Preferred Languages' in the options should do the trick.
NikosD
1st March 2017, 04:46
I made it a bit larger.
New build is available.
Better
New build with font/runtime generated icons.
I like your icons, I don't know yet about the font.
Deleting 'Preferred Languages' in the options should do the trick.
Yes, it did.
Thanks.
IntelHEVC
1st March 2017, 09:06
Hi Stax...
When does the support for 10bit and the color spectrum Bt2020 for Intel hardware encoder in Stax be installed?
For Intel Kaby-Lake!
Magik Mark
1st March 2017, 09:23
Stax,
I'm getting this error from time to time:
https://s28.postimg.org/4rdno2xg9/Stax_Error.png (https://postimg.org/image/4rdno2xg9/)
Any thoughts why?
I'm getting this error from time to time:
x265 [error]: empty stats file
Any thoughts why?
x265 can display this error message only from this line:
https://bitbucket.org/multicoreware/x265/src/6e348252e90234f7dbde5406f6a4a8b5ef18ceb9/source/encoder/ratecontrol.cpp?at=default&fileviewer=file-view-default#ratecontrol.cpp-514
Did you make 1 pass by different version of x265? Could you paste log file from 1 pass and 2 pass?
stax76
1st March 2017, 22:37
Hi Stax...
When does the support for 10bit and the color spectrum Bt2020 for Intel hardware encoder in Stax be installed?
For Intel Kaby-Lake!
Please elaborate, I don't have great experience with 10bit and Bt2020.
@Magik Mark
Please post the full log to www.pastebin.com with expiring option for 30 days and use a text editor (like sublime text) to obfuscate file paths if necessary.
Yups
1st March 2017, 23:52
Please elaborate, I don't have great experience with 10bit and Bt2020.
QSVEnc is using HEVC 10 bit with this option below on Kabylake
--profile main10
stax76
2nd March 2017, 02:15
QSVEnc is using HEVC 10 bit with this option below on Kabylake
--profile main10
Thanks, it will be available in the next build.
Khun_Doug
2nd March 2017, 05:23
Testing build 1.4.0.5 and it appears the keyboard shortcuts in Preview are non-functional. I know I could use the left and right arrow keys to move forward and backward, and I feel sure the up and down arrows moved forward and backward in larger units. In rev 1.4.0.5 none of the keys seems to do anything.
Douglas
IntelHEVC
2nd March 2017, 07:22
Thanks, it will be available in the next build.
Profile 10 Bit and Color-Range BT2020 for UHD
Magik Mark
2nd March 2017, 12:25
Did you make 1 pass by different version of x265? Could you paste log file from 1 pass and 2 pass?
http://chopapp.com/#e86f177o
@Magik Mark: Thanks for log file. It looks like there is something wrong with first pass. x265 complains about input file.
I've checked your options and it works, but the 'x265_analysis.dat' file is in current working directory -- you specify '--stats' option but not '--analysis-file' option.
My first impression is that it is StaxRip issue with reading/decoding video.
stax76
2nd March 2017, 16:33
Profile 10 Bit and Color-Range BT2020 for UHD
The QSVEncC help doesn't contain '2020', you can find the mail address of rigaya on his blog.
http://rigaya34589.blog135.fc2.com/blog-category-10.html
Testing build 1.4.0.5 and it appears the keyboard shortcuts in Preview are non-functional. I know I could use the left and right arrow keys to move forward and backward, and I feel sure the up and down arrows moved forward and backward in larger units. In rev 1.4.0.5 none of the keys seems to do anything.
New build is available, in can be considered RC.
I've checked your options and it works, but the 'x265_analysis.dat' file is in current working directory -- you specify '--stats' option but not '--analysis-file' option.
My first impression is that it is StaxRip issue with reading/decoding video.
You mean the x265 command line is incorrect? Can you elaborate? I've not changed something in this area in months.
Since Mark said it only happens sometimes I would guess it has to do with AviSynth multi-threading and there is little I can do, it would probably also happen when the batch file StaxRip generates is run outside of StaxRip.
NikosD
2nd March 2017, 16:35
Don't forget to add in your first page the addition of AMD H.265 encoder.
stax76
2nd March 2017, 16:44
Don't forget to add in your first page the addition of AMD H.265 encoder.
I've reset it now, staxrip moves the old video encoder profiles to a backup sub menu.
NikosD
2nd March 2017, 16:45
I've reset it now, staxrip moves the old video encoder profiles to a backup sub menu.
No, I meant here, the first page of this thread :)
stax76
2nd March 2017, 16:52
ah, changed that too, thanks.
You mean the x265 command line is incorrect? Can you elaborate? I've not changed something in this area in months.
x265 command line is OK, but a bit danger. If you make multiple encoding at the same time with analysis file, it will be a problem (all encoding use the same file).
If StaxRip works now:
IF '--pass' option THEN
add option '--stats "output_file_name.stats"'
FI
it could/should work like this:
IF '--pass' option THEN
add option '--stats "output_file_name.stats"'
IF '--multi-pass-opt-analysis' OR '--multi-pass-opt-distortion' option THEN
add option '--analysis-file "output_file_name.analysis"'
FI
FI
Magik Mark
2nd March 2017, 23:13
Thanks Ma for clarifying. I hope stax can incorporate that to the new build
Magik Mark
2nd March 2017, 23:45
x265 command line is OK, but a bit danger. If you make multiple encoding at the same time with analysis file, it will be a problem (all encoding use the same file).
If StaxRip works now:
IF '--pass' option THEN
add option '--stats "output_file_name.stats"'
FI
it could/should work like this:
IF '--pass' option THEN
add option '--stats "output_file_name.stats"'
IF '--multi-pass-opt-analysis' OR '--multi-pass-opt-distortion' option THEN
add option '--analysis-file "output_file_name.analysis"'
FI
FI
If I'm not mistaken, I think this is also the issue with hybrid since "--multi-pass" CLI has been introduced
slushay
3rd March 2017, 07:13
please help. staxsrip gives an error at the stage of video encoding. More precisely the error causes the decoder. I tried all the available options.
Error:
Encoding using NVEncC 3.06 x64 failed with exit code: 1 (0x1)
cuvid: Parsed header too large!
failed to init decoder.
script:
C:\Users\Andrey\Downloads\StaxRip-x64\Apps\NVEncC\NVEncC64.exe --cqp 18:20:22 --codec h265 --output-depth 10 --lookahead 32 --qp-init 1 --max-bitrate 30000 --aq --output-buf 128 -i D:\temp\temp.mkv -o D:\temp\temp_temp\temp_out.h265
stax76
3rd March 2017, 09:55
@Ma
Thanks for the clarification.
@Mark
It will be fixed in the next build.
@slushay
You can report it to rigaya, is mail address is on his blog.
http://rigaya34589.blog135.fc2.com/blog-category-10.html
slushay
3rd March 2017, 11:21
@slushay
You can report it to rigaya, is mail address is on his blog.
http://rigaya34589.blog135.fc2.com/blog-category-10.html
Thank you for your program. I use myself and recommend to friends.
It is now writing a letter to rigaya.
Alexander
3rd March 2017, 12:36
Hello Frank,
A few other apps need to be updated :)
x264 v.2762
MediaInfo v.0.7.93
FFmpeg v.3.2.2
DGIndexNV v.2053
Qaac v.2.62
L-Smash-Works (avs) v.924
Java v.121
:thanks:
NikosD
3rd March 2017, 14:40
ah, changed that too, thanks.
Hello again.
I don't know how hard is it to add in your Media Info tool just one more column.
It's called "Color primaries" and it has a value of BT.2020 when the clip is HDR.
I can see that property in "tree" mode.
lotnybartek
4th March 2017, 20:26
NikosD can you tell me what might be the best way to encode 1080i recorded tv channel with many fast motions? Source file is: *.ts, around 6.686 kb/s, 2h long, 6,5GB. I need to produce smaller size file maintaining good quality.
In your opinion, what is the best choice in terms of encoding scheme: LA-VBR Lookahead, VBR only, LC-ICQ (which preset - 17? file is too large), maybe QVBR? Bitrate would be 4.000 kb/s.
I got Intel Core i7-6820HQ.
Barty
NikosD
4th March 2017, 20:29
From all of my tests using QSVEnc I had decided that plain ICQ even with no lookahead was totally fine.
You could try --scene-change (but not with ICQ IIRC) and lookahead, but I was happy with plain ICQ.
lotnybartek
4th March 2017, 20:39
Thank you. One more thing, source is 1080i, it's 50fps, target is 25fps. Do you think that I can maintain 50fps after encoding? Is it worth it? It'll double the file size Am I right?
NikosD
4th March 2017, 20:42
Are you going to convert your interlaced file to progressive ?
Then I think you can't avoid the 50fps to 25fps conversion.
But IIRC, QSVEnc supports interlaced encoding and you could leave it interlaced at 50fps
lotnybartek
4th March 2017, 22:44
Yes, 50 fps to 25.
I'm wondering about one thing. If source is 50fps 6700 kb/s, so If I divide fps by 2, Can I also divide bitrate by 2 ? Afterall, I'm encoding half of the source fps - so I should get similar quality.
stax76
5th March 2017, 00:51
Hello again.
I don't know how hard is it to add in your Media Info tool just one more column.
It's called "Color primaries" and it has a value of BT.2020 when the clip is HDR.
I can see that property in "tree" mode.
I build a much better tool from scratch!
https://i.imgur.com/rIHzOjj.png
NikosD
5th March 2017, 06:56
Yes, 50 fps to 25.
I'm wondering about one thing. If source is 50fps 6700 kb/s, so If I divide fps by 2, Can I also divide bitrate by 2 ? Afterall, I'm encoding half of the source fps - so I should get similar quality.
It's not as simple as that actually.
You aren't encoding half of the source, you deinterlace the source making 1 frame from 2, which is different.
Anyway, you could try half bitrate and see for yourself if you are happy with the result, but don't expect to get exactly the same quality as the source - it's not the same.
I build a much better tool from scratch!
https://i.imgur.com/rIHzOjj.png
I have downloaded latest test build v1.4.0.6 but it's not inside (I think)
Are going to release it as a separate tool or inside StaxRip ?
It looks good, BTW.
Zetto
5th March 2017, 07:13
Is there any way to tell nvenc which nvidia videocard to use? If there are more than one present, of course.
DaMacFunkin
5th March 2017, 10:25
Hello i have just upgraded to
StaxRip x64 1.4.0.6 unstable test build
I am using Nvenc x265 vbr, the vbr setting seems to be having no effect, i have encoded a movie with --vbr-quality 27 and it is the same size as 21, 23, 25.
Please advise, it worked fine on the test build from January?
stax76
5th March 2017, 12:09
Are going to release it as a separate tool or inside StaxRip ?
It's a separate tool that will be included in staxrip.
Is there any way to tell nvenc which nvidia videocard to use? If there are more than one present, of course.
Next build will have a device option. Meanwhile, you can add a custom option (--device <int>).
I am using Nvenc x265 vbr, the vbr setting seems to be having no effect
Search the thread for '--vbr-quality', I think you have to raise the bitrate in the main dialog as it acts as a constraint.
Zetto
5th March 2017, 12:21
Next build will have a device option. Meanwhile, you can add a custom option (--device <int>).Thanks for the response! :)
AMED
5th March 2017, 23:28
it appears that's HAvsFunc.py needs to be updated to support changes to KNLMeansCL so prefilter 4 can be used with SMDegrain.
https://raw.githubusercontent.com/HomeOfVapourSynthEvolution/havsfunc/master/havsfunc.py
lotnybartek
6th March 2017, 14:10
Can I use SW deinterlacing, let's say QTGMC and in the same time HW x264 encoding using QuickSync?
WIGGER
6th March 2017, 15:12
Dear all,
I have a question regarding usage of StaxRip with 2 x 6-core (12-threads) processor. I'd like to buy a Working station dedicated only to video encoding with StaxRip/x264 and I'd like to ask for your help/advice. I'm planning on 2 x Intel Xeon X5675 with 24 GB DDR3 ECC and nVidia GTX 480 card in HP Z800.
As far as I read --threads should call 1,5 x number of logical CPU but does it apply to both CPUs or not? In my case it would be 9 with one CPU and 18 with two. I also read that 10 is a recommended maximum for --threads.
So, my problems are two:
1. Is there any danger that 2 CPU could cause improper encoding with StaxRip/x264? I'm going to do a big investment and it would be stupid to end with a failure.
2. Should I expect reduced encoding time and better encoding quality with 2 CPUs or I can keep to my exisitng PC with i5-2500k CPU and to spend the money on beer?
Thank you!
NikosD
6th March 2017, 15:21
If you are going to invest on CPU encoding using x264, you should forget Intel.
Intel is dead regarding multicore x264 encoding.
Grab an 8C/16T RyZen R7 processor or wait for Naples which will go up to 32C/64T and even in dual socket configuration.
WIGGER
6th March 2017, 17:14
@NikosD - this was not the answer I needed/expected, but you are free to share it. I hope someone else can give more useful reply.
Atak_Snajpera
6th March 2017, 17:56
Personally I wouldn't spend any money on such old architecture
http://i.imgsafe.org/d948151608.png
results from x264 FHD Benchmark
40.0 fps - Intel i7-3960X @ 5GHz ( 6C / 12T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
37.7 fps - Intel i7-3930K @ 4.8GHz ( 6C / 12T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
35.5 fps - 2 x Intel Xeon X5670 @ 2.93GHz ( 6C / 6T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
33.1 fps - Intel i7-3930K @ 4.4GHz ( 6C / 12T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
32.9 fps - Intel Xeon E5-2690 @ 2.9GHz ( 8C / 16T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
32.9 fps - Intel Core i7 970 @ 4.5GHz ( 6C / 12T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
31.4 fps - Intel Core i7 980 @ 4.4GHz ( 6C / 12T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
29.7 fps - AMD FX-8350 @ 5GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
28.1 fps - Intel i7-2600K @ 5.2GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
27.9 fps - Intel i7-2600K @ 5.1GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
27.7 fps - Intel i7-3930K @ 3.2GHz ( 6C / 12T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
27.7 fps - Intel i7-2600K @ 5GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
27.7 fps - 2 x Intel Xeon X5670 @ 2.93GHz ( 6C / 12T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
26.8 fps - AMD FX-9590 @ 4.73GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
26.8 fps - AMD FX-8320 @ 4.62GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
26.5 fps - AMD FX-8150 @ 5GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
26.1 fps - Intel i7-2600K @ 4.9GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
25.8 fps - Intel Core i7 X 980 @ 3.57GHz ( 6C / 12T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
25.0 fps - Intel i7-2600K @ 4.5GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
24.0 fps - AMD FX-8120 @ 4.5GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
23.8 fps - Intel i7-2600K @ 4.3GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
23.5 fps - AMD FX-8350 @ 4GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
23.2 fps - Intel Xeon W3670 @ 3.2GHz ( 6C / 12T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
23.0 fps - Intel Core i7-2600K @ 4.2GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
22.8 fps - Intel Core i7-3820 @ 3.6GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
22.5 fps - Intel Core i7-4770S @ 3.1GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
22.3 fps - 2 x Intel Xeon X5550 @ 2.67GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
22.1 fps - Intel Core i7-2600K @ 4GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
21.7 fps - Intel Core i7-3770K @ 3.5GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
21.3 fps - AMD FX-8150 @ 4GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
20.6 fps - Intel Xeon E3-1230 V2 @ 3.3GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
20.6 fps - AMD Phenom II X6 1090T @ 4GHz ( 6C / 6T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
20.6 fps - 2 x Intel Xeon E5450 @ 3GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
20.1 fps - Intel Core i7-2700K @ 3.5GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
20.1 fps - Intel Core i5-2500K @ 4.5GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
20.0 fps - Intel Core i7 920 @ 4GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
19.8 fps - AMD Phenom II X6 1090T @ 3.85GHz ( 6C / 6T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
19.7 fps - Intel Core i5-2500K @ 4.4GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
19.6 fps - Intel Core i7 950 @ 3.68GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
19.4 fps - Intel Core i7-2600K @ 3.4GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
19.2 fps - 2 x Intel Xeon X5365 @ 3GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 Cache64
19.0 fps - AMD Phenom II X6 1100T @ 3.7GHz ( 6C / 6T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
18.6 fps - Intel Xeon E5645 @ 2.4GHz ( 6C / 12T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
18.5 fps - AMD Phenom II X6 1090T @ 3.6GHz ( 6C / 6T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
18.2 fps - 2 x Intel Xeon E5430 @ 2.67GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
18.0 fps - AMD Phenom II X6 1055T @ 3.5GHz ( 6C / 6T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
17.9 fps - AMD FX-6100 @ 4.4Ghz ( 3C / 6T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
17.8 fps - AMD FX-8120 @ 3.1GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
16.9 fps - AMD FX-6100 @ 4.2GHz ( 3C / 6T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
16.8 fps - AMD Phenom II X6 1100T @ 3.3GHz ( 6C / 6T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
16.4 fps - AMD Phenom II X6 1090T @ 3.2GHz ( 6C / 6T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
16.3 fps - 2 x Intel Xeon E5506 @ 2.13GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
16.0 fps - Intel Core i5 750 @ 4GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
15.7 fps - Intel Core i5-2500K @ 3.3GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
15.2 fps - Intel Core2 Quad Q9650 @ 4GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
15.0 fps - AMD Phenom II X6 1075T @ 3GHz ( 6C / 6T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
14.9 fps - Intel Core i5 760 @ 3.5GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
14.7 fps - Intel Core i5-2400 @ 3.1GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
14.7 fps - Intel Core i7 930 @ 2.8GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
14.6 fps - AMD Phenom II X6 1055T @ 2.8GHz ( 6C / 6T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
14.4 fps - Intel Xeon E31230 @ 3.2GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
14.3 fps - AMD Phenom II X6 1045T @ 2.7GHz ( 6C / 6T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
14.0 fps - Intel Core i7 920 @ 2.67GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
14.0 fps - AMD Phenom II X4 965 @ 4GHz ( 4C / 4T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
13.6 fps - Intel Core2 Quad Q9650 @ 3.8GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
13.6 fps - AMD FX-4100 @ 5GHz ( 2C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
13.4 fps - AMD FX-6100 @ 3.3Ghz ( 3C / 6T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
13.0 fps - Intel Xeon E5450 @ 3.6GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
12.6 fps - AMD A8-3850 APU @ 3.5GHz ( 4C / 4T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
12.6 fps - Intel Core2 Quad Q6600 @ 3.6GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 Cache64
12.4 fps - Intel Core2 Extreme X9650 @ 3.33GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
12.3 fps - AMD FX-4100 @ 4.75GHz ( 2C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
12.2 fps - Intel Core i7 860 @ 2.8GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
12.0 fps - AMD FX-4100 @ 4.5GHz ( 2C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
11.9 fps - Intel Core2 Quad Q6600 @ 3.46GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 Cache64
11.8 fps - Intel Core2 Quad Q9400 @ 3.2GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
11.7 fps - AMD Phenom II X4 965 @ 3.4GHz ( 4C / 4T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
11.6 fps - 2 x Intel Xeon X5260 @ 3.33GHz ( 2C / 2T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
11.2 fps - Intel Core2 Extreme X9650 @ 3GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
11.1 fps - Intel Core2 Quad Q8300 @ 3GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
11.0 fps - Intel Core i5 750 @ 2.66GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
10.9 fps - Intel Core i7-2630QM @ 2GHz ( 4C / 8T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
10.9 fps - 2 x Intel Xeon E5310 @ 1.6GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 Cache64
10.8 fps - Intel Core i5 750 @ 2.66GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
10.5 fps - AMD Phenom II X4 945 @ 3GHz ( 4C / 4T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
10.4 fps - Intel Core2 Quad Q6600 @ 3GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 Cache64
10.2 fps - Intel Core2 Quad Q8200 @ 2.8GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
10.1 fps - AMD Athlon II X3 455 @ 3.85GHz ( 3C / 3T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
10.0 fps - AMD Athlon II X4 640 @ 3GHz ( 4C / 4T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
9.5 fps - AMD A6-3400M APU @ 2.7GHz ( 4C / 4T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
9.2 fps - Intel Core i3-2120 @ 3.3GHz ( 2C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
9.2 fps - Intel Core2 Quad Q8300 @ 2.5GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
9.1 fps - AMD Phenom II X4 925 @ 2.8GHz ( 4C / 4T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
8.7 fps - Intel Core2 Quad Q8200 @ 2.33GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
8.6 fps - Intel Core i3-2100 @ 3.1GHz ( 2C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
8.6 fps - AMD Phenom 9950 @ 2.6GHz ( 4C / 4T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
8.5 fps - Intel Core2 Quad Q6600 @ 2.4GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 Cache64
8.2 fps - AMD Athlon II X3 450 @ 3.2GHz ( 3C / 3T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
8.0 fps - AMD Phenom 9750 @ 2.4GHz ( 4C / 4T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
7.8 fps - AMD A6-3400M APU @ 2.2GHz ( 4C / 4T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
7.6 fps - Intel Core2 Duo E8200 @ 4GHz ( 2C / 2T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
7.6 fps - Intel Core i5-2430M @ 2.4GHz ( 2C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
7.5 fps - Intel Core i5-2410M @ 2.3GHz ( 2C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
7.5 fps - Intel Pentium G2120 @ 3.1GHz ( 2C / 2T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
7.4 fps - Pentium Dual-Core E5400 @ 4.16GHz ( 2C / 2T ) MMX2 SSE2Fast SSSE3 FastShuffle Cache64
7.2 fps - Intel Core i3-2120T @ 2.6GHz ( 2C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
7.1 fps - AMD Phenom II X3 720 @ 2.8GHz ( 3C / 3T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
6.9 fps - Intel Core i5-3317U @ 1.7GHz ( 2C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
6.7 fps - Intel Core2 Duo E8400 @ 3.6GHz ( 2C / 2T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
6.2 fps - Pentium Dual-Core E6300 @ 3.5GHz ( 2C / 2T ) MMX2 SSE2Fast SSSE3 FastShuffle Cache64
5.8 fps - AMD A6-3500 APU @ 2.1GHz ( 3C / 3T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
5.6 fps - AMD Phenom II X2 555 @ 3.2GHz ( 2C / 2T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
5.4 fps - Intel Core i3-3217U @ 1.8GHz ( 2C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
5.3 fps - Intel Core i3 M 330 @ 2.13GHz ( 2C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
5.3 fps - AMD Phenom II N830 @ 2.1GHz ( 3C / 3T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
5.2 fps - AMD Athlon II X2 250 @ 3GHz ( 2C / 2T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
5.1 fps - Intel Celeron G530 @ 2.4GHz ( 2C / 2T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
4.8 fps - Intel Pentium Dual E2220 @ 3GHz ( 2C / 2T ) MMX2 SSE2Fast SSSE3 Cache64
4.4 fps - AMD A4-3300 APU @ 2.5Ghz ( 2C / 2T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
4.4 fps - Intel Core2 Duo T9300 @ 2.5GHz ( 2C / 2T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
3.8 fps - Pentium Dual-Core T4400 @ 2.2GHz ( 2C / 2T ) MMX2 SSE2Fast SSSE3 FastShuffle Cache64
3.4 fps - Pentium Dual-Core T4200 @ 2GHz ( 2C / 2T ) MMX2 SSE2Fast SSSE3 FastShuffle Cache64
3.3 fps - AMD Athlon Dual Core 4450e @ 2.4GHz ( 2C / 2T ) MMX2 SSE2Slow SlowCTZ
3.0 fps - AMD Athlon II x2 M300 @ 2Ghz ( 2C / 2T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
1.7 fps - AMD E-350 @ 1.6GHz ( 2C / 2T ) MMX2 SSE2Fast SSSE3 FastShuffle SSEMisalign LZCNT
1.5 fps - VIA Nano X2 L4050 @ 1.4Ghz ( 2C / 2T ) MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
Ryzen 7 1700@3.7GHz will be definitely faster than those two old Xeons.
NikosD
6th March 2017, 18:08
Personally I wouldn't spend any money on such old architecture
http://i.imgsafe.org/d948151608.png
Nice table, RyZen is missing though (probably because it's too new architecture)
I would like to see SSE2 integer data and AVX2 integer data too which are more useful to x264/x265 than FP.
Is there any link for that table ?
Atak_Snajpera
6th March 2017, 18:09
http://forum.pclab.pl/topic/1105978-FlopsCPU-klasyczny-benchmark-z-1992-roku-w-nowej-oprawie/
NikosD
6th March 2017, 18:13
What a coincidence !
I have done the same thing, recompiling that old flops.c source code with MS VC++ and ICC compiler but I don't have that much hardware to test it.
Also, IIRC it's a single threaded app.
How did you manage to make it multithreaded ?
Atak_Snajpera
6th March 2017, 18:19
How did you manage to make it multithreaded ?
I simply run multiple instances at the same time and then add MFLOPS(4) results.
WIGGER
6th March 2017, 19:13
@Atak_Snajpera - thank you so much for this clear reply. I know it is an old stuff, but I can't afford much more money for other equipment.
I see you are highly experienced in x264 encoding so my last request is to tell me what would be the difference between current i5-2500k and the 2 x X5675? Would be there an improvement or no big change is expected? Reason to aks is because of your post above:
15.7 fps - Intel Core i5-2500K @ 3.3GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
which is lower than
35.5 fps - 2 x Intel Xeon X5670 @ 2.93GHz ( 6C / 6T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
(closest to my desired X5675)
NikosD
6th March 2017, 19:17
He has already replied to you that a 330$ CPU - Ryzen R7 1700@3.7GHz - is faster than those two xeons.
Why do you insist on that configuration ?
Atak_Snajpera
6th March 2017, 19:22
Wigger what is your budget?
WIGGER
6th March 2017, 19:23
Well, this one would cost 700 EUR because it is HP Z800 workstation. CPU itself is about 40-50 EUR because is old.
Atak_Snajpera
6th March 2017, 19:33
Well, this one would cost 700 EUR because it is HP Z800 workstation. CPU itself is about 40-50 EUR because is old.
Why don't you buy regular desktop CPU like RyZen 1700 (?!).
Example prices in my country
Motherboard ASUS PRIME B350-PLUS = ~100 EURO (with VAT)
RyZen 7 1700 = ~370 EURO (with VAT)
RAM 2x8 GiB DDR4 2400MHz = ~130 EURO (with VAT)
WIGGER
6th March 2017, 19:43
Well, I don't know. I just decided that a dual CPU workstation would perform better than a desktop PC.
Prices in Bulgaria are very common to Poland, so I can really do such an upgrade.
Thank you for all your efforts and explanation. Have a nice evening!
Atak_Snajpera
6th March 2017, 19:49
15.7 fps - Intel Core i5-2500K @ 3.3GHz ( 4C / 4T ) MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
- Ryzen has atleast 1.1x better IPC than SandyBridge.
- RyZen 1700@3.7 GHz has 1.12x higher clock.
- RyZen 1700 has 2x more cores
- RyZen 1700 has SMT so another 1.2x boost
So 15.7 fps * 1.1 * 1.12 * 2 * 1.2 = 46.4 fps (estimated performance)
WIGGER
6th March 2017, 19:56
I have no words to thank you for your kind support! I already put proposed configuration in my shopping basket. I hope to order it soon and I'd be glad to share the results with you.
NikosD
7th March 2017, 11:40
http://forum.pclab.pl/topic/1105978-FlopsCPU-klasyczny-benchmark-z-1992-roku-w-nowej-oprawie/
I did some comparison tests with my binaries today and found out that mine are a little faster.
I have compiled the original source with ICC 11.1 on August 2010, with MS VC++ 2013 and with ICC 13.1 on August 2014.
It seems that August is my month for such things.
Anyway, my executables from ICC 13.1 are 2.5x bigger than yours (~106KB), but I really don't remember the exact settings in Intel's compiler.
Using Sandybridge Core i5-2400 and AVX instructions and Core i3-4170 and AVX2 instructions my binaries are ~12% faster than yours and I saw that bigger differences existed in Modules 3 and 4.
Of course someone could replace your binaries with his, keeping the excellent GUI as it is, I think.
I will check your page for updates, but if you see a RyZen result, please give me a heads-up in a private message.
It's my last post here regarding this subject, since it's clearly off-topic in StaxRip's thread.
stax76
7th March 2017, 12:19
@Alexander
I've updated the apps except for DGDecNV where my license for some reason has stopped working, just press F12 and enter the version you are using.
@Nikos
The new MediaInfo app didn't work out well, the new control (DataGridView) was too slow and I also discarded the idea to store the data so it's fine as it is, I added your requested property and fixed a few issues.
new RC test build:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
NikosD
7th March 2017, 12:45
new RC test build:
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Thank you Frank, it works fine.
Don't forget to add in the Requirements section of the first page of this thread, that you need a Polaris card for AMD H.265 encoding.
No previous AMD card can do that.
easyfab
7th March 2017, 20:51
- Ryzen has atleast 1.1x better IPC than SandyBridge.
- RyZen 1700@3.7 GHz has 1.12x higher clock.
- RyZen 1700 has 2x more cores
- RyZen 1700 has SMT so another 1.2x boost
So 15.7 fps * 1.1 * 1.12 * 2 * 1.2 = 46.4 fps (estimated performance)
isn't it x4 ? 4T vs 16T ?
Alexander
7th March 2017, 22:04
@Alexander
I've updated the apps except for DGDecNV where my license for some reason has stopped working, just press F12 and enter the version you are using.
Thanks, I've seen it in the new test build
My DGDecNV 2053 r170305 works fine
need4speed
9th March 2017, 06:58
Hi all, quick question on compressibility test for x265: is it worth it?
If so can I set some parameters or it is supposed to run as is and suggest settings?
Many thanks in advance!
Inviato dal mio GT-N7100 utilizzando Tapatalk
Zetto
9th March 2017, 20:42
@Stax76
nvenc updated to 3.07
released Mar 8, 2017
add option to apply NVENC presets. (--preset [default, quality, performance])
please note that some options are overrided by user or application specified parameters.
add option to set H.264 B direct mode. (--direct [auto, none, spatial, temporal])
add option to enable H.264 adaptive transform mode. (--adapt-transform)
--enable-ltr is now for HEVC only, since it is mentioned in SDK that it does not currently work for H.264.
(just a day after your last test build lol)
VelleX
10th March 2017, 09:28
found some benchmarks for comparison between ryzen and single Xeon x5670 or Dual x5675, but test is with an old x264 build.
http://www.xin.at/x264/?comp_id=8&search=Suchen&custombuild=on&virtsys=on&subminspecs=on&systemclass=nonotebooks
5 0000:43:55.819 199.234x 11.906 79.23% Cracky 1/8/16 AMD Ryzen 7 1700 3.00GHz @ 3.90GHz 16GB DDR-IV/2400 13-13-13-35 Gigabyte AB350-Gaming 3 Windows 10 Pro x64
7 0000:48:20.084 181.079x 10.821 44.47% Soulreaver 2/6/12 Intel Xeon X5690 3.47GHz @ 4.21GHz 24GB DDR-III/1333 CL7 EVGA Classified SR-2 Windows 10 Enterprise x64
10 0000:48:52.220 179.094x 10.702 81.70% Yoshi 1/8/16 AMD Ryzen 7 1700X 3.40GHz 16GB DDR-IV/2400 14-14-14-34 ASUS PRIME X370-PRO Windows 10 Pro x64
15 0000:53:43.561 162.908x 9.735 84.22% Cracky 1/8/16 AMD Ryzen 7 1700 3.00GHz 16GB DDR-IV/2400 13-13-13-35 Gigabyte AB350-Gaming 3 Windows 10 Pro x64
21 0000:56:55.643 153.747x 9.188 51.85% Eisfuchs 2/6/12 Intel Xeon X5675 3.07GHz 24GB DDR-III/1333 CL9 Dell 06FW8P Windows 7 Pro x64
36 0001:10:29.641 124.158x 7.420 48.15% Elianda 2/6/12 Intel Xeon X5650 2.67GHz 8GB Reg. ECC DDR-III/1066 HP z600 Windows XP Pro x64
38 0001:11:28.877 122.443x 7.317 62.99% Grindhavoc 1/6/12 Intel Xeon X5650 2.67GHz @ 4.02GHz 24GB ECC DDR-III/1600 9-9-9-24 1T ASRock X58 Extreme3 Windows 7 Pro x64 SP1
41 0001:13:28.645 119.117x 7.118 63.16% Aristo084 1/6/12 Intel Xeon X5670 2.93GHz @ 3.90GHz 12GB DDR-III/1600 9-9-9-20 1T Gigabyte GA-EX58-UD5 Windows 7 Ultimate x64
Lupissimo
10th March 2017, 17:35
Not being an expert on encoding parameters I need help:
Comparing NVIDIA h264 encodes from StaxRip 1.401 (default settings CQP Profile 4.1 high) and Staxrip 1.407 (default settings VBRHQ Profile 4.1 high) I get of course much smaller file size but the quality is not quite as good. Which parameter(s) do I have to change to obtain a higher quality?
Edit: Having tried various files, the default settings for 1.407 are probably wrong. I get a file size of 750MB instead of 5GB using 1.401. The video is very jerky and pixelated.
jonesjrgr
11th March 2017, 21:24
Hello!!!
I searched the entire topic (staxrip),for a way to convert an HDR source to SDR output.
I have seen the user ready script (included in staxrip),but i can't reverse it.
Is there a way to do it?Another custom script perhaps?
Any kind of help is appreciated.
Thank you in advance,and sorry if it is already mentioned,and i missed it
Lupissimo
13th March 2017, 14:31
Testing 1.407 NVIDIA ENC 264:
Starting from the same 12 GB file using the default VBRHQ Profile 4.1 High values I get: 691.577 KB for the entire movie (length 01:47:26 ).
When I use the cutting option to reduce the length to 00:09:22
the file is 774.834 KB with the same settings.
?????????????????????:(:(:(
stax76
13th March 2017, 14:37
@Zetto
NVEncC and x265 are updated.
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Khun_Doug
17th March 2017, 17:45
I have been using build 1.4.0.6 thru 1.4.0.8 without trouble. I have an I7-6850K with 32GB RAM, M.2 SSD PCI, ATI R9 GPU. StaxRip has been very responsive to mouse commands, accessing filters, cropping and preview. I am now using Windows 10 build 15048. This is one of the release candidates for the next Windows 10 update (I think it is called Creators Edition). Since being on this release StaxRip GUI is extremely laggy. Opening crop and preview take several seconds before I get a window. Even closing crop and preview is slow, again taking seconds for anything to happen. Using auto function in crop seems to use only one processor but I know that, previously, the auto cropping would use all processors. Attempting to add or modify filters is also lagging. Here again the operations also seem to take seconds before anything happens.
So far I tried loading 1.4.0.8 on a virtual machine that never had any other version installed. That includes a fresh install of Vapoursynth, Python 3.6, and AviSynth+. The GUI lag is very evident in this test setup.
My test file is a 15GB BD rip. I have also tested with other BD rips and see the same results, so I am sure the source material is okay. I will say that using SD files from DVD rips do not seem to be anywhere near as lagged. I believe there is something preventing StaxRip from operating multi-threaded (very evident in the auto crop operation). It is worth mentioning that encodes operate fine and X264 encoder saturates the machine. The trouble is isolated to the GUI.
Any thoughts or suggestions are welcome. Other tools are not exhibiting this problem with these same source BD files, so I am sure the trouble is isolated to my install of StaxRip on this system and a VM on the same hardware. I truly am stumped on how to resolve this and want to get it resolved.
stax76
17th March 2017, 18:14
@Khun_Doug
So it only happens with pre-release Windows builds?
Khun_Doug
17th March 2017, 19:33
I can say for certain that this is happening on build 15048 and now I just moved up to build 15060 (all release candidates). The problem persists. This was not happening on Anniversary Edition.
To help diagnose this I found folks referencing Process Monitor from Microsoft Sys Internals. I grabbed that and set a filter to only capture StaxRip.exe. I am attaching a link to a 7z of the CSV output. My source file is a BD of Kiss Of The Dragon. My operations were very simple.
https://www.dropbox.com/s/6kabm4gnhzame34/StaxRip%20ProcMon.7z?dl=0
1. Open the file
2. Open crop, and select auto
3. Close crop
4. Open preview (I did not scroll through the film)
5. Close preview
6. Add a noise filter and then choose finesharp
7. Add misc/fluxsmooth
8. Exit
I also timed the lag on mouse commands and it is approximately 5 seconds.
Khun_Doug
18th March 2017, 20:13
I have been able to garner a little more information that may be useful. I determined that some of my BD rips open fine and do not have this lag issue while other BD rips do. The one common factor that I found in files with the lag deals with the frame rate. Mediainfo reports the following for rips with GUI lag:
Frame rate mode : Constant
Frame rate : 24.000 FPS
Original frame rate : 23.976 (24000/1001) FPS
In BD rips that do not exhibit the lag, Mediainfo reports:
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
The format does not appear to be a factor. The only other difference is the length and file size of the rip. BD rips that are approximately 50 minutes long and file size no more than 9GB do not exhibit the lag. A BD rip that is 98 minutes and 16GB has lag, as done one that is 127 minutes and 30GB. All sources, lagged or regular, are 4:2:0 8 bit.
stax76
19th March 2017, 02:02
Maybe the source filter is just slow, you can try different source filters, slow seeking could be caused by a bad ripping method. I really need a log file.
Khun_Doug
19th March 2017, 04:45
I did more experimenting and verified the the frame rate discrepancy as the culprit. Of course it was coincidence that I installed the new ripping software after Windows 10 updated. The ripping software is Acrok Video Converter Ultimate, and is their latest version. I'll get on to them next week.
As a temporary workaround I found that using MKToolNix I could have the frame rate corrected. It's an extra step but the resultant file shows the correct fps and the GUI lag is gone! I did try difference source filters but the lag carried across each that I tried.
Here is the StaxRip log and the output from Mediainfo for one of the files that has the lag.
http://pastebin.com/JqHd03Je
stax76
19th March 2017, 11:41
Writing application : libmatroska built on Oct 15 2013 10:18:17
Writing library : libebml v1.2.0 + libmatroska v1.1.0
The problem could be how the app uses libmatroska. It uses a very old version from 2013. The file is VC-1, source filters generally have better support for AVC. Other rip apps you can try are MakeMKV and AnyDVD.
JohnLai
20th March 2017, 12:39
Hmm....stax76, can you implement a function to automatically run xxx instances of transcoding jobs?
I have queued 60 files to transcoding using Rigaya Nvenc HEVC.
As far as I know, https://developer.nvidia.com/video-encode-decode-gpu-support-matrix has list of how many nvenc engine for nvidia gpu.
GM204 Maxwell has 2 nvenc chips while Pascal has 3 nvenc chips.
Currently I make do by "File batch" 60 videos, click "Start", then on next windows, click "jobs", highlight next job and click "start in new instance". Voila, there will be automatic 2 instances of staxrip using nvenc transcoding until all remaining 58 jobs finish.
I hope the above method can be simplified a bit......
stax76
20th March 2017, 13:06
@JohnLai
Hopefully sometime this year, if possible please create a issue on the tracker.
edit:
because it's a bit difficult to code...
need4speed
20th March 2017, 18:12
Hi all,
wondering if there is any way to set a two pass process with different settings for pass 1 and pass 2. Thanks
Inviato dal mio GT-N7100 utilizzando Tapatalk
stax76
20th March 2017, 23:02
Hi all,
wondering if there is any way to set a two pass process with different settings for pass 1 and pass 2. Thanks
Inviato dal mio GT-N7100 utilizzando Tapatalk
There is a cli encoder, in the latest test build the gui encoder has dedicated custom options like the x264 gui encoder:
https://postimg.org/image/xxm4xeh55/
https://github.com/stax76/staxrip/blob/master/md/test-build.md
need4speed
21st March 2017, 09:33
There is a cli encoder, in the latest test build the gui encoder has dedicated custom options like the x264 gui encoder:
https://postimg.org/image/xxm4xeh55/
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Many thanks
Inviato dal mio GT-N7100 utilizzando Tapatalk
burfadel
21st March 2017, 15:41
The Staxrip executable seems to be taking a lot of CPU use in test build 1.4.0.9 (shown in task manager processes list), after a while it's constantly a few percent. Version 1.4.0.8 works fine and uses no discernible CPU power when the encode is running in the system tray.
stax76
21st March 2017, 15:54
The Staxrip executable seems to be taking a lot of CPU use in test build 1.4.0.9 (shown in task manager processes list), after a while it's constantly a few percent. Version 1.4.0.8 works fine and uses no discernible CPU power when the encode is running in the system tray.
Maybe it's caused by VapourSynth or AviSynth, both were updated.
burfadel
22nd March 2017, 00:50
Maybe it's caused by VapourSynth or AviSynth, both were updated.
I've updated a lot of the components myself, so before 1.4.0.9 I already had the changes. The only thing needed to stop the CPU load was to copy back the 1.4.0.8 staxrip.exe and staxrip.pdb files. Version 1.4.0.9 worked, just the only symptom was the CPU load of staxrip.exe itself.
stax76
22nd March 2017, 01:02
@burfadel
Under which circumstances did it happen? While encoding? Which encoder?
burfadel
22nd March 2017, 01:56
While encoding using x265. It could be because I often do two encodes in parallel, which works fine normally! I find I get better encode speed overall than using MT in the script. When it did have high CPU use I was doing multiple encodes like that, and was repeatable, but thinking of it only one instance seemed to have high use.
JohnLai
22nd March 2017, 03:47
Hmm....my dad starts to record stuff from satellite broadcast.
The recorded file was in TS container.
There are 2 DVB bitmap subtitles within TS.
How can I simply mux these two DVB bitmap subtitles after transcoding using staxrip?
Mediainfo detail for one of many video stuff recorded by my dad, example, there are 3 dvb bitmap subtitles:
Video
ID : 851 (0x353)
Menu ID : 85 (0x55)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : 27
Duration : 44 min
Bit rate mode : Variable
Bit rate : 4 561 kb/s
Maximum bit rate : 19.2 Mb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan type, store method : Separated fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.198
Stream size : 1.42 GiB (84%)
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio #1
ID : 852 (0x354)
Menu ID : 85 (0x55)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 6
Duration : 44 min
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Compression mode : Lossy
Stream size : 123 MiB (7%)
Language : English
Audio #2
ID : 853 (0x355)
Menu ID : 85 (0x55)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 6
Duration : 44 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Compression mode : Lossy
Stream size : 61.4 MiB (4%)
Language : English
Text #1
ID : 854 (0x356)
Menu ID : 85 (0x55)
Format : DVB Subtitle
Codec ID : 6
Duration : 44 min
Delay relative to video : 928 ms
Language : Chinese
Text #2
ID : 855 (0x357)
Menu ID : 85 (0x55)
Format : DVB Subtitle
Codec ID : 6
Language : English
Text #3
ID : 856 (0x358)
Menu ID : 85 (0x55)
Format : DVB Subtitle
Codec ID : 6
Duration : 44 min
Delay relative to video : 928 ms
Language : chs
Staxrip doesn't seem to show any of dvb subtitles at "Container Options"
EDIT: stax76 might wanna have a read on https://github.com/mbunkus/mkvtoolnix/issues/1843
Seem like mkvtoolnix 9.8.0 implemented dvb subtitle:
mkvmerge: added support for Digital Video Broadcasting (DVB) subtitles (CodecID S_DVBSUB). They can be read from MPEG transport streams and from Matroska files. Implements #1843.
and latest version 9.9.0 added bugfix on muxing dvb subtitle.
burfadel
22nd March 2017, 05:27
@burfadel
Under which circumstances did it happen? While encoding? Which encoder?
Further to my last post, I tried 1.4.0.9 again, and it doesn't seem to be doing it now. Previously I had the encodes running for a while before the issue started (two separate occasions), I'll let it run again for a while and see what happens.
Might be one of those things where a reboot solved the problem. Only change apart from the reboot was just updated to AMD Crimson 17.3.3 from 17.3.2 (hence the reboot).
need4speed
22nd March 2017, 06:25
Hi again,
sorry for the hassle but i am still trying to understand how the 2pass option screen works.
Here is a sample of my setup.
http://i68.tinypic.com/5dw7yq.jpg
Not sure if this is correct since what I check log when encoding first pass is that ME=dia. What I did wrong?
http://i63.tinypic.com/qmxna1.jpg
I expect me=star to be applied for both pass1 and pass2??
Basically the only difference between pass 1 and pass 2 should be pass2 with no --no-slow-firstpass switch.
Thanks in advance!
m-v-w
22nd March 2017, 06:27
Can be added like VidCoder, you can cut the film, more detailed adjustment items
https://vidcoder.codeplex.com/
Can increase NeuronDoubler
http://loggialogic.blogspot.tw/2012/06/neurondoubler.html
Can increase waifu2x
https://github.com/nagadomi/waifu2x
waifu2x-converter-cpp for nvidia
https://github.com/tanakamura/waifu2x-converter-cpp
waifu2x-caffe for amd
https://github.com/lltcggie/waifu2x-caffe
Can increase the function similar to AniZip
http://c00-c03.blogspot.tw/2017/02/AniZipReleaseNotes.html
https://www.youtube.com/watch?v=bVxqa66zEf8
burfadel
22nd March 2017, 07:19
@burfadel
Under which circumstances did it happen? While encoding? Which encoder?
While encoding using x265. It could be because I often do two encodes in parallel, which works fine normally! I find I get better encode speed overall than using MT in the script. When it did have high CPU use I was doing multiple encodes like that, and was repeatable, but thinking of it only one instance seemed to have high use.
Further to my last post, I tried 1.4.0.9 again, and it doesn't seem to be doing it now. Previously I had the encodes running for a while before the issue started (two separate occasions), I'll let it run again for a while and see what happens.
Might be one of those things where a reboot solved the problem. Only change apart from the reboot was just updated to AMD Crimson 17.3.3 from 17.3.2 (hence the reboot).
I've been running the encodes since about 10 minues before the last post, and now it is doing it again. This is new behaviour in 1.4.0.9, 1.4.0.8 does not do it.
1.4.0.9 This is what happens:
http://i.imgur.com/fvNZuO4.jpg
When I noticed the problem earlier, the encodes were running much longer, and the CPU use was around 4 percent on the errant staxrip process.
In all cases it seems to affect only one of the instances. I'm not sure what would happen if I run one encode for an extended period. The second encode was started a minute or so after the first. Both encodes are encoding files of the same source, same resolution, using the same script and encoder settings. Both windows are minimised, just then the usage was mostly 2 percent but raising to 3 percent and dropping to 1 percent rarely. It doesn't sound like much, but it shouldn't be doing it. The other instance of Staxip was as expected, I realise there is a little bit of CPU use but this usage is abnormal.
With 1.4.0.8, running the same encodes, only about 10 minutes so far though:
http://i.imgur.com/nT0OgVo.jpg
It doesn't matter that it's 10 minutes, even after two days of encoding with two instances, and it progresses through the job queue, there is no abnormal CPU use with 1.4.0.8 and earlier.
A big thing I'd like to point out is the memory usage. These are encoding the exact files, scripts etc. It seems that 1.4.0.9 uses less memory for Staxrip than 1.4.0.8?
Thanks :)
stax76
22nd March 2017, 12:40
@burfadel
I don't think that I have changed any code that runs and manages processes.
I get about max 0.3% for a single instance and max 1% as sum from 2 instances:
https://postimg.org/image/m3a675p8p/
It seems 2 instances take 4 times the cpu power of one instance, doesn't make much sense, probably I should try to profile/optimize it, as far as I know it does only a little string processing of stdout to decide to rather update the status area or to write to the log file.
EDIT: stax76 might wanna have a read on https://github.com/mbunkus/mkvtoolnix/issues/1843
Seem like mkvtoolnix 9.8.0 implemented dvb subtitle:
mkvmerge: added support for Digital Video Broadcasting (DVB) subtitles (CodecID S_DVBSUB). They can be read from MPEG transport streams and from Matroska files. Implements #1843.
and latest version 9.9.0 added bugfix on muxing dvb subtitle.
most libs/tools can't handle TS well enough because it's too difficult so don't expect much, if you just remux to mkv it might work but as soon as you encode async problems will occur with most libs/tools, new formats like avc/hevc and subtitles make things even more difficult, tools that have good ts reputation are project x, dgdecnv and ts doctor. Some years ago I gave up TV in favor of streaming/download so I'm not well informed. If you post samples and example command lines I'll take a look at it.
@need4speed
You can try 1.4.1.1 which eliminates duplicate switches, custom options override gui options, before this was implemented for custom options but not for 2 pass custom options, now it's implemented everywhere. Better post the command lines which you can find at: main menu > tools > log file
need4speed
22nd March 2017, 13:29
@burfadel
I don't think that I have changed any code that runs and manages processes.
I get about max 0.3% for a single instance and max 1% as sum from 2 instances:
https://postimg.org/image/m3a675p8p/
It seems 2 instances take 4 times the cpu power of one instance, doesn't make much sense, probably I should try to profile/optimize it, as far as I know it does only a little string processing of stdout to decide to rather update the status area or to write to the log file.
most libs/tools can't handle TS well enough because it's too difficult so don't expect much, if you just remux to mkv it might work but as soon as you encode async problems will occur with most libs/tools, new formats like avc/hevc and subtitles make things even more difficult, tools that have good ts reputation are project x, dgdecnv and ts doctor. Some years ago I gave up TV in favor of streaming/download so I'm not well informed. If you post samples and example command lines I'll take a look at it.
@need4speed
You can try 1.4.1.1 which eliminates duplicate switches, custom options override gui options, before this was implemented for custom options but not for 2 pass custom options, now it's implemented everywhere. Better post the command lines which you can find at: main menu > tools > log file
Thanks as always.
Truth to tell I was checking log and found something strange.
Version 1409: pass 1 is working with me Dia while pass 2 was correctly picking up ME Star.
I have posted the command line from log (second image) for pass 1. Pass 2 is picking up switches as expected. So question would be: what is the result of me different settings for pass 1 and pass 2? Sorry if this is dumb question but can't really understand.
For the record mkvinfo is showing me star for final output file.
Inviato dal mio GT-N7100 utilizzando Tapatalk
burfadel
22nd March 2017, 14:20
@burfadel
I don't think that I have changed any code that runs and manages processes.
I get about max 0.3% for a single instance and max 1% as sum from 2 instances:
https://postimg.org/image/m3a675p8p/
It seems 2 instances take 4 times the cpu power of one instance, doesn't make much sense, probably I should try to profile/optimize it, as far as I know it does only a little string processing of stdout to decide to rather update the status area or to write to the log file.
Two instances takes four times the CPU power? How does that work? For me the sum of the framerate achieved running two instances is greater than one, the difference roughly equal to the unused CPU usage of one instance. It might be different with different script complexities, different CPU's etc.
Actually having the option for two parallel encodes I think would greatly benefit those with 8-core, 16-thread Ryzens (like I'm in the process of building). Even a mutli-threaded script can only take the CPU utilisation so far. Even with a multithreaded script, I found that running two non-multithreaded scripts simulatenously is faster than one multithreading script. Not sure about running two multithreaded scripts, I guess that would help on 8-core, 16 thread systems systems.
The good thing of Staxrip and child processes running in idle priority is even with two encodes running it doesn't make any noticeable impact on system performance. I guess if you had a system limited by RAM this wouldn't be the case though (I have the 2017 'standard' of 16 GB).
Anyways, after several hours of encoding:
http://i.imgur.com/gu9pMXs.jpg
This is with 1.4.0.8, so my mistake :). The trick is it doesn't happen right away, but that second usage is high. Even with that use, it's still faster doing two parallel encodes! 4 percent is about the highest, it varies between 1 and 4 percent.
With the NET Framework files you have in the Staxrip folder, like with any DLL used by a program and placed in the programs folder, it uses that instead of those in the system path, correct? I was just wondering whether the issue is related to the version of .NET Framework, and running some 4.6 NET Framework files on .NET Framework 4.7 subsystem.
The Creators Update (currently on Insider but everyone will get it very shortly) for Windows 10 uses .NET Framework 4.7. I wonder if the code version mismatch is is causing the issue? There are several files for me in the Staxrip program folder that are older than that which would load if they aren't there. Too late to test tonight, but tomorrow I'll try 1.4.1.1 without the files already included with Windows 10 Creators', and see if that helps.
stax76
22nd March 2017, 15:26
@need4speed
If I understand correctly then your question is relates to x265.
@burfadel
I'm a bit clueless about nuget, all those dlls come from nuget which was only needed for the scripting feature, I don't think this creates a performance issue.
According to the Visual Studio CPU profiling feature the CPU load is due to message processing, I looked at the code that listens for messages, this code really don't do much, also only a couple of messages are received like WM_ENTERIDLE, I tried to make some tweaks and it helped a lot it seems which surprises me because all I did is removing 3 or 4 stack or field integer variables using literals instead. In my last test it showed most of the time 0 or 0.1 % no matter how many processes were running in parallel. I also changed the status update from 100 ms to 200 ms and replaced a delegate object creation in this time period with a static delegate object, the rest is probably just overhead windows creates which cannot be avoided, if you like you can also check how megui compares, I just ran the build/upload script so a new build will be online in a minute or two.
burfadel
22nd March 2017, 15:46
Thanks, I've got several encodes in queue, I'll run 1.4.1.1 overnight and see how it goes :).
Update: Just checked, so after a little over 50 minutes of running two encodes, CPU use is at 0 percent, and the CPU Time used is much lower for the same amount of time (even for the instance that wasn't loading the CPU)! So it seems the issue is fixed.
Is the update frequency of the status remain the same when Staxrip is down in the system tray? Even if it does I guess it's probably only a small fraction of CPU time.
Thanks! :)
burfadel
23rd March 2017, 03:45
It has been running non-stop for a smidgen under 12 hours:
http://i.imgur.com/kQRvS47.jpg
It's very much better! The little bit of CPU time (probably more accurately described as thread time) showing there is expected, so all good :).
lotnybartek
24th March 2017, 10:05
stax76 - I'm encoding for 2 years DVB-TS files without any problem - thank you. Now, there is one thing though...
Let's say I have two TS files. I add first file to StaxRip, set up all the details (QuickSync, Source is: 1080i25 to 1080p50, LA-VBR, BOB, Sound: Just Mux), push it to batch. Then, I add second file, set up everything the same as first file, push it to batch. Start the encoding.
My normal speed with this settings is around 110 fps/s. First file is encoding nicely with this speed. Second file is always encoding with half the speed of the first one - around 50-55 fps/s. I don't know why. Restarting application isn't enough. I need to restart my laptop - only then second file is encoding with normal speed.
Any hints?
burfadel
25th March 2017, 05:08
The new test build 1.4.1.3 has the CPU use of the second process going back to 2-4 percent constant, even in the system tray. I also notice the display rate of the info (such as encoding) updates extremely quickly with 1.4.1.3, the display rate in 1.4.1.2 is perfectly fine. Updating it multiple times a second like 1.4.1.3 isn't any more informative :). Actually even a single process of Staxrip with 1.4.1.3 has noticeably more thread time than 1.4.1.2. A single process of Staxrip uses enough to see it hit 1 percent regularly in the task manager whilst encoding in the system tray, with 1.4.1.2 it may show 1 percent (rounded I assume) for one refresh cycle of the task list about once a minute, running two processes it just means that each one only shows it once ever minute or so.
mcjordan
29th March 2017, 15:22
Frank, see into this thread -> https://forum.doom9.org/showthread.php?t=174469
Myrsloik make a modern /experimental test/ version of ffms2 (so called ffms2000)
May be can you add to the next version?
lotnybartek
31st March 2017, 10:34
stax76 - I'm encoding for 2 years DVB-TS files without any problem - thank you. Now, there is one thing though...
Let's say I have two TS files. I add first file to StaxRip, set up all the details (QuickSync, Source is: 1080i25 to 1080p50, LA-VBR, BOB, Sound: Just Mux), push it to batch. Then, I add second file, set up everything the same as first file, push it to batch. Start the encoding.
My normal speed with this settings is around 110 fps/s. First file is encoding nicely with this speed. Second file is always encoding with half the speed of the first one - around 50-55 fps/s. I don't know why. Restarting application isn't enough. I need to restart my laptop - only then second file is encoding with normal speed.
Any hints?
Bump.
burfadel
1st April 2017, 02:18
I forgot to mention, the second process of Staxrip doesn't start chewing the CPU straight away, it may take 30 minutes. It only happens when there are two instances open, one instance doesn't have any of the CPU usage issues.
I guess considering there's now 8-core, 16-thread machines, making use of that is important. Multithreading the script chain only goes so far. Being able to run multiple encodes simultaneously within one instance of Staxrip I think could be hugely beneficial for those with high end recent multicore processors.
burfadel
3rd April 2017, 17:33
I went back to 1.4.1.3, it actually seems to work great most of the time, and the display update is fine too.
The CPU use rarely goes up, however if you leave two windows open (without being down in the system tray) whilst processing, on two occasions the CPU use went up quite signficantly with them. It might be Staxrip code related, it might also be NET Framework 4.7 related (new bug?). In any case, sorry for inconsistent reports. That said, the changes you have made up to and including 1.4.1.3 are great! In fact, I have had two encode processes running for about 30 hours now non-stop, over multiple encodes, with it down in the system tray (only occasionally opening them and looking), and the CPU time used is very much less than any previous staxrip. Visibly in task manager it only uses a bit of CPU time when it goes through the process of doing the steps involved with starting and finishing an encode, and the amount is very minimal, expected, and unavoidable. When an encode is running, the usage is so low it doesn't register! This is much better than the 2-4 percent no matter what with the older versions. Thanks :).
need4speed
4th April 2017, 06:07
Hi all,
lately I am having issues with transcoding E-ac3 to AAC.
the log reports at beginning:
2: EAC3, English, 5.1 channels, 48kHz
"ENG E-AC3 5.1 640 Kbs"
3: Subtitle (SRT), English, "ENG Subs"
Bitstream parsing for track 2 failed.
Demuxing this track may still produce correct results - or not.
Track 2 is used for destination file "Legion 01x08 AMZN_out1.m4a".
This audio conversion is not supported.
and more..
Audio encoding using eac3to 3.31 x86
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
C:\Portable\StaxRip-x64-1.4.1.1-test\Apps\eac3to\eac3to.exe "D:\DA CONVERTIRE\Legion 01x08 AMZN_temp\Legion 01x08 AMZN.wav" "D:\DA CONVERTIRE\Legion 01x08 AMZN_temp\Legion 01x08 AMZN_out1.m4a" -quality=0.49 -normalize -down6 -progressnumbers
WAV, 5.1 channels, 0:49:08, 16 bits, 4608kbps, 48kHz
Reading WAV...
Writing WAV...
Creating file "D:\DA CONVERTIRE\Legion 01x08 AMZN_temp\Legion 01x08 AMZN_out1.m4a.pass1.wav"...
The original audio track has a constant bit depth of 16 bits.
Starting 2nd pass...
Reading WAV...
Reducing depth from 64 to 32 bits...
Encoding AAC <0.49> with NeroAacEnc...
Applying 3.5dB gain...
the output file seems to be ok, reported by mpc-hc as eac3 640kbs but once extracted mkvinfo is correctly reported as aac_lc 5.1.
Am I doing anything wrong?
Yups
7th April 2017, 19:22
After updating Windows 10 to the Creators update QSVEnc doesn't work anymore, is this a Staxrip or QSVEnc issue?
https://abload.de/img/errorf4sbh.png
edit: Solved by removing RTSS Rivatuner Statistics Server. Handbrake didn't even start. It might work with the newest RTSS, haven't tried yet.
Actually Afterburner itself was the culprit.
jordonb
8th April 2017, 23:15
Hi,
RE Staxrip,
I have used handbrake without issue except the time constraints to Take H.264 encoded Video and reduce the size using H.265. Staxrip works so much faster with my Nvidia 1070 I bought with using it for Hardware conversion in mind. I dont understand why AC3 seems to be the only 5.1 channel output. I would like to pass-through DTS-MA/DTS and Dolby TD when converting 264s to 265s using hardware. Any suggestions would be helpful and I would be more then happy to pay for a license. If Staxrip does not currently support any pass-through is there a way to mux/demux sound track and re-merge after the video is encoded without any timing issues? If that is possible what would I use? I'm also open to other programs and primarily Mint 18 16.04 XFCE with Windows 7 in Dual boot and plenty of large hard drives. You really hear the difference between AC3 and any other higher bitrate or loss-free codecs when you run 5.1.
stax76
12th April 2017, 14:51
@need4speed
You can try to ask in the eac3to thread, there is a moderator that knows a lot about this kind of issue.
@burfadel
Since then I made some changes (greatly simplified code, removed tray icon tooltip...), task manager should now show 0% most of the time if not always.
@lotnybartek
I remember having experienced qs performance drops same or similar, this looks more like a driver problem and can probably be reproduced without staxrip, maybe rigaya can help you with it.
Myrsloik make a modern /experimental test/ version of ffms2 (so called ffms2000)
Seem to work fine by just replacing the files, no breaking changes.
@ users not using creators update
the last test build runs only with Win 10 creators update because it requires .NET 4.7, Microsoft says following:
The .NET Framework 4.7 is available for Windows 10 Creators Update today. We expect to release it for earlier versions of Windows pretty soon. We’ll make an announcement when we have the final date.
.NET 4.7 has various High DPI improvements and High DPI is a staxrip feature that took a great amount of time to learn and implement so it's a topic of great interest for me, if MS don't release .NET 4.7 for Win 7 in a reasonable time frame, I promise to port it back to .NET 4.6.2 if a few people request it.
Taurus
12th April 2017, 21:05
the last test build runs only with Win 10 creators update because it requires .NET 4.7
Hmmh, doing fine here on my Win7 64bit.....:confused::D
fredlkrue
13th April 2017, 02:59
Hmmh, doing fine here on my Win7 64bit.....:confused::D
Same here; please continue supporting Starxrip under Windows 7.
stax76
13th April 2017, 12:43
I changed it back to 4.6.2. One weird issue I have now is a giant size mouse pointer hovering over the link labels in the main dialog.
Atlantis
14th April 2017, 02:26
1- What script to use to convert HDR to SDR video?
2- How to convert HDR to HDR? There is a HDR video when I compress it with x265, the HDR metadata seems to disappear.
Magik Mark
14th April 2017, 03:38
stax,
Can you pls check. Opting for "shutdown" after encoding doesn't work in the "Creative Update" of windows 10 aka Windows 10 Redstone 2
stax76
14th April 2017, 11:37
@Atlantis
Here is a thread about the topic: https://forum.doom9.org/showthread.php?t=174389
@Magik Mark
Next build will use the shutdown CLI tool instead of WMI. I've tested it successfully on Win 10 creators update and Win 7.
burfadel
14th April 2017, 13:28
Yes, the CLI shutdown tool is pretty foolproof. The setting /f forces shutdown as some things may prevent the computer shutting down, and /t 0 will allow the shutdown to be instant instead of 1 minute.
The /t 0 could be useful, an additional option could be set to have an adjustable countdown that you can cancel a shutdown if the user changes their mind. This could be down through a Windows API etc, or simply with the function: timeout /t 30 (30 seconds for example), where the seconds can be adjusted through the Staxrip settings.
BTW, for me 1.4.1.4 works beautifully! The errant cpu usage when running more than one Staxrip process is completely gone.
stax76
14th April 2017, 14:09
@burfadel
Thanks for the help. I've added /f and because it's very simple to do a setting for the timeout found at Settings > System > Shutdown Timeout
Atlantis
14th April 2017, 18:44
@Atlantis
Here is a thread about the topic: https://forum.doom9.org/showthread.php?t=174389
Thank you. How about a simple HDR HDR compression? If I pass an HDR clip into staxrip and compress it a little, the output does not have the HDR info. When I run it through MadVR I see no HDR in the resulted encode.
lotnybartek
15th April 2017, 14:30
@lotnybartek
I remember having experienced qs performance drops same or similar, this looks more like a driver problem and can probably be reproduced without staxrip, maybe rigaya can help you with it.
Seem to work fine by just replacing the files, no breaking changes.
So yeah, you can fix the issue by changing energy settings in intels GPU panel, even while encoding, for ex. from high performance to default - back and forth. After that, performance is "normal".
Dope
17th April 2017, 10:58
@stax76
Can you please implement native Opus encoding instead of libopus
in ffmpeg by default?
https://hydrogenaud.io/index.php/topic,113806/
sneaker_ger
17th April 2017, 11:34
Don't you think we should give this new Opus encoder a bit of time to mature? At least wait for a public listening test. I'm also wondering about the multi-channel compression if it only support CBR at this point in time. This might be more relevant for the movie crowd using StaxRip than the music guys over at Hydrogen.
stax76
17th April 2017, 11:48
@Dope
ffmpeg requests are most of the time low priority because not often requested, on the other side usually they are easy to add so if you create a issue on the tracker there is a good chance that it will be added. For CLI tool requests please always post a command line example.
https://github.com/stax76/staxrip/issues
Dope
17th April 2017, 12:42
@Dope
ffmpeg requests are most of the time low priority because not often requested, on the other side usually they are easy to add so if you create a issue on the tracker there is a good chance that it will be added. For CLI tool requests please always post a command line example.
https://github.com/stax76/staxrip
I have absolutely no idea how to do that on that website. However, at hydrogen there is an example from a user.
"ffmpeg -i input.wav -strict -2 -c:a opus -b:a 64k output.opus"
@sneaker_ger
I partly agree.. however, there's this quote:
"Even though its a pretty basic encoder its already outperforming
any other native encoder FFmpeg has by a huge amount."
sneaker_ger
17th April 2017, 12:56
Yes, but ffmpeg's native audio encoders have never been known to be particularly good. Either way we should measure it against libopus.
I just did a short test with ffmpeg's native opus encoder and it seems to be limited to stereo.
I have absolutely no idea how to do that on that website.
"Sign up" on the top right. After signed up/logged in you go into the "issues" section on the page Stax linked to and click "New issue".
Dope
17th April 2017, 13:10
Yes, but ffmpeg's native audio encoders have never been known to be particularly good. Either way we should measure it against libopus.
I just did a short test with ffmpeg's native opus encoder and it seems to be limited to stereo.
Wow, that's too bad.
"Sign up" on the top right. After signed up/logged in you go into the "issues" section on the page Stax linked to and click "New issue".
Thanks for your help!
Yanak
17th April 2017, 13:28
Hello all and hello Stax, really glad to see this is still going on,
Updated to last 1.4.2.2 version ( had not updated since a while, really liking some fixes and the addition of icons possible for custom menus; don't like the new program icon and what it could mean to this program tho :p ) but something seems to have changed or i am doing something wrong.
I had a custom filter menu to add a logo into videos, it was this :
Logo = logo=ImageSource("F:\logo.png").Overlay(logo, x = 3, y=3, opacity=0.45, mode="luma")
It was working nicely on older versions, but now when I call it the program returns me an error message " I don't know what 'logo' means. "
Probably it have something to do with the 2 consecutive equal signs but i don't understand what have changed
I changed the filter line to this now and it works :
logo = Overlay(ImageSource("F:\logo.png"), x = 3, y=3, opacity=0.45, mode="luma")
But would like to know, if possible, why what was possible and working before is not working anymore in case i have to make some similar syntax custom filters in the future please.
Thanks a lot for continuing the great work.
PS : in the tools > settings > system to change the menu style we don't have anymore the .NET professional option, was using this one before and now it's missing, not sure if it is on purpose or not.
Thanks.
stax76
17th April 2017, 14:26
@Dope
In the audio options dialog is a text box for custom switches where you can enter '-c:a opus', it results in -c:a being written two times to the command line, I'm not sure if ffmpeg will use the first or last, next build will ensure it's only written once. Adding GUI controls for it is easy but I also think it's to early.
@Yanak
Regarding avisynth is the error from staxrip or from avisynth? In the menu you can use 'Preview Code' to show what code is used for avisynth. I created a filter profile as you posted and it was added to the script correctly:
Logo = logo=ImageSource("F:\logo.png").Overlay(logo, x = 3, y=3, opacity=0.45, mode="luma")
logo=ImageSource("F:\logo.png").Overlay(logo, x = 3, y=3, opacity=0.45, mode="luma")
PS : in the tools > settings > system to change the menu style we don't have anymore the .NET professional option, was using this one before and now it's missing, not sure if it is on purpose or not.
Professional is the default style of .NET, all other are owner drawed, the problem with Professional was after I increased the menu item height by adding a larger margin, the text wasn't vertically centered properly.
Yanak
17th April 2017, 14:51
The error message appeared when i tried to preview the video once the filter was applied on a video source loaded but good catch, seems to come from avisynth , i had no issues before using this :
Logo = logo=ImageSource("F:\logo.png").Overlay(logo, x = 3, y=3, opacity=0.45, mode="luma")
but seems like the dot before "Overlay" cause now some issues with avs+, just tried in AVSPmod and also got the same error.
Removed the dot in staxrip profile, just leaving a space between the 2 commands and it works now, like this :
Logo = logo=ImageSource("F:\logo.png") Overlay(logo, x = 3, y=3, opacity=0.45, mode="luma")
I have no clue of what have changed and why separating those two with a small dot worked before and not anymore. Sorry for having bothered you with this.
As for .Net, i understand, no need ot keep it if it's not working properly under all conditions, was giving a nice look to the program , i'll get used to something else i guess.
Thanks for the quick answers and sorry again for bothering you with an issue that was not coming from the program itself.
stax76
17th April 2017, 15:07
No problem, alternatively you can do multi line in the filter profiles editor like so:
MPEG2Source = MPEG2Source("%source_file%")
[Misc]
Logo =
logo=ImageSource("F:\logo.png")
Overlay(logo, x = 3, y=3, opacity=0.45, mode="luma")
AssumeFPS | AssumeFPS MediaInfo = AssumeFPS(%media_info_video:FrameRate%)
Yanak
17th April 2017, 15:28
Thanks,
will adjust my scripts when needed, multiples lines will help, had a heavy customized version of the program and still in the process of transposing the settings with the last version and testing them.
And now that i think at this, could you take a look here please : http://forum.doom9.org/showthread.php?p=1785596#post1785596
I don't know if we are supposed to be able to use all those macros in custom filters but will be really great, for now it doesn't seems to work correctly, for example :
Rotate = $select:<TurnLeft;TurnRight;Turn180>$
Mirror = $select:<FlipHorizontal;FlipVertical>$
FPS = ChangeFPS($select:<60;30;40;25>$)
All those end up in the result described in the link, like i said i'm not sure if we are supposed to use those, they will open some nice opportunities for lighter custom filters.
Thanks a lot :)
stax76
17th April 2017, 17:00
@Yanak
Good idea to make things lighter, I added support for it and modified the default profiles to use this for AssumeFPS.
Yanak
17th April 2017, 17:21
Great , can't wait to see this working, AssumeFPS but also QTGMC, Spline, KNLMeansCL with all the sub menus can profit of this to make it lighter, more clear and easier to use, plus many custom filters possible and easy to use in 2 clicks without cluttering the preferred filters list with too many options.
I will download it and start to try as soon as you publish it,
thanks a lot, you made my day with your reply.
stax76
17th April 2017, 18:02
I improved it by adding a optional message and optional titles for the items
$select:msg:please choose;caption1|value1;caption2|value2;item3$
https://github.com/stax76/staxrip/blob/master/md/test-build.md
Yanak
17th April 2017, 18:56
Fantastic,
Just tried quickly and seems to work .
Only 2 little things if it is possible without much efforts :
- Could it be possible to have the caption selected somehow displayed in the filter list itself.
For example i do this as filter :
[ChangeFPS]
ChangeFPS = ChangeFPS($select:msg:Change FPS;60|60;50|50;30|30;25|25$)
and then if i select 30FPS in the select menu get some feedback on what is select by displaying the caption entered for this option here instead of the ChangeFPS text itself :
https://s14.postimg.org/d99wtmha9/23795520170417193127.png
Just to get a feedback on what is selected, here it's next the text but my idea is to simply replace the whole text by the caption of the option selected (if there is one) so we know clearly what is going on.
- Other thing is the need to replace or remove and add again the filter each time we need this option changed.
For example i select 30 FPS and save this as template, the next time it will load it will keep the filter in the list with the 30fps value.
If i want to change the FPS option from 30 to 60, i need to either replace the filter or delete and add it again ( pretty much the same thing ) to be able to select another FPS option.
Could it be possible that after unticking the selected filter displayed in the list and ticking again the dialog box the selection menu comes back automatically so we can select another option ?
Tried to illustrate it with a gif :
https://s14.postimg.org/gu5sc9dxt/390199illustration.gif
Will make it way easier for switching options
But don't get me wrong, it's extremely nice already this is just icing on the cake, right now it will ease a lot of things for custom filters already.
It's a truly great change you made here, thanks a million for this, will go dinner and play a bit more with this later at night, but i already have a nice list of stuff to add using this new option :)
stax76
17th April 2017, 19:40
Both is difficult, I can change it to show the code instead of the name in case a macro was solved.
Yanak
17th April 2017, 20:24
I don't know, by showing the code itself you mean the raw code or more complete like in the preview code option for example ?
It's up to you, showing the code might help in some cases and get even more confuse on some others, and even worse depending it it's the raw code or not, hard to say without seeing and testing it tho.
For now i added those :
ChangeFPS = ChangeFPS($select:msg:Change FPS;60 FPS|60;50 FPS|50;40 FPS|40;30 FPS|30;25 FPS|25$)
Rotate = $select:msg:Rotate Video;Turn 90° Left|TurnLeft;Turn 90° Right|TurnRight;Turn 180°|Turn180$
Mirror = $select:msg:Mirror Video;Flip Horizontal|FlipHorizontal;Flip Vertical|FlipVertical$
Colors = $select:msg:Colors change;Grey scale|Greyscale;Show Alpha|ShowAlpha;Show Red|ShowRed;Show Green|ShowGreen;Show Blue|ShowBlue;Invert|Invert;Swap UV|SwapUV$
And got a problem with this one adding a small watermark using subtitle function on the top left or bottom left of the video:
Watermark = $select:msg:Add Watermark;Top Left Watermark|Subtitle("Test",3,1,font="Aparajita",size=18,text_color=$ffffff,halo_color=$000);Bottom Left Watermark|Subtitle("Test",3,(%target_height%-19),font="Aparajita",size=18,text_color=$ffffff,halo_color=$000)$
Returns me an error message unexpected character ";"
Was going to add top right and bottom right following the same logic but i'm stuck on this one for now.:sly:
For having to replace the filter each time it needs an option change i will deal with it, anyways the custom filters menu will be greatly reduced using this new option, here those 5 examples replace already 19 lines and 5 sub menus on my custom filters, so it will be easier to use and navigate quickly for a replacement of the filter when i need an option changed.
Like i said for showing the code it's up to you, hard to say for now, remains abstract for me.
And thanks a lot Stax for the great work, this is a game changer for me.
Yanak
17th April 2017, 21:41
Got the watermark solved by using a different approach :
Watermark = Subtitle("Test",$select:msg:Watermark Position;Top Left|3,1;Bottom Left|3,(%target_height%-19)$,font="Aparajita",size=18,text_color=$ffffff,halo_color=$000)
and it makes the code cleaner too :)
Will probably do other positions tomorrow as my braincells are starting to heat now :p
Yanak
18th April 2017, 10:17
Hello Stax, sorry if i post too much and spam a bit but i have one last question :o
I tried a few things for the Logo filter :
#browse to select a picture file that will be placed on the top left corner :
Logo = logo=ImageSource("$browse_file$") Overlay(logo, x=3,y=3, opacity=0.45, mode="luma")
#get a list of 3 different logos pictures to select, again placed at the top left corner :
Logo = logo=ImageSource($select:msg:Logo picture;First Logo|"F:\Logo1.png";Second Logo|"F:\Logo2.png";Third Logo|"F:\Logo3.png"$) Overlay(logo, x=3,y=3, opacity=0.45, mode="luma")
#Get a list of 3 logos to select followed by a list of 2 possible positions to place them, top left and bottom left ( the dialog boxes appear one after the other and it works ) :
Logo = logo=ImageSource($select:msg:Logo picture;Default Logo|"F:\frame.png";Second Logo|"F:\frame2.png";Third Logo|"F:\frame3.png"$) Overlay(logo,$select:msg:Position;Top Left|x=3,y=3;Bottom Left|x=3,y=(%target_height%-60)$, opacity=0.45, mode="luma")
And i tried to make a filter with first option being the default pre-defined logo , and second option being the Browse_File option, either select default logo or browse PC to pick another picture:
Logo = logo=ImageSource($select:msg:Logo picture;Default Logo|"F:\Logo.png";Browse File|"$browse_file$"$) Overlay(logo, x=3,y=3, opacity=0.45, mode="luma")
But this does not work correctly, I'm not sure if i make an error on the syntax or if it's something else but trying to combine the $select option with $Browse_file option does not give me the expected results and ends up in a kind of loop.
Also finished the watermark filter having all 4 corners of the videos for possible position.
Watermark = Subtitle("test",$select:msg:Watermark Position;Top Left|3,1;Bottom Left|1,(%target_height%-19);Top Right|(%target_width%-30),1;Bottom Right|(%target_width%-30),(%target_height%-19)$,font="Aparajita",size=18,text_color=$ffffff,halo_color=$000)
Edit : the following one seems to works now on version 1.4.2.5, wasn't working on previous .4
Then tried to combine it with the $enter_text option and again here it does not work :
Watermark = Subtitle("$enter_text:Add Watermark Text$",$select:msg:Watermark Position;Top Left|3,1;Bottom Left|1,(%target_height%-19);Top Right|(%target_width%-30),1;Bottom Right|(%target_width%-30),(%target_height%-19)$,font="Aparajita",size=18,text_color=$ffffff,halo_color=$000)
I have the enter_text box coming, i enter the text then the next one for position runs in loop after the selection of what position i want.
After many attempts i don't know what is wrong, using $enter_text macro alone works nicely, once combined with $select it cause some issues, maybe i am having a wrong syntax or something i am missing, i don't know, but I'm stuck on this for now.
The possibilities offered by this, assuming all macros like $select $enter_text or $browse_file can work together in a single filter opens a wide range of possibilities, plenty of things to play with as you can see :)
Thanks a lot.
Edit : one problem was fixed with version 1.4.2.5, remains only the $select option with $Browse_file not working together apparently like in the second code example i posted
Also seeing now the code displayed in the filter list wiht new version, it will help for some filters.
stax76
18th April 2017, 11:42
Nesting a macro inside another macro might work in some situations but generally isn't supported, I hope I can add support for it.
Yanak
18th April 2017, 12:38
It explains why it doesn't work then, thanks.
And yeah i pushed a bit the thing to see what was possible and some nested ones work :
Watermark = Subtitle("$enter_text:Add Watermark Text$",$select:msg:Watermark Position;Top Left|3,1;Bottom Left|1,(%target_height%-$enter_text:Bottom margin in px$)$,font="Aparajita",size=$enter_text:Font Size$,text_color=$select:msg:Text Color;White|color_white;Red|color_Red;Yellow|color_yellow;Khaki|color_darkkhaki$,halo_color=$select:msg:Halo Color;White|color_white;Red|color_Red;Yellow|color_yellow;Khaki|color_darkkhaki$)
It ask for text to put in watermark, bottom margin in px, font size, watermark position ( top left or bottom left only here ), text colors and halo colors ( just a few tested here), and can be pushed a bit more further with font used , left margin and so on.
With version 1.4.2.5 the best i could get is to have the file browser to always open when selecting this filter, then I browse for a picture and after this I have the option to select default one or the one i browsed, but this time with no strange loops like on previous .4 version.
Not sure how much you will push with this but possibilities for quick filters modifications are really great and open a lot of new possibilities.
Seeing the code in the last version is a plus for most filters i tried, for some it becomes even more confuse but it doesn't matter.
Will take a break and test this a bit more tomorrow.
Thank again for this great addition.
stax76
18th April 2017, 12:57
You're welcome.
AMED
19th April 2017, 07:28
Is anyone seeing really high memory usage with Staxrip 1.4.2.4?
When starting the first job it's at just under 200MB and then 30 jobs (about 12 - 18 hours) later Staxrip is using 3.5GB.
I'm using Vapoursynth R37 with Python 3.61 installed and using the following VS script.
import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin(r"D:\StaxRip\Apps\Plugins\both\ffms2\ffms2.dll")
core.std.LoadPlugin(r"D:\StaxRip\Apps\Plugins\vs\fmtconv\fmtconv.dll")
core.std.LoadPlugin(r"D:\StaxRip\Apps\Plugins\both\KNLMeansCL\KNLMeansCL.dll")
import importlib.machinery
adjust = importlib.machinery.SourceFileLoader('adjust', r"D:\StaxRip\Apps\Plugins\vs\adjust\adjust.py").load_module()
mvsfunc = importlib.machinery.SourceFileLoader('mvsfunc', r"D:\StaxRip\Apps\Plugins\vs\mvsfunc\mvsfunc.py").load_module()
core.std.LoadPlugin(r"D:\StaxRip\Apps\Plugins\vs\mvtools\libmvtools.dll")
core.std.LoadPlugin(r"D:\StaxRip\Apps\Plugins\vs\nnedi3\libnnedi3.dll")
core.std.LoadPlugin(r"D:\StaxRip\Apps\Plugins\vs\scenechange\scenechange.dll")
core.std.LoadPlugin(r"D:\StaxRip\Apps\Plugins\vs\temporalsoften\temporalsoften.dll")
havsfunc = importlib.machinery.SourceFileLoader('havsfunc', r"D:\StaxRip\Apps\Plugins\vs\havsfunc\havsfunc.py").load_module()
clip = core.ffms2.Source(r"xxxxxx.mkv", cachefile = r"xxxxx.ffindex")
clip = havsfunc.SMDegrain(clip, tr=3, RefineMotion=True, thSAD=500)
clip = havsfunc.SMDegrain(clip, tr=3, RefineMotion=True, thSAD=500, contrasharp = True)
clip = core.f3kdb.Deband(clip, preset="low")
clip.set_output()
I have 3 separate machines (2 are W10 CU and 1 Win7 64Bit) that show the same problem.
stax76
19th April 2017, 10:01
Post a log file please.
AMED
19th April 2017, 10:22
Hi Stax,
You can download the logs for the 4 completed jobs here.
http://www.mediafire.com/file/nohlwef6f0np4i9/staxrip.zip
Staxrip is currently using 1052MB on that machine.
stax76
19th April 2017, 13:31
@AMED
I'll investigate it.
@Yanak
I changed it now to not display code but the name of the profile + the selected caption, so it would display 'AssumeFPS 25' for instance. I'll not add support for nested macros, I changed the order macros are solved, first normal macros are solved, then GUI/interactive macros in this order:
macros with params:
%app:%
%media_info_video:%
%media_info_audio:%
%filter:%
%eval:%
GUI/interactive macros:
$browse_file$
$enter_text$
$enter_text:$
$select:$
since select is last you can use any macro as parameter and will be solved but it will be solved of course before the select dialog is shown and not after a item is select.
so if nested macros work depends on the order thy are solved.
new macro I want to add is for evaluating powershell code:
%eval_ps%
I've ported the HDR script from C# to PowerShell because I want to remove C# scripting support end of the year because C# scripting requires crazy 47 nuget packages, it's difficult to heavy and difficult to maintain.
Yanak
19th April 2017, 15:53
Hi,
Was the new version published ? i see only the .7 and seems like code is still displayed for it, no sign of name + caption displayed, this ill make things a lot more clear and easier to use .
For the macros $*$, it seems that you use the alphabetical order for them to be executed , so yeah i won't be able to select if i want option A,B,C or $browse_file as last option, browse will always come first if used in a nested filter.
Thinking at something , not sure if it's logical as i'm not coder and not sure of how you do your thing but could it be possible to add a duplicate macro of $select function named $a_select$ ?
This duplicate keeping the same function as normal $select and just the name to call it changing, having this one possible combined with normal $select will allow to use this one and execute it first depending the needs, since select is probably ones of the macros that needs to come first in most cases for a filter it will make sense to have both options. Not sure if i explained correctly what i have in mind but since it seems to be prioritized by alphabetical order this could be a easy bypass.
Wish i knew how to code powershell, scripting in staxrip could bring many other possibilities to me, i use only a little of batch and tiny bit of php for specific needs and can have hard times with some of this stuff already, and i'm still under win7, win10 have easy access to this now i heard :)
Thanks a lot for the dedicated work on this, really great to be able to ask such things to the coder of the program himself and see them added when it makes sense, there is very few programs nowadays that let the user customize so much things according to his needs, more the contrary, programs tend to be simplified to the maximum for the end user and now we end up with even basic options missing :)
need4speed
19th April 2017, 18:46
Hi all again,
version in use is 1.4.2.7 on win10 pro 14393.1066.
Shutdown option is not working, am I doing anything wrong?
stax76
19th April 2017, 19:34
@need4speed
does this work with cmd: shutdown /f /s /t 0
Was the new version published ?
I think not yet.
For the macros $*$, it seems that you use the alphabetical order for them to be executed , so yeah i won't be able to select if i want option A,B,C or $browse_file as last option, browse will always come first if used in a nested filter.
You can't nest a gui macro as item in select and have it only expanded if that particular item was choosen, macros are expanded in one go in a particular order you can see here:
https://github.com/stax76/staxrip/blob/db1fc70bfb784960f235503349eb6e664ccc045e/General/Misc.vb#L2021
Thanks a lot for the dedicated work on this, really great to be able to ask such things to the coder of the program himself and see them added when it makes sense.
Many hundred changes are because users brought up the topic, these days I avoid changes that take too make time and energy.
Yanak
19th April 2017, 23:27
Hi,
looked quickly at the code and i'm lost there, i see the macros list and further also "if $browse_file$ ... if not ... if $enter_text$... if not... etc ) but this is above my knowledge.
Had in mind that adding a new macro $a_select$ with a duplicate function code as it is done for $select$ while keeping the already exiting $select$ function it could bypass the problem, if $a_select$ was present it had been executed first, keeping the rest as it is working right now if instead of $a_select$ it had been the normal $select$, but it's just some empiric thinking, like i said it's clearly above my knowledge.
Anyways if it ain't possible it ain't a problem, the option you added opens already a lot of new stuff to play with to make things way easier and more dynamic too with the possibility to enter some values on the fly for each project, a great addition already and i cannot thank you enough for that, plus i surely don't want you to spend too much time on this too, you already done more than enough on this and also in general with this amazing tool you provide to us.
Thank you.
VincAlastor
20th April 2017, 00:19
i'm using the last dev build and wanna try script "Convert Bluray (BT709) to 10bit 400nits (MaxFALL) HDR (rev6)"
but get following error:
Die Datei oder Assembly "System.IO.FileSystem, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)
Could someone tell me what's the problem, please?
stax76
20th April 2017, 05:57
@Yanak
Post a example.
@VincAlastor
It seems the .NET IO namespace is implemented in the mscorlib.dll assembly, when staxrip starts and opens a source it does not load a System.IO.FileSystem assembly, when I run the HDR script which works fine on my system then it loads System.IO.FileSystem which staxrip contains along with 30 other assemblies only needed for C# scripting. The reason C# scripting needs 47 nuget packages is it was designed to be .NET Core compatible.
I don't like having 47 nuget packages, 30 assemblies and frequent bug reports that probably only .NET framework engineers do understand. I will definitely remove C# scripting at the end of the year. The next build has this script ported to powershell, powershell scripting will remain supported by staxrip, it needs only one nuget package.
Which OS are you using? I just tried it on my vmware Win 7 test system, works fine too.
VincAlastor
20th April 2017, 10:52
thank you very much for explanation :)
i'm very interested in this script in next release cause of "up to 50% bitrate saving effect"
Windows Version
Microsoft Windows 10 (10.0) Professional 64-bit
Windows Subver.
Build 15063
Yanak
20th April 2017, 11:08
@Yanak
Post a example.
Hi,
#bits of code at line 1869, adding a duplicate for $select$ named $a_select$ ( could be named $priority_select$ or whatever , and keeping the same functionality :
ret.Add(New Macro("$a_select:<param1;param2;...>$", "a_Select", GetType(String), "String selected from dropdown, to show a optional message the first parameter has to start with msg: and to give the items optional captions use caption|value." + BR2 + "Example: $a_select:msg:hello;cap1|val1;cap2|val2$"))
ret.Add(New Macro("$select:<param1;param2;...>$", "Select", GetType(String), "String selected from dropdown, to show a optional message the first parameter has to start with msg: and to give the items optional captions use caption|value." + BR2 + "Example: $select:msg:hello;cap1|val1;cap2|val2$"))
ret.Add(New Macro("$enter_text:<prompt>$", "Enter Text (Params)", GetType(String), "Text entered in a input box."))
ret.Add(New Macro("$browse_file$", "Browse For File", GetType(String), "Filepath returned from a file browser."))
ret.Add(New Macro("$enter_text$", "Enter Text", GetType(String), "Text entered in a input box."))
and bits of code starting at line 1948, adding the $a_select$ at the top of this code part to be executed first if the macro exist in the filter, code added at the top part is copied from the normal $select$ function that is at the bottom part.
Existing $select$ also stays so we can have the choice between those 2 ways of using select, one as it works now $select$ , and another that will always be prioritized and executed first $a_select$, leaving the possibility to the user to choose one or the other depending the needs :
If ret.value.Contains("$a_select:") Then
Dim matches = Regex.Matches(ret.value, "\$a_select:(.+?)\$")
For Each iMatch As Match In matches
Dim items = iMatch.Groups(1).Value.SplitNoEmpty(";").ToList
If items.Count > 0 Then
Dim sb As New SelectionBox(Of String)
sb.Title = "a_Select"
If items?(0)?.StartsWith("msg:") Then
sb.Text = items(0).Substring(4)
items.RemoveAt(0)
Else
sb.Text = "Please select a item."
End If
For Each iItem As String In items
If iItem.Contains("|") Then
sb.AddItem(iItem.Left("|"), iItem.Right("|"))
Else
sb.AddItem(iItem)
End If
Next
ret.cancel = sb.Show <> DialogResult.OK
If ret.cancel Then Return ret Else ret.value = ret.value.Replace(iMatch.Value, sb.SelectedItem)
End If
Next
End If
If Not ret.value.Contains("$") Then Return ret
If ret.value.Contains("$browse_file$") Then
Using d As New OpenFileDialog
ret.cancel = d.ShowDialog <> DialogResult.OK
If ret.cancel Then Return ret Else ret.value = ret.value.Replace("$browse_file$", d.FileName)
End Using
End If
If Not ret.value.Contains("$") Then Return ret
If ret.value.Contains("$enter_text$") Then
Dim inputText = InputBox.Show("Please enter some text.")
If inputText = "" Then
ret.cancel = True
Return ret
Else
ret.value = ret.value.Replace("$enter_text$", inputText)
End If
End If
If Not ret.value.Contains("$") Then Return ret
If ret.value.Contains("$enter_text:") Then
Dim matches = Regex.Matches(ret.value, "\$enter_text:(.+?)\$")
For Each iMatch As Match In matches
Dim inputText = InputBox.Show(iMatch.Groups(1).Value)
If inputText = "" Then
ret.cancel = True
Return ret
Else
ret.value = ret.value.Replace(iMatch.Value, inputText)
End If
Next
End If
If Not ret.value.Contains("$") Then Return ret
If ret.value.Contains("$select:") Then
Dim matches = Regex.Matches(ret.value, "\$select:(.+?)\$")
For Each iMatch As Match In matches
Dim items = iMatch.Groups(1).Value.SplitNoEmpty(";").ToList
If items.Count > 0 Then
Dim sb As New SelectionBox(Of String)
sb.Title = "Select"
If items?(0)?.StartsWith("msg:") Then
sb.Text = items(0).Substring(4)
items.RemoveAt(0)
Else
sb.Text = "Please select a item."
End If
For Each iItem As String In items
If iItem.Contains("|") Then
sb.AddItem(iItem.Left("|"), iItem.Right("|"))
Else
sb.AddItem(iItem)
End If
Next
ret.cancel = sb.Show <> DialogResult.OK
If ret.cancel Then Return ret Else ret.value = ret.value.Replace(iMatch.Value, sb.SelectedItem)
End If
Next
End If
Return ret
End Function
End Class
Again it's just empiric thinking from a noob plus adding bits of code and duplicating the $select$ into $a_select$, not even sure if this makes any sense for you as coder but that's what i had in mind, now to know if this can work or not, or even if it's partially correct ... it's another story.
If this can work then i can choose to have a select option that will be prioritized and always come first when used in a filter by selecting the $a_select$ macro,
if i don't need the select function to be executed first, like for example in my watermark filter where i first enter a text then select a position to place it using $select, for those cases i can simply use the already existing $select$ instead.
Not sure if it's more clear for you but i tried, and forgive me if my train of thoughts is completely silly and makes no sense from a coders point of view.
Thank you.
VincAlastor
20th April 2017, 11:14
how can get working cmd opus audio coding with eac3to?
the following line won't work:
eac3to stdout.wav -down6 -down16 | opusenc --ignorelength --bitrate %audio_bitrate" --framesize 60 - %file_name%.opus
opusenc.exe is in eac3to directory.
sneaker_ger
20th April 2017, 12:48
1. I don't see any input file specified for eac3to. (eac3to input.wav stdout.wav .....)
2. %audio_bitrate" ? Should be %audio_bitrate% (if you have that variable set!) or explicitly e.g. 128.
2. %file_name% ? Again: make sure that variable is actually set or set name explicitly e.g. output.opus
Are you trying to use via StaxRip or manually outside of it? If used via StaxRip post the log. I don't think StaxRip even uses opusenc so it would be better to open a new thread in the newbie section if you cannot get it to work even after my advice.
luigizaninoni
20th April 2017, 13:30
15856
this is with ffmpeg. don't know if you can with eac3to though inside staxrip
stax76
20th April 2017, 14:00
this works for me:
https://s16.postimg.org/dobz0zn8l/Unbenannt.png
VincAlastor
20th April 2017, 23:55
this works for me:
https://s16.postimg.org/dobz0zn8l/Unbenannt.png
:thanks:
With your helpful tip it works finally! Thanks
I had to change dtsma to dtshd or better let "supported input types" empty, but yes it works :))))
1. I don't see any input file specified for eac3to. (eac3to input.wav stdout.wav .....)
2. %audio_bitrate" ? Should be %audio_bitrate% (if you have that variable set!) or explicitly e.g. 128.
2. %file_name% ? Again: make sure that variable is actually set or set name explicitly e.g. output.opus
Are you trying to use via StaxRip or manually outside of it? If used via StaxRip post the log. I don't think StaxRip even uses opusenc so it would be better to open a new thread in the newbie section if you cannot get it to work even after my advice.
thank you too :)
IbrahimKh
21st April 2017, 07:01
Hi, can anyone help me please.
I'm failed to load script, I tried to reinstall Avisynth few times and rebooting multiple times still no luck. Also I tried to run stax as admin, still same.
The log is
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Script file failed to load
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Source File Path: D:\HDNLEN224\post\Ringsnew_Source.avs
LoadPlugin("C:\Users\HDNLEN224\Desktop\st\Apps\Plugins\both\ffms2\ffms2.dll")
FFVideoSource("D:\HDNLEN224\post\RingsGB\Rings.mkv", cachefile = "D:\HDNLEN224\post\Rings.2017.720\Rings.ffindex")
Plugins: ConvertStacked, DirectShowSource, ImageSeq, Shibatch, TimeStretch, VDubFilter
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Exception
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
System.Exception: AVIFileOpen failed to execute
Failed to open AviSynth script:
D:\HDNLEN224\post\RingsGB\Rings.2017Source.avs
You can try to open the script with VirtualDub x64, if it don't open it could be a problem with the script or the AviSynth+ x64 setup, if StaxRip don't report a script error and the script looks valid then reinstalling AviSynth+ x64 might fix the problem, the setup is located at:
C:\Users\HDNLEN224\Desktop\st\Apps\AviSynth+r2294.exe
at StaxRip.AVIFile..ctor(String path) in D:\Projekte\VS\VB\StaxRip\General\AVIFile.vb:line 53
at StaxRip.VideoScript.Synchronize(Boolean convertToRGB, Boolean comparePath) in D:\Projekte\VS\VB\StaxRip\General\VideoScript.vb:line 202
at StaxRip.VideoScript.GetFramerate() in D:\Projekte\VS\VB\StaxRip\General\VideoScript.vb:line 302
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isNotEncoding) in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 1798
stax76
21st April 2017, 08:44
System.Exception: AVIFileOpen failed to execute
Failed to open AviSynth script:
D:\HDNLEN224\post\RingsGB\Rings.2017Source.avs
You can try to open the script with VirtualDub x64, if it don't open it could be a problem with the script or the AviSynth+ x64 setup, if StaxRip don't report a script error and the script looks valid then reinstalling AviSynth+ x64 might fix the problem, the setup is located at:
C:\Users\HDNLEN224\Desktop\st\Apps\AviSynth+r2294.exe
at StaxRip.AVIFile..ctor(String path) in D:\Projekte\VS\VB\StaxRip\General\AVIFile.vb:line 53
at StaxRip.VideoScript.Synchronize(Boolean convertToRGB, Boolean comparePath) in D:\Projekte\VS\VB\StaxRip\General\VideoScript.vb:line 202
at StaxRip.VideoScript.GetFramerate() in D:\Projekte\VS\VB\StaxRip\General\VideoScript.vb:line 302
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isNotEncoding) in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 1798
Does VirtualDub x64 work?
@VincAlastor
Next build will have a greatly improved Batch Audio Options dialog with menu to execute, show and copy the command line and create a profile like the x265 dialog. Name can be entered and is auto generated like in the normal audio options dialog. The double quotes around %input% and %output% can be omitted because they are added automatically if needed.
It's better to define the input file types for two reasons:
automatic conversion to flac or wav if necessary
if the audio source file is the same as the video source file conversion to flac/wav will use the correct stream number
@Yanak
You cannot use conditions using macros because macros are expanded in one go, I'll improve powershell scripting and create a example script for your watermark task.
stax76
21st April 2017, 12:29
When starting the first job it's at just under 200MB and then 30 jobs (about 12 - 18 hours) later Staxrip is using 3.5GB.
I'll investigate it.
@Yanak
I wrote a powershell script example that works with the last test build, so far I didn't had any problem to use any internal staxrip code, it's a really lightweight and powerful way for making a .NET app extendable.
$activeProject = [ShortcutModule]::p
$text = [InputBox]::Show("Add Watermark Text")
if ([string]::IsNullOrEmpty($text)) {exit}
$td = new-object "TaskDialog[string]"
$td.MainInstruction = "Watermark Position"
$td.AddCommandLink("Top Left" , "top")
$td.AddCommandLink("Bottom Left" , "bottom")
$pos = $td.Show()
$td.Dispose()
if ($pos -eq "top") {
$x = 3
$y = 1
} elseif ($pos -eq "bottom") {
$x = 1
$y = $activeProject.TargetHeight - 19
} else {exit}
$filter = new-object "VideoFilter"
$filter.Category = "Misc"
$filter.Path = "Subtitle"
$filter.Script = 'Subtitle("{0}", {1}, {2})' -f $text, $x, $y
$activeProject.Script.AddFilter($filter)
Yanak
21st April 2017, 14:37
Hi,
Tested last version and i really love the new display of name + caption for the filters, really great change.
Noticed something wrong with the preview code display, it adds now a lateral scrollbar and only a small part for the code display window, here 1.4.2.7 :
https://s14.postimg.org/umk78dpf5/12062020170421135516.png
and here 1.4.2.8:
https://s14.postimg.org/h5n8pimtd/20411120170421135245.png
- I'm not surprised my thinking was wrong for the code and $a_select$, not surprised at all.
Tested the powershell script you published, thanks a lot for having take the time to do this, i really appreciate, sadly i end up with an error message " Failed to execute PowerShell script, on systems prior Windows 10 PowerShell 5 or higher must be installed. ". Same for the blu-ray one present in the script folder.
I'm on win7 so might be the problem, wasn't really planning to upgrade to win10 but might become a time i will need to, it seems like taking the time to start learning a bit with this can really bring a lot of possibilities, might take some time to learn the ropes but the outcome seems to be worth it.
For now i don't know if i can bypass this while staying on win7, will try to check a bit later on the net for some solutions, if they exist.
- Also nice change for the select options display, no more drop down menu but all listed now in the last version, makes it even easier to use, love it.
Speaking of this one, is it possible to add on the manual selection screen for source some custom made source filters or it is locked ? Speaking of this here :
https://s14.postimg.org/i7xf82dch/22557020170421141330.png
Is there a any way somehow to add our custom source filters to this list ?
-Got custom source filters using MP_pipeline so they allow me to use x86 stuff on StaxRip x64, one if for debugmode frameserver used in vegas, the output codec of debugframeserver is x86 and the frameserver output file cannot be opened by StaxRip without this little trick, code used as source filter :
Vegas Frameserver Import =
MP_Pipeline("""
### platform: win32
AVISource("%source_file%", audio=false).AssumeFPS(%media_info_video:FrameRate%)
### ###
""")
For now the easiest way i found is to add this to the filters list and save it as filter setup presets, when i need it i just load the filter preset.
I have the default template using "manual" for source, problem is when i try to load another video for source file clicking on "source" or right clicking on the source file box where the path is displayed and selecting "open", the program asks me if i want to save the current project or not, then loads default template and returns to "manual" as it's the default template and asks me to choose a preferred source filter from the list of the screenshot above.
And if i do select again a output from the frameserver i get the error message about the x86 codec, i need to close Staxrip and restart the process each time.
If i save the template with the custom source filter and do the same steps but this time i try to open a different video file not coming from the frameserver i get an error message and end up in another loop where the only possibility is to exit the program, so i'm wondering if there is a way i missed to add our custom source filters to this list or if it's locked for any modifications. Just a simple question not a request to add this, you done more than enough those last days, having to save settings and restart between 2 videos isn't a big deal especially now with the easy mode filters.
And lastly while i'm on the new way to add filters i have another custom source filter using MT_pipeline made for using a logo remover (http://forum.doom9.org/showthread.php?t=133682) that requires a x86 dll to work, i don't need this one on the manual list of filters as it's very specific one an not used often like previous one, anyways I made a custom source filter for this one using the new possibilities, posted code here to not break the forum layout :
https://pastebin.com/mfc897Ni
This works better than i could ever dream about:
Select it as source filter, it opens the file bowser to pick the mask file picture we created previously,
then it asks to type the coordinates of the logo zone to treat in px location ( probably will add later the easier way where you select only a region of the screen only ),
then we select the source type and what to use to open it (LWLibavVideoSource,FFVideoSource,avisource, etc ),
then we select the mode to use depending the logo type (opaque or transparent logos or both ),
and lastly select if we want to see final result or the process steps showing in details the treatment done ( to adjust settings, really great combined with the video preview mode and his zoom possibilites ).
Once this done remains only to pick and load the video file as usual in Staxrip to see the result.
Still little things to fine tune and modify for more options choices the but it's just great to have this working and being that efficient already.
I'm just amazed by how the changes you made to the program for this new way of making filters made this easy and quick to do now once the filter is created, thanks a lot for all this.
Still quite a few filters to transpose into the program then fine tune but i really love all this new stuff, thanks a million for all the great work you do man.
And sorry for the long post and I hope i don't bother you too much.
Edit : tested a simple example of a ps1 script i found on the net, when right clicking on the file i have the contextual menu "execute with powershell" and it seem to work when i launch it, strange ... Will continue to search on this.
Full error message of the watermark script here : https://pastebin.com/GZpPZwF8
And i do have powershell on win7, never looked into this before, my version :
https://s14.postimg.org/tka0putr5/58012020170421161335.png
stax76
21st April 2017, 15:49
Noticed something wrong with the preview code display, it adds now a lateral scrollbar and only a small part for the code display window
It's a bug in the .NET framework, I fixed it with a workaround.
Failed to execute PowerShell script, on systems prior Windows 10 PowerShell 5 or higher must be installed.
https://www.microsoft.com/en-us/download/details.aspx?id=54616
Speaking of this one, is it possible to add on the manual selection screen for source some custom made source filters or it is locked ? Speaking of this here :
This dialog cannot be changed, the dialog was added because megui users are used to a manual workflow, I changed my startup template to use automatic instead of manual source filter selection, automatic can be configured. Also I configured staxrip to demux all streams automatically instead of showing the demuxing dialog.
I have the default template using "manual" for source, problem is when i try to load another video for source file clicking on "source" or right clicking on the source file box where the path is displayed and selecting "open", the program asks me if i want to save the current project or not, then loads default template and returns to "manual" as it's the default template and asks me to choose a preferred source filter from the list of the screenshot above.
And if i do select again a output from the frameserver i get the error message about the x86 codec, i need to close Staxrip and restart the process each time.
I don't understand it, what if you load a template before opening a new source?
If i save the template with the custom source filter and do the same steps but this time i try to open a different video file not coming from the frameserver i get an error message and end up in another loop where the only possibility is to exit the program, so i'm wondering if there is a way i missed to add our custom source filters to this list or if it's locked for any modifications. Just a simple question not a request to add this, you done more than enough those last days, having to save settings and restart between 2 videos isn't a big deal especially now with the easy mode filters.
It's difficult to understand and too complex to reproduce, what if you
1. load a template
2. load the source filter you want via context menu
3. load the source file
Yanak
21st April 2017, 16:36
Was downloading the Windows Management Framework (WMF) 5.1 update before seeing your post, found it after searching and reading on the net, got the powershell script working now.
Now time to start learning a bit and customize this script for colors and some other options, then use this as example for some other scripts.
Looked a bit at the code itself and might take a bit and few trial and errors but doesn't seems impossible at first glance, just need time to do and test this, thank a lot for having done it.
Coming myself from Megui i understand this perfectly, used it for a long time but switched to Staxrip since a while and not touching megui much anymore beside using his muxer from times to times for specific needs, still having a bunch of filters inside this program folder than i need to move away for easier use tho. Was just wondering if it was possible or not in case i missed a way to do it, now i know.
The problem i had in the past was that loading a template between loading a different video used to not work too and give various error messages that i always thought were coming from my custom source filters themselves, not from the program.
But i have to apologize to you, i just tried on the last 3 recent builds i have on my possession and it seems to work fine now. I was so used to getting error messages in older versions that i never pushed more on this and had not tried this method since a long long time, it just came to my mind to ask about it while seeing the change of the $select options display screen.
I'm sorry for the stupid question and making you loose time with this, using different templates and loading them before switching videos inputs seems to work flawlessly on last versions :/
Thanks a lot for all the time spent on this and even answering silly stuff ( sorry again for this ), now i will finish to adapt my filters then start to explore the possibilities offered by the scripting to customize this even further.
Once i'll finish my filters in a few days, i'll post of list of all the " basic ones" so it could help some other users maybe.
All seems to work perfectly and with a lot of new stuff to play with, plenty of busy hours ahead to customize this wonderful tool to my last needs.
Thank you again, i will not bother you for a while and only focus on finishing what i started :)
PS : one very last question i forgot to ask:
How to remove an icon added on a custom menu entry without having to delete and do again the entry ?
https://s14.postimg.org/cwiinattt/18013320170421134337cr.png
Unless i am missing something it seems that i can only replace the icon by another one, not possible to remove it.
If not possible, maybe adding a third line on this add icon menu with simply " delete icon " function to restore it to blank icon ? But it's a minor thing.
stax76
21st April 2017, 17:31
You're welcome. Next build supports icon removal.
Yanak
21st April 2017, 23:33
Noticed a problem occurring with 1.4.2.9 and also with last 1.4.3.1, ( just downloaded this last version and saw you already added the remove icon in menu, it's perfect thank you, did not had time to explore more than this for now )
It's about mp4box, seems like you changed the mp4box version since the 1.4.2.9 version, now when i try to open a .mov file using the automatic mode i get an error message and program crash :
https://pastebin.com/vsx2sm7B
This is fixed if i replace the mp4box.exe by a older one from version 1.4.2.7 or .8 for example.
Thank you.
stax76
21st April 2017, 23:55
I reverted mp4box.
Magik Mark
22nd April 2017, 00:07
Stax,
Build 1428 and above causes Avysynth Exception Error
stax76
22nd April 2017, 00:08
Is there a error message with debug info?
need4speed
22nd April 2017, 10:18
Hi again,
have a maybe dumb question but was wondering if there is any way to import a file (AVC and x265 mainly) and have staxrip read the conversion settings (from mediainfo I guess) and auto-set all parameters according to the imported file?
Just asking since I happen to get some files very well encoded and have some difficulties in replicating encoding parameters from mediainfo to staxrip.
Hope it is clear and it's just a curiosity really.
Thanks
stax76
22nd April 2017, 11:32
Probably there is a way or I can add one, you need to know how to program in vb.net and powershell or hope somebody helps you with it.
stax76
22nd April 2017, 12:00
I'm adding TIVTC to staxrip, profile suggestions are welcome.
VincAlastor
22nd April 2017, 12:18
@VincAlastor
It seems the .NET IO namespace is implemented in the mscorlib.dll assembly, when staxrip starts and opens a source it does not load a System.IO.FileSystem assembly, when I run the HDR script which works fine on my system then it loads System.IO.FileSystem which staxrip contains along with 30 other assemblies only needed for C# scripting. The reason C# scripting needs 47 nuget packages is it was designed to be .NET Core compatible.
I don't like having 47 nuget packages, 30 assemblies and frequent bug reports that probably only .NET framework engineers do understand. I will definitely remove C# scripting at the end of the year. The next build has this script ported to powershell, powershell scripting will remain supported by staxrip, it needs only one nuget package.
Which OS are you using? I just tried it on my vmware Win 7 test system, works fine too.
I've tested new v2 script and it works! :thanks:
First result after 3 hours video material HDR could save 7,5% bitrate against "normal" 10 bit encoding. :) But of course hard to handle while playback without HDR display and 10 bit pipeline (---> e.g. SVP with MPC-HC breaks 10bit pipeline).
VincAlastor
22nd April 2017, 12:20
Another topic that I observe over the years in Staxrip development is the automation of forced sup (BD) to idx conversions.
We know that this is more complex than it initially seems because
1. not only forced captions in elementary sup streams can be set, but also whole sup streams in the Blu Ray structure (in mpls, clpi, bdmv files) are marked as forced. And
2. idx elematary streams can only be marked completely or not as a forced, with an mkv merge entry.
For many years this means for us that you have to look at almost every sup before manual conversion and decide whether is it a forced stream or not or has it flagged forced captions, which have to extracted later to make a new idx forced stream.
MeGUI tries to discover the forced sups using Haali MediaSplitter (it doesn't work on my system). However, makemkv do it better. It also checks the mpls / clpi / bdmv files. But makemkv does not use bdsup2sub for sup to idx conversions. This can only do Staxrip!
I see tremendous potential for automation, which seems now to be feasible in Staxrip.
And I think the topic is important because indirectly through the opus audio codec elementary sup streams can have the same size as stereo audio streams.
I hope I have triggered a few impulses.
sneaker_ger
22nd April 2017, 12:27
First result after 3 hours video material HDR could save 7,5% bitrate against "normal" 10 bit encoding. :)
I hope you are not just using --crf encoding and compare the file sizes afterwards? That's not a proper comparison.
but also whole sup streams in the Blu Ray structure (in mpls, clpi, bdmv files) are marked as forced.
There is no forced flag for complete tracks on Blu-ray at all. That's what makes it so difficult to automate.
VincAlastor
22nd April 2017, 12:54
I hope you are not just using --crf encoding and compare the file sizes afterwards? That's not a proper comparison.
I used the hole v2 script, all other settings were the same.
There is no forced flag for complete tracks on Blu-ray at all. That's what makes it so difficult to automate.
I'm sorry that's not true. Take a look to tool BDedit to take a better look into BD structures.
stax76
22nd April 2017, 12:55
I'm not really a subtitle expert and can only improve staxrip's subtitle support when people provide as much technical information as possible.
VincAlastor
22nd April 2017, 13:06
I'm trying to find better links, but after 3 min i found a good howto set complete forced sup streams via BDedit. That's the same way you can find forced sups. :)
https://forum.videohelp.com/threads/319506-Force-subs-without-rebuilding
VincAlastor
22nd April 2017, 13:11
I'm trying to find better links, but after 3 min i found a good howto set complete forced sup streams via BDedit. That's the same way you can find forced sups. :)
https://forum.videohelp.com/threads/319506-Force-subs-without-rebuilding
much better howto
https://forum.videohelp.com/threads/365145-How-to-turn-on-subtitle-by-default-on-movie-only-BD-R#post2328339
sneaker_ger
22nd April 2017, 13:34
Of course you can create a simple programming to activate a specific track on a disc with no menu. The problem is to detect this automatically for complex commercial Blu-rays. You'd basically need to implement a full Blu-ray player and even then wouldn't automatically know which buttons to press (a human can read the "Play" graphic but your PC cannot). Not 100% impossible but out of scope for almost any encoding software.
VincAlastor
22nd April 2017, 13:49
Of course you can create a simple programming to activate a specific track on a disc with no menu. The problem is to detect this automatically for complex commercial Blu-rays. You'd basically need to implement a full Blu-ray player and even then wouldn't automatically know which buttons to press (a human can read the "Play" graphic but your PC cannot). Not 100% impossible but out of scope for almost any encoding software.
you only have to integrate a tiny but complex tool like bdedit - makemkv does the same without to be a fully bdplayer :/
It's only one value in .bdmv. it's no magic. And it has nothing to do with complex java BD menues and so on. Please check some of your commercial BD's with BDedit you will see it's simply a .bdmv file too.
After this step you can check elementary streams directly for forced captions.
At the end you have found all possible forced tracks of a BD.
sneaker_ger
22nd April 2017, 14:00
you only have to integrate a tiny but complex tool like bdedit - makemkv does the same without to be a fully bdplayer :/
MakeMKV does not. It looks for forced captions in all subtitle tracks and that's it.
It's only one value in .bdmv. it's no magic. And it has nothing to do with complex java BD menues and so on. Please check some of your commercial BD's with BDedit you will see it's simply a .bdmv file too.
I don't know where to find this. Can you make a screenshot and mark the point where I can see this?
After this step you can check elementary streams directly.
Why do I need to check something when BDedit supposedly told me already?
VincAlastor
22nd April 2017, 14:20
MakeMKV does not. It looks for forced captions in all subtitle tracks and that's it.
I don't know where to find this. Can you make a screenshot and mark the point where I can see this?
Why do I need to check something when BDedit supposedly told me already?
Yes, you only have to klick on posted links.
You have to understand that there are 2 methods to set forced sup's:
- set forced captions directly in elementary sup stream --> that's what you know
- define forced streams in .bdmv or maybe .mpls (i forgot it after some years) --> that's the new part for you
Please take a look yourself with bdedit, that's the way you will understand, thank you!
For Staxrip i've contacted BDedit Dev.
sneaker_ger
22nd April 2017, 14:26
Your links do not describe how to detect forced subtitle tracks in e.g commercial Blu-rays. They show how to add programming to a (simple) Blu-ray to make it select one specific track.
VincAlastor
22nd April 2017, 14:33
Your links do not describe how to detect forced subtitle tracks in e.g commercial Blu-rays. They show how to add programming to a (simple) Blu-ray to make it select one specific track.
...ok, than it must be magic...
i'll do what i can to find information for you, while you could do it for yourself! It's not simple for me cause of my english skills, google bdinfo bdedit find forced sub.
sneaker_ger
22nd April 2017, 14:39
I'm not searching. This topic has been discussed here several times over the years and always with the same conclusion. You can write a program to do X but a program doing X can be written in infinite ways.
Of course if you do think you know for sure I am wrong it would be on you to supply Stax with the necessary information for him to implement your feature request.
VincAlastor
22nd April 2017, 14:45
I'm not searching. This topic has been discussed here several times over the years and always with the same conclusion. You can write a program to do X but a program doing X can be written in infinite ways.
Of course if you do think you know for sure I am wrong it would be on you to supply Stax with the necessary information for him to implement your feature request.
https://forum.doom9.org/showthread.php?t=169976
I'm trying to support staxrip with the help of bdedit dev.
VincAlastor
22nd April 2017, 15:22
Of course you can create a simple programming to activate a specific track on a disc with no menu. The problem is to detect this automatically for complex commercial Blu-rays. You'd basically need to implement a full Blu-ray player and even then wouldn't automatically know which buttons to press (a human can read the "Play" graphic but your PC cannot). Not 100% impossible but out of scope for almost any encoding software.
Ahhhh now i know what you mean! Yeah it's important that a tool knows which language you prefer. In a BD menu you will press "start movie" in your language. Only with this info some sup streams will be defined as forced. The critical point is, that the button command isn't tagged with a language code. That's true and very very complex to read out and identify with an tool.
I'm sorry and thank you.
VincAlastor
22nd April 2017, 17:44
I'm not really a subtitle expert and can only improve staxrip's subtitle support when people provide as much technical information as possible.
ok stax76 i've got some logical and simple tips:
1. in staxrip's subtitle options the first set language of subs to demux should be automatically the one and only possible language for forced subs.
2. After demux the sup files bdsup2sup could convert them all to idx (and should be muxed by mkvmerge later). [that's not new, that's how it should work right now]
3. If bdsup2sup detect forced captions in a "forced language stream" it should perform it's build-in function "only export forced subs". This additionally idx file should be automatically tagged as forced and muxed by mkvmerge later too.
4. Now the trick: if bdsup2sup couln't find forced captions in one of all demuxed forced language sup streams, it should count the lines of every forced language stream. If it found a stream with 200 or less subtitle lines (this value could be user definable) staxrip should set this as forced in mkvmerge.
5. Otherwise the video doesn't contain forced subtitles.
edit 2017-05-28:
6. instead of converting with bdsub2sup you only check and extract forced sup's with it and finally convert them all to srt with a good OCR algorithm like in subtitle edit
https://www.videohelp.com/software/Subtitle-Edit
In practical use it seems to be realistic that staxrip will hit every forced subtitle except perhaps in some silent movies this way.
What do you and users think about that solution?
need4speed
22nd April 2017, 18:45
ok stax76 i've got some logical and simple tips:
1. in staxrip's subtitle options the first set language of subs to demux should be automatically the one and only possible language for forced subs.
2. After demux the sup files bdsup2sup could convert them all to idx (and should be muxed by mkvmerge later). [that's not new, that's how it should work right now]
3. If bdsup2sup detect forced captions in a "forced language stream" it should perform it's build-in function "only export forced subs". This additionally idx file should be automatically tagged as forced and muxed by mkvmerge later too.
4. Now the trick: if bdsup2sup couln't find forced captions in one of all demuxed forced language sup streams, it should count the lines of every forced language stream. If it found a stream with 200 or less subtitle lines (this value could be user definable) staxrip should set this as forced in mkvmerge.
5. Otherwise the video doesn't contain forced subtitles.
In practical use it seems to be realistic that staxrip will hit every forced subtitle except perhaps in some silent movies this way.
What do you and users think about that solution?
Or maybe just check the file size, forced subs size is always way smaller than subs or sdh?
Inviato dal mio GT-N7100 utilizzando Tapatalk
VincAlastor
22nd April 2017, 19:06
yes, we only speak about the "bigger sized" blu ray .sup files :) thank you
stax76
22nd April 2017, 19:06
@VincAlastor
Thanks for infos, I've added an issue on the tracker.
VincAlastor
22nd April 2017, 19:17
@VincAlastor
Thanks for infos, I've added an issue on the tracker.
after many years these stupid checking of sup streams... i could kiss you man!!! thank you so much!
Natty
23rd April 2017, 17:39
http://imgh.us/qaac_stax.png
can we pls get an option of "original" here ?
stax76
23rd April 2017, 17:49
@Natty
It might be tricky to add, I've created a issue on the tracker at github.
Natty
23rd April 2017, 23:35
thank u very much sir
AMED
23rd April 2017, 23:46
@Natty
It might be tricky to add, I've created a issue on the tracker at github.I would love this feature. it would be really helpful for batch encodes.
chummy
24th April 2017, 11:40
When i use some avisynth external script, Staxrip keep all temp files at same directory from avs script and video file, it dont even create temp file directory or delete files at end. With normal video encoding without usage of avs script temp folder creation works fine. I try changing temp file directory but everytime it reset and all temp files are stored in avs script directory.
Is there someway to avoid all temp files being leave at avs script directory?
stax76
24th April 2017, 12:03
there is a exception for following files:
files types without audio: "m4v", "m2v", "y4m", "mpv", "avc", "hevc", "264", "h264", "265", "h265"
text based file types: "d2v", "dgi", "dga", "dgim", "avs", "vpy"
in the options you can try if defining the temp dir helps in this case. (Options > Paths > Temp Files Directory)
stax76
24th April 2017, 16:38
@Natty
@AMED
A new build with the channel feature is online.
Natty
24th April 2017, 21:02
@Natty
@AMED
A new build with the channel feature is online.
thank u very much for this and x265 2.4.2..
Magik Mark
24th April 2017, 23:46
Is there a error message with debug info?
https://s10.postimg.org/dimsedas5/Stax_Error.png (https://postimg.org/image/dimsedas5/)
This is found in line 7:
f3kdb(y = 48, cb = 48, cr = 48, grainy = 48, grainc = 48, keep_tv_range = true)
Only happened in stax build v1428 and above
stax76
25th April 2017, 00:14
The dll is supposed to support both avs and vs, avs don't seem to work though, probably I forgot to test it for avs, for avisynth you can try 1.5.1, that's what was probably included before.
http://nmm.me/fh
I think there is a issue with your frame rate.
Yanak
25th April 2017, 00:50
Hi again,
have a maybe dumb question but was wondering if there is any way to import a file (AVC and x265 mainly) and have staxrip read the conversion settings (from mediainfo I guess) and auto-set all parameters according to the imported file?
Just asking since I happen to get some files very well encoded and have some difficulties in replicating encoding parameters from mediainfo to staxrip.
Hope it is clear and it's just a curiosity really.
Thanks
This will be a dream if possible to do, i already tried to transpose mediainfo settings into x265 from a high quality and tiny size x265 file without success, such option or tool will be a dream.
After messing around for few days i post here few filters I made using last Staxrip versions, some might serve for other users or simply serve as examples :
Some overlay filters that i put inside a new [overlay] menu :
#Media File overlay, browse for a media file, picture or video, select where to display it ( top left, top right, bottom right etc and center of the screen, and option to add a margin from borders in pixels, for example display at top left with 10px margin from top and right side of the screen, no margin possible if placed on the center of the screen :
https://s14.postimg.org/ebk3byxgx/445653_Untitled.gif
File = Margin_px=$enter_text:Margin from borders in pixels, set 0 for no margin (Example: 3)$ Input_File=$select:msg:Type of file selected for the Overlay;Picture - Image|ImageSource;Avi|AviSource;d2v|MPEG2Source;dgi|DGSource;dgim|DGSourceIM;mp4 mov m4v|LSMASHVideoSource;x264 h264 avc x265 h265 hevc ts m2ts mts m2t|LWLibavVideoSource;wmv|DDS2;Other ( FFvideoSource by default )|FFvideoSource$("$browse_file$") Overlay(Input_File,$select:msg:File Overlay Position;Top Left|x=Margin_px,y=Margin_px;Top Right|x=%target_width%-Input_File.width-Margin_px,y=Margin_px;Center Screen|x=(%target_width%/2)-(Input_File.width/2),y=(%target_height%/2)-(Input_File.height/2);Bottom Left|x=Margin_px,y=%target_height%-Input_File.height-Margin_px;Bottom Right|x=%target_width%-Input_File.width-Margin_px,y=%target_height%-Input_File.height-Margin_px$,opacity=$enter_text:Enter Overlay Transparency from 0.0 (transparent) to 1.0 (fully opaque) (example: 0.45)$,mode="blend")
#Browse logo/picture, in case you don't want the more advanced filter posted above , this one is only for pictures, skipping the step asking for media input type , browse for a picture file, select transparency level and where to display it, possible to add margin from borders too :
LogoFile = Margin_px=$enter_text:Margin from borders in pixels, set 0 for no margin (Example: 3)$ logo=ImageSource("$browse_file$") Overlay(logo,$select:msg:Logo Overlay Position;Top Left|x=Margin_px,y=Margin_px;Top Right|x=%target_width%-logo.width-Margin_px,y=Margin_px;Center Screen|x=(%target_width%/2)-(logo.width/2),y=(%target_height%/2)-(logo.height/2);Bottom Left|x=Margin_px,y=%target_height%-logo.height-Margin_px;Bottom Right|x=%target_width%-logo.width-Margin_px,y=%target_height%-logo.height-Margin_px$,opacity=$enter_text:Enter Overlay Transparency from 0.0(transparent) to 1.0(fully opaque) (example: 0.45)$,mode="blend")
#Logo select from a list, select a logo form a list, here 3 different logos ( replace images paths in code by your own pictures path ) and option to select where to place it + transparency and margin in pixels from borders option :
https://s14.postimg.org/dm1azmccx/614687_Untitled2.gifLogo = Margin_px=$enter_text:Margin from borders in pixels, set 0 for no margin (Example: 3)$ logo=ImageSource($select:msg:Logo picture;Default Logo|"F:\frame.png";Second Logo|"F:\frame2.png";Third Logo|"F:\frame3.png"$) Overlay(logo,$select:msg:Logo Overlay Position;Top Left|x=Margin_px,y=Margin_px;Top Right|x=%target_width%-logo.width-Margin_px,y=Margin_px;Center Screen|x=(%target_width%/2)-(logo.width/2),y=(%target_height%/2)-(logo.height/2);Bottom Left|x=Margin_px,y=%target_height%-logo.height-Margin_px;Bottom Right|x=%target_width%-logo.width-Margin_px,y=%target_height%-logo.height-Margin_px$,opacity=$enter_text:Enter Overlay Transparency from 0.0(transparent) to 1.0(fully opaque) (example: 0.45)$,mode="blend")
#WaterMark, add a text overlay, enter text, select font size, position on screen, should auto adjust positions no matter the font size or font used if you replace it in code by another one :
https://s14.postimg.org/hiemvm529/619355_Untitled3.gif
Watermark = Subtitle("$enter_text:Add Watermark Text$",$select:msg:Watermark Position;Top Left|x=3,y=0,align=7;Top Center|y=0,align=8;Top Right|x=%target_width%-3,y=0,align=9;Center of The Screen|align=5;Bottom Left|x=3,y=%target_height%,align=1;Bottom Center|y=%target_height%,align=2;Bottom Right|x=%target_width%-3,y=%target_height%,align=3$,font="Aparajita",size=$enter_text:Font Size (Example: 30)$,text_color=$ffffff,halo_color=$000)
#Timer, overlay a timer on screen, font size and position options :
Timer = font_height=$enter_text:Font Size (example: 30)$ Showtime(offset_f=$enter_text:Set the Starting Frame Number of the Timer (ex: 0 100 -100)$,$select:msg:Display Position;Top Left|x=font_height*2,y=font_height/1.6;Top Center|y=font_height/1.6;Top Right|x=%target_width%-font_height*2,y=font_height/1.6;Bottom Left|x=font_height*2,y=%target_height%-font_height/4.8;Bottom Center|y=%target_height%-font_height/4.8;Bottom Right|x=%target_width%-font_height*2,y=%target_height%-font_height/4.8$,font="Aparajita",size=font_height,text_color=$ffffff,halo_color=$000)
#SMPTE , overlay a SMPTE timer, select font size + position options :
SMPTE = font_height=$enter_text:Font Size (example: 30)$ ShowSMPTE(offset_f=$enter_text:Set the Starting Frame Number of the Timer (ex: 0 100 -100)$,$select:msg:Display Position;Top Left|x=font_height*2,y=font_height/1.6;Top Center|y=font_height/1.6;Top Right|x=%target_width%-font_height*2,y=font_height/1.6;Bottom Left|x=font_height*2,y=%target_height%-font_height/4.8;Bottom Center|y=%target_height%-font_height/4.8;Bottom Right|x=%target_width%-font_height*2,y=%target_height%-font_height/4.8$,font="Aparajita",size=font_height,text_color=$ffffff,halo_color=$000)
#Current Time, overlays the current (PC) time on the video, options to choose where to display it + font size :
Current Time = font_height=$enter_text:Font Size (example: 30)$ ScriptClip("subtitle(time("+chr(34)+"%H:%M:%S"+chr(34)+"),font="+chr(34)+"Aparajita"+chr(34)+",$select:msg:Display Position;Top Left|x=3,y=1,align=7;Top Center|y=1,align=8;Top Right|x=%target_width%-3,y=1,align=9;Center of The Screen|align=5;Bottom Left|x=3,y=%target_height%,align=1;Bottom Center|y=%target_height%,align=2;Bottom Right|x=%target_width%-3,y=%target_height%,align=3$,size=font_height,text_color=$ffffff,halo_color=$000)")
#Frame Number, overlay the frame number on the video, options to choose where to display it + font size :
Frame Number = font_height=$enter_text:Font Size (example: 30)$ ShowFrameNumber(scroll=false,offset=$enter_text:Set the Starting Frame number (ex: 0 100 -100)$,$select:msg:Display Position;Top Left|x=font_height/8,y=font_height/1.6;Top Center|x=(%target_width%-(font_height*2.1))/2,y=font_height/1.6;Top Right|x=%target_width%-font_height*2.2,y=font_height/1.6;Bottom Left|x=font_height/8,y=%target_height%-font_height/4.8;Bottom Center|x=(%target_width%-(font_height*2.1))/2,y=%target_height%-font_height/4.8;Bottom Right|x=%target_width%-font_height*2.2,y=%target_height%-font_height/4.8$,font="Aparajita",size=font_height,text_color=$ffffff,halo_color=$000)
Following ones don't need explanations i guess :
ChangeFPS = ChangeFPS($select:msg:Change FPS;60 FPS|60;50 FPS|50;30 FPS|30;25 FPS|25$)
Colors = $select:msg:Colors Change;Grey scale|Greyscale;Show Alpha|ShowAlpha;Show Red|ShowRed;Show Green|ShowGreen;Show Blue|ShowBlue;Invert|Invert;Swap UV|SwapUV$
ConvertTo = $select:msg:Convert To;YV12 (PC.709)|ConvertToYV12(matrix="PC.709");YV12 (Rec709)|ConvertToYV12(matrix="Rec709");YV12 (PC.601)|ConvertToYV12(matrix="PC.601");YV12 (Rec601)|ConvertToYV12(matrix="Rec601");YV12 (RBG)|ConvertToYV12(matrix="RBG");YV24 (PC.709) for not mod2|ConvertToYV24(matrix="PC.709")$
Mirror = $select:msg:Mirror Video;Flip Horizontal|FlipHorizontal; Flip Vertical|FlipVertical$
Reverse Video = Reverse
Rotate = $select:msg:Rotate Video;Turn 90° Left|TurnLeft;Turn 90° Right|TurnRight;Turn 180°|Turn180$
Some of those like timers or frame display will need adjusting if you change the font used in those examples codes, the ones using subtitle function like watermark or current time should auto adjust them positions no matter the font or the size of the font used.
Pictures files used as logo or overlay need to be mod2 most of the times, i could bypass this using ConvertToYV24 at the start of the filter but I'm still not sure yet if this will bring some issues with some footage or colors incorrect, I noticed no differences when leaving the program add his usual ConvertToYV12 then later adding myself manually a ConvertToYV24 filter on the top of it but i need to learn more on this.
I started also to do some crop and letterbox aspect ratio filters for 1080p and 1440p footage, again mod2 stuff limits a bit and for example i need to crop 20px on top and 22px on bottom, can't crop 21px on both sides on non mod2 stuff unless converting to ConvertToYV24 ( again not sure on sub effects of this yet ) , anyways here it is a example for mod2 stuff :
#LetterBox for 1080p footage ( mod2 compatible )
LetterBox 1920x1080 Footage = $select:msg:Select Letter Box Aspect-Ratio for your 1920x1080px footage;1.85:1 35mm standard US/UK widescreen|letterbox(20,22);1.896:1 DCI/SMPTE digital cinema container|letterbox(34,34);2.00:1 SuperScope original ratio US studios 1954 to 1960|letterbox(60,60);2.20:1 70mm Todd-AO 1955 - Super Panavision70 1959 to 1983|letterbox(104,104);2.33:1 Techniscope 1960-1976|letterbox(128,128);2.35:1 35mm anamorphic pre-1970|letterbox(132,132);2.37:1 21:9 cinema displays on Tv's from 2009 to 2012|letterbox(134,136);2.39:1 35mm anamorphic post-1970 Panavision/CinemaScope|letterbox(138,138);2.55:1 Original Cinemascope55 before optical sound added to film in 1954- up to 1957|letterbox(164,164);2.66:1 Full frame output from Super 16mm negative when an anamorphic lens system has been used|letterbox(178,180);2.76:1 Ultra Panavision 70 - MGM Camera 65 - 1957 to 1966|letterbox(192,192);3.00:1 Super WideScreen|letterbox(220,220)$
#LetterBox for 1080p footage ( for footage not needing mod2 this one )
LetterBox 1920x1080 non mod2 Footage = $select:msg:Select Letter Box Aspect-Ratio for your 1920x1080px footage;1.85:1 35mm standard US/UK widescreen|letterbox(21,21);1.896:1 DCI/SMPTE digital cinema container|letterbox(33,34);2.00:1 SuperScope original ratio US studios 1954 to 1960|letterbox(60,60);2.20:1 70mm Todd-AO 1955 - Super Panavision70 1959 to 1983|letterbox(103,104);2.33:1 Techniscope 1960-1976|letterbox(128,128);2.35:1 35mm anamorphic pre-1970|letterbox(131,132);2.37:1 21:9 cinema displays on Tv's from 2009 to 2012|letterbox(135,135);2.39:1 35mm anamorphic post-1970 Panavision/CinemaScope|letterbox(138,138);2.55:1 Original Cinemascope55 before optical sound added to film in 1954- up to 1957|letterbox(163,164);2.66:1 Full frame output from Super 16mm negative when an anamorphic lens system has been used|letterbox(179,179);2.76:1 Ultra Panavision 70 - MGM Camera 65 - 1957 to 1966|letterbox(192,192);3.00:1 Super WideScreen|letterbox(220,220)$
Same filter but instead of letterbox it's just a crop of the video :
#Crop options for 1080p not mod2 :
1920x1080px Footage Crop Aspect-Ratios = $select:msg:Select Crop Aspect-Ratio for your 1920x1080px footage;1.85:1 35mm standard US/UK widescreen|crop(0,20,0,-22);1.896:1 DCI/SMPTE digital cinema container|crop(0,34,0,-34);2.00:1 SuperScope original ratio US studios 1954 to 1960|crop(0,60,0,-60);2.20:1 70mm Todd-AO 1955 - Super Panavision70 1959 to 1983|crop(0,104,0,-104);2.33:1 Techniscope 1960-1976|crop(0,128,0,-128);2.35:1 35 mm anamorphic pre-1970|crop(0,132,0,-132);2.37:1 21:9 cinema displays on Tv's from 2009 to 2012|crop(0,134,0,-136);2.39:1 35 mm anamorphic post-1970 Panavision/CinemaScope|crop(0,138,0,-138);2.55:1 Original Cinemascope55 before optical sound added to film in 1954- up to 1957|crop(0,164,0,-164);2.66:1 Full frame output from Super 16 mm negative when an anamorphic lens system has been used|crop(0,178,0,-180);2.76:1 Ultra Panavision 70 - MGM Camera 65 - 1957 to 1966|crop(0,192,0,-192);3.00:1 Super WideScreen|crop(0,220,0,-220)$
Also finishing all those for 1440p footage , wish i could enter those presets on the cropping viewer directly somehow , not sure if i can make some menus there, did not had much time yet but i'm testing things to make them use easier and progressing on this, need more time :p
A few things i miss and would like to see one day or another :
- Possibility in the event command filters to add custom made muxer profiles or custom made encoding profiles filter.
Let's say i have multiples mp4 muxing profiles or multiples x265 encoding profiles all having a different name, i would like to do stuff using the event commands like " if encoding profile name is X265_HQ do ..." or " If muxer profile name is MP4_Cover do ..."
- What i really miss the most is a easy way to trim a clip in different parts so i can apply different filters to each parts easily , right now we can cut a video in multiples parts and all selected parts are added in form or trim() + trim () + trim () etc.
What i would like to do is in the viewer cut the parts i want but get output as part1=trim() part2=trim() part3(trim() into different filter lines and at the end getting a last filter being part1+part2+part3, all those added in form of individual filters so i can apply other filters between those parts
Right now i do this manually, the "Cutting" filter is automated, and for good reasons, i can use it in the viewer to cut parts, then add a few dummy filters, then rename "Cutting" to "Cutting1" for example then add part1= to the trim code first part and edit dummy filters previously added to add part2 part3 + trim sections and at the end a dummy filter to return me part1+part2+part3
Maybe i missed it but for now I did not found a good solution to do this stuff in a more automated way using the program possibilities, with this it will be easy to insert a filter between part 1 and part 2 and apply a filter only on part 2 etc
- Having a "+" button in the code editor adding a new empty/blank filter that i can edit there without having to add first a dummy filter from main window to manually edit them after in the editor window will be nice.
- I saw you added up and down arrows to move filters on the contextual menu, very nice addition, maybe it is possible to add such thing in the code editor too, a couple of arrow in form of buttons maybe ? ( maybe next the option "+" above ).
I don't ask for all this to be done, just throwing this here in case one day it becomes easy to do , the last changes really open a lot of new possibilities and i'm more than happy with the program, makes things way easier, and for now did not had time to start messing with powershell, this will need quite some free tiem to experiment stuff with but i will come at some point hopefully.
Sorry for the long post and for breaking the forum layout and again thanks a lot for all.
Magik Mark
25th April 2017, 00:53
The dll is supposed to support both avs and vs, avs don't seem to work though, probably I forgot to test it for avs, for avisynth you can try 1.5.1, that's what was probably included before.
http://nmm.me/fh
I think there is a issue with your frame rate.
Stax,
I used the dll you recommended and placed it in C:\Program Files\AviSynth+\plugins64+
Same Problem
Magik Mark
25th April 2017, 00:57
Got it working
Moved it to \StaxRip Test Build\Apps\Plugins\both\flash3kyuu_deband
Instead
stax76
25th April 2017, 00:59
Because it loads the dll with LoadPlugin, you can see that with 'Code Preview', there you can also see the path where you need to replace the dll, the easiest way to open the folder is using the apps dialog.
Main Menu > Apps > Manage > Plugins > AviSynth > flash3kyuu_deband
Just type deband in the search field of the apps dialog.
chummy
26th April 2017, 12:54
there is a exception for following files:
files types without audio: "m4v", "m2v", "y4m", "mpv", "avc", "hevc", "264", "h264", "265", "h265"
text based file types: "d2v", "dgi", "dga", "dgim", "avs", "vpy"
in the options you can try if defining the temp dir helps in this case. (Options > Paths > Temp Files Directory)
When i change temp dir at option it dont work at all keep reseting location to default. If i change temp directory and save as template it just crashi script loading, then i need to reset templates to default for work.
That big amount of temp files for exception files are a bit annoying to remove everytime. If there is a way to make it save all files sinde a temp directory folder like common encoding would be great.
IntelHEVC
26th April 2017, 16:02
Hi Stax76
There is a bug in version 1.4.3.2 in profile Intel hardware encoding!
The hevc codec is output as h265.
That is not right!
Correct is the file transfer on hevc ...
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoding using QSVEncC 2.62 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
@echo off
C:\Stax\Apps\QSVEncC\QSVEncC64.exe --codec h265 --quality fastest --ref 4 --scenechange --profile main --level 4 --colormatrix bt709 --colorprim bt709 --transfer bt709 --vbr 991 -i E:\Scenarist\00051.m2ts_1eng_temp\DTSEnc.avs -o E:\Scenarist\DTSEnc.h265
cmd.exe /C call "E:\Scenarist\00051.m2ts_1eng_temp\DTSEnc_QSVEncC.bat"
Error: Unknown value "h265" for "--codec"
Cancel error!
IntelHEVC
26th April 2017, 16:10
Hi Stax76
There is a bug in version 1.4.3.2 in profile Intel hardware encoding!
The hevc codec is output as h265.
That is not right!
Correct is the file transfer on hevc ...
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoding using QSVEncC 2.62 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
@echo off
C:\Stax\Apps\QSVEncC\QSVEncC64.exe --codec h265 --quality fastest --ref 4 --scenechange --profile main --level 4 --colormatrix bt709 --colorprim bt709 --transfer bt709 --vbr 991 -i E:\Scenarist\00051.m2ts_1eng_temp\DTSEnc.avs -o E:\Scenarist\DTSEnc.h265
cmd.exe /C call "E:\Scenarist\00051.m2ts_1eng_temp\DTSEnc_QSVEncC.bat"
Error: Unknown value "h265" for "--codec"
Cancel error!
suspiciousBob
26th April 2017, 17:09
I am choosing to convert the source .dstma to 768kbps .dts using ffmpeg as the converter.
StaxRip x64 v1.4.3.2 generated the following line in its script:
C:\Users\username\Desktop\StaxRip-x64-1.4.3.2-test\Apps\ffmpeg\ffmpeg.exe -i "S:\source\source_temp\source ID2 English.dtsma" -strict -2 -b:a 768k -ac 6 -y -hide_banner "S:\source\source_temp\source ID2 English_out1.dts"
Which then fails (and generates a 0 byte .dts file) with the following error:
Input #0, dts, from 'S:\source\source_temp\source ID2 English.dtsma':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16p
[dca @ 00000000006e35c0] Specified channel layout '5.1' is not supported
Stream mapping:
Stream #0:0 -> #0:0 (dts (dca) -> dts (dca))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
If i remote the "-ac 6" parameter from the above command then the .dtsma file is transcoded to .dts as expected.
It this something I can fix myself in StaxRip or is it a bug that can get fixed?
Johan Anderson
1st May 2017, 17:15
Hi,
I am using the test version 1.4.3.2 and I am getting the following error for Intel h265:
Error: Unknown value "h265" for "--codec"
Start: 18:03:22
End: 18:03:22
Duration: 00:00:00
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoder output file is missing
My Intel graphic card is activated and has quicksync. When I use the check hardware option, I get QuickSyncVideo (hw encoding) unavailable. Any idea why this occurs?
My specs are these: Processor - I7-4702MQ with Intel HD Graphics 4600 and Nvidia GeForce GT 750M.
i was trying to encode a flac file but i cant import it in staxrip. avisynth gives no video error. is there only way by which we can encode only audio in staxrip. thanks :)
i was trying to encode a flac file but i cant import it in staxrip. avisynth gives no video error. is there only way by which we can encode only audio in staxrip. thanks :)
This should work :
right click on the audio field and " Open " your flac file.
select the audio output format profile and right click again on the audio field and selet " Execute "
https://s14.postimg.org/g3d26ue8x/21687520170505132453.png
This should just process the flac file and convert it to the desired output format.
stax76
5th May 2017, 17:16
@suspiciousBob
It should work with the build from today.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.