EasyRPG / Player

RPG Maker 2000/2003 and EasyRPG games interpreter
https://easyrpg.org/player/
GNU General Public License v3.0
1.01k stars 194 forks source link

Support webm video (VP8+Opus) #1038

Open Ghabry opened 8 years ago

Ghabry commented 8 years ago

Just for completeness, the only true Video format :+1:

fdelapena commented 8 years ago

And the only true audio format :P

carstene1ns commented 8 years ago

What about VP9 video? img

fdelapena commented 8 years ago

What about VP9 video?

What about AV1? IETF NetVC candidate from AOMedia (featuring Xiph's Daala + Cisco's Thor + Google's VP10).

(...) the only true Video format :+1:

[citation needed] :laughing:

the real only true video format Source

It looks like it will be mostly ready when we will implement this feature :yum:. What about using a frontend library which supports multiple codecs such gstreamer or ffmpeg?

Ghabry commented 8 years ago

What about working, uncompressed avi before we think about anything more complex ;)

Ghabry commented 2 years ago

Was in contact with the Aedemphia devs. They plan a new release this summer and assuming the Player can play the videos flawless (compared to the glitched playback on Win10 with Direct Show in RPG_RT) they would likely "go with us".

lmgennetay commented 2 years ago

What about Aëdemphia video? The only thing missing is video support to make the game 100% playable with a more efficient rendering than RPG_RT.

Tontonnonor commented 2 years ago

Hello, I'm the Aëdemphia developper. I admire the work you've done with EasyRPG which is very impressive. I've been told that posting here would increase the chances of getting one day the video feature so... Yes, I'd be very interested if this feature would was done, and would be very happy to use EasyRPG for my game. :) Best regards and thanks for the great job already done.

Falcossj commented 2 years ago

Wanted to follow that previous message from Tontonnonor, as rpg maker gamer, easy RPG is almost perfect, I was able to play perfectly at Velsarbor on my phone, and what a great pleasure. Such a shame some games like Aedemphia and others using videos can't work... Hope you'll be able to add the video feature one day! That's probably one of the only missing thing to consider Easy RPG as a perfect Alternarive. Good job for the good work you already did, and thanks !

Ghabry commented 2 years ago

Okay okay, I will take a look.

The most likely video format that will be supported is "webm" which contains VP8/VP9 video and a Vorbis/Opus audio feed.

Will need to get libvpx working first (and a parser for webm which is just a simpler mkv container. The library libwebm is not packaged alot and has a CVE since 3 years).

FalcoRPGMaker commented 2 years ago

Thanks a lot Ghabry! You're the best. Can't wait to play Aedemphia on mobile! Any ETA maybe? Weeks/months? Sorry you probably don't know yet but I just wondering. Anyway thanks a lot for your great job.

Ghabry commented 2 years ago

I'm completely unexperienced with anything video related (and audio, well... it kinda works?) so I can't give an ETA.

First goal will be to write a standalone video player. When this one works integrating into EasyRPG will be simple.

Ghabry commented 2 years ago

I took a look at this again and this is even less documented than FreeType/Harfbuzz. For the latter I could look at SDL_TTF to figure some stuff out but I don't know of a single, simple (!) library that uses libvpx for Video & Audio playback.

The example decoder code is close to useless because it lacks essential things like: Timing, Frame dropping or how to synchronize video & audio output.

I will put this on hold unless somebody finds a simple example program for playing vpx-encoded videos where I can get working code from.

Ghabry commented 1 year ago

@jetrotal found this: https://github.com/brion/ogv.js

Is a video player for ogv and other formats written in C with JS/WASM interop.

This one looks very promising as a reference.