Log in

View Full Version : Hybrid: Input -> x264/x265/Xvid/VP8/VP9


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 [63] 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78

Magik Mark
10th January 2017, 23:37
Thanks Selur!

I was even told not to activate "multi-pass-opt* option together with analysis load or save". So, the encoder has to choose any one of them. Otherwise, the app will just deactivate it

Magik Mark
11th January 2017, 01:46
Some mkv has fonts in them to be used by the subtitle. How do I view, change or even delete this?

Selur
11th January 2017, 05:26
I was even told not to activate "multi-pass-opt* option together with analysis load or save". So, the encoder has to choose any one of them. Otherwise, the app will just deactivate it
Any documentation for this available?

Some mkv has fonts in them to be used by the subtitle. How do I view, change or even delete this?
Hybrid by default automatically passes through all attached fonts, there is no option to manage the attachments aside form disabling 'Config->Automation->Matroska Settings->On load extract fonts from mkv'.
Hybrid extracts fonts to 'Config->Path->Infos->Font path'.

=> if you want to change fonts use a tool meant for that. :) (iirc. Hybrids font selection options only support switching the first font when hard coding the font)

Cu Selur

Vesdaris
13th January 2017, 22:37
For some reason I keep getting hex in my video file despite umh being set in x264 settings.

Here is the log

http://rgho.st/6qTQ6TN4P
Am I doing something wrong?

Selur
13th January 2017, 22:50
hex? I guess you are not speaking of hexagonal search,.. wild guess: might be related to the cutting,.... whatever the problem really is,.. may be enforcing Avisynth + AviSource decoding helps,...
-

Vesdaris
13th January 2017, 23:37
Yeah, I get hexagonal instead of multihexagonal for some reason(slow preset). I've tried setting always use avisynth but I stil get hex instead of umh.

Very Slow preset- fine
Slower- fine.

Slow preset- I always get hex instead of multi-hex.HYbrid shows that it should be multi-hexagonal.

I think the preset might be bugged.

Selur
14th January 2017, 07:45
Still can't really follow you.

Looking at the debug output:
... | "K:\Hybrid\x264-10bit.exe" --preset slow --crf 18.00 --profile high10 --level 4.1 --bframes 10 --rc-lookahead 60 --psy-rd 1.00:0.15 --vbv-maxrate 150000 --vbv-bufsize 187500 --sar 1:1 --deblock -1:-1 --non-deterministic --colormatrix bt709 --demuxer raw --input-depth 10 --input-csp i420 --fps 25 --input-res 1280x720 --output "O:\000000~1\00_36_09_0510_01.264" -
is used and '--slow' is the same as:
--b-adapt 2 --direct auto --me umh --rc-lookahead 50 --ref 5 --subme 8
where '--rc-lookahead 50' will be overwritten by '--rc-lookahead 60',...

Disabling the 'Minimize command line' option in Hybrid, I also see '--me umh' when I apply the 'slow' preset.

So, what makes you thing that you there is a bug and Hybrid uses 'hex' instead of 'umh' as '--me'-value?


Cu Selur

Vesdaris
14th January 2017, 08:18
Selur
So, what makes you thing that you there is a bug and Hybrid uses 'hex' instead of 'umh' as '--me'-value?

Mediainfo reports that me value is hex unlike very slow and slower preset.

Selur
14th January 2017, 09:02
Okay, than this isn't a bug in Hybrid. :)
It's either:
a. a bug in x264 reporting the wrong info or stating the wrong info inside their help output
or
b. MediaInfo misreading the info
-> you might want to contact the developers of MediaInfo and x264 :)

Cu Selur

Vesdaris
14th January 2017, 10:14
Any other encoding tool I used (handbrake,megui) created a file that had me=umh as specified.

So, I've copied x264 binaries from megui into hybrids folder and made some test runs.

slow preset(me=umh)

x264-10bit(32) - me=hex
x264-10bit(64) -me=hex

Hybrids original x264-10bit - me=hex (same with 8bit version)

Megui's encoding using the same x264 binaries results in a file being encoded at me=umh as specified.

So, I dunno what to think about all this..

Selur
14th January 2017, 11:35
No clue either. I showed you the call Hybrid uses.
The call looks fine to me, so I don't think it's Hybrids fault.

Magik Mark
15th January 2017, 23:55
Selur,

After encoding, I see an entry for "Global Tag". How do I disable this during encoding?

Selur
16th January 2017, 05:01
By default Hybrid passes through audio&video language and title tags, which can be disabled under 'Config->Automation->Passthrough tags'.
Those tags can be overwritten, through the tags tab.
For mkv there are additional tagging options under 'Config->Output->MKV Tags', which by default do nothing.
If that doesn't help, you need to share details, since it's just wild guessing for me otherwise.

Cu Selur

Magik Mark
20th January 2017, 10:26
By default Hybrid passes through audio&video language and title tags, which can be disabled under 'Config->Automation->Passthrough tags'.
Those tags can be overwritten, through the tags tab.
For mkv there are additional tagging options under 'Config->Output->MKV Tags', which by default do nothing.
If that doesn't help, you need to share details, since it's just wild guessing for me otherwise.

Cu Selur

This is what I'm talking about:

http://i.imgur.com/A03gXAP.png

Is there a way to automatically remove the "Global Entry Tag"? I can't find the right setting

Magik Mark
20th January 2017, 10:28
Selur,

When changing the size of the window through the "ini" file some area are truncated:

http://i.imgur.com/5Oc5pcP.png

Is there a way to automatically adjust this?

Selur
20th January 2017, 18:01
about the Global tag entry: If that file was created with Hybrid, it might be the 'Copyright Hybrid VERSIONINFO' data Hybrid always sets when outputting mkv.
about the progress information: you could remove some of the information inside the progress bar (Config->View->Progressbar Main), other than that it might be possible to adjust the font size of just the progress bar using a custom style sheet (http://forum.selur.de/topic255-hybrid-and-styling.html) other than that I would probably have to write additional code for it to allow to set a custom font size just for the progressbar. (will also look if there is a way to tell Hybrid to automatically adjust the size, but I doubt that is possible,..)

-> just had another idea, seeing your screenshot the icons/buttons seem to be too large decreasing their size might already help (send you a link to a dev version)

Magik Mark
20th January 2017, 22:26
Tried the file you sent.

1. Fonts became too small
2. x265 -> "Save Rps" is now greyed out. Can't be ticked

Selur
20th January 2017, 22:30
regarding 1: then change the setting in the misc.ini
regarding 2: you did disable cuTree (x265->Quantization->General Quantization->Coding tree for adaptive quantization, right? remember https://forum.doom9.org/showthread.php?p=1792735#post1792735)

Selur
20th January 2017, 22:35
Icons have the size they are meant to have.
about 'Save RPS' read my previous post.

Magik Mark
20th January 2017, 23:22
Thanks Selur!

Magik Mark
20th January 2017, 23:32
about the Global tag entry: If that file was created with Hybrid, it might be the 'Copyright Hybrid VERSIONINFO' data Hybrid always sets when outputting mkv.

Is there a way to turn this off?

Selur
20th January 2017, 23:34
No, there is not. :D Any reason why that is a problem?

Magik Mark
20th January 2017, 23:42
No, there is not. :D Any reason why that is a problem?



Not actually a problem. But I tinker my mkv files a lot using mkvtoolnix. I prefer to have video, audio, subtitles and chapters content only. I want it to be clean and free from other entries that are not needed in playing videos


Sent from my iPhone using Tapatalk

Selur
20th January 2017, 23:53
Only thing Hybrid does (just checked) is setting:
Encoding Gui : Hybrid VERSION_STRING
If you don't like it you could use mkvtoolnix or ffmpeg remove it, but I don't see a reason to remove this. :)

Cu Selur

Magik Mark
22nd January 2017, 09:16
https://forum.doom9.org/showthread.php?p=1792735#post1792735[/url])

The way I understand it --no-cutree are for:

1. --multi-pass-opt-analysis
2. --multi-pass-opt-distortion

cutree can be turned ON for --multi-pass-opt-rps

Tried it in staxrip and it's working perfectly

Selur
22nd January 2017, 09:20
not in Hybrid atm. :)

Magik Mark
22nd January 2017, 10:27
1.Tried the test file. It doesn't add "--multi-pass-opt-rps" CLI even if I tick "Save RPS"
2. "--analysis file" is also missing

Selur
22nd January 2017, 10:32
You are using 2pass encoding, right?

Magik Mark
22nd January 2017, 10:52
Correct 2pass!

Tried the file same problem #3127

Selur
22nd January 2017, 10:56
iirc analysis file should only be needed for--multi-pass-opt-analysis and --multi-pass-opt-distortion not for --multi-pass-opt-rps,..

Magik Mark
22nd January 2017, 10:58
The latest test file still doesn't add "--multi-pass-opt-rps" CLI even if I tick "Save RPS"

Magik Mark
22nd January 2017, 11:21
Thanks that did it!

Magik Mark
23rd January 2017, 00:11
Selur, we have an error when "Analysis refinement is ticked":

http://i.imgur.com/Mo0K8Vp.png

cutree is off

Selur
23rd January 2017, 05:10
seems like I accidentally removed the analysis file part,... argh,..

Magik Mark
26th January 2017, 10:01
Selur

Is hybrid's "limited sharpen" the same as "limited sharpen faster"?

Tried it. Encoding 50% slower compared to staxrip

Selur
26th January 2017, 17:48
Yes, limited sharpen in Hybrid uses 'LimitedSharpenFaster', if you compare the avisynth scripts and the encoding settings you can probably figure out why in your case StaxRip is faster,...

Havokdan
26th January 2017, 18:06
I am not an expert, but StaxRip uses Avisynth+ and The Vapoursynth, both 64-bit, would not be the case of the plugin run in 64-bit in StaxRip and in 32 bits in the Hybrid?

Selur
26th January 2017, 19:17
I my tests so far Vapoursynth (64bit) offers better multithreading than Avisynth MT (32bit), but is slower per thread, so it only delivered faster output when you use 2+ CPUs.
Couldn't find any speed gain in using Avisynth+.
-> If someone has different experiences please share.

Magik Mark
28th January 2017, 23:59
Yes, limited sharpen in Hybrid uses 'LimitedSharpenFaster', if you compare the avisynth scripts and the encoding settings you can probably figure out why in your case StaxRip is faster,...

The reason why it's a lot faster in staxrip is because it uses "Limited Sharpen Faster Mod" (LSFMod)

Maybe we can use this in hybrid as well?

Selur
29th January 2017, 13:35
I could probably add support for it, but that would take a while since it has tons or parameters:
LSFmod (clip input, int "strength", int "Smode", int "Smethod", int "kernel", string "preblur", bool "secure", clip "source", int "Szrp", int "Spwr", int "SdmpLo", int "SdmpHi", int "Lmode", int "overshoot", int "undershoot", int "overshoot2", int "undershoot2", int "soft", bool "soothe", int "keep", int "edgemode", bool "edgemaskHQ", float "ss_x", float "ss_y", int "dest_x", int "dest_y", bool "show", int "screenW", int "screenH", string "defaults")

Cu Selur

Magik Mark
30th January 2017, 00:20
Thanks for this.

There are preset for "old setting", "slow" and "fast". These helps a lot in choosing your preference. Is it still possible to integrate this?

Magik Mark
30th January 2017, 01:51
Selur,

Can you guide me on the ff:
1. Convert 2160p -> 1080p
2. What steps should I take in the resizer tab
3. Which among the resizer should I take bicubic? Your personal preference?
4. Convert color to bt709

Selur
30th January 2017, 05:38
There are preset for "old setting", "slow" and "fast". These helps a lot in choosing your preference. Is it still possible to integrate this?
if I find the time, I'll look into it.

There are preset for "old setting", "slow" and "fast". These helps a lot in choosing your preference. Is it still possible to integrate this?
1. enable Resize, set 'Target resolution' width to 1920. (Height should be automatically set to 1080)
2. select the Resizer you want (here, alternatively enable Filtering->Avisynth->Line->Resizer and select a resizer there)
Which among the resizer should I take bicubic? Your personal preference?
personally I like Bicubic and GaussResize

Convert color to bt709
What color matrix does your source use? Not sure whether Avisynth even offers a way to convert in example bt2020 properly to bt709. iirc dither supports "2020" (2020nc to bt709) conversions,..

Ajvar
2nd February 2017, 09:12
[BugReport]
Hello again! Last time I used Hybrid was a 2015 version but now I deleted old version and installed new one however I found a frustration with this bug:
Whenever I launch Hybrid for the second time I have notebook completely freeze with an error message "Nvidia GPU 660M is not a removable device. You can't remove it". And then frozen screen with repeated sound.
If I delete everything rom AppData/hybrid it launches fine but next time... freeze.
I use Windows 7 and 375.95 drivers. Old Hybrid was doing fine.

Selur
2nd February 2017, 19:27
No clue. First time I hear of that error.
May be it's a problem with NVEncC,.. try if it helps if you move NVEncC out of the Hybrid folder.

Ajvar
3rd February 2017, 07:36
No clue. First time I hear of that error.
May be it's a problem with NVEncC,.. try if it helps if you move NVEncC out of the Hybrid folder.

Yes, works fine now. Interesting...

Selur
3rd February 2017, 18:35
-> I guess some incompatibility with your graphic card drivers and NVEncC is the source of the issue then. :)

Magik Mark
5th February 2017, 00:39
Selur,

Can you help in figuring out why the lsfmod in staxrip is still faster? In staxrip i use prefetch 8 and in hybrid just 4. Anything higher doesn't make any improvements. I also use f3 debander and undot for both encoders.

I believe staxrip uses the "fast" default. Same encoder settings. x265 2pass 10bit.

I was thinking maybe the culprit is one of the parameter in lsfmod. It's really hard to find

Selur
5th February 2017, 08:09
Prefetch? No clue what you are referring to.
Without more details I can't help.
-> Send me a debug output of Hybrid and a log of what StaxRip is doing so that I can see the calls and scripts they use and I can probably see the differences.

Cu Selur

Selur
12th February 2017, 15:46
Hybrid rev 2017.02.12.2:
*fixed*

10bit encoding: don't use 'pixel_format' instead of 'pix_fmt' in ffmpeg since it breaks rawvideo output<


Hybrid rev 2017.02.12.1:

*fixed*

x265: analysis file handling
audio: wav handling

*changed*

x265: supporting --dynamic-rd <0..4>
x265: aq-motion allowed without adaptive quantization
x265: supporting --slices X (for better CPU usage and speed on systems with lots of cpu cores)
QSVEnc: adjusted to latest version
NVEnc: adjusted to latest version
VCEEnc: adjusted to latest version (H.265)
avisynth: updated some scripts and dlls
avisynth: high bit depth handling

*added*

audio: mono stream merge option
gui: scalingMode -1 to 3 to misc.ini options
NVEnvC: added HDR signaling
avisynth: prefer avs2yuv

-> downloads: http://www.selur.de/downloads

Cu Selur