Commit Graph

15 Commits (0557d45bd156844772a5be5cdc602cdf22781eb5)

Author SHA1 Message Date
scrawl fec8cf91f5 Add exception handling to various uses of DataStream::read 10 years ago
scrawl 472165097d Warning fix 10 years ago
scrawl 17cb181f88 Use av_get_default_channel_layout for unknown channel layouts 10 years ago
scrawl dc6a99d32a Add missing virtual destructor 10 years ago
scrawl 4680bc6c93 Merge branch 'master' of https://github.com/OpenMW/openmw 10 years ago
scrawl 6126b3b84a Videoplayer: wait until we have the first picture before returning from playVideo() 10 years ago
Marc Zinnschlag a4be214fb1 Merge remote-tracking branch 'scrawl/master' 10 years ago
cc9cii ea67cf0ebe Try the fix again. 10 years ago
cc9cii e01795556f Suppress some warnings for MSVC. 10 years ago
scrawl 102103e37b Add possibly missing include for av_rescale_q 10 years ago
scrawl b39d69e98c Videoplayer fixes, play/pause & seeking
- Fix rindex overflow
 - Fix audio sample size bugs (was using sample_fmt and channel count of the decoder, instead of the resampled settings). We didn't notice this bug before, because the OpenAL MovieAudioFactory tries to resample to a format of the same byte size.
 - Add support for play/pause and seeking controls (not used by cutscenes in OpenMW)
 - Closing the video when arriving at the stream end is now handled by the user (we may also want to keep the video open and seek back)

The video player now has a standalone demo, at https://github.com/scrawl/ogre-ffmpeg-videoplayer
10 years ago
scrawl 2a3627b5a8 avresample wrapper fix 10 years ago
scrawl a9be8628b9 namespace fix, improve comment 10 years ago
scrawl 9da1c49276 Add missing header to CMakeLists, remove stale comment 10 years ago
scrawl eb1c24ffe6 Refactor video player engine to get rid of MWSound dependencies
- Split video player to separate source files.
 - Move video player engine sources to extern/ (repository will be set up on github soon).
 - Audio is handled in a MovieAudioFactory, implemented by the user (here in MWSound subsystem).
 - Handle conversion of unsupported channel layouts via ffmpeg's swresample.
10 years ago