Bug 5681

Summary: Enable vapoursynth on mpv [feature request]
Product: Fedora Reporter: Carlis <nope1000000>
Component: mpvAssignee: leigh scott <leigh123linux>
Status: RESOLVED FIXED    
Severity: enhancement CC: bugzilla.i.sekler
Priority: P1    
Version: unspecified   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Carlis 2020-06-24 10:04:36 CEST
Some months ago vapoursynth was included into official fedora repos. mpv has support to it which should be enabled on build to work.

According to the vapoursynth website: http://www.vapoursynth.com/about/

"VapourSynth is an application for video manipulation. Or a plugin. Or a library. It’s hard to tell because it has a core library written in C++ and a Python module to allow video scripts to be created. "

Vapoursynth enabled mpv is a requeriment for Smooth Video Player (SVP) to properly run on Linux. (VLC could also do the job but not pretty well)
Comment 1 leigh scott 2020-06-25 13:44:00 CEST
(In reply to Carlis from comment #0)
> Some months ago vapoursynth was included into official fedora repos. mpv has
> support to it which should be enabled on build to work.

I wont be accepting any issues caused by enabling vapoursynth in mpv, see

https://github.com/mpv-player/mpv/blob/71295fb872ba6593c8591cff7398498e05afb298/DOCS/man/vf.rst


> Vapoursynth enabled mpv is a requeriment for Smooth Video Player (SVP) to
> properly run on Linux. (VLC could also do the job but not pretty well)


Are you sure it needs the vapoursynth-bridge in mpv?, I would have thought enabling the ffmpeg vapoursynth demuxer would be more helpful?

Try the ffmpeg* and mpv* builds in updates-testing

https://download1.rpmfusion.org/free/fedora/updates/testing/32/x86_64/repoview/index.html

https://download1.rpmfusion.org/free/fedora/updates/testing/31/x86_64/repoview/index.html
Comment 2 Carlis 2020-06-26 23:22:45 CEST
(In reply to leigh scott from comment #1)
> (In reply to Carlis from comment #0)
> > Some months ago vapoursynth was included into official fedora repos. mpv has
> > support to it which should be enabled on build to work.
> 
> I wont be accepting any issues caused by enabling vapoursynth in mpv, see
> 
> https://github.com/mpv-player/mpv/blob/
> 71295fb872ba6593c8591cff7398498e05afb298/DOCS/man/vf.rst
> 
> 
> > Vapoursynth enabled mpv is a requeriment for Smooth Video Player (SVP) to
> > properly run on Linux. (VLC could also do the job but not pretty well)
> 
> 
> Are you sure it needs the vapoursynth-bridge in mpv?, I would have thought
> enabling the ffmpeg vapoursynth demuxer would be more helpful?
> 
> Try the ffmpeg* and mpv* builds in updates-testing
> 
> https://download1.rpmfusion.org/free/fedora/updates/testing/32/x86_64/
> repoview/index.html
> 
> https://download1.rpmfusion.org/free/fedora/updates/testing/31/x86_64/
> repoview/index.html

Ok, that is working, thank you. I was using vapoursynth enabled mpv builds before because that is the way SVP on their wiki recommends. But I see there are some problems implementing it that way. :)
Comment 3 leigh scott 2020-06-28 20:33:38 CEST
Fixed packages pushed to stable.
Comment 4 Ilja Sekler 2020-07-04 00:01:03 CEST
Fedora 32 VapourSynth package is currently borked (it is linked against Python3.7 while Fedora 32 has Python3.8) and it also fails to compile.

Enabling VapourSynth in mpv and ffmpeg has broken both mission-critical applications on Fedora 32.

I can confirm that mpv and ffmpeg packages built with VapourSynth disabled work fine.
Comment 5 leigh scott 2020-07-04 00:41:48 CEST
(In reply to Ilja Sekler from comment #4)
> Fedora 32 VapourSynth package is currently borked (it is linked against
> Python3.7 while Fedora 32 has Python3.8) and it also fails to compile.
> 

Provide proof of this claim.

I will provide mine 

rpm -q  vapoursynth-libs
vapoursynth-libs-48-7.fc32.x86_64

rpm -q --requires vapoursynth-libs |grep python
libpython3.8.so.1.0()(64bit)





> Enabling VapourSynth in mpv and ffmpeg has broken both mission-critical
> applications on Fedora 32.

If you mean kodi?, they can fix it.
python2 issues aren't my problem.

> 
> I can confirm that mpv and ffmpeg packages built with VapourSynth disabled
> work fine.

Your point?
They worked fine with it enabled or disabled.
Comment 6 Ilja Sekler 2020-07-04 01:22:49 CEST
My sincere apologies, upon a closer inspection of the system I discovered a forgotten old installation of VapourSynth to /usr/local which caused all the trouble including build failure.