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

Feature Request: use L-SMASH replaced ffms #70

Open
kedaitinh12 opened this issue Aug 29, 2020 · 7 comments
Open

Feature Request: use L-SMASH replaced ffms #70

kedaitinh12 opened this issue Aug 29, 2020 · 7 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kedaitinh12
Copy link

I seen L-SMASH support more format video than ffms. Can you use L-SMASH replaced ffms

@wangqr wangqr added enhancement New feature or request help wanted Extra attention is needed labels Aug 30, 2020
@wangqr
Copy link
Owner

wangqr commented Aug 30, 2020

Do they have an API document as a C/C++ library? I'm still confused about the relation between LSMASH, LSMASHWorks, and LWLibav. And I could not find any document about them.

I have also seen wide usage of LSMASHSource in AviSynth. Aegisub already supports AviSynth+. Therefor, currently it is possible to load the video with LSMASHSource in a .avs script and load it in Aegisub.

@wangqr
Copy link
Owner

wangqr commented Aug 30, 2020

As the audio/video providers are modular, we can simply add a audio/video provider, without replacing the current FFMS provider.

To implement a video provider, we simply need to implement the void GetFrame(int n, VideoFrame &frame) interface. To implement an audio provider, we need to implement void FillBuffer(void *buf, int64_t start, int64_t count). Both provider types has dummy implementations which are good references when implementing a new provider.

@kedaitinh12
Copy link
Author

Do they have an API document as a C/C++ library? I'm still confused about the relation between LSMASH, LSMASHWorks, and LWLibav. And I could not find any document about them.

I have also seen wide usage of LSMASHSource in AviSynth. Aegisub already supports AviSynth+. Therefor, currently it is possible to load the video with LSMASHSource in a .avs script and load it in Aegisub.

Document Here: https://github.com/HolyWu/L-SMASH-Works/

@wangqr
Copy link
Owner

wangqr commented Aug 31, 2020

Document Here: https://github.com/HolyWu/L-SMASH-Works/

That's the source code, not the document. This repo even don't have a readme

@kedaitinh12
Copy link
Author

Document Here: https://github.com/HolyWu/L-SMASH-Works/

That's the source code, not the document. This repo even don't have a readme

Document in file downloaded. You can check it when download releases

@kedaitinh12
Copy link
Author

I find out another ver of aegisub fixed all issues i made in here, thanks
https://github.com/TypesettingTools/Aegisub

@kedaitinh12
Copy link
Author

here had commits can use L-SMASH
#156

@kedaitinh12 kedaitinh12 reopened this Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants