AprilAndFriends / theoraplayer

A multi-threaded C++ library that plays video files supporting multiple codecs across platforms. Easy to use, fast, responsive, abstract interface and minimal dependencies, you'll soon be wondering how you lived without it! ;) Audio and Video interfaces are completely abstracted so the library can be used anywhere, regardless of what you use to display video frames and play audio samples (eg. OpenGL / OpenAL, Direct3D / DirectSound?, SDL / SDL_mixer, X11 / alsa ...) The library can pre-cache video frames and decoded audio samples for maximum efficiency and smooth playback, even on single-cpu systems. Currently, the library supports Theora on Windows, Mac, iOS, Linux, Android, WinRT and Windows Phone. H.264 is supported on Mac and iOS.
BSD 3-Clause "New" or "Revised" License
84 stars 43 forks source link

Windows phone support #12

Open ghost opened 7 years ago

ghost commented 7 years ago

I can see that theora has lib/arm.And I would like to make a build for Windows Phone platform. Is it possible to make a WP build (I need it just for video decoding)? I tried but failed... Details: I want to compile .s and .asm files with Visual Studio but it keeps reporting huge amount of errors. Is there a way to compile .s and .asm files with Visual Studio? Should I set those files with Custom Build Tools and then some specific parameters or there is another way?

borisblizzard commented 7 years ago

Hi.

The main problem is that Microsoft does not support assembly for ARM so it can't be done. At least for now, with Visual Studio 2015. We tried to do it, but we get an error message directly from MSBuld about ASM not being supported for ARM devices. And there is no binary that would actually translate the ASM into binary.

Keep in mind, this goes only for ASM optimizations. Normal binaries with software decoding work fine.