This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] No preview window
#47
Quote: Is there any other way to find the preview display error without having to have preview open?
Opening the script in vspipe should also work.
Problem is, Hybrid will have deleted the preview script.

Quote:I tried preview with no filters - still no preview window. It pops up grey, then disappears.
okay, then it must be still something with the Vapoursynth environment that is messed up.


1. Do you have Python or Vapoursynth installed on your system ? (not counting the one coming with Hybrid)

2. If you open vsViewer, does it now work or do you still get some error?

3. If it does open without an error (aside from that the previous file is gone), clear the text field, enter:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
import sys
import os
core = vs.core
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
sys.path.insert(0, os.path.abspath(scriptPath))
# loading plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/LSMASHSource.dll")
# Import scripts
import validate
# Source: 'M:\5994 - 2997 Prog-OUT\Trailer-28 Minutes-FCP_SD 768_576.mov'
# Current color space: YUV422P10, bit depth: 10, resolution: 768x576, frame rate: 23.976fps, scanorder: progressive, yuv luminance scale: limited, matrix: 470bg, transfer: bt.709, primaries: bt.601 pal, format: prores
# Loading M:\5994 - 2997 Prog-OUT\Trailer-28 Minutes-FCP_SD 768_576.mov using LibavSMASHSource
clip = core.lsmas.LibavSMASHSource(source="M:/5994 - 2997 Prog-OUT/Trailer-28 Minutes-FCP_SD 768_576.mov")
frame = clip.get_frame(0)
# setting color matrix to 470bg.
clip = core.std.SetFrameProps(clip, _Matrix=vs.MATRIX_BT470_BG)
# setting color transfer (vs.TRANSFER_BT709), if it is not set.
if validate.transferIsInvalid(clip):
  clip = core.std.SetFrameProps(clip=clip, _Transfer=vs.TRANSFER_BT709)
# setting color primaries info (to vs.PRIMARIES_BT470_BG), if it is not set.
if validate.primariesIsInvalid(clip):
  clip = core.std.SetFrameProps(clip=clip, _Primaries=vs.PRIMARIES_BT470_BG)
# setting color range to TV (limited) range.
clip = core.std.SetFrameProps(clip=clip, _ColorRange=vs.RANGE_LIMITED)
# making sure frame rate is set to 23.976fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001)
# making sure the detected scan type is set (detected: progressive)
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # progressive
original = clip
original = core.text.Text(clip=original,text="Original",scale=1,alignment=7)
clip = core.text.Text(clip=clip,text="Filtered",scale=1,alignment=7)
stacked = core.std.StackHorizontal([original,clip])
# set output frame rate to 23.976fps (progressive)
stacked = core.std.AssumeFPS(clip=stacked, fpsnum=24000, fpsden=1001)
# output
stacked.set_output()
press F5.
What happens? Do you see a preview or an error message?

Please, answer question 1.-3., thanks.

Cu Selur

Ps.: Also do not post debug outputs about encoding unless the preview works,... that part of the debug output doesn't help at all in this situation. Until the preview works, encoding is of no interest.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
No preview window - by Miranda - 18.07.2025, 12:33
RE: No preview window - by Selur - 18.07.2025, 12:38
RE: No preview window - by Miranda - 18.07.2025, 12:45
RE: No preview window - by Selur - 18.07.2025, 13:00
RE: No preview window - by Miranda - 18.07.2025, 14:21
RE: No preview window - by Selur - 18.07.2025, 14:45
RE: No preview window - by Miranda - 18.07.2025, 14:59
RE: No preview window - by Selur - 18.07.2025, 15:00
RE: No preview window - by Miranda - 18.07.2025, 15:06
RE: No preview window - by Selur - 18.07.2025, 15:16
RE: No preview window - by Miranda - 18.07.2025, 15:23
RE: No preview window - by Selur - 18.07.2025, 15:24
RE: No preview window - by Miranda - 18.07.2025, 15:27
RE: No preview window - by Selur - 18.07.2025, 15:29
RE: No preview window - by Miranda - 18.07.2025, 15:31
RE: No preview window - by Selur - 18.07.2025, 15:33
RE: No preview window - by Miranda - 18.07.2025, 15:39
RE: No preview window - by Selur - 18.07.2025, 15:46
RE: No preview window - by Miranda - 18.07.2025, 15:49
RE: No preview window - by Selur - 18.07.2025, 15:52
RE: No preview window - by Miranda - 18.07.2025, 16:24
RE: No preview window - by Selur - 18.07.2025, 16:35
RE: No preview window - by Selur - 18.07.2025, 16:43
RE: No preview window - by Miranda - 18.07.2025, 17:09
RE: No preview window - by Selur - 18.07.2025, 17:20
RE: No preview window - by Miranda - 18.07.2025, 17:27
RE: No preview window - by Selur - 18.07.2025, 17:31
RE: No preview window - by Miranda - 18.07.2025, 17:47
RE: No preview window - by Selur - 18.07.2025, 17:50
RE: No preview window - by Miranda - 18.07.2025, 18:32
RE: No preview window - by Selur - 18.07.2025, 18:36
RE: No preview window - by Miranda - 18.07.2025, 18:46
RE: No preview window - by Selur - 18.07.2025, 18:54
RE: No preview window - by Miranda - 18.07.2025, 19:22
RE: No preview window - by Selur - 18.07.2025, 19:26
RE: No preview window - by Miranda - 18.07.2025, 19:36
RE: No preview window - by Selur - 18.07.2025, 19:47
RE: No preview window - by Miranda - 18.07.2025, 19:50
RE: No preview window - by Selur - 18.07.2025, 20:02
RE: No preview window - by Selur - 18.07.2025, 20:06
RE: No preview window - by Miranda - Yesterday, 11:30
RE: No preview window - by Selur - Yesterday, 12:23
RE: No preview window - by Selur - Yesterday, 13:31
RE: No preview window - by Miranda - Yesterday, 14:03
RE: No preview window - by Selur - Yesterday, 16:18
RE: No preview window - by Miranda - Yesterday, 16:53
RE: No preview window - by Selur - Yesterday, 18:08
RE: No preview window - by Miranda - Yesterday, 18:36
RE: No preview window - by Selur - Yesterday, 18:41
RE: No preview window - by Miranda - Yesterday, 18:45
RE: No preview window - by Selur - Yesterday, 18:49
RE: No preview window - by Miranda - Yesterday, 18:54
RE: No preview window - by Selur - Yesterday, 19:09
RE: No preview window - by Miranda - 11 minutes ago
RE: No preview window - by Selur - 2 minutes ago

Forum Jump:


Users browsing this thread: Selur, 1 Guest(s)