Code Monkey home page Code Monkey logo

Comments (10)

Kylart avatar Kylart commented on September 13, 2024 1

This could work, would need a preprocessing before reading the file + writing some code that would transform the output to an actual track that could be used by html.

Nice one guys! Thanks 😄

from kawanime.

JuanjoSalvador avatar JuanjoSalvador commented on September 13, 2024

This could be a great feature.

from kawanime.

Kylart avatar Kylart commented on September 13, 2024

Sooo about streaming...

There are lots of things about streaming:

  • It is no easy feature especially if we're talking about real "streaming" like downloading and watching at the same time. This is because KawAnime is based on torrents and watching torrents while downloading is not a good thing for torrents themselves. This can be overcome.
  • The main problem is this one : KawAnime is made with web technologies. Also, most of the files you can download as of right now (it will get better) are mostly mkv files. mkv is a difficult format to work with and at this day, there is no web video player that can read mkv file along with their "embed" subtitles.
  • I do believe that I can do no better than VLC or some other apps out there.

So yea.. very interesting feature. Definitely planned but definitely not in top priority right now. It does need a lot of time and effort.


As of Chinese support. I know the Chinese community is very large when it comes to anime but there are two problems here:

  1. I don't really know where to find torrents and sources in Chinese.
  2. I do not speak Chinese at all 😞 . Thus it is really hard to find stuff.

What I can do though is implementing language translations in KawAnime (probably with i18n) with Chinese in available languages. But then again, I would need:

  1. People that can do translations.
  2. Information site(s) (similar to myanimelist.net or livechart.me) in Chinese.

Internationalisation is actually a big problem in KawAnime for not only translations are needed but also websites similar to the ones used currently.

from kawanime.

xdk78 avatar xdk78 commented on September 13, 2024

https://github.com/00SteinsGate00/Node-MPV
Pretty good, I'm using in https://github.com/NyaaPantsu/cinnamon

from kawanime.

Kylart avatar Kylart commented on September 13, 2024
This module requires mpv to be installed on your system to work

I do not want to use things that would require third-party application to be installed 🤕

from kawanime.

xdk78 avatar xdk78 commented on September 13, 2024

https://github.com/videojs/video.js

from kawanime.

xdk78 avatar xdk78 commented on September 13, 2024

or https://github.com/surmon-china/vue-video-player both I tested and .mkv should working

from kawanime.

Kylart avatar Kylart commented on September 13, 2024

Ok I was kinda unclear on this. The problem here isn't about reading mkv as a video file. The problem is that there is no player based on web-technologies that can read mkv along with the embed subtitles.

Don't get me wrong, you can watch the video just fine. But the subtitles won't appear. To try it you can try downloading one of the HorribleSubs video (just an example). This will be a .mkv file with embed subtitles. We don't have access to the .ass or any subtitle file. Then try to read it with video-js (There is no type "video/mkv" so you should use any other like "video/mp4"). This way you'll get to see the video but you won't see any subtitle.

video-js does support subtitles but it must be use like described here (with track tag) as it is said in this issue.

Though, if you find a way to use mkv files with embed subtitles like those released by HorribleSubs, I would gladly appreciate any advice there 😄 .

from kawanime.

wopian avatar wopian commented on September 13, 2024

matroska-subtitles may be of use

from kawanime.

xdk78 avatar xdk78 commented on September 13, 2024

Yes https://github.com/mathiasvr/matroska-subtitles

from kawanime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.