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.

Possible 2 bugs in Linux & vapoursynth
#2
1st please use the 'code'-tags to make your post better readable. It's a pain.
About the issues:
Quote:But IMHO, prefer_hw is an argument for LSMASHSource, not LWLibAVSource ?
I have no problem using:
# Imports
import vapoursynth as vs
core = vs.get_core()
# Loading Plugins
core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# input color space: YUV420P8, bit depth: 8
# Loading F:\TestClips&Co\files\MPEG-4 H.264\TEST_delay-916ms.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="F:/TestClips&Co/files/MPEG-4 H.264/TEST_delay-916ms.mkv", format="YUV420P8", cache=0, fpsnum=24000, fpsden=1001, prefer_hw=1)
# making sure input color matrix is set as 709
clip = core.resize.Point(clip, matrix_in_s="709",range_s="limited")
# making sure frame rate is set to 23.976
clip = core.std.AssumeFPS(clip, fpsnum=24000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# adjusting output color from: YUV420P8 to YUV420P10 for x265Model (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10, range_s="limited")
# Output
clip.set_output()
here,... iirc prefer_hw support was added back in November 2019 by HoyWu, his github is over at: https://github.com/HolyWu/L-SMASH-Works
(was added in: https://github.com/HolyWu/L-SMASH-Works/...13931b3f29)
damn, just noticed I used the VFR-mania sources to build L-SMASH in the Linux package. :/

Quote:But IMHO, in core.ffms2.Source, the right name of the track is not "vtrack", but "track" ?
Yes, that is a bug. -> will fix

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
Possible 2 bugs in Linux & vapoursynth - by ALM - 10.06.2020, 00:27
RE: Possible 2 bugs in Linux & vapoursynth - by Selur - 10.06.2020, 19:49
RE: Possible 2 bugs in Linux & vapoursynth - by ALM - 12.06.2020, 18:29
RE: Possible 2 bugs in Linux & vapoursynth - by ALM - 12.06.2020, 20:03
RE: Possible 2 bugs in Linux & vapoursynth - by ALM - 13.06.2020, 16:12
RE: Possible 2 bugs in Linux & vapoursynth - by ALM - 13.06.2020, 16:28
RE: Possible 2 bugs in Linux & vapoursynth - by ALM - 13.06.2020, 20:44
RE: Possible 2 bugs in Linux & vapoursynth - by ALM - 15.06.2020, 18:27
RE: Possible 2 bugs in Linux & vapoursynth - by ALM - 16.06.2020, 01:41

Forum Jump:


Users browsing this thread: 1 Guest(s)