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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Mar 2005
Posts: 129
|
Cross-Platform D2V Source for VapourSynth
So, I was bored and wrote a cross-platform D2V parser and decoder for VapourSynth.
Current Version: 1.2 Windows Binary: https://github.com/dwbuiten/d2vsourc....2-windows.zip - Contains 32-bit and 64-bit binaries. Source: https://github.com/dwbuiten/d2vsourc...rce-1.2.tar.xz Known Limitations & Bugs
Example usage: Code:
import vapoursynth as vs core = vs.Core() core.std.LoadPlugin(path=r'C:\Path\To\d2vsource.dll') ret = core.d2v.Source(input=r'C:\Path\To\my.d2v') last = ret input - Full path to input D2V file. nocrop - Always use direct-rendered buffer, which may need cropping. Provides a speedup when you know you need to crop your image anyway, by avoiding extra memcpy calls. rff - Invoke ApplyRFF (True by default) threads - Number of threads FFmpeg should use. Default is 0 (auto). If you want to contribute, feel free to send a pull request on GitHub. Last edited by Daemon404; 18th August 2019 at 19:09. Reason: Update version |
|
|
|
| Tags |
| d2v, dgindex, vapoursynth |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|