Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
20th November 2012, 18:40 | #41 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Quote:
So matrix on something other than 4:4:4 is not just not yet implemented, but is not implemented on purpose? |
|
20th November 2012, 20:14 | #42 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
Reel.Deel:
Try with the syntax: impulse=[-1, 6, -1]. This is no longer a string but a wonderful datastructure called array. However I don't understand what's happening with these error messages that don't match the actual error. I need to investigate this. sneaker_ger: Yes, more or less. As mentioned previously, I could implement specific cases differently but at the moment it works as designed. It needs to be optimized, though.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding |
22nd November 2012, 17:56 | #44 | Link |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,843
|
cretindesalpes:
Source is YUY2: b= core.fmtc.resample(clip=ret, w=720, h=576, kernel="spline36", css="444") c= core.fmtc.matrix (clip=b, mats="709", matd="601", col_fam=vs.YUV) a= core.fmtc.bitdepth (clip=c, bitdepth=8, dmode=1) I seams to have some issues with dither tools- resizing seams to mess with chroma placement, specially with css=444, which is required for matrix conversions. There are issues without css=444 also, but less visible. Test on HD bars going to SD shows chroma shifts compared to Vdub and internal Edius resizing (they are both about the same). There is something wrong going on with dither tools. Another issue are dithering (higher modes, eg 3) artefacts, which seams to break solid nature of bars (specially green one). This was also visible a lot when I tested YUV->RGB->YUV conversion- avisynth was way more lossless, which is not the way how it should be taking into account dither precision. I will try to put some grabs later. update: it's all related to last line in my script which is: last=core.resize.Spline(clip=h,format=vs.COMPATYUY2) - it's not dither tools, but this line messing with good output of dither tools. Is this part of swscale? Last edited by kolak; 22nd November 2012 at 20:12. |
23rd November 2012, 23:52 | #45 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
ajp_anton:
Not at the moment. Jinc is quite different of the other kernels (the transform is not separable) so it would need a significant rewrite to add it. Currently I focus on making everything work correctly. kolak: Yes, core.resize.Spline uses swscale. Do I understand that finally you haven't any more problem with fmtconv? — - — Time for a new release: fmtconv r3
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding |
9th December 2012, 16:18 | #47 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
kolak:
For interlaced resizing, you have to separate the fields first. Then the relative field position is automatically taken into account when resizing. fmtconv r4:
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding |
9th December 2012, 20:27 | #48 | Link |
Registered User
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
|
Documentation needs a fix. The resample() parameters scalev and scaleh are defined as scalex and scaley.
I like the new bobbing method. Way easier to implement.
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake? Curly: Burned at the stake! Moe: Why? Curly: A hot steak is always better than a cold chop. |
9th December 2012, 21:03 | #49 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
Oh right! I fixed the doc without changing the version number, just download again the zip file.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding |
10th December 2012, 06:15 | #50 | Link |
Registered User
Join Date: Feb 2010
Location: New York
Posts: 116
|
Just noticed a small typo in one of your error messages, it looks like fmtc/Resample.cpp, on line 251, says 'w' where it should say 'h' to indicate that the user's provided an invalid height for the output colorspace.
|
10th December 2012, 08:38 | #51 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
Thanks for reporting it. Copy/paste is the most evil invention ever.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding |
19th December 2012, 19:53 | #53 | Link |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Code:
g++ -O3 -shared -msse2 -fPIC -o libfmtconv.so AvstpWrapper.cpp main.cpp fmtc/*.cpp fstb/*.cpp vsutl/*.cpp -I. clang from svn should work as well.
__________________
Buy me a "coffee" and/or hire me to write code! |
4th January 2013, 23:18 | #55 | Link | |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,843
|
Quote:
|
|
5th January 2013, 20:58 | #56 | Link |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,843
|
Another thing:
just had a case where I had to convert interlaced 10bit 422 to 8bit 420 for QTGMC processing- it needs 5 additional lines to achieve. Even if it's not very complicated than it's way "to long"- it should be done with one (or 2) line. Can't we have most of the processing included in one command? |
18th August 2013, 21:52 | #57 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
fmtconv r5:
Kolak: I’ll add simple wrapping functions when the library is stabilized.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding Last edited by cretindesalpes; 18th August 2013 at 21:55. |
18th August 2013, 22:17 | #59 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
Doh! Sorry. I replaced the .dll file. Just download again ftmconv-r5.zip.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding |
24th August 2013, 09:58 | #60 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
My bad. fmtconv r6 should fix it.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding |
Thread Tools | Search this Thread |
Display Modes | |
|
|