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. |
24th January 2016, 19:24 | #202 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Yes, it should stay in 10bit. I would however recommend doing all processing in 16bit. You're wasting a lot of intermediate precision by not using it.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
24th January 2016, 20:49 | #203 | Link | |
Registered User
Join Date: Mar 2003
Posts: 194
|
Quote:
Code:
import vapoursynth as vs core = vs.get_core() ret = core.lsmas.LibavSMASHSource(source=r"F:/Interlaced_Test.mov") ret = core.yadifmod.Yadifmod(ret, edeint=core.nnedi3.nnedi3(ret, field=1), order=1) ret = core.fmtc.resample (clip=ret, w=720, h=576, css="444", kernel="spline36") ret = core.fmtc.matrix (clip=ret, mats="709", matd="601") ret = core.fmtc.resample (clip=ret, css="422") ret = core.fmtc.bitdepth (clip=ret, bits=10) ret.set_output() |
|
25th January 2016, 07:26 | #205 | Link | |
Registered User
Join Date: Mar 2003
Posts: 194
|
Quote:
Code:
import vapoursynth as vs core = vs.get_core() ret = core.lsmas.LibavSMASHSource(source=r"F:/Interlaced_Test.mov") ret = core.fmtc.bitdepth (clip=ret, bits=16) ret = core.yadifmod.Yadifmod(ret, edeint=core.nnedi3.nnedi3(ret, field=1), order=1) ret = core.fmtc.resample (clip=ret, w=720, h=576, css="444", kernel="spline36") ret = core.fmtc.matrix (clip=ret, mats="709", matd="601") ret = core.fmtc.resample (clip=ret, css="422") ret = core.fmtc.bitdepth (clip=ret, bits=10) ret.set_output() Does this have much processing / speed implications? Kind regards. |
|
25th January 2016, 07:32 | #206 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,718
|
No need to go back to 10 bits so you can remove the "ret = core.fmtc.bitdepth (clip=ret, bits=10)" line. Depending on the encoder you are using to produce the final result, you may need to tell it that you are inputting a 16-bit source.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
25th January 2016, 21:43 | #210 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,718
|
At least h.264 (x264) should have the input depth parameter, don't know about the others.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
5th February 2016, 19:29 | #214 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Speaking about history. Is there any chance I could convince you to use github for hosting and history too?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
5th February 2016, 20:13 | #215 | Link |
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
|
the history is here https://www.nmm-hd.org/newbbs/viewtopic.php?f=23&t=941
|
9th February 2016, 16:22 | #216 | Link | |
Registered User
Join Date: Aug 2006
Location: Taiwan
Posts: 392
|
Quote:
Could you or anyone provide a small sample clip with blending problem? I need to do some experiments and make sure the result is correct. |
|
9th February 2016, 17:17 | #218 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,718
|
Sure, I'll try to find something for you off my HDDs. I have at least one concert video readily available but it's tricky to get a good scene for testing.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
9th February 2016, 17:59 | #219 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,718
|
Here you go: https://drive.google.com/file/d/0Bze...ew?usp=sharing
The original frame rate is 25 fps.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
Thread Tools | Search this Thread |
Display Modes | |
|
|