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
#1
Hi,

I use Hybrid and Vapoursynth, last versions, with Ubuntu (20.04 LTS), uptodate.
No real problem to compile Vapoursynth.
I'm trying to load a mkv with 3 video tracks and use MCTemporalDenoise on the first track, and
reencode it; others tracks are not interesting.

2 dual problems to load the file with Vapoursynth.

1. When I use "Prefer LWLibAVSource over FFMpegSource2", the generated .vpy load part is:

# Loading /global/leopard/cooking/back_Participant_10_Act_1_Trial_0.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="/global/leopard/cooking/back_Participant_10_Act_1_Trial_0.mkv", format="YUV422P8", stream_index=0, cache=0, prefer_hw=0)

prefer_hw seems coherent with Hybrid, it's the next graphic option : "Libab hardware decoding mode"
with default = 0

But IMHO, prefer_hw is an argument for LSMASHSource, not LWLibAVSource ?

The error is :
**************************************************************************************************
Python exception: LWLibavSource: Function does not take argument(s) named prefer_hw

Traceback (most recent call last):
  File "src/cython/vapoursynth.pyx", line 2231, in vapoursynth.vpy_evaluateScript
  File "src/cython/vapoursynth.pyx", line 2232, in vapoursynth.vpy_evaluateScript
  File "/global/leopard_nvme/encodingTempSynthSkript_23_58_00_8410.vpy", line 12, in <module>
    clip = core.lsmas.LWLibavSource(source="/global/leopard/cooking/back_Participant_10_Act_1_Trial_0.mkv", format="YUV422P8", stream_index=0, cache=0, prefer_hw=0)
  File "src/cython/vapoursynth.pyx", line 2042, in vapoursynth.Function.__call__
vapoursynth.Error: LWLibavSource: Function does not take argument(s) named prefer_hw
***************************************************************************************************

2. So, I'm trying to use FFMpegSource2 in place of LWLibAVSource. But my mkv has
3 video tracks. So the load part of the .vpy becomes :

# Loading source using FFMS2
clip = core.ffms2.Source(source="/global/leopard/cooking/back_Participant_10_Act_1_Trial_0.mkv",cachefile="/global/leopard_nvme/00_15_33_7110.ffindex",vtrack=0,format=vs.YUV422P8,alpha=False)

But IMHO, in core.ffms2.Source, the right name of the track is not "vtrack", but "track" ?

The error is :
**************************************************************************************************
Python exception: Source: Function does not take argument(s) named vtrack

Traceback (most recent call last):
  File "src/cython/vapoursynth.pyx", line 2231, in vapoursynth.vpy_evaluateScript
  File "src/cython/vapoursynth.pyx", line 2232, in vapoursynth.vpy_evaluateScript
  File "/global/leopard_nvme/encodingTempSynthSkript_00_15_33_7110.vpy", line 12, in <module>
    clip = core.ffms2.Source(source="/global/leopard/cooking/back_Participant_10_Act_1_Trial_0.mkv",cachefile="/global/leopard_nvme/00_15_33_7110.ffindex",vtrack=0,format=vs.YUV422P8,alpha=False)
  File "src/cython/vapoursynth.pyx", line 2042, in vapoursynth.Function.__call__
vapoursynth.Error: Source: Function does not take argument(s) named vtrack
**************************************************************************************************

WorkAround: do the job in 2 times.
First, extract the first video track in an tempo mkv without vapoursynth;
Second, use FFMpegSource2 with this new mkv with only one video track;
the argument vtrack is not used. Result is OK.

Thanks for your work & all the best,

Alain
--
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 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: 4 Guest(s)