Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can syncplay add supplementary frames in the future? #59

Closed
Zhaodaidai opened this issue Mar 8, 2023 · 4 comments
Closed

Can syncplay add supplementary frames in the future? #59

Zhaodaidai opened this issue Mar 8, 2023 · 4 comments
Labels
miscellaneous just... miscellaneous

Comments

@Zhaodaidai
Copy link

Do you know that SVPlayer APP can fill in frames on mobile devices? Is there a way to introduce supplementary frames to syncplay APP? On the PC side, I can use MPV and svp to make up frames. The viewing experience is very good.

@yuroyami
Copy link
Owner

yuroyami commented Mar 9, 2023

I knew about SmoothVideo Project before and I used some of their scripts to encode 60FPS videos and utilized even their plug-in to enable frame interpolation for videos on MPV, it does work like a charm on PC, yet this is the first time I've seen it available on Android, thanks for bringing that to my attention, it's pretty interesting

I'm quite sure they have their own native C++ library integrated in the app in order to interpolate frames, but I will do more research in the matter, perchance might even decompile their APK to see what's going inside. Thanks for the interesting take.

@yuroyami yuroyami added the miscellaneous just... miscellaneous label Mar 9, 2023
@Zhaodaidai
Copy link
Author

Okay, thank you too much, you need to help me tell me, I have bought the Android version of SVP

@yuroyami
Copy link
Owner

yuroyami commented Jan 9, 2024

@Zhaodaidai I am planning to give this a chance, I would need to have their APK and reverse-engineer if possible, perhaps I can find their JNI class to see how they're controlling the video engine

@yuroyami
Copy link
Owner

After discovering the potential of mpv to interpolate framerates in a manner similar (though not identical) to SVP, I incorporated a couple of options for those intrigued by framerate interpolation in the latest release, v0.14.0. You can find it here.

To activate interpolation, adjust the video sync mode option to any mode starting with display (by default, it's set to audio). Then, enable the Framerate interpolation option. This will interpolate framerates to align with the display's refresh rate. For instance, if you're using a 120 Hz display, mpv will attempt to match that rate, sometimes resulting in significant jitter and lag. In such cases, reducing your device's framerate to 60 Hz can greatly improve performance.

Anyway, I do not have access to SVP's source code or native library so using their technology may unfortunately be far from happening, I will be closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
miscellaneous just... miscellaneous
Projects
None yet
Development

No branches or pull requests

2 participants