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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th August 2015, 22:33   #1  |  Link
nickintheforest
Registered User
 
Join Date: Apr 2011
Posts: 8
StackHorizontal with stack16

I have 1080p, 4:2:2 10-bit.

First of all, I want to ask, is format="YUV422P16" (LWLibavVideoSource("sample.ts",stacked=true,format="YUV422P16")) the most correct pixel format?

If that's true, second question.
Which way of StackHorizontal two stack16 video is the most accurate? I mean,
s = LWLibavVideoSource("sample.ts",stacked=true,format="YUV422P16")
-> StackHorizontal(s,s) for example. or StackVertical.
nickintheforest is offline   Reply With Quote
Old 26th August 2015, 23:14   #2  |  Link
cretindesalpes
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
 
cretindesalpes's Avatar
 
Join Date: Feb 2009
Location: No support in PM
Posts: 712
You can safely use StackHorizontal with stack16 clips.
However, for vertical stacking you have to separate the MSB and LSB parts:
Code:
a0 = clip_a.Dither_get_msb ()
a1 = clip_a.Dither_get_lsb ()
b0 = clip_b.Dither_get_msb ()
b1 = clip_b.Dither_get_lsb ()
c0 = clip_c.Dither_get_msb ()
c1 = clip_c.Dither_get_lsb ()
StackVertical (a0, b0, c0, a1, b1, c1)
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding
cretindesalpes is offline   Reply With Quote
Old 27th August 2015, 12:34   #3  |  Link
nickintheforest
Registered User
 
Join Date: Apr 2011
Posts: 8
cretindesalpes, thank you so much
nickintheforest is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:02.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.