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. |
10th September 2019, 19:39 | #3521 | Link | |
Registered User
Join Date: Jul 2019
Location: Russia
Posts: 87
|
Quote:
|
|
10th September 2019, 23:18 | #3522 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
That sounds a bit more than a guide, but more of lesson(s) (of being an encoder).
QTGMC is a deinterlacer so it always comes at early stage (probably after delogo, but that depends also.) And to us, we never change brightness and color of a mastered work (e.g. when backing up bluray discs). But if it's your own recording, things can be a lot different. |
12th September 2019, 04:09 | #3523 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
I've been studying some tutorials at realpython.com and noticed the tutorial and vs code format code like so:
Code:
def foo(a=1, b=1): foo(a=1, b=1) Code:
def foo(a = 1, b = 1): foo(a = 1, b = 1)
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
12th September 2019, 08:29 | #3524 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
This looks like the official style guide https://www.python.org/dev/peps/pep-0008/
Seems like def foo(a=1, b=1, ...) is recommended.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
12th September 2019, 08:51 | #3525 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
13th September 2019, 16:16 | #3527 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
It got merged into normal mvtools and will be in the next release.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
18th September 2019, 13:20 | #3528 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Does get_read_array() return only "video data" without "meta data or something"?
I was comparing different source filters (ffms2, d2vsource, lsmash, dgdecnv) and noticed something strange with VOB files. I save every hash in a list. If the video file passes the "seek-test" the hashes of every source filters should the same. This was the case with many files. But for vob files the hashes differ with every source filter. Is there something special with VOB files? I mean they can only be decoded in "one correct" way, right? They look all ok in vsedit... example log Code:
Seek linear order (hash, PicType, n-Frame) d653d648d8e6407e507c6eaa0116ebe5 I 0 30ad6c41b89dfd8880a12bde6952e7b2 B 1 5e0cb8bad4ba2ec37b4f4db0d4a65691 P 2 ... Code:
#from seek-test.py def hash_frame(frame): md5 = hashlib.md5() for plane in range(frame.format.num_planes): for line in frame.get_read_array(plane): md5.update(line) return md5.hexdigest()
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
18th September 2019, 13:47 | #3529 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
18th September 2019, 13:54 | #3530 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Aha, ok good to know.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
18th September 2019, 15:31 | #3532 | Link | |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Quote:
From experience I would say lsmash is more often frame accurate then ffms2.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
18th September 2019, 22:13 | #3533 | Link |
Registered User
Join Date: Jul 2019
Location: Russia
Posts: 87
|
How to specify the path to create the index file for ffms2 and lsmas? That is, if I mount the ISO, then I can not write anything in the same directory.
Last edited by Jukus; 18th September 2019 at 22:21. |
18th September 2019, 22:43 | #3534 | Link | |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Quote:
ffms2.Source("video.mp4", cachefile="video.mp4.ffindex") I think lsmash does not support a custom cache file path. EDIT Seems to be supported https://github.com/HolyWu/L-SMASH-Wo...er/VapourSynth Code:
cachefile (default : source + ".lwi") The filename of the index file (where the indexing data is saved).
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
19th September 2019, 19:41 | #3536 | Link | |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Quote:
Code:
import vapoursynth as vs core = vs.core clip = core.lsmas.LWLibavSource(source=r"D:\video.mkv", cachefile=r"C:\folderxy\myCacheFile.iwi") clip.set_output()
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
19th September 2019, 19:56 | #3538 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Use this version https://github.com/HolyWu/L-SMASH-Works/releases
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
19th September 2019, 20:19 | #3539 | Link | |
Registered User
Join Date: Jul 2019
Location: Russia
Posts: 87
|
Quote:
|
|
19th September 2019, 20:29 | #3540 | Link | |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Quote:
Latest version: https://forum.doom9.org/showthread.p...05#post1883905
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
Tags |
speed, vaporware, vapoursynth |
|
|