xash3d icon indicating copy to clipboard operation
xash3d copied to clipboard

Playing AVI

Open a1batross opened this issue 10 years ago • 11 comments

Need a crossplatform way to play AVI videos. Nothing more to say. =(

a1batross avatar Feb 23 '15 14:02 a1batross

What about libVLC ? https://wiki.videolan.org/LibVLC/

JoelTroch avatar Feb 27 '15 15:02 JoelTroch

Thanks to advance, libvlc may be good. I also found that possible to use ffmpeg.

a1batross avatar Feb 28 '15 03:02 a1batross

I think it's better to use ffmpeg because libvlc already uses it and xash does not need to support big amount of codecs..

mittorn avatar Mar 01 '15 13:03 mittorn

Does ffmpeg have problems with other OSes: Windows, MacOS, Android? If not, ffmpeg is a good choice.

a1batross avatar Mar 01 '15 15:03 a1batross

@a1batross Since ffmpeg can be used on popular cross-platform apps like Audacity, I guess there is no problem with it.

JoelTroch avatar Mar 06 '15 06:03 JoelTroch

@JoelTroch So... I will start implement ffmpeg-based AVI player. =)

a1batross avatar Mar 06 '15 16:03 a1batross

ffmpeg (ffdshow) is used in popular codec packs for windows and it works fine.

mittorn avatar May 13 '15 05:05 mittorn

Partially done in ffmpeg-avi branch. But it doesn't synchronizes audio.

a1batross avatar Jan 16 '16 23:01 a1batross

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.

a1batross avatar Dec 11 '17 19:12 a1batross

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?

nekonomicon avatar Dec 11 '17 21:12 nekonomicon

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" < [email protected]> написал:

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 .

a1batross avatar Dec 11 '17 21:12 a1batross