wangqr / Aegisub

Win64 nightly builds available at GHA artifact, also at following link:
https://ftp.wangqr.tk/aegisub/
Other
778 stars 47 forks source link

Feature Request: use L-SMASH replaced ffms #70

Open kedaitinh12 opened 3 years ago

kedaitinh12 commented 3 years ago

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

wangqr commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 2 years ago

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

kedaitinh12 commented 1 year ago

here had commits can use L-SMASH https://github.com/wangqr/Aegisub/pull/156