Endilll / vapoursynth-preview

Preview for VapourSynth scripts
Apache License 2.0
69 stars 21 forks source link

Compat formats will be killed off #31

Open myrsloik opened 3 years ago

myrsloik commented 3 years ago

The compat formats will be removed in future builds of VS meaning that you'll have to use RGB24 as output and pack the image yourself. You can get the beta builds with this behavior here: https://forum.doom9.org/showthread.php?t=183070

Endilll commented 3 years ago

Thank you for letting me know. Can Python API in those beta builds be considered stable? Can you give any estimates if it's not? Again, any estimates for proper release with APIv4? I'm interested not just in compat formats removed, but in audio support as well.

myrsloik commented 3 years ago

Can Python API in those beta builds be considered stable?

Yes, there are no further changes planned. Overall there are very few changes on the Python side apart from the minimum necessary due to core functionality differences.

Again, any estimates for proper release with APIv4?

A few weeks to a month I guess. Very few bugs reported so far and scripts/applications seem to get updated reasonably fast.

Endilll commented 3 years ago

Good news, thank you. I'll make sure to update vapoursynth-preview, and revisit audio support proof-of-concept I made against some early builds year and a half ago.

shssoichiro commented 3 years ago

Do you have an update on this? The breaking changes to vapoursynth have been out for a few weeks and are now pushed to the Arch repos. vspreview is completely broken with the new version.

DJATOM commented 3 years ago

@shssoichiro As temporary workaround you may use my patch (with libp2p plug-in).

shssoichiro commented 3 years ago

I'm still receiving the same error with that patch. To be specific, the error I'm getting is module 'vapoursynth' has no attribute 'AlphaOutputTuple' in core/types.py line 697.

shssoichiro commented 3 years ago

I'm trying to do some debugging locally. Looks like AlphaOutputTuple was renamed to VideoOutputTuple, but after fixing that, I hit another error. I'll keep going, hopefully eventually I'll have something working.

Is there a full migration guide from API3 to API4? I searched for one but could not find anything of the sort.

shssoichiro commented 3 years ago

@DJATOM It looks like these are the remaining fixes to get it to work: https://github.com/shssoichiro/vapoursynth-preview/commit/5e8eb1ff1f930068f49a98d48a6180319a331a55

DJATOM commented 3 years ago

Ah, indeed. I forgot to update for latest changes. Will make new patch soon.

DJATOM commented 3 years ago

Here comes updated patch.