Open a1batross opened 9 years ago
What about libVLC ? https://wiki.videolan.org/LibVLC/
Thanks to advance, libvlc may be good. I also found that possible to use ffmpeg.
I think it's better to use ffmpeg because libvlc already uses it and xash does not need to support big amount of codecs..
Does ffmpeg have problems with other OSes: Windows, MacOS, Android? If not, ffmpeg is a good choice.
@a1batross Since ffmpeg can be used on popular cross-platform apps like Audacity, I guess there is no problem with it.
@JoelTroch So... I will start implement ffmpeg-based AVI player. =)
ffmpeg (ffdshow) is used in popular codec packs for windows and it works fine.
Partially done in ffmpeg-avi branch. But it doesn't synchronizes audio.
FFmpeg is a total crap, which have unstable API. But it does not have alternatives(except any high-level decoding libraries, like GStreamer).
Should we keep AVI playing feature at all? Maybe video playing move to different codec, like VP9 or Theora. Or even uncompressed RoQ, from Quake 3.
Valve recommend to use cinepak and DivX codecs for logo.avi. https://developer.valvesoftware.com/wiki/Startup_Videos Xvid codec has compatibility with DivX. Maybe use Xvid as main codec and port some code from ffmpeg for compatibility with cinepak and indeo?
So then what's about audio codec?
Ah, I also have seen some wrappers for ffmpeg in darkplaces code, if I remember it's correctly. We can use that for AVI.
12 дек. 2017 г. 0:27 пользователь "Andrey Akhmichin" < notifications@github.com> написал:
Valve recommend to use cinepak and DivX codecs for logo.avi. https://developer.valvesoftware.com/wiki/Startup_Videos Xvid codec has compatibility with DivX. Maybe use Xvid as main codec and port some code from ffmpeg for compatibility with cinepak and indeo?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FWGS/xash3d/issues/6#issuecomment-350863665, or mute the thread https://github.com/notifications/unsubscribe-auth/ADEJgZhcO19OJv3FrDrd5ow1ISalHAvLks5s_Z5MgaJpZM4DkTf6 .
Need a crossplatform way to play AVI videos. Nothing more to say. =(